Hi,friends, the question about the u-boot and device tree?

Scott Wood scottwood at freescale.com
Thu Mar 20 03:17:25 EST 2008


On Wed, Mar 19, 2008 at 09:22:08AM +0800, ???? wrote:
> My board is MPC8360EMDS, my bootm command is "bootm uImage ramdisk_ppc
> mpc836x_mds.dtb", I used the MPC8360E_PB_K26_20071012-LTIB.iso to generate above
> uImage, ramdisk_ppc,mpc836x_mds.dtb. 

Could you try the latest upstream u-boot, dts, and kernel to see if
things are better?

> If I fill the frequency to zero on mpc836x_mds.dts, 

Which frequency property?  Did you get any device-tree-related error
messages from u-boot?

> I also has another question, I modified the HRCW to config the cpu as 660/330/400
> MHZ during power on, I used the "clocks" command on u-boot to see that the clock
> is real 660/330/400 MHZ, then I changed the frequency value on dts to 660/330/400,
> after the bootm command, the linux was not carshed after serial configuration, but
> the output is random.
> 
> "
> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
> serial8250.0: ttyS0 at MMIO 0xe0004500 (irq = 16) is a 16550A
> [output from serial is random]
> "
> 
> I have config the frequency both on HRCW and devie tree is the same, why the
> frequency for serial on linux is not right?  Why the 528/260/400 is Ok, the
> 660/330/400 has problem on serial.

What are you putting in the serial nodes' clock-frequency in each case?

-Scott


More information about the Linuxppc-embedded mailing list