kondaveetiarungopal
Posts: 88
Joined: Fri Apr 26, 2013 6:35 am

Root file system creation and kernel compilation

Fri Jun 28, 2013 10:11 am

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

cae2100
Posts: 143
Joined: Tue Jan 08, 2013 10:35 am
Contact: Website

Re: Root file system creation and kernel compilation

Fri Jun 28, 2013 6:01 pm

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.
If it isnt smoking and blown into pieces, it's not pushed far enough yet. :P
http://cae2100.wordpress.com

kondaveetiarungopal
Posts: 88
Joined: Fri Apr 26, 2013 6:35 am

Re: Root file system creation and kernel compilation

Mon Jul 01, 2013 5:15 am

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..

kondaveetiarungopal
Posts: 88
Joined: Fri Apr 26, 2013 6:35 am

Re: Root file system creation and kernel compilation

Mon Jul 01, 2013 5:19 am

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..

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Root file system creation and kernel compilation

Mon Jul 01, 2013 5:53 am

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
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

User avatar
rpdom
Posts: 17721
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Root file system creation and kernel compilation

Mon Jul 01, 2013 6:22 am

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 :)

ghans
Posts: 7883
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Root file system creation and kernel compilation

Mon Jul 01, 2013 6:48 am

AFAIK "spindle" is what you want , the foundation uses it :

https://github.com/asb/spindle


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

kondaveetiarungopal
Posts: 88
Joined: Fri Apr 26, 2013 6:35 am

Re: Root file system creation and kernel compilation

Tue Jul 02, 2013 5:10 am

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

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Root file system creation and kernel compilation

Tue Jul 02, 2013 7:13 am

My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

kondaveetiarungopal
Posts: 88
Joined: Fri Apr 26, 2013 6:35 am

Re: Root file system creation and kernel compilation

Thu Jul 04, 2013 4:04 am

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

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Root file system creation and kernel compilation

Fri Jul 05, 2013 11:40 am

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.
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

Return to “Other projects”