* [hawkboard] OE Kernel Not Booting
@ 2010-05-18 7:27 Christophe Aeschlimann
2010-05-18 7:30 ` Koen Kooi
2010-05-20 11:41 ` Koen Kooi
0 siblings, 2 replies; 8+ messages in thread
From: Christophe Aeschlimann @ 2010-05-18 7:27 UTC (permalink / raw)
To: openembedded-devel
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@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@acn-group.ch
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [hawkboard] OE Kernel Not Booting
2010-05-18 7:27 [hawkboard] OE Kernel Not Booting Christophe Aeschlimann
@ 2010-05-18 7:30 ` Koen Kooi
2010-05-18 8:10 ` Christophe Aeschlimann
2010-05-20 11:41 ` Koen Kooi
1 sibling, 1 reply; 8+ messages in thread
From: Koen Kooi @ 2010-05-18 7:30 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 18-05-10 09:27, Christophe Aeschlimann wrote:
> 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)
Try the OE built u-boot.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFL8kIIMkyGM64RGpERAnzbAKCkVvmZmPSiGQTeCUsxhLbA2MMYJQCfcRaN
4B0R8tT1NCn/YMK9Cc09wvo=
=R3vZ
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [hawkboard] OE Kernel Not Booting
2010-05-18 7:30 ` Koen Kooi
@ 2010-05-18 8:10 ` Christophe Aeschlimann
2010-05-18 11:12 ` Koen Kooi
0 siblings, 1 reply; 8+ messages in thread
From: Christophe Aeschlimann @ 2010-05-18 8:10 UTC (permalink / raw)
To: openembedded-devel
Le 18.05.2010 09:30, Koen Kooi a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 18-05-10 09:27, Christophe Aeschlimann wrote:
>> 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)
>
> 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
>
> regards,
>
> Koen
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFL8kIIMkyGM64RGpERAnzbAKCkVvmZmPSiGQTeCUsxhLbA2MMYJQCfcRaN
> 4B0R8tT1NCn/YMK9Cc09wvo=
> =R3vZ
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [hawkboard] OE Kernel Not Booting
2010-05-18 8:10 ` Christophe Aeschlimann
@ 2010-05-18 11:12 ` Koen Kooi
2010-05-18 13:36 ` Christophe Aeschlimann
0 siblings, 1 reply; 8+ messages in thread
From: Koen Kooi @ 2010-05-18 11:12 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 18-05-10 10:10, Christophe Aeschlimann wrote:
> Le 18.05.2010 09:30, Koen Kooi a écrit :
> On 18-05-10 09:27, Christophe Aeschlimann wrote:
>>>> 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)
>
> 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) ?
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-----
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [hawkboard] OE Kernel Not Booting
2010-05-18 11:12 ` Koen Kooi
@ 2010-05-18 13:36 ` Christophe Aeschlimann
0 siblings, 0 replies; 8+ messages in thread
From: Christophe Aeschlimann @ 2010-05-18 13:36 UTC (permalink / raw)
To: openembedded-devel
Le 18.05.2010 13:12, Koen Kooi a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 18-05-10 10:10, Christophe Aeschlimann wrote:
>> Le 18.05.2010 09:30, Koen Kooi a écrit :
>> On 18-05-10 09:27, Christophe Aeschlimann wrote:
>>>>> 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)
>>
>> 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) ?
>
> 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
>
> regards,
>
> Koen
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFL8nYpMkyGM64RGpERAqugAJ99oUDfVGTJAbIs8AQwR1HA/9iTdwCffwgQ
> B6yfaXpEm0axylpQQu6q5v0=
> =H6Ac
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [hawkboard] OE Kernel Not Booting
2010-05-18 7:27 [hawkboard] OE Kernel Not Booting Christophe Aeschlimann
2010-05-18 7:30 ` Koen Kooi
@ 2010-05-20 11:41 ` Koen Kooi
2010-05-20 12:01 ` Christophe Aeschlimann
1 sibling, 1 reply; 8+ messages in thread
From: Koen Kooi @ 2010-05-20 11:41 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 18-05-10 09:27, Christophe Aeschlimann wrote:
> 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 :
>> [ 0.350000] vpif vpif: vpif probe success
>> [ 0.350000] Switching to clocksource timer0_1
>
> And 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-----
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [hawkboard] OE Kernel Not Booting
2010-05-20 11:41 ` Koen Kooi
@ 2010-05-20 12:01 ` Christophe Aeschlimann
2010-06-24 23:07 ` John (GMail)
0 siblings, 1 reply; 8+ messages in thread
From: Christophe Aeschlimann @ 2010-05-20 12:01 UTC (permalink / raw)
To: openembedded-devel
Le 20.05.2010 13:41, Koen Kooi a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 18-05-10 09:27, Christophe Aeschlimann wrote:
>> 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 :
>
>>> [ 0.350000] vpif vpif: vpif probe success
>>> [ 0.350000] Switching to clocksource timer0_1
>>
>> And it hangs there forever.
>
> That should be fixed now with:
> http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=49a1f4bdb309969f2c40b5dbfefdb56c83c0b264
>
> regards,
Yes I confirm it is.
Thanks,
Christophe
>
> 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
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [hawkboard] OE Kernel Not Booting
2010-05-20 12:01 ` Christophe Aeschlimann
@ 2010-06-24 23:07 ` John (GMail)
0 siblings, 0 replies; 8+ messages in thread
From: John (GMail) @ 2010-06-24 23:07 UTC (permalink / raw)
To: openembedded-devel
> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org
> [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of
> Christophe Aeschlimann
> Sent: Thursday, May 20, 2010 5:02 AM
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [hawkboard] OE Kernel Not Booting
>
> Le 20.05.2010 13:41, Koen Kooi a écrit :
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > On 18-05-10 09:27, Christophe Aeschlimann wrote:
> >> 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 :
> >
> >>> [ 0.350000] vpif vpif: vpif probe success
> >>> [ 0.350000] Switching to clocksource timer0_1
> >>
> >> And it hangs there forever.
> >
> > That should be fixed now with:
> >
>
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=49a1f4bdb30996
> 9f2c40b5dbfefdb56c83c0b264
> >
> > 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.
>
> Thanks,
>
> Christophe
>
> >
> > Koen
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.5 (Darwin)
> >
> >
> iD8DBQFL9R/WMkyGM64RGpERAj0qAJ4kmzsizEWt/bxA/GmfqK9wVIAjbQCeP
> KC1
> > 6bz6gYhGO+l/4TFhk9TNhcI=
> > =PHmx
> > -----END PGP SIGNATURE-----
> >
> >
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-06-24 23:12 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-18 7:27 [hawkboard] OE Kernel Not Booting Christophe Aeschlimann
2010-05-18 7:30 ` Koen Kooi
2010-05-18 8:10 ` Christophe Aeschlimann
2010-05-18 11:12 ` Koen Kooi
2010-05-18 13:36 ` Christophe Aeschlimann
2010-05-20 11:41 ` Koen Kooi
2010-05-20 12:01 ` Christophe Aeschlimann
2010-06-24 23:07 ` John (GMail)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.