[ELDK] Lite5200 no serial from kernel
Wolfgang Denk
wd at denx.de
Sun Nov 23 22:25:12 CET 2008
Dear Chris,
In message <078B6D8E83324485B07E0C02847F2767 at kos> you wrote:
>
> I am trying the latest git u-boot, kernel and dtc on the Lite5200.
>
> The kernel was compiled with Lite5200_defconfig and the resulting
> uImage copied to /tftpboot/lite/uImage
>
> 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
> 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
=> run test
Using FEC ETHERNET device
TFTP from server 192.168.1.1; our IP address is 192.168.160.5
Filename 'lite5200b/uImage-test'.
Load address: 0x900000
Loading: #################################################################
############################
done
Bytes transferred = 1356580 (14b324 hex)
Using FEC ETHERNET device
TFTP from server 192.168.1.1; our IP address is 192.168.160.5
Filename 'lite5200b/lite5200b.dtb-test'.
Load address: 0xb00000
Loading: #
done
Bytes transferred = 10000 (2710 hex)
## Booting kernel from Legacy Image at 00900000 ...
Image Name: Linux-2.6.27-01162-g4859e68
Created: 2008-11-07 13:25:35 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 1356516 Bytes = 1.3 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 00b00000
Booting using the fdt blob at 0xb00000
Uncompressing Kernel Image ... OK
Loading Device Tree to 007fa000, end 007ff70f ... OK
[ 0.000000] Using lite5200 machine description
[ 0.000000] Linux version 2.6.27-01162-g4859e68 (wd at pollux.denx.de) (gcc version 4.2.2) #1 Fri Nov 7 14:25:28 MET 2008
[ 0.000000] PCI host bridge /pci at f0000d00 (primary) ranges:
[ 0.000000] MEM 0x0000000080000000..0x000000009fffffff -> 0x0000000080000000 Prefetch
[ 0.000000] MEM 0x00000000a0000000..0x00000000afffffff -> 0x00000000a0000000
[ 0.000000] IO 0x00000000b0000000..0x00000000b0ffffff -> 0x0000000000000000
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000000 -> 0x00010000
[ 0.000000] Normal 0x00010000 -> 0x00010000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00010000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: root=/dev/nfs rw nfsroot=192.168.1.1:/opt/eldk/ppc_82xx ip=192.168.160.5:192.168.1.1:192.168.1.254:255.255.0.0:lite5200b:eth0:off panic=1 console=ttyPSC0,115200
[ 0.000000] MPC52xx PIC is up and running!
[ 0.000000] PID hash table entries: 1024 (order: 10, 4096 bytes)
[ 0.000000] clocksource: timebase mult[79364d9] shift[22] registered
[ 130.150717] console [ttyPSC0] enabled
[ 130.267333] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 130.276282] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 130.313811] Memory: 256640k/262144k available (2712k kernel code, 5244k reserved, 100k data, 108k bss, 164k init)
[ 130.324461] SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 130.332331] Calibrating delay loop... 65.79 BogoMIPS (lpj=131584)
[ 130.427238] Mount-cache hash table entries: 512
[ 130.435785] net_namespace: 288 bytes
[ 130.440156] NET: Registered protocol family 16
[ 130.462231] PCI: Probing PCI hardware
...
[ 132.971271] Looking up port of RPC 100003/2 on 192.168.1.1
[ 134.938166] PHY: f0003000:00 - Link is Up - 100/Full
[ 142.974654] Looking up port of RPC 100005/1 on 192.168.1.1
[ 143.007565] VFS: Mounted root (nfs filesystem).
[ 143.012430] Freeing unused kernel memory: 164k init
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
Setting clock : Thu Jan 1 01:00:14 MET 1970 [ OK ]
Building the cache [ OK ]
Setting hostname lite5200b: [ OK ]
Mounting local filesystems: [ OK ]
Enabling /etc/fstab swaps: [ OK ]
INIT: Entering runlevel: 3
Entering non-interactive startup
Bringing up loopback interface: [ OK ]
Starting system logger: [ OK ]
Starting kernel logger: [ OK ]
Starting rpcbind: [ OK ]
Mounting NFS filesystems: [ OK ]
Mounting other filesystems: [ OK ]
Starting xinetd: [ OK ]
DENX ELDK version 4.2 build 2008-04-01
Linux 2.6.27-01162-g4859e68 on a ppc
lite5200b login:
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Some programming languages manage to absorb change, but withstand
progress. -- Epigrams in Programming, ACM SIGPLAN Sept. 1982
More information about the eldk
mailing list