[ELDK] Lite5200 no serial from kernel

Chris Alfred c.alfred at internode.on.net
Mon Nov 24 11:38:36 CET 2008


Thanks, all works fine.

For those interested ...

>> To compile the .dts I used:
>> dtc -b 0 -V 17 -p 0x1000 -I dts -O dtb -f
>> arch/powerpc/boot/dts/lite5200.dts > /tftpboot/lite/lite5200.dtb
>
> Well, we use
>
> dtc -b 0 -S 10000 -R 8 -I dts -O dtb ...
>
> with
>
> -> dtc -v
> Version: DTC 1.2.0

dtc 1.2.0-g9878f30f just complains that -S is deprecated, but either 
command works.

>> Using the new U-Boot 2008.10-00264-g9b827cf-dirty (Nov 22 2008 -
>> 23:27:27):
>> =>tftp 300000 lite/lite5200.dtb
>> =>tftp 400000 lite/uImage
>> =>setenv bootargs console=ttyPSC0,115200 root=/dev/nfs rw
>> nfsroot=192.168.1.101:/opt/eldk/ppc_82xx
>> ip=192.168.1.10:192.168.1.101:192.168.1.254:255.255.255.0:lite:eth0:off
>> panic=1
>
> Why don't you use the default settings? Your addresses are probably
> too low.
>
>
>> => bootm 400000 - 300000
>> ## Booting kernel from Legacy Image at 00400000 ...
>>    Image Name:   Linux-2.6.27-01163-g809d437
>>    Created:      2008-11-22  13:23:37 UTC
>>    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>>    Data Size:    1445022 Bytes =  1.4 MB
>>    Load Address: 00000000
>>    Entry Point:  00000000
>>    Verifying Checksum ... OK
>> ## Flattened Device Tree blob at 00300000
>>    Booting using the fdt blob at 0x300000
>>    Uncompressing Kernel Image ... OK
>>
>> And that is the last I see from the Lite5200. I have checked the 
>> NFS
>> mount using the old kernel.
>
> It works fine for me (ok, my test imageis one commit older, but that
> really doesn;t matter here):
>
> => print test net_nfs kernel_addr_r fdt_addr_r
> test=sete bootfile lite5200b/uImage-test;sete fdt_file 
> lite5200b/lite5200b.dtb-test;run net_nfs
> net_nfs=tftp ${kernel_addr_r} ${bootfile}; tftp ${fdt_addr_r} 
> ${fdt_file}; run nfsargs addip addcons; bootm ${kernel_addr_r} - 
> ${fdt_addr_r}
> kernel_addr_r=900000
> fdt_addr_r=b00000

Works fine now that the kernel is loaded to 900000 and the dtb is 
loaded to b00000 as you suggested.

Chris



More information about the eldk mailing list