OE Kernel Not Booting
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
Quoted 21 lines
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: 0NAND read: device 0 offset
0x200000, size0x400000
4194304 bytes read: OK
## Booting kernel from Legacy Image atc0700000...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
Quoted 7 lines
Load Address:
c0008000
Entry Point:c0008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OKStarting 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 :
Quoted 55 lines
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: 0NAND read: device 0 offset
0x200000, size0x400000
4194304 bytes read: OK
## Booting kernel from Legacy Image atc0700000...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 MBLoad Address:
c0008000
Entry Point:c0008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OKStarting kernel ...
[ 0.000000] Linux version 2.6.33-rc4 (vicos@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.
Quoted 8 lines
[ 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,
Signature · 12 lines
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 [email protected]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 9 lines · Christophe Aeschlimann
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"
Quoted 9 lines
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
Quoted 1 line
U-Boot 2009.01-dirty (Nov 26 2009 - 02:15:00)
Try the OE built u-boot.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFL8kIIMkyGM64RGpERAnzbAKCkVvmZmPSiGQTeCUsxhLbA2MMYJQCfcRaN 4B0R8tT1NCn/YMK9Cc09wvo=
=R3vZ
-----END PGP SIGNATURE-----
Quoted 17 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 13 lines · Christophe Aeschlimann
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 :
Quoted 7 lines
Quoted 5 lines
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
Quoted 1 line
U-Boot 2009.01-dirty (Nov 26 2009 - 02:15:00)
Try the OE built u-boot.
Hi Koen,
I haven't been able to boot using the OE generated u-boot so far.
But I'm a bit confused about how everything is working together.
Don't you have to generate an AIS image using AISGen and the OE generated u-boot image before flashing it in the UBL partition (beginning of the second erase block) ?
Thanks for your precious help,
Regards,
Christophe
Quoted 18 lines
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)iD8DBQFL8kIIMkyGM64RGpERAnzbAKCkVvmZmPSiGQTeCUsxhLbA2MMYJQCfcRaN 4B0R8tT1NCn/YMK9Cc09wvo=
=R3vZ
-----END PGP SIGNATURE-----_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 15 lines · Christophe Aeschlimann
Le 18.05.2010 09:30, Koen Kooi a écrit :
Quoted 13 lines · Christophe Aeschlimann
Quoted 13 lines
Quoted 13 lines
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 :
Quoted 17 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
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
Quoted 1 line
U-Boot 2009.01-dirty (Nov 26 2009 - 02:15:00)
Try the OE built u-boot.
Quoted 9 lines
Hi Koen,
I haven't been able to boot using the OE generated u-boot so far.
But I'm a bit confused about how everything is working together.
Don't you have to generate an AIS image using AISGen and the OE generated u-boot image before flashing it in the UBL partition (beginning of the second erase block) ?
Not that I know of. I flashed uboot using tftp and that seemed to work fine. That was on a prototype hawkboard which has released it magic smoke since then.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFL8nYpMkyGM64RGpERAqugAJ99oUDfVGTJAbIs8AQwR1HA/9iTdwCffwgQ B6yfaXpEm0axylpQQu6q5v0=
=H6Ac
-----END PGP SIGNATURE-----
Quoted 33 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 29 lines · Christophe Aeschlimann
Le 18.05.2010 09:30, Koen Kooi a écrit :
Quoted 11 lines · Christophe Aeschlimann
Quoted 11 lines
Quoted 11 lines
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.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
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
Quoted 1 line
U-Boot 2009.01-dirty (Nov 26 2009 - 02:15:00)
Try the OE built u-boot.
Quoted 5 lines
Hi Koen,
I haven't been able to boot using the OE generated u-boot so far.
But I'm a bit confused about how everything is working together.
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Don't you have to generate an AIS image using AISGen and the OE generated u-boot image before flashing it in the UBL partition (beginning of the second erase block) ?
Not that I know of. I flashed uboot using tftp and that seemed to work fine. That was on a prototype hawkboard which has released it magic smoke since then.
Ok then I assume you had a pre-installed working UBL (User Boot Loader) in NAND @ Block 1 (0-indexed), that would initialize the board HW (EMIFA timings, SDRAM refresh cycles, etc) load block 2 in memory (U-Boot)and executes it. Then you could just overwrite the U-Boot NAND partition using U-Boot tftp and nand erase / write.e commands.
But AFAIU if you don't have an UBL (E.G. because you don't have a CCS license to modify/rebuild it) you can workaround it by using the AIS generator that generate a "self-bootable" image. In this case we want the OMAP-L138 RBL (ROM Bootloader) to read the AIS image from NAND (@ block 1, where the UBL is normally stored) configure the HW and start executing U-Boot.
Does this tell you anything ?
Regards,
Christophe
Quoted 17 lines
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)iD8DBQFL8nYpMkyGM64RGpERAqugAJ99oUDfVGTJAbIs8AQwR1HA/9iTdwCffwgQ B6yfaXpEm0axylpQQu6q5v0=
=H6Ac
-----END PGP SIGNATURE-----_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 9 lines · Christophe Aeschlimann
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"
Quoted 8 lines
produces a Kernel Image that cannot be booted on our hawkboards.
The behaviour is the following with the following kernel bootargs :
Quoted 2 lines
[ 0.350000] vpif vpif: vpif probe success [ 0.350000] Switching to clocksource timer0_1And it hangs there forever.
That should be fixed now with:
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=49a1f4bdb309969f2c40b5dbfefdb56c83c0b264
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFL9R/WMkyGM64RGpERAj0qAJ4kmzsizEWt/bxA/GmfqK9wVIAjbQCePKC1 6bz6gYhGO+l/4TFhk9TNhcI=
=PHmx
-----END PGP SIGNATURE-----
Quoted 20 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 16 lines · Christophe Aeschlimann
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 :
Quoted 2 lines
[ 0.350000] vpif vpif: vpif probe success [ 0.350000] Switching to clocksource timer0_1
Quoted 6 lines
Quoted 1 line
And it hangs there forever.
That should be fixed now with:
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=49a1f4bdb309969f2c40b5dbfefdb56c83c0b264regards,
Yes I confirm it is.
Thanks,
Christophe
Quoted 16 lines
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)iD8DBQFL9R/WMkyGM64RGpERAj0qAJ4kmzsizEWt/bxA/GmfqK9wVIAjbQCePKC1 6bz6gYhGO+l/4TFhk9TNhcI=
=PHmx
-----END PGP SIGNATURE-----_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 10 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Christophe Aeschlimann
Sent: Thursday, May 20, 2010 5:02 AM
To: [email protected]
Subject: Re: [oe] [hawkboard] OE Kernel Not Booting
Quoted 26 lines
Quoted 24 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 9 lines · Christophe Aeschlimann
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"Quoted 8 lines
produces a Kernel Image that cannot be booted on our hawkboards.
The behaviour is the following with the following kernel bootargs :
Quoted 2 lines
[ 0.350000] vpif vpif: vpif probe success [ 0.350000] Switching to clocksource timer0_1And it hangs there forever.
That should be fixed now with:
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=49a1f4bdb30996
Quoted 5 lines
9f2c40b5dbfefdb56c83c0b264Quoted 2 lines
regards,
Yes I confirm it is.
Did you ever manage to update your u-boot on your Hawkboard? I signed my Angstrom generated u-boot with AISGen but my board did not work and had to revert to u-boot_nand_ais_v1.bin.
Regards
John.
Quoted 28 lines
Thanks,
Christophe
Quoted 6 lines
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)iD8DBQFL9R/WMkyGM64RGpERAj0qAJ4kmzsizEWt/bxA/GmfqK9wVIAjbQCeP KC1
Quoted 10 lines
6bz6gYhGO+l/4TFhk9TNhcI=
=PHmx
-----END PGP SIGNATURE-----_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel