thanks thanks respect
the tip with "make menuconfig" was excellent it works now
i have run make menuconfig but the mistake was that i have not run
the make menuconfig after change the CONFIG_ROOT_NFS=y in .config
here the solution:
1. make menuconfig > enable under File systems > Network File Systems:
<*> NFS file system support
[*[ Provide NFSv3 client support
save kernel configuration
2. edit .config > change CONFIG_ROOT_NFS=y and CONFIG_IP_PNP=y
3. make menuconfig check "File systems > Network File Systems >
> Root file system on NFS" if is enabled then save kernel configuration
4. make vmlinux
and now setup the kernel parameter and boot kernel over network
Code:
CFE>nvram set kernel_args="root=/dev/nfs nfsroot=/nfs_rootfs nfsaddrs=192.168.1.31:192.168.1.4:192.168.1.4:255.255.255.0:asus3:eth0 noinitrd init=/linuxrc_my console=ttyS0,115200"
CFE>nvram commit
Code:
CFE> boot -elf -tftp 192.168.1.4:vmlinux_asus_nfs_usb
Loader:elf Filesys:tftp Dev:eth0 File:192.168.1.4:vmlinux_asus_nfs_usb Options:(null)
Loading: TFTP Client.
0x0/88 0x80001000/2326760 0x8023a000/368640 0x80294000/208912 Entry at 0x8023c040
Closing network.
Starting program at 0x8023c040
cpu probe
prom init
cpu report
CPU revision is: 00029007
Primary instruction cache 8kb, linesize 16 bytes (2 ways)
Primary data cache 4kb, linesize 16 bytes (2 ways)
Linux version 2.4.20 (root@xenon) (gcc version 3.2.3 with Broadcom modifications) #63 Fri Jan 13 18:23:14 CET 2006
Setting the PFC value as 0x15
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/nfs nfsroot=/nfs_rootfs nfsaddrs=192.168.1.31:192.168.1.4:192.168.1.4:255.255.255.0:asus3:et0CPU: BCM5365 rev 1 at 200 MHz
Calibrating delay loop... 199.47 BogoMIPS
Memory: 29560k/32768k available (2272k kernel code, 3208k reserved, 264k data, 80k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Fixing up bus 1
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 0) is a 16550A
eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.7.0
SCSI subsystem driver Revision: 1.00
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
Flash device: 0x400000 at 0x1c000000
Physically mapped flash: Couldn't find valid ROM disk image
Creating 4 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "pmon"
0x00040000-0x003f0000 : "linux"
0x00000000-0x00400000 : "rootfs"
0x003f0000-0x00400000 : "nvram"
sflash: found no supported devices
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Enabling device 01:02.2 (0000 -> 0002)
ehci_hcd 01:02.2: VIA Technologies, Inc. USB 2.0
ehci_hcd 01:02.2: irq 2, pci mem c0000000
usb.c: new USB bus registered, assigned bus number 1
PCI: 01:02.2 PCI cache line size set incorrectly (0 bytes) by BIOS/FW, correcting to 32
ehci_hcd 01:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 4 ports detected
host/uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Enabling device 01:02.0 (0000 -> 0001)
host/uhci.c: USB UHCI at I/O 0x100, IRQ 2
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Enabling device 01:02.1 (0000 -> 0001)
host/uhci.c: USB UHCI at I/O 0x120, IRQ 2
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
host/usb-ohci.c: USB OHCI at membase 0xb8003000, IRQ 6
host/usb-ohci.c: usb-00:03.0, PCI device 14e4:4715 (Broadcom Corporation)
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
IP-Config: Complete:
device=eth0, addr=192.168.1.31, mask=255.255.255.0, gw=192.168.1.4,
host=asus3, domain=, nis-domain=(none),
bootserver=192.168.1.4, rootserver=192.168.1.4, rootpath=
ip_conntrack version 2.1 (256 buckets, 2048 max) - 344 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_time loading
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Looking up port of RPC 100003/2 on 192.168.1.4
Looking up port of RPC 100005/1 on 192.168.1.4
VFS: Mounted root (nfs filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 80k freed
Algorithmics/MIPS FPU Emulator v1.5
hub.c: new USB device 01:02.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0xea0/0x2168) is not claimed by any active driver.
PCI: Enabling device 01:03.0 (0004 -> 0006)
eth1: Broadcom BCM4320 802.11 Wireless Controller 3.90.23.0
vlan0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device vlan0 entered promiscuous mode
eth2: No such device
eth3: No such device
device wds0.49153 entered promiscuous mode
br0: port 2(wds0.49153) entering listening state
br0: port 1(vlan0) entering listening state
br0: port 2(wds0.49153) entering learning state
br0: port 1(vlan0) entering learning state
br0: port 2(wds0.49153) entering forwarding state
br0: topology change detected, propagating
br0: port 1(vlan0) entering forwarding state
br0: topology change detected, propagating
/etc/hosts: Read-only file system
usb.c: unable to get major 180 for usb devices
usb.c: registered new driver usbdevfs
usb.c: deregistering driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 21:43:09 Apr 20 2005
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
Linux video capture interface: v1.00
SCSI subsystem driver Revision: 1.00
devfs_mk_dir(scsi): using old entry in dir: 81073bc0 ""
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
vlan1: Setting MAC address to 00 15 f2 6a e6 a0.
VLAN (vlan1): Underlying device (eth0) has same MAC, not checking promiscious mode.
/proc/sys/net/ipv6/conf/all/forwarding: No such file or directory
vlan1: add 01:00:5e:00:00:01 mcast address to master interface
PCI devices found:
FLASH memory: PCI device 14e4:0800 (Broadcom Corporation) (rev 1).
Ethernet controller: PCI device 14e4:4713 (Broadcom Corporation) (rev 1).
Network and computing encryption device: PCI device 14e4:4718 (Broadcom Corporation) (rev 1).
USB Controller: PCI device 14e4:4715 (Broadcom Corporation) (rev 1).
PCI bridge: PCI device 14e4:0804 (Broadcom Corporation) (rev 1).
MIPS: PCI device 14e4:0816 (Broadcom Corporation) (rev 1).
RAM memory: PCI device 14e4:080f (Broadcom Corporation) (rev 1).
Host bridge: PCI device 14e4:5365 (Broadcom Corporation) (rev 0).
Network controller: PCI device 14e4:4320 (Broadcom Corporation) (rev 3).
echo for PaN ::: &&&PaN
Code:
/ #
/ # df -k
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 5951776 3585516 2059044 64% /
/ # mount
/dev/root on / type nfs (ro,v2,rsize=4096,wsize=4096,hard,udp,nolock,addr=192.168.1.4)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/ #