Problem with rootfs mounting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hello all,
I am porting linux-2.6.37 to a new architecture, and I am facing the well-known problem:

VFS: Cannot open root device "(null)" or unknown-block(0,0)

When I was working on uClinux, I have seen that the vmlinux image was concatenated with the romfs image.
The kernel was aware of the address of the magic number -rom1fs-  thanks to the configuration
CONFIG_MTD_UCLINUX_ADDRESS= 0x . . . .   in the .config file.

But, I have not found how I can do this in Linux..
I have chosen the filesystem ROMFS in the .config file.
Where and how the romfs tree is created and included to the kernel image?

This question concerns also all the necessary user applications like "init" and "sh".

Should I use a build system tool like Buildroot or OpenEmbedded?

 Any help will be very useful.

Thanks in advance.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux