Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I like linux ,also like the embed system design technology.
so i brought a development board(FriendlyARM mini2440),i have compiled the linux Kernel many times.
also it all doesn't work.
when i compiled the linux Kernel(linux-2.6.29) to a zImage and downloaded to board.
at the same time the rootfs.img download to board.
when boot the kernel it show that "Root-NFS: No NFS server available, giving up." ,"VFS: Unable to mount root fs via NFS, trying floppy."
"VFS: Cannot open root device "mtdblock3" or unknown-block(2,0)"
how can i do to this problem?
At last thanks for you spent the time to read my questions.
This sort of problem can be very hard to find, there can be many things that give this sort of error. One place to start looking is the compiling process, did you compile the kernel with initrd.gz and ram support, this will need to be compiled into the kernel, not as a module.
I like linux ,also like the embed system design technology.
so i brought a development board(FriendlyARM mini2440),i have compiled the linux Kernel many times.
also it all doesn't work.
when i compiled the linux Kernel(linux-2.6.29) to a zImage and downloaded to board.
at the same time the rootfs.img download to board.
when boot the kernel it show that "Root-NFS: No NFS server available, giving up." ,"VFS: Unable to mount root fs via NFS, trying floppy."
"VFS: Cannot open root device "mtdblock3" or unknown-block(2,0)"
how can i do to this problem?
At last thanks for you spent the time to read my questions.
First of all you need to understand the Whole scenario. Here the problem is your kernel unable to find the filesystem need to be mounted after kernel boots up. So here you need to check your bootloader boot parameters to provide proper location to your filesystem.
Another suggestion it seems like your boot parameter is searching for mtdblock device for filesystem but you are using NFS (network file system). Which is the main culprit here. Search in google how to give boot parameters for NFS .
You can set kernel commandline parameters either from the bootloader (maybe), or by building them into the kernel. In your kernel config, search for CONFIG_CMDLINE. Add a parameter like init=/bin/init (point to the init binary in your rootfs).
--- rod.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.