Page 1 of 1

Root file system creation and kernel compilation

Posted: Fri Jun 28, 2013 10:11 am
by kondaveetiarungopal
Hi,
Present iam work on raspberry pi..i want to create a root file system with out gui screen...how to compile a kernel for raspberrry pi board..how to porting a image to raspberry pi and using this image how to create a root file system for raspberry pi...please tell me..


Thanks&Regards,

K.Arungopal

Re: Root file system creation and kernel compilation

Posted: Fri Jun 28, 2013 6:01 pm
by cae2100
for what you need, it sounds like you should try out archlinux, there is a distro on the main page for the download for it.
Designing the kernel and filesystem is a bit difficult, much more than most people would even want to try. If you feel brave enough, I have a guide on how to design a kernel for a netbook using the raspberry pi softfloat version right here:
http://cae2100.wordpress.com/2013/05/31 ... a-netbook/

Just change "make uImage ARCH=arm" to "make ARCH=arm" and it probably will work fine to boot the raspberry pi up.

Re: Root file system creation and kernel compilation

Posted: Mon Jul 01, 2013 5:15 am
by kondaveetiarungopal
Hi Cae,

Thanks for the Reply...what was my need is download the kernel source from kernel.org...and how to compile a kernel source using a configuration file and how to transfer a image or zimage or vmlinux to raspberry pi boot partition.and how to create root file system using a build root..after completion of root file system creation how to transfer a root file system to raspberry pi partition sd card partition...how to wrote a rcs script file for raspberry pi..please tell me..

Re: Root file system creation and kernel compilation

Posted: Mon Jul 01, 2013 5:19 am
by kondaveetiarungopal
i dont want on arch linux..i want on debian version raspberry pi wheezy rasbian..please tell me how to do this for raspberry pi..

Re: Root file system creation and kernel compilation

Posted: Mon Jul 01, 2013 5:53 am
by SirLagz
What are you trying to do exactly ?
Do you want a Raspbian without the GUI ?
Do you want a minimal Raspbian system ?
Do you want a tiny Debian based system ?

Three different levels of customisation that has already been done

Re: Root file system creation and kernel compilation

Posted: Mon Jul 01, 2013 6:22 am
by rpdom
How to get kernel source and compile a kernel: http://elinux.org/RPi_Kernel_Compilation

How to install the kernel: Copy the kernel image file to kernel.img on the boot partition.

How to create a root filesystem? Sorry, don't know.

All this seems like a lot of unnecessary work to me. Install the default Raspbian image. Remove anything you don't need. Simples :)

Re: Root file system creation and kernel compilation

Posted: Mon Jul 01, 2013 6:48 am
by ghans
AFAIK "spindle" is what you want , the foundation uses it :

https://github.com/asb/spindle


ghans

Re: Root file system creation and kernel compilation

Posted: Tue Jul 02, 2013 5:10 am
by kondaveetiarungopal
Hi Sirlag and ghana,

Thanks For u r valuable information..yes i go through u r blog..it is very useful to me..and read some tutorials for my convenient..
Do you want a Raspbian without the GUI ?
Do you want a minimal Raspbian system ?
Do you want a tiny Debian based system ?
what my requirement is i want to create tiny debian based system Please Send links for above concepts becausei will learn about the these concepts how to create minimal and rasbian with out gui..please send for above concepts..


Thanks&Regards,

K.Arungopal

Re: Root file system creation and kernel compilation

Posted: Tue Jul 02, 2013 7:13 am
by SirLagz

Re: Root file system creation and kernel compilation

Posted: Thu Jul 04, 2013 4:04 am
by kondaveetiarungopal
Hi,

Thank you for valuable information...i go through it yes it is valuable and effective information to me...Please send me some links how to create a minimal root file system and debian os with out gui screen..


Thanks&Regards,

K.Arungopal

Re: Root file system creation and kernel compilation

Posted: Fri Jul 05, 2013 11:40 am
by SirLagz
Seriously ?
Read the other thread...
There's a bit that says "I know it's like asking too much, but then found the way. This how I did it,"
Then the OP says how he did it.