All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christophe Aeschlimann <c.aeschlimann@acn-group.ch>
To: openembedded-devel@lists.openembedded.org
Subject: [hawkboard] OE Kernel Not Booting
Date: Tue, 18 May 2010 09:27:54 +0200	[thread overview]
Message-ID: <4BF2417A.6000302@acn-group.ch> (raw)

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



             reply	other threads:[~2010-05-18  7:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-18  7:27 Christophe Aeschlimann [this message]
2010-05-18  7:30 ` [hawkboard] OE Kernel Not Booting 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)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BF2417A.6000302@acn-group.ch \
    --to=c.aeschlimann@acn-group.ch \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.