[oe] [hawkboard] OE Kernel Not Booting

Christophe Aeschlimann c.aeschlimann at acn-group.ch
Tue May 18 07:27:54 UTC 2010


Hi,

We are at least three hawkboard owners that have the same issue.

Building org.openembedded.dev HEAD with

MACHINE= "hawkboard"
DISTRO = "angstrom-2008.1"

produces a Kernel Image that cannot be booted on our hawkboards.

The behaviour is the following with the following kernel bootargs :

console=ttyS2,115200n8 root=/dev/nfs 
nfsroot=172.16.147.10:/srv/nfs/hawkboard ip=172.16.100.100 
eth=0a:c1:a8:12:fa:c0

> U-Boot 2009.01-dirty (Nov 26 2009 - 02:15:00)
>
> DRAM:  128 MB
> NAND:  NAND device: Manufacturer ID: 0x2c, Chip ID: 0xa1 (Micron NAND 128MiB 1,8V 8-bit)
> Bad block table found at page 65472, version 0x01
> Bad block table found at page 65408, version 0x01
> 128 MiB
> In:    serial
> Out:   serial
> Err:   serial
> ARM Clock : 300000000 Hz
> DDR Clock : 150000000 Hz
> Ethernet PHY: GENERIC @ 0x07
> Hit any key to stop autoboot:  0
>
> NAND read: device 0 offset 0x200000, size 0x400000
>  4194304 bytes read: OK
> ## Booting kernel from Legacy Image at c0700000 ...
>    Image Name:   Angstrom/2.6.32+2.6.33-rc4-r44+g
>    Image Type:   ARM Linux Kernel Image (uncompressed)
>    Data Size:    2452896 Bytes =  2.3 MB
>    Load Address: c0008000
>    Entry Point:  c0008000
>    Verifying Checksum ... OK
>    Loading Kernel Image ... OK
> OK
>
> Starting kernel ...

And it hangs there forever...

If I add earlyprintk to the bootargs :

console=ttyS2,115200n8 root=/dev/nfs 
nfsroot=172.16.147.10:/srv/nfs/hawkboard ip=172.16.100.100 
eth=0a:c1:a8:12:fa:c0 earlyprintk=serial,ttyS2,115200n8

then I get the following :

> U-Boot 2009.01-dirty (Nov 26 2009 - 02:15:00)
>
> DRAM:  128 MB
> NAND:  NAND device: Manufacturer ID: 0x2c, Chip ID: 0xa1 (Micron NAND 128MiB 1,8V 8-bit)
> Bad block table found at page 65472, version 0x01
> Bad block table found at page 65408, version 0x01
> 128 MiB
> In:    serial
> Out:   serial
> Err:   serial
> ARM Clock : 300000000 Hz
> DDR Clock : 150000000 Hz
> Ethernet PHY: GENERIC @ 0x07
> Hit any key to stop autoboot:  0
>
> NAND read: device 0 offset 0x200000, size 0x400000
>  4194304 bytes read: OK
> ## Booting kernel from Legacy Image at c0700000 ...
>    Image Name:   Angstrom/2.6.32+2.6.33-rc4-r44+g
>    Image Type:   ARM Linux Kernel Image (uncompressed)
>    Data Size:    2452896 Bytes =  2.3 MB
>    Load Address: c0008000
>    Entry Point:  c0008000
>    Verifying Checksum ... OK
>    Loading Kernel Image ... OK
> OK
>
> Starting kernel ...
>
> [    0.000000] Linux version 2.6.33-rc4 (vicos at vicos) (gcc version 4.3.3 (GCC) ) #1 PREEMPT Fri May 7 21:11:02 CEST 2010
> [    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
> [    0.000000] CPU: VIVT data cache, VIVT instruction cache
> [    0.000000] Machine: DaVinci DA850/OMAP-L138/AM18xx Hawkboard(.org)
> [    0.000000] Memory policy: ECC disabled, Data cache writeback
> [    0.000000] DaVinci da850/omap-l138 variant 0x0
> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
> [    0.000000] Kernel command line: console=ttyS2,115200n8 root=/dev/nfs nfsroot=172.16.147.10:/srv/nfs/hawkboard ip=172.16.100.100 eth=0a:c1:a8:12:fa:c0 earlyprintk=serial,ttyS2,115200n8
> [    0.000000] bootconsole [earlycon0] enabled
> [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
> [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
> [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
> [    0.000000] Memory: 128MB = 128MB total
> [    0.000000] Memory: 124372KB available (4496K code, 426K data, 468K init, 0K highmem)
> [    0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
> [    0.000000] Hierarchical RCU implementation.
> [    0.000000] NR_IRQS:245
> [    0.000000] Console: colour dummy device 80x30
> [    0.000000] Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
> [    0.210000] Mount-cache hash table entries: 512
> [    0.210000] CPU: Testing write buffer coherency: ok
> [    0.220000] devtmpfs: initialized
> [    0.230000] DaVinci: 144 gpio irqs
> [    0.240000] NET: Registered protocol family 16
> [    0.270000] WARNING: both McASP and McBSP are enabled, but they share pins.
> [    0.270000]  Disable one of them.
> [    0.310000] bio: create slab <bio-0> at 0
> [    0.310000] SCSI subsystem initialized
> [    0.320000] usbcore: registered new interface driver usbfs
> [    0.330000] usbcore: registered new interface driver hub
> [    0.330000] usbcore: registered new device driver usb
> [    0.340000] i2c-gpio i2c-gpio.1: using pins 20 (SDA) and 21 (SCL)
> [    0.350000] vpif vpif: vpif probe success
> [    0.350000] Switching to clocksource timer0_1

And it hangs there forever.

Could someone who has an hawkboard working with OE please detail his 
configuration ? (u-boot, kernel config)

If you have any idea of things I might try to get it working is also 
welcome. Like how to start debugging that ?

Best regards,


-- 
Christophe Aeschlimann

Embedded Software Engineer

Advanced Communications Networks S.A.

Rue du Puits-Godet 8a
2000 Neuchâtel, Switzerland

Tél. +41 32 724 74 31

c.aeschlimann at acn-group.ch




More information about the Openembedded-devel mailing list