For the FOX Board G20 please read this article: AcmeBoot - A tiny bootloader for the FOX Board G20
AT91bootstrap is the 2nd level bootloader for Atmel AT91 SoC providing a set of algorithms to manage the hardware initialization such as clock speed configuration, PIO settings, DDR2 DRAM initialization. After that it downloads your main application, usually the Linux Kernel image, from the first microSD partition to the DDR2 RAM and runs it from there.
The binary executable file of at91bootstrap must be stored in the first FAT16 or FAT32 partition of the bootable SD card changing the name in boot.bin.
At startup RomBOOT, that is the 1st levet booloader saved in the Atmel MPU ROM, searches and loads boot.ini from microSD card to the SRAM located inside the MPU itself and runs it from there.
First of all you need to install the toolchain (cross compiler, linker, etc) on your Linux Ubuntu PC following this article (tested on Ubuntu 15.04):
Download from GitHub the Atmel AT91boostrap version 3.7 sources:
Uncompress it by typing:
$ unzip at91bootstrap-3.7.zip
Move inside the new directory and download the patch from our GitHub repository:
Applying the patch:
~/at91bootstrap-3.7 $ patch -p1 < at91bootstrap-3.7-nocmdline.patch
Check wich is the defconfig filename of your board
|Acqua A5||256 MB||acqua-256m_defconfig|
|Acqua A5||512 MB||acqua-512m_defconfig|
|Aria G25||128 MB||aria-128m_defconfig|
|Aria G25||256 MB||aria-256m_defconfig|
|Arietta G25||128 MB||arietta-128m_defconfig|
|Arietta G25||256 MB||arietta-256m_defconfig|
and use it on the following command:
~/at91bootstrap-3.7 $ make defconfig
If you want to take a look to the at91bootstrap config launch:
~/at91bootstrap-3.7 $ make menuconfig
then save and exit.
To launch the compilation type:
~/at91bootstrap-3.7 $ make CROSS_COMPILE=arm-linux-gnueabi- ...
Copy the binary just created on the first partition of SD card renaming it in boot.bin. These exaamples are valid if you are using a zImage format for your Linux image:
For Acqua A5:
~/at91bootstrap-3.7 $ cp binaries/sama5d3_acqua-sdcardboot-linux-zimage-dt-3.7.bin /media/$USER/boot/boot.bin
For Aria G25:
~/at91bootstrap-3.7 $ cp binaries/at91sam9x5_aria-sdcardboot-linux-zimage-dt-3.7.bin /media/$USER/boot/boot.bin
For Arietta G25:
~/at91bootstrap-3.7 $ cp binaries/at91sam9x5_arietta-sdcardboot-linux-zimage-dt-3.7.bin /media/$USER/boot/boot.bin
Acme Systems srl and Sergio Tanzilli provide this documentation "as is" without warranty or guarantees of any kind. We not provide any direct support for the Open Source software which can running on our board but, through these pages and forum posts, we provide all of the information required to obtain the sources, install, use and update the Open Source software available on Internet.
Please note that all of the software we talking about is Open Source so you have to check any license provided by the software authors before using it in any commercial or non-commercial product, by yourself.
Please contact us 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.
Acme Systems srl
Via Aldo Moro 53 - 00055 Ladispoli (RM) - Italy
Partita IVA / Codice Fiscale 08114831004 - Tel +39.06.99.12.187 - Fax +39.06.622.765.31 - email: email@example.com pec: firstname.lastname@example.org
Iscritta al Registro delle Imprese di Roma al n. 08114831004 - REA: RM-1074631