From: Stefan on
Hi all,

I just compiled the kernel from wireless-testing git tree for my
gateworks avila ixp4xx board. I used the OpenWrt toolchain for cross
compiling for the arm - architecture and I used the .config of the
original kernel of OpenWrt (2.6.32-10)

The kernel hangs up directly after being uncompressed.

console output:

+
Trying NPE-B...success. Using NPE-B with PHY 0.
Ethernet eth0: MAC address 00:d0:12:02:93:53
IP: 192.168.3.2/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.3.1

RedBoot(tm) bootstrap and debug environment [ROM]
Gateworks certified release, version 2.02 - built 05:22:19, Mar 3 2006

Platform: Gateworks Avila GW234X (IXP42X 533MHz) BE
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
Copyright (C) 2004, 2005 Gateworks Corporation

RAM: 0x00000000-0x04000000, [0x000298b0-0x03fc1000] available
FLASH: 0x50000000 - 0x51000000, 128 blocks of 0x00020000 bytes each.
== Executing boot script in 5.000 seconds - enter ^C to abort
RedBoot> load -r -m disk -b 0x01600000 hda1:openwrt-avila-zImage
Raw file loaded 0x01600000-0x016f2f3b, assumed entry at 0x01600000
RedBoot> exec -c "console=ttyS0,115200 root=/dev/sda2 rootfstype=ext2
init=/etc/preinit" 0x01600000
Using base address 0x01600000 and length 0x000f2f3c
Uncompressing Linux... done, booting the kernel.

I don't know, how to debug such behaviour. Any suggestions would be
extremely helpful.
I attached my kernel config.
Thanks in advance

kind regards
Stefan




From: Mikael Pettersson on
Stefan writes:
> Hi all,
>
> I just compiled the kernel from wireless-testing git tree for my
> gateworks avila ixp4xx board. I used the OpenWrt toolchain for cross
> compiling for the arm - architecture and I used the .config of the
> original kernel of OpenWrt (2.6.32-10)
>
> The kernel hangs up directly after being uncompressed.
>
> console output:
>
> +
> Trying NPE-B...success. Using NPE-B with PHY 0.
> Ethernet eth0: MAC address 00:d0:12:02:93:53
> IP: 192.168.3.2/255.255.255.0, Gateway: 0.0.0.0
> Default server: 192.168.3.1
>
> RedBoot(tm) bootstrap and debug environment [ROM]
> Gateworks certified release, version 2.02 - built 05:22:19, Mar 3 2006
>
> Platform: Gateworks Avila GW234X (IXP42X 533MHz) BE
> Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
> Copyright (C) 2004, 2005 Gateworks Corporation
>
> RAM: 0x00000000-0x04000000, [0x000298b0-0x03fc1000] available
> FLASH: 0x50000000 - 0x51000000, 128 blocks of 0x00020000 bytes each.
> == Executing boot script in 5.000 seconds - enter ^C to abort
> RedBoot> load -r -m disk -b 0x01600000 hda1:openwrt-avila-zImage
> Raw file loaded 0x01600000-0x016f2f3b, assumed entry at 0x01600000
> RedBoot> exec -c "console=ttyS0,115200 root=/dev/sda2 rootfstype=ext2
> init=/etc/preinit" 0x01600000
> Using base address 0x01600000 and length 0x000f2f3c
> Uncompressing Linux... done, booting the kernel.
>
> I don't know, how to debug such behaviour. Any suggestions would be
> extremely helpful.
> I attached my kernel config.
> Thanks in advance

You should send this to the linux-arm-kernel(a)lists.infradead.org
mailing list.

FWIW, 2.6.35-rc1 boots fine on my ixp4xx NAS box.

You should also investigate if this is a regression from earlier
kernels or not. If you can't compile and boot earlier kernels
either then it may be a problem in your build tools or build procedure.
For starters, are you building with the correct endianess, and
are you sure you don't need a kernel shim to correct the bootloader's
machine type?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/