Hi, bga
I try to use your command to load and run linux on MX27. At beginning, everything looks Ok. But at the end of linux startup it could not mount nfs root fs. Have you encounter this issue before? Thank you! Below is my startup log:
*****************************************************************
LogicLoader
(c) Copyright 2002-2008, Logic Product Development, Inc.
All Rights Reserved.
Version 2.4.1-IMX27_10 0001
*****************************************************************
losh> ifconfig sm0 192.168.1.20 255.255.255.0 192.168.10.1
losh> load raw 0xa00c0000 1575340 /tftp/192.168.1.10:zImage
loading from /tftp/192.168.1.10:zImage:
loading raw binary to 0xa00c0000 (ram) len 001809ac:
.................................................................................................................................................................................efile loaded
losh> exec -t -i 0x34e 0xa00c0000 "noinitrd console=ttymxc0,115200 root=/dev/nfs ip=192.168.1.20 nfsroot=192.168.1.10:/tftpboot/ltib/rootfs init=linuxrc"
ATAG_CORE1, 4096, 255, 4, 1413545986, Uncompressing Linux......................................................................................................... done, booting .Linux version 2.6.19.2 (
hw@localhost.localdomain) (gcc version 4.1.2) #176 PREEMPT Mon Sep 15 09:57:06 CST 2008
CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
Machine: Freescale i.MX27ADS
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists. Total pages: 32512
Kernel command line: noinitrd console=ttymxc0,115200 root=/dev/nfs ip=192.168.1.20 nfsroot=192.168.1.10:/tftpboot/ltib/rootfs init=linuxrc
MXC IRQ initialized
PID hash table entries: 512 (order: 9, 2048 bytes)
Actual CLOCK_TICK_RATE is 14250000 Hz
Actual HRT CLOCK_TICK_RATE is 14250000 Hz
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 126464KB available (2696K code, 572K data, 92K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
MXC GPIO hardware
Generic PHY: Registered new driver
CSPI: mxc_spi-1 probed
CSPI: mxc_spi-2 probed
MXC I2C driver
mc13783 Rev 3.3 FinVer 0 detected
Device spi1.0 probed
PMIC Character device: successfully loaded
PMIC RTC successfully probed
PMIC Light successfully loaded
PMIC Power successfully probed
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
MX27: Power management module initialized
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
yaffs Sep 15 2008 09:52:32 Installing.
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Console: switching to colour frame buffer device 100x30
mxc_sdc_fb mxc_sdc_fb.0: fb0: DISP0 BG fb device registered successfully.
mxc_sdc_fb mxc_sdc_fb.0: fb1: DISP0 FG fb device registered successfully.
Real TIme clock Driver v1.0
Serial: IMX driver
imx-uart.0: ttymxc0 at MMIO 0x1000a000 (irq = 20) is a IMX
imx-uart.1: ttymxc1 at MMIO 0x1000b000 (irq = 19) is a IMX
imx-uart.2: ttymxc2 at MMIO 0x1000c000 (irq = 18) is a IMX
imx-uart.3: ttymxc3 at MMIO 0x1000d000 (irq = 17) is a IMX
imx-uart.4: ttymxc4 at MMIO 0x1001b000 (irq = 49) is a IMX
imx-uart.5: ttymxc5 at MMIO 0x1001c000 (irq = 48) is a IMX
loop: loaded (max 8 devices)
SMSC LAN83C185: Registered new driver
FEC ENET Version 0.2
eth0: ethernet 01:02:03:04:05:06
fec: PHY @ 0x1f, ID 0x0007c0c3 -- unknown PHY!
MXC MTD nor Driver 2.0
mxc_nor_flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Intel/Sharp Extended Query Table at 0x0035
cfi_cmdset_0001: Erase suspend on write enabled
Searching for RedBoot partition table in mxc_nor_flash.0 at offset 0x1f0000
No RedBoot partition table detected in mxc_nor_flash.0
Creating 2 MTD partitions on "mxc_nor_flash.0":
0x00000000-0x00040000 : "LoLo Bootloader"
0x00040000-0x00050000 : "Bootloader config"
MXC MTD nand Driver 2.0
NAND device: Manufacturer ID: 0x20, Chip ID: 0x76 (ST Micro NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 0 at 0x00000000
Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x02000000 : "NAND RootFS"
0x00000000-0x04000000 : "<NULL>"
0x00000000-0x04000000 : "<NULL>"
0x00000000-0x04000000 : "<NULL>"
i2c /dev entries driver
SSI module loaded successfully
PMIC Audio driver loading...
PMIC Battery successfully probed
PMIC Connectivity driver loading..
DPTC controller initialized
SEC: mxc_sec_mod_init() called
MXC MMC/SD driver
mxcmci: probe of mxcmci.0 failed with error -22
mxcmci: probe of mxcmci.1 failed with error -22
Advanced Linux Sound Architecture Driver Version 1.0.13 (Tue Nov 28 14:07:24 2006 UTC).
Control ALSA component registered
ALSA device list:
#0: MXC Freescale with PMIC
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Time: mx27_hrt clocksource has been installed.
input: mxc_ts as /class/input/input0
mxc input touchscreen loaded
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.168.1.20, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.1.20, domain=, nis-domain=(none),
bootserver=255.255.255.255, rootserver=192.168.1.10, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.10
portmap: server 192.168.1.10 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.1.10
portmap: server 192.168.1.10 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
mount: server 192.168.1.10 not responding, timed out
Root-NFS: Server returned error -5 while mounting /tftpboot/ltib/rootfs
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
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)