rmoriz
Posts: 6
Joined: Fri Jun 01, 2012 12:42 pm

Booting 3B with armv6l kernel?

Sun Jan 13, 2019 10:43 am

Hi,

is there an easy way to boot the Raspberry Pi 3B in armv6l instead of armv7l? I naively tried to cp "kernel.dmg" to "kernel7.dmg" (and playing with "kernel=" in the config.txt) without success.

Reason:

Docker for Raspbian became armv7l-only since a point release of 18.06 a couple of months ago for unclear reasons. It won't work on any old armv6l device and just crashes on start. The issue is documented upstream at https://github.com/moby/moby/issues/38175 but lacks progress.
As far as I understand, the whole docker build/release/package tooling has to run on the target machine architecture (no cross compilation).
While I have several Zeros, this probably takes more CPU and RAM to finish in a couple of hours. I thought when booting a 3B in (slowish) armv6l mode it should still be a lot faster than on a Zero and allow me to debug or build a working docker release.

hommar
Posts: 171
Joined: Sat Mar 25, 2017 1:55 pm
Location: Russia, Yekaterinburg

Re: Booting 3B with armv6l kernel?

Tue Jan 15, 2019 5:45 pm

add to arch/arm/configs/bcm2709_defconfig

Code: Select all

CONFIG_ARCH_MULTI_V6=y
# CONFIG_ARCH_MULTI_V7 is not set
and use manual for Raspberry Pi 2, Pi 3, Pi 3+ (kernel7)

PS I test it. Does not work

Return to “Raspbian”