This article is suggested for these boards:
For the other boards please use the following articles:
First of all you need to install the toolchain (cross compiler, linker, etc) on your Linux Ubuntu PC following this article (tested on Ubuntu 18.04.4 LTS):
wget https://github.com/linux4sam/at91bootstrap/archive/refs/tags/v3.10.4.zip
unzip v3.10.4.zip
cd at91bootstrap-3.10.4
Add the AcmeSystems patches:
wget https://www.acmesystems.it/www/at91bootstrap_3_10_4/acme.patch
patch -p1 < acme.patch
Aria
make acme-aria_defconfig
Arietta
make acme-arietta_defconfig
If you want to take a look to the at91bootstrap configuration run:
make menuconfig
This function could be useful to change for example the Kernel line passed by at91bootstrap to the kernel.
launch the compilation by typing:
make CROSS_COMPILE=arm-linux-gnueabihf-
it will generate a binary fine in ./binaries directory with a different name for any board type.
A symbolic link is generated automatically during the at91bootstrap compilation so you can refer to it with the name boot.bin.
If your board boot everything from the MicroSD copy boot.bin on the first microSD partition by typing:
cp binaries/boot.bin /media/$USER/boot