Peter, thanks, that was one explanation that I hadn't thought of (32b = 32 bits). Really helpful, onwards and upwards... David
On Thu, 26 Jul 2018 at 13:42 Peter Robinson pbrobinson@gmail.com wrote:
On Thu, Jul 26, 2018 at 1:00 PM, David Rusling david.rusling@linaro.org wrote:
All, I decided to play with u-boot*, so I bought another Raspberry Pi (3b+
this
time, my house backup and useful things is a 3b). After a bit of
fiddling,
both are now running 64 bit releases of Buster. I can supply the bits if anyone needs anything.
So, u-boot. I can build the normal configuration (rpi_3_defconfig) on both Arm and x86. Trying to build rpi_3_32b_defconfig gives me the same error on both x86 and Arm. Basically, it's trying to pass -marmv5 to the compiler and the compiler is having none of it. I can hack the Arm Makefile to remove the armv5, but that generates different errors, so no easy fix. I've also trying the 'stabbing in the dark' approach of configuring it 64 bit only etc, but no joy.
Two questions:
[1] Is rpi_3_defconfig the right config to support booting a RPi 3b?
If it
is, I'll swap my home and development boards
rpi_3_defconfig is the 64 bit aarch64 config and it's for all models of the 3B, so the original, the 3B+ and the CM3, the rpi_3_32b_defconfig is for 32bit ARMv7 booting so running a 32bit OS on all variants of the 3.
[2] Anyone managing to build u-boot for the RPi 3b+?
Yes, the one you built above will detect both models, the rpi_3_32b_defconfig config is also for both models but is for 32 bit OS (32b)