2009-08-08

Buildroot for AT91SAM9261_EK

It is the first time for Max to play Buildroot. Hopefully, it's not the last time.
The target system is an evaluation board of ATMEL "AT91SAM9261_EK". Buildroot tools will generate following things for the target system.
  • Customizing the target filesystem
  • Customizing the Busybox
  • Customizing the uClibc
  • Customizing the packages
  • HelloWorld Project
  • ....
In a word, a brand new system for target board.

About download and install the Buildroot tools, please check here.
1) Start from ${buildroot}
> make menuconfig

2) Configuration.
Max took the most default setting and customized the configuration as following (who knows, let's just have a try!) . In the end, a .config file will be generated at ${buildroot}


Target Architecture (arm)
Target Architecture Variant (arm926t)
Target ABI (EABI) See the reason here.

Target Options:
Project options:
Project name (HelloWorld)
hostname (syn_at9261_0)
banner(Welcome to HelloWorld)

Generic serial port config:

Serial port to run a getty on (ttyS0)
Baudrate to use (115200)


ToolChain
[*] Build/install c++ compiler and libstdc++?
[*] Use ARM Vector Floating Point unit

Package Selection for the target
[*] make
Graphic libraries and applications (graphic/text)
[*] Qt
Target filesystem options
[*] Das U-Boot Boot Monitor --->
board name (at91sam9263-ek)



3) Build it and finish.
  • >make
Ok!Ok! I lied. It is not so easy. Usually you need do something more. You need to download some necessary packages. Can you handle it yourself? Tell me "yes, yes, yes". Only one nasty thing you may encounter is the failures of some sanity tests. See this page for the solution. The most problems occurs in the first 2 minutes. Afterwords, you can take a coffee and chat with your friends.

Till now, the building has not yet finish. Max's host system is debian Lenny at VM. It will take sometime. To be continued....

No comments:

Post a Comment