Page 1 of 1

U-Boot 32bit arm

Posted: Sun Aug 26, 2018 8:09 pm
by kovacsadam07

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...