Hi,
I have the Linuxstamp II 9260 (at91sam9260). I am trying to boot over NFS and I keep getting timeouts for DHCP....
Sending DHCP requests .
eth0: link up (100/Full)
..... timed out!
IP-Config: Retrying forever (NFS root)...
eth0: link down
eth0: link up (100/Full)
Sending DHCP requests ...
....
....
I am using the grip squeeze downloaded from
http://linuxstamp.budgetdedicated.com/index.php?dir=lnst2_9g20/rootfs/&file=grip_squeeze_20110512.tar.bz2
But I am able to perfectly mount this nfs share successfully on other machines on my network.
I tried to mount this filesystem after booting into Linux on flash. Even there I have an issue.
debian>mount -t nfs 192.168.2.139:/home/lsi/Linux_Stamp/RootFS/GRIP/grip_squeeze /mnt/nfstest
mount: wrong fs type, bad option, bad superblock on 192.168.2.139:/home/lsi/Linux_Stamp/RootFS/GRIP/grip_squeeze,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
so i tried the /sbin/mount but No such file or directory.....
Below is the complete log file. Can someone point me to what i am doing wrong?
U-Boot> printenv
bootdelay=3
baudrate=115200
ethact=macb0
ethaddr=00:00:00:00:00:5b
bootcmd=cp.b 0xD0042000 0x20800000 0x210000; bootm 0x20800000
filesize=1D4FE8
fileaddr=20800000
autoload=no
gatewayip=192.168.2.1
netmask=255.255.255.0
ipaddr=192.168.2.115
serverip=192.168.2.139
ip=ip=192.168.2.115:192.168.2.139:192.168.2.1:255.255.255.0::eth0:off
nwhwconf=nwhwconf=device:eth0,hwaddr:00:00:00:00:00:5b
defbootargs=mem=32M console=ttyS0,115200 rootdelay=0 ip=192.168.2.115 ubi.mtd=1 root=ubi0_0 rootfstype=ubifs
stdin=serial
stdout=serial
stderr=serial
nfsrootpath=/home/lsi/Linux_Stamp/RootFS/GRIP/grip_squeeze
nfsbootargs=mem=32M console=ttyS0,115200 rootdelay=0 ip=dhcp rw root=/dev/nfs nfsroot=192.168.2.139:/home/lsi/Linux_Stamp/RootFS/GRIP/grip_squeeze
nfsroot=192.168.2.139:/home/lsi/Linux_Stamp/RootFS/GRIP/grip_squeeze
bootargs=mem=32M console=ttyS0,115200 rootdelay=0 ip=dhcp rw root=/dev/nfs nfsroot=192.168.2.139:/home/lsi/Linux_Stamp/RootFS/GRIP/grip_squeeze
Environment size: 957/16892 bytes
U-Boot> tftp 20800000 uImage
macb0: link up, 100Mbps full-duplex (lpa: 0xcde1)
Using macb0 device
TFTP from server 192.168.2.139; our IP address is 192.168.2.115
Filename 'uImage'.
Load address: 0x20800000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#########################################
done
Bytes transferred = 1873284 (1c9584 hex)
U-Boot> bootm 20800000
## Booting kernel from Legacy Image at 20800000 ...
Image Name: Linux-2.6.31.6
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1873220 Bytes = 1.8 MB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux...................................................................................................................... done, booting .
Linux version 2.6.31.6 (lsi@ubuntu) (gcc version 4.5.2 (Sourcery G++ Lite 2011.03-41) ) #1 Thu Dec 29 17:40:22 EST 2011
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Atmel AT91SAM9260-EK
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 198 MHz, master 99 MHz, main 18.432 MHz
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Kernel command line: mem=32M console=ttyS0,115200 rootdelay=0 ip=dhcp rw root=/dev/nfs nfsroot=192.168.2.139:/home/lsi/Linux_Stamp/RootFS/GRIP/grip_squee
PID hash table entries: 128 (order: 7, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 28672KB available (3280K code, 273K data, 116K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:192
AT91: 96 gpio irqs in 3 banks
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating delay loop... 98.91 BogoMIPS (lpj=494592)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
msgmni has been set to 56
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL
atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL
brd: module loaded
ssc ssc.0: Atmel SSC device at 0xc2880000 (irq 14)
MACB_mii_bus: probed
eth0: Atmel MACB at 0xfffc4000 irq 21 (00:00:00:00:00:5b)
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:00, irq=-1)
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron NAND 256MiB 3,3V 8-bit)
AT91 NAND: 8-bit, Hardware ECC
Scanning device for bad blocks
Bad eraseblock 239 at 0x000001de0000
Bad eraseblock 531 at 0x000004260000
Bad eraseblock 892 at 0x000006f80000
Bad eraseblock 1237 at 0x000009aa0000
Bad eraseblock 1595 at 0x00000c760000
Bad eraseblock 1628 at 0x00000cb80000
Creating 2 MTD partitions on "atmel_nand":
0x000000000000-0x000000040000 : "Partition 1"
ftl_cs: FTL header not found.
0x000000040000-0x000010000000 : "Partition 2"
ftl_cs: FTL header not found.
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: irq 20, io mem 0x00500000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
udc: at91_udc version 3 May 2006
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
i2c-gpio i2c-gpio: using pins 55 (SDA) and 56 (SCL)
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Sending DHCP requests .
eth0: link up (100/Full)
..... timed out!
IP-Config: Retrying forever (NFS root)...
eth0: link down
eth0: link up (100/Full)
Sending DHCP requests ...
Thanks
-Raj