Thread (5 messages) 5 messages, 2 authors, 2012-08-20

need some clarifications concerning rootf mounting

From: Rahul Bedarkar <hidden>
Date: 2012-08-20 08:02:09

You haven't build your root file system. I believe we give path to
root file system in CONFIG_INITRAMFS_SOURCE.
There are different ways to build root file system, like buildroot.
http://buildroot.uclibc.org/

-Rahul B.

On Thu, Aug 16, 2012 at 3:01 PM, stl [off-list ref] wrote:
Thanks for your answer.

Ok, here is what I have exactly done:

- compiled with my uClibc cross-compiler a simple hello world program.
- written a basic config file in linux-2.6.37/usr, creating a dev/console, a
/init from /usr/hello and some other dirs.
- edited the .config file with CONFIG_INITRAMFS_SOURCE =
......./usr/config_file and selected CONFIG_INITRAMFS_COMPRESSION_GZIP=y
- built the kernel
- launched vmlinux and received the "kernel panic: junk in compressed
archive" error message

In the source code, initrd_start ans initrd_end appears.
if i want to use initramfs support (and not initrd support), should I do
something special in "setup_arch()" in order to initialize these symbols?

thakns in advance
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help