Home Contacts Terms Send money


www.acmesystems.it

Bootstrap in less than 5 sec using BuildRoot on Arietta G25

BuildRoot is a set of makefiles and patches that makes it easy to generate a complete Embedded Linux System. It can generate any or all of a cross-compilation toolchain, a root filesystem, a kernel image and a bootloader image.

This article explains how to build a very light Linux installation using BuildRoot that:

The configuration is minimal. Arietta will be visible as an USB lan adapter with the ssh server on 192.168.10.10 as usual.

This video shown how fast is the boot time:

Quick test

If you just want to try, use the binaries at the end of this article to create a bootable microSD.

Building BuildRoot from sources

This procedure has been tested on Ubuntu Linux versions 14.10 and 15.04.

These package are requested using a standard Ubuntu LTS for Desktop:

Clone this Git repository from GitHub. It contains a patched version of BuidRoot 2015.02 for the Acme SoM.

~$ git clone git://github.com/tanzilli/buildroot-2015.02.acme

Move inside the BuildRoot directory:

~$ cd buildroot-2015.02.acme
~/buildroot-2015.02.acme$ 

select the Arietta G25 minimal configuration:

~/buildroot-2015.02.acme$ make acme-arietta_defconfig
...
#
# configuration written to /home/tanzilli/buildroot-2015.02.acme/.config
#

If you want to add or change something of the basic BuildRoot configuratione type:

~/buildroot-2015.02.acme$ make menuconfig

And browse the configuration menu to add packages.

If you need to configure the Linux Kernel (drivers, modules, protocols, etc) type:

~/buildroot-2015.02.acme$ make linux-menuconfig

Save your configuratione and start with the BuildRoot compilation. This operation will take more than 1 hour.

~/buildroot-2015.02.acme$ make
...

If all has gone well you will find these three files in images directory:

Insert a formatted microSD card and copy these files on it:

~/buildroot-2015.02.acme$ cp output/images/boot.bin /media/$USER/kernel
~/buildroot-2015.02.acme$ cp output/images/acme-arietta.dtb /media/$USER/kernel
~/buildroot-2015.02.acme$ cp output/images/zImage /media/$USER/kernel
~/buildroot-2015.02.acme$ sudo tar xvf output/images/rootfs.tar -C /media/$USER/rootfs

At the first boot Arietta will be very slow (about 2 minutes) to calculate the openssh keys. At the next boots it will need less than 5 secs.

Download

Related links


ARIETTA-G25 : ARM9 Linux Embedded Module (128MB) EURO 25.00

Arietta G25 is a small and low-cost multi-chip module that integrates:

  • a ARM9 @ 400Mhz CPU Atmel AT91SAM9G25
  • a 128MB of DDR2 RAM
  • up to 3 USB 2.0 host ports
  • 20x2 pads for strip pitch 2.54mm (100mil)

Basic Version with no strips mounted


| Product description... |

ARIETTA-G25-256 : ARM9 Linux Embedded Module (256MB) EURO 30.00

Arietta G25 is a small and low-cost multi-chip module that integrates:

  • a ARM9 @ 400Mhz CPU Atmel AT91SAM9G25
  • a 256MB of DDR2 RAM
  • up to 3 USB 2.0 host ports
  • 20x2 pads for strip pitch 2.54mm (100mil)

Basic Version with no strips mounted


| Product description... |




Acme Systems srl
Via Aldo Moro 53 - 00055 Ladispoli (RM) - Italy
P.IVA/C.F. 08114831004
Tel +39.06.99.12.187 - Fax +39.06.622.765.31
http://www.acmesystems.it
Iscritta al Registro delle Imprese di Roma al n. 08114831004


Atmel© Certified Partner

Acme Systems provides this documentation "as is" without warranty or guarantees of any kind. We not provide any direct support for the Open Source preinstalled software but, through these pages and forum posts, all of the information required to obtain the sources, install, use and update the Open Source software that can be run on the Acme boards. Please note that all of the preinstalled software, used on the Acme Systems products, are Open Source so you have to check the license terms provided by the authors (usually the GPL) before using it in any commercial or non-commercial product, by yourself. Before to contact us please note that WE ARE MAINLY HARDWARE DESIGNERS and NOT LINUX GURUS and therefore could be better to post your questions to the Acme Systems forum and ensure that all of the site contributors and large software community can read and reply to your questions.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.