From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from az33egw02.freescale.net (az33egw02.freescale.net [192.88.158.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "az33egw02.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 7DD55DE029 for ; Sat, 24 Jan 2009 03:18:11 +1100 (EST) Message-ID: <4979EDB7.7030106@freescale.com> Date: Fri, 23 Jan 2009 10:17:59 -0600 From: Scott Wood MIME-Version: 1.0 To: Daniel Ng99 Subject: Re: [MPC8272ADS]Cannot start my Linux Kernel References: <8cad0aa0901150342s2362e53bqf9472c1dc239636c@mail.gmail.com> <496F318D.6010302@denx.de> <8cad0aa0901150510o7a8146f1m2045e252c5e1cf24@mail.gmail.com> <496F4760.1010007@denx.de> <8cad0aa0901150706u72538941rbc22655d5a8905ea@mail.gmail.com> <8cad0aa0901160406l3db9c025ubdcac40b4b464d23@mail.gmail.com> <20090116172903.GA722@ld0162-tx32.am.freescale.net> <8cad0aa0901160944l48bd0e99wa13f23907838376d@mail.gmail.com> <8cad0aa0901160953te6c7d1cg3a4df7de7da7d182@mail.gmail.com> <4970CBA9.60809@freescale.com> <8cad0aa0901200256n6122d17eh90f56e9cb8cae775@mail.gmail.com> <20090120163155.GA8978@ld0162-tx32.am.freescale.net> <21593750.post@talk.nabble.com> <20090122173622.GA18427@ld0162-tx32.am.freescale.net> <21616515.post@talk.nabble.com> In-Reply-To: <21616515.post@talk.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Daniel Ng99 wrote: > MPC8247 Clock Configuration > - Bus-to-Core Mult 5x, VCO Div 2, 60x Bus Freq 20-60 , Core Freq 100-300 > - dfbrg 1, corecnf 0x1b, busdf 7, cpmdf 1, plldf 0, pllmf 7, pcidf 7 > - vco_out 528000000, scc_clk 132000000, brg_clk 33000000 > - cpu_clk 330000000, cpm_clk 264000000, bus_clk 66000000 > > So maybe 35 x 2 = 70 is the correct value? > > Anyway, I tried all these but still they made no difference: > > clock-frequency = <35> > clock-frequency = <0x23> > clock-frequency = <115200> > clock-frequency = <1c200> > clock-frequency = <70> > clock-frequency = <17> > clock-frequency = <66> > clock-frequency = <33> > > Can you suggest any other values? Don't set it to the BRG divider, set it to the BRG *input* clock, which appears to be 33000000. > What is the effect of just not calling set_brg()? I still get console > output, so am I setting myself up for some sort of problem in the future? You will not be able to change the baud rate from Linux. > What is the effect of setting "fsl,cpm-brg = <0>" in the 'serial' device > tree node? You'll have an invalid device tree, which will cause the kernel to write to a reserved register. -Scott