Posts: 6
Joined: Tue Sep 01, 2015 10:35 pm

U-Boot 32bit arm

Sun Aug 26, 2018 8:09 pm


how can I build 32bit arm u-boot? I tried building on an amd64 Debian 9 with these configurations:

export CROSS_COMPILE=arm-linux-gnu-
export ARCH=arm
make rpi_3_32b_defconfig
make -j8 -s

export CROSS_COMPILE=arm-linux-gnueabihf-
make rpi_2_defconfig
make -j8 -s

export CROSS_COMPILE=aarch64-linux-gnu-
make rpi_3_defconfig
make -j8 -s

All of them seems to create a 64bit versions…
I managed to download it from a tftp server but it can't start raspbian because: 'bad linux arm64 image magic!' I guess because Raspbian has a 32bit kernel but my U-Boot is 64bit...

Return to “General discussion”