Install the GCC cross compiler for ARM Cortex-R/M processors
- Arch Linux
sudo pacman -S arm-none-eabi-gcc openssl bc
- Debian Linux
sudo apt install gcc-arm-none-eabi libssl-dev bc
This will generate the u-boot.img
and MLO
.
$ make
Flash u-boot.img
and MLO
. Change /dev/sda
as needed.
$ sudo dd if=u-boot-dtb.img of=/dev/sda count=4 seek=1 bs=384k
$ sudo dd if=MLO of=/dev/sda count=2 seek=1 bs=128k