[Suzaku-en:00563] Cannot boot from a NFS rootFS with my Armadillo-500

Isaias Punktin email@hidden
Wed Apr 2 17:53:23 JST 2008


Hi all.

Im trying to boot my Armadillo-500 from mounting a NFS root file
system. In order to do this i have changed the kernel checking File
systems -> Network File Systems-> Root file system on NFS in the
menuconfig of my 2.6.18 kernel using ATDE.

Now i boot into the bootloader and i write:

setenv root=/dev/nfs rw rootfs=MI_PC_ADDRESS:ROOT_FILESYSTEM_PATH
ip=ARMADILLOs_IP::GATEWAY_IP:NETMASK:Armadillo:eth0:off rootdelay

And i boot into Linux... but it doesnt boot from NFS but from a file
system that i have on flash.

More information:

# dmesg

usb: OTG HS Host registered
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
MXC MMC/SD driver
mxcmci-0 found
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
Low-Level PM Driver module loaded
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Console: switching to colour frame buffer device 80x30
fb0: MXC frame buffer at 640x480x16 (CRT-VGA)
gpio: Armadillo-5x0 GPIO Sample driver [Rev.1.00]
mmc0: host does not support reading read-only switch. assuming write-enable.
MXC WatchDog Driver 2.0
MXC Watchdog Timer: initial timeout 60 sec
Serial: MXC Internal UART driver
mxcintuart.0: ttymxc0 at MMIO 0x43f90000 (irq = 45) is a Freescale MXC
mxcintuart.1: ttymxc1 at MMIO 0x43f94000 (irq = 32) is a Freescale MXC
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
smsc911x: Driver version 2007-07-13.
orinoco 0.15 (David Gibson <email@hidden>, Pavel
Roskin <email@hidden>, et al)
orinoco_cs 0.15 (David Gibson <email@hidden>, Pavel
Roskin <email@hidden>, et al)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
armadillo5x0-nor: Found 1 x16 devices at 0x0 in 16-bit bank
 Intel/Sharp Extended Query Table at 0x010A
 Intel/Sharp Extended Query Table at 0x010A
 Intel/Sharp Extended Query Table at 0x010A
 Intel/Sharp Extended Query Table at 0x010A
 Intel/Sharp Extended Query Table at 0x010A
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
erase region 0: offset=0x0,size=0x8000,blocks=4
erase region 1: offset=0x20000,size=0x20000,blocks=127
armadillo5x0-nor: use default partitions(4)
Creating 4 MTD partitions on "armadillo5x0-nor":
0x00000000-0x00020000 : "nor.bootloader"
0x00020000-0x00220000 : "nor.kernel"
0x00220000-0x00fe0000 : "nor.userland"
0x00fe0000-0x01000000 : "nor.config"
MXC MTD nand Driver 2.0
NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND
256MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 4 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x00000000-0x00020000 : "nand.ipl"
0x00020000-0x00420000 : "nand.kernel"
0x00420000-0x01a20000 : "nand.userland"
0x01a20000-0x10000000 : "nand.free"
armadillo5x0_pcmcia: PCMCIA driver [Rev.1 (2007/--/--)], (C) 2007
Atmark Techno, Inc.
usbmon: debugfs is not available
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 36, io base 0x43f88400
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.1: irq 37, io base 0x43f88000
fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usb 2-1: new low speed USB device using fsl-ehci and address 2
usb 2-1: configuration #1 chosen from 1 choice
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
input: NOVATEK USB Keyboard as /class/input/input0
input: USB HID v1.10 Keyboard [NOVATEK USB Keyboard] on usb-fsl-ehci.1-1
input: NOVATEK USB Keyboard as /class/input/input1
input: USB HID v1.10 Device [NOVATEK USB Keyboard] on usb-fsl-ehci.1-1
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
pegasus: v0.6.13 (2005/11/13), Pegasus/Pegasus II USB Ethernet driver
usbcore: registered new driver pegasus
mice: PS/2 mouse device common for all mice
tactsw: Armadillo-5x0 Tact-SW driver [Rev.1.00]
input: Tact-SW Port1 as /class/input/input2
input: Tact-SW Port2 as /class/input/input3
rtc-s353xxa: S-353XXA Real Time Clock class driver [Rev.1
(2007/--/--)], (C) 2007 Atmark Techno, Inc.
i2c /dev entries driver
i2c_armadillo5x0: registerd new I2C adapter 'Armadillo-5x0 I2C1 Adapter'
rtc-s353xxa 1-0030: rtc intf: sysfs
rtc-s353xxa 1-0030: rtc intf: proc
rtc-s353xxa 1-0030: rtc intf: dev (253:0)
rtc-s353xxa 1-0030: rtc core: registered S-353XXA as rtc0
i2c_armadillo5x0: registerd new I2C adapter 'Armadillo-5x0 I2C2 Adapter'
tlv320aic: TI TLV320AIC Audio codec driver [Rev.1 (2007/--/--)], (C)
2007 Atmark Techno, Inc.
IPU Post-filter loading
SSI module loaded successfully
mmcblk0: mmc0:1234 SD8GB 8003584KiB
 mmcblk0: p1 p2
led: Armadillo-5x0 LED driver, (C) 2007 Atmark Techno, Inc.
Registered led device: led1
Registered led device: led2
Registered led device: led3
Registered led device: led4
Registered led device: led5
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22
13:55:50 2006 UTC).
mxc_alsa_i2s: MXC ALSA iis audio driver [Rev.2], (C) 2007 Atmark Techno, Inc.
usbcore: registered new driver snd-usb-audio
ALSA device list:
  #0: mxc i2s audio
IPv4 over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <email@hidden>
ieee80211_crypt: registered algorithm 'NULL'
ieee80211_crypt: registered algorithm 'WEP'
Power Management for Freescale MX31
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 2
rtc-s353xxa 1-0030: setting the system clock to 2008-04-01 16:31:16 (1207067476)
eth0: SMSC911x/921x identified at 0xc5000000, IRQ: 64
eth0: SMSC911x MAC Address: 00:11:0c:0a:00:ac
eth0: link down
IP-Config: Complete:
      device=eth0, addr=193.146.210.216, mask=255.255.255.0, gw=193.146.210.1,
     host=Armadillo, domain=, nis-domain=(none),
     bootserver=193.146.210.235, rootserver=193.146.210.235, rootpath=
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 8192KiB [1 disk] into ram disk... done.
VFS: Mounted root (ext2 filesystem).
eth0: link up, 100Mbps, full-duplex, lpa 0x05E1


Making a "cat /proc/cmdline" seems that everything is OK (its the same
line i put in Hermit) but it boots using the RAMDisk. My NFS server is
working OK (i can mount the same directory in Armadillo's filesystem
once it has booted) What am i doing wrong?


Thanks in advance,

Punkto.



More information about the suzaku-en mailing list