My /etc/exports:
/home/dhruv/OSELAS.BSP-Pengutronix-Mini2440-2012.06.0/platform-mini2440/root
*(rw,no_root_squash,sync,no_subtree_check)
And in the barebox bootloader's /env/config file I have the line:
nfsroot=
"/home/dhruv/OSELAS.BSP-Pengutronix-Mini2440-2012.06.0/platform-mini2440/root"
And on boot i am gettin the following error
s3c-rtc s3c2410-rtc: setting system clock to 2024-07-14 16:00:30 UTC
(1720972830)
dm9000 dm9000: eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
IP-Config: Complete:
device=eth0, addr=192.168.1.240, mask=255.255.255.0, gw=192.168.1.2
host=192.168.1.240, domain=, nis-domain=(none)
bootserver=192.168.1.7, rootserver=192.168.1.7, rootpath=
ALSA device list:
#0: S3C24XX_UDA134X
List of all partitions:
1f00 512 mtdblock0 (driver?)
1f01 384 mtdblock1 (driver?)
1f02 2048 mtdblock2 (driver?)
1f03 1045632 mtdblock3 (driver?)
No filesystem could mount root, tried: jffs2
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)
Function entered at [<c000e34c>] from [<c028d9c8>]
Function entered at [<c028d9c8>] from [<c031dc50>]
Function entered at [<c031dc50>] from [<c031dd78>]
Function entered at [<c031dd78>] from [<c031deb8>]
Function entered at [<c031deb8>] from [<c031d8b4>]
plz help me!!!!!!!!!!!!1
NFS and Barebox
Please show us your kernel command line. When the kernel starts, it outputs something like: "Kernel command line: console=ttySAC0,115200 ..." This line and its content would be helpful to see.
OK commandline: console=ttySAC0,115200 mini2440=6tbc ip=192.168.1.240:192.168.1.7:192.168.1.2:255.255.255.0::: root=/dev/mtdblock rootfstype=jffs2 noinitrd mtdparts=nand:512k(barebox),384k(bareboxenv),2048k(kernel),-(root) arch_number: 1999 Starting kernel ... Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0
dhruv: Seems not, or at least not successfull: "root=/dev/mtdblock rootfstype=jffs2" will be added to the kernel command line when "rootfs_loc=nand". Please set it to "rootfs_loc=net" and try again.


