[Buildroot] Errors when compiling uboot for rpi 3

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Dec 5 20:36:07 UTC 2019


On Thu, 05 Dec 2019 12:20:09 +0000
Ben Edwards <ben at artfuldodge.io> wrote:

> Hi,
> 
> I am very new to buildroot, so I am probably making some fundamental
> mistake. I have configured buildroot with the raspberrypi3 defconfig and
> then enabled uboot. The diff is
> 
> --- configs/raspberrypi3_defconfig	2019-12-04 19:27:02.700303546 +0000
> +++ configs/raspberrypi3_defconfig	2019-12-05 11:15:07.073552770 +0000

This Buildroot defconfigs builds an ARM 32 bits system for the RaspberryPi.

> @@ -1,37 +1,26 @@
> +BR2_TARGET_UBOOT=y
> +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rpi_3"

This U-Boot configuration apparently builds an ARM 64 bits bootloader
for the RaspberryPi, and therefore uses some assembly code that cannot
build with the ARM 32 compiler built as part of the
raspberrypi3_defconfig.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list