I was doing my development over ethernet for the past few months (tftp and nfs). About two weeks ago I switched to the SD card to see if things are working on the SD too. Today I switched back to development mode over ethernet but nothing works anymore. When I try to update over ethernet I get the following error: mini2440:/ update -t barebox -d nand T DHCP client bound to address 192.168.1.41 host 192.168.1.44 is alive erasing partition /dev/nand0.barebox.bb flashing barebox-image to /dev/nand0.barebox.bb TFTP from server 192.168.1.44 ('barebox-image' -> '/dev/nand0.barebox.bb') ############################# mini2440:/ update -t rootfs -d nand T DHCP client bound to address 192.168.1.41 host 192.168.1.44 is alive erasing partition /dev/nand0.root.bb Skipping bad block at 0x07680000 Skipping bad block at 0x07f80000 Skipping bad block at 0x07fa0000 Skipping bad block at 0x07fc0000 Skipping bad block at 0x07fe0000 flashing root.jffs2 to /dev/nand0.root.bb TFTP from server 192.168.1.44 ('root.jffs2' -> '/dev/nand0.root.bb') tftp failed: Invalid argument The same goes for booting over ethernet, the kernel boots over ethernet but not the rootfs: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 Sending DHCP requests ., OK IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.1.41 IP-Config: Complete: device=eth0, addr=192.168.1.41, mask=255.255.255.0, gw=192.168.1.1, host=192.168.1.41, domain=, nis-domain=(none), bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath= 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: 1f00 512 mtdblock0 (driver?) 1f01 384 mtdblock1 (driver?) 1f02 2048 mtdblock2 (driver?) 1f03 128128 mtdblock3 (driver?) Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) Function entered at [<c003cb0c>] from [<c02ca098>] Function entered at [<c02ca098>] from [<c0008e8c>] Function entered at [<c0008e8c>] from [<c0008f6c>] Function entered at [<c0008f6c>] from [<c00090a8>] Function entered at [<c00090a8>] from [<c0008ae8>] Function entered at [<c0008ae8>] from [<c0038a1c>] What could be wrong??
Why o why, my nfs was working ....?
Syslog says: atftpd Requested file to big, increase BLKSIZE In the past I had this issue with tftpd and switched over to atftpd (advanced) to resolve this problem, but now I get the same problem even with the advanced tftp???
Another very nice article on setting up a tftp server This article resolved my issue using the tftpd-hpa server now