Debian Package Dependencies
ARM Cross Compiler | apt install binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu |
SWIG | apt install swig |
Build Essentials | apt install build-essential |
U-Boot Bootloader
Dependencies
- build-essential
- swig
libssl-dev
- gnutls-dev
Download
git clone -b v2022.10 https://github.com/u-boot/u-boot --depth=1 cd u-boot/
Configure and Build
make ARCH=arm CROSS_COMPILE=${CC} distclean make ARCH=arm CROSS_COMPILE=${CC} stm32mp15_trusted_defconfig
stm32mp157a-dk1
#user@localhost:~/u-boot$ make ARCH=arm CROSS_COMPILE=${CC} DEVICE_TREE=stm32mp157a-dk1 all
stm32mp157c-dk2
#user@localhost:~/u-boot$ make ARCH=arm CROSS_COMPILE=${CC} DEVICE_TREE=stm32mp157c-dk2 all