Your partner for your innovative projects ...                                            

Actualités OSELIS

 

contact

 

French (Fr)English (United Kingdom)
E-mail Print PDF

Buildroot — Tsunami v1 documentation

Buildroot

In this tutorial, the 2011.02 version of builroot was used.

Packages to install for buildroot:

sudo apt-get install g++ bison flex gettext patch

Buildroot configuration:

make arm_toolchain_defconfig
make menuconfig

Choose in menuconfig:

Target architecture :
--> cortex-A8
Build options :
--> Number of jobs to run simultaneously
    --> 4
Package selection for target
--> Busybox
    --> BusyBox Version (BusyBox 1.18.x)
Toolchain :
--> GCC Compiler Version
    --> 4.4.x
System configuration :
--> Generic serial port config
    --> ttyS2
    --> 115200

Then start compilation (this can take some time):

make

When finished, install rootfs:

sudo mkdir /root/buildroot_a8
tar -vxf output/images/rootfs.tar -C /root/buildroot_a8/
sudo su
echo "/root/buildroot_a8/ *(rw,sync,no_root_squash)" >> /etc/exports
/etc/init.d/nfs-kernel-server restart
exit

Change parameters in U-boot:

setenv linux_args setenv bootargs init=linuxrc console=${console} nfsroot=${serverip}:/root/buildroot_a8 ip=${ipaddr}:${serverip}:192.168.1.254:255.255.255.0::eth0:off; tftpboot 84000000 uImage; run linux_args; bootm 84000000

Buildroot’s rootfs is now functional:

VFS: Mounted root (nfs filesystem) on device 0:12.
Freeing init memory: 176K
Initializing random number generator... done.
Starting network...
ip: RTNETLINK answers: File exists
scsi 0:0:0:0: Direct-Access     USB TO I DE/SATA Device   0015 PQ: 0 ANSI: 0
sd 0:0:0:0: [sda] Attached SCSI disk

Oselis
buildroot login: root
# pwd
/root
# ls /
bin      etc      lib      mnt      proc     sbin     tmp      var
dev      home     linuxrc  opt      root     sys      us

© Copyright 2011, Oselis. Created using Sphinx 0.6.4.

White papers

 Adding a module to the kernel : A module can be loaded and unloaded on demand, the benefit of a module is that it does'nt reside into the monolithic kernel image. Read more...


 ARM simulation with qemu and NFS : First step, the development PC station configuration. This phase consists to add and configure a "bridge". Read more...


 Getting started with OMAP3530 : Basic environment setup of Tsunami board, TechNexion PSP installation Read more...


Buildroot on OMAP3530 : In this toturial, the 2011.02 version of builroot was used. Read more...


Open embedded on OMAP3530 : Configuration of Tsunami board. The OE reference tutorial is under... Read more...


DVSDK on OMAP3530 : DVSDK is a development environment done by TI for its platforms, enabling an... Read more...