[Buildroot] problems building a system for Rpi4

Peter Seiderer ps.report at gmx.net
Mon May 3 19:06:05 UTC 2021


Hello Alejandro,

On Mon, 3 May 2021 11:18:06 -0400, Roberto Alejandro Espí Muñoz <teratux at gmail.com> wrote:

> Hello, I'm having some trouble getting my build to boot on a RPi4.  I
> initially tried building the default config version for 64 bits
> (raspberrypi4_64_defconfig) and it builds and boots ok with no problem.  I
> need to change the system to use glibc but whenever I manage to build the
> system and boot it I get a kernel panic error: Attempted to kill init with
> exitcode=0x00007f00.  The only change I'm making is switching over to a
> glibc toolchain and so far no progress.
> 
> I'm using buildroot buildroot-2020.11.3 and I attached my current config.

Simple mismatch between toolchain headers:

BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_9=y

and Linux-Kernel Version, here still 5.4.72...

Can reproduce your problem with this combination (buildroot toolchain instead
of external one), and can be fixed by simple changing the toolchain
headers to 5.4.x (and complete re-build)...

Regards,
Peter

> 
> Thanks in advance
> 




More information about the buildroot mailing list