[ELDK] Debian Lenny Install on AMCC 405EX (Kilauea)

Jason Hanna jason.m.hanna.at.coincident at gmail.com
Fri Sep 26 15:24:41 CEST 2008

Thanks Wolfgang,

I think I've almost got it working...just a couple more items to resolve.

Debian.org has just migrated servers apparently and their daily builds
(Lenny - testing) are not available for the powerpc architecture. If
you want to use their netboot method currently, you should match the
boot kernel version to their installer modules (if not it just gets
more complicated). This means moving from 2.6.26 down to 2.6.24.

When trying to compile the 2.6.24 kernel source for my kilauea I'm
seeing some warnings I haven't noticed before (although they don't
seem pertinent):

scripts/kconfig/conf -s arch/powerpc/Kconfig
drivers/net/arm/Kconfig:54:warning: 'select' used by config symbol
'IXP4XX_ETH' refers to undefined symbol 'IXP4XX_NPE'
drivers/net/arm/Kconfig:55:warning: 'select' used by config symbol
'IXP4XX_ETH' refers to undefined symbol 'IXP4XX_QMGR'
drivers/net/wan/Kconfig:340:warning: 'select' used by config symbol
'IXP4XX_HSS' refers to undefined symbol 'IXP4XX_NPE'
drivers/net/wan/Kconfig:341:warning: 'select' used by config symbol
'IXP4XX_HSS' refers to undefined symbol 'IXP4XX_QMGR'

On startup the kernel and dtb will load from tftp, but the boot will
fail at IP configuration with the following error - this didn't happen

Kernel command line: root=/dev/nfs rw nfsroot=
panic=1 console=ttyS0,115200
UIC0 (32 IRQ sources) at DCR 0xc0
UIC1 (32 IRQ sources) at DCR 0xd0
UIC2 (32 IRQ sources) at DCR 0xe0
PID hash table entries: 1024 (order: 10, 4096 bytes)
clocksource: timebase mult[780000] shift[22] registered
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256768k/262144k available (2496k kernel code, 5020k reserved,
112k data, 118k bss, 124k init)
SLUB: Genslabs=9, HWalign=32, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
Mount-cache hash table entries: 512
net_namespace: 64 bytes
NET: Registered protocol family 16
PCI: Probing PCI hardware
Time: timebase clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
ef600200.serial: ttyS0 at MMIO 0xef600200 (irq = 26) is a 16550A
console [ttyS0] enabled
ef600300.serial: ttyS1 at MMIO 0xef600300 (irq = 16) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 35000K size 1024 blocksize
PPC 4xx OCP EMAC driver, version 3.54
MAL v2 /plb/mcmal, 2 TX channels, 2 RX channels
/plb/opb/ethernet at ef600900: RGMII support not enabled !
/plb/opb/ethernet at ef600a00: RGMII support not enabled !
fc000000.nor_flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
fc000000.nor_flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
RedBoot partition parsing not available
Creating 6 MTD partitions on "fc000000.nor_flash":
0x00000000-0x001e0000 : "kernel"
0x001e0000-0x00200000 : "dtb"
0x00200000-0x00400000 : "root"
0x00400000-0x03f60000 : "user"
0x03f60000-0x03fa0000 : "env"
0x03fa0000-0x04000000 : "u-boot"
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
IP-Config: Device `eth0' not found.
Looking up port of RPC 100003/2 on
rpcbind: server not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on
rpcbind: server not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
mount: server not responding, timed out
Root-NFS: Server returned error -5 while mounting /jmh
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Rebooting in 1 seconds..<0>System Halted, OK to turn off power



PS -

> Alternatively, you can probably put the files on a USB  mass  storage
> device and mount this instead of using NFS.

I also had this same thought when I ran into trouble with the install.
Unfortunately AMCC has placed a USB OTG Micro-A port on the Kilauea. I
don't have any USB cables or adapters of that size - and they're
nearly impossible to find (at least in the US). I finally found one
online and ordered it Wednesday. Germany, however seems to have them
readily available from a company called InLine.

More information about the eldk mailing list