Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Building RFS with Buildroot (Step by Step) for AT91SAM9260EK
PostPosted: Wed Jan 09, 2008 11:43 am 
Offline

Joined: Tue Jun 26, 2007 6:27 pm
Posts: 81
Hellol

could anyone explain me how to build an kernel with rfs for the AT91SAM9260ek

I downloaded buildroot and try to start the *.sh but it doesn´t work ?

I´m an newbie, so please help me.

The Informations on linux4sam.org aren´t enough for me to find a solution...

Thank you very much.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 10, 2008 9:34 pm 
Offline

Joined: Wed Dec 12, 2007 8:55 pm
Posts: 2
Hello!
buildroot-snapshot.tar.bz2/buildroot/docs/buildroot.html - all about buildroot usage.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 17, 2008 5:39 pm 
Offline

Joined: Wed Jan 09, 2008 5:09 pm
Posts: 186
Location: Mounds View, MN
Heh, well that documentation is useful to a degree. First of all, there is no mention in the documentation of what to do when you make a config and get a bunch of input requests. Also where is the documentation on how to make or modify defconfig files or linux-x.x.x.x.config files? Right now I tried to build files for a at91sam9260ek board using the at91sam9260pf target files (using "make at91sam9260pf_defconfig" then "make configured"). I then get asked a bunch of questions about settings. One thing I select is the use latest 2.6.22.x kernel headers. The error I get is that there is no at91sam9260pf-linux-2.6.22.10.config file. The snapshop of buildroot I downloaded (on 1/15/08) only has a config file for the 2.6.22.1 kernel. So how do I make a 2.6.22.10 config file??

edit: also no documentation on how to add support for additional capabilities, like ppp, to the kernel.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 18, 2008 5:58 pm 
Offline

Joined: Wed Oct 12, 2005 6:17 pm
Posts: 51
Location: Montreal
here some partial info

http://www.linux4sam.org/twiki/bin/view ... /BuildRoot

Jonathan

_________________
micro controller developer
Pcb Designer
www.cimeq.qc.ca


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 23, 2008 2:37 pm 
Offline

Joined: Wed Jan 23, 2008 12:22 pm
Posts: 6
Location: Germany
I have exactly the same problem. :D

But i want to build buildroot for the at91sam9263ek.

After a while i get the error
Code:
You should create a .config for your kernel
and install it as target/device/Atmel/at91sam9263ek/at91sam9263ek-linux-2.6.22.1.config

cp -dpf target/device/Atmel/at91sam9263ek/at91sam9263ek-linux-2.6.22.1.config /home/service/buildroot_env/buildroot-atmel-eval-at91sam9263/buildroot/project_build_arm/at91sam9263ek/linux-2.6.22.1/.config
cp: Aufruf von stat für ?target/device/Atmel/at91sam9263ek/at91sam9263ek-linux-2.6.22.1.config? nicht möglich: Datei oder Verzeichnis nicht gefunden


The last piece means he is not able to cp the at91sam9263ek-linux-2.6.22.1.config file.
Its clear because there is no at91sam9263ek-linux-2.6.22.1.config file in that directory. There is only a at91sam9263ek-linux-2.6.21.1.config file.

OK it seems to me that i have to configure the 2.6.22.1 kernel which is located in the buildroot directory and copy the .config to at91sam9263ek-linux-2.6.22.1.config

Is that right?

The 2.6.22.1 kernel which is located in the buildroot directory looks not really patched for arm.
Did i have to do this job before i configure the kernel or will buildroot do the job later?

Sorry for the stupid questions but iam a little bit confused.
Thx a lot.

Regards
Markus


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 24, 2008 3:44 pm 
Offline

Joined: Wed Jan 23, 2008 12:22 pm
Posts: 6
Location: Germany
OK i solved the problem.

Only copy the linux_defconig_kernel_file from linux4sam to target/device/Atmel/at91sam9263ek/

Thats all.

Regards
Markus


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: