Project

General

Profile

Bug #10155

Alpine Linux fails to boot on Raspberry Pi 2B/3B+

Added by Tyler A 3 months ago. Updated 11 days ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
Target version:
Start date:
03/26/2019
Due date:
% Done:

100%

Estimated time:
Affected versions:
Security IDs:

Description

We have been discussing this on the mailing list https://lists.alpinelinux.org/alpine-user/0754.html

What I find is that Alpine Linux 3.9.0 worked, but anything later than that just does not boot and I get a black screen.

The green LED blinks 6 times, which indicates that "start.elf not launch-able" according to this thread: STICKY: Is your Pi not booting?

Associated revisions

Revision 4f1a9af5 (diff)
Added by Carlo Landmeter 3 months ago

scripts: add rpi2 kernel to armhf release

ref #10155

Revision 435e10f2 (diff)
Added by Carlo Landmeter 3 months ago

scripts: add rpi2 kernel to armhf release

ref #10155

Revision ac60862c (diff)
Added by Carlo Landmeter about 2 months ago

scripts: add back rpi kernel to armhf

ref #10155

History

#1 Updated by Tyler A 3 months ago

I thought I'd mention that I am able to boot armv7 image. I wasn't aware of it's existence until I was told about it in Alpine Linux 3.9.0 release notes

# cat /proc/cpuinfo 
processor    : 0
model name    : ARMv7 Processor rev 5 (v7l)
BogoMIPS    : 38.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer    : 0x41
CPU architecture: 7
CPU variant    : 0x0
CPU part    : 0xc07
CPU revision    : 5

processor    : 1
model name    : ARMv7 Processor rev 5 (v7l)
BogoMIPS    : 38.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer    : 0x41
CPU architecture: 7
CPU variant    : 0x0
CPU part    : 0xc07
CPU revision    : 5

processor    : 2
model name    : ARMv7 Processor rev 5 (v7l)
BogoMIPS    : 38.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer    : 0x41
CPU architecture: 7
CPU variant    : 0x0
CPU part    : 0xc07
CPU revision    : 5

processor    : 3
model name    : ARMv7 Processor rev 5 (v7l)
BogoMIPS    : 38.40
Features    : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer    : 0x41
CPU architecture: 7
CPU variant    : 0x0
CPU part    : 0xc07
CPU revision    : 5

Hardware    : BCM2835
Revision    : a21041

#2 Updated by davide pippa 3 months ago

Hi!
I'm having similar problem with:
- raspberry Pi 3
- alpine linux 3.9.2 (armhf)

What I get is a non-booting raspberry with 7 blinks, meaning no "kernel.img" found.

What I noticed comparing version 3.8 (which works for me on same hardware) and 3.9 I see that:
- config.txt has less entries (only rpi0 and rpi1) in 3.9;
- boot/ lacks files with -rpi2 suffix (present in 3.8);
could problem be related with this?

#3 Updated by Carlo Landmeter 3 months ago

Looks like we have an issue where on armhf only the rpi1 kernel is included.
I will try to fix this before next release.

Can you try the armv7 release? I dont think we will support armhf for much longer.

#4 Updated by Tyler A 3 months ago

armv7 works yes.

#5 Updated by Natanael Copa 3 months ago

  • Target version changed from 3.9.3 to 3.9.4

#6 Updated by Marnix Rijnart 3 months ago

The last commit on this issue makes the 3.9.3 armhf image unbootable on any model rpi, the config.txt file still points to rpi0 and rpi1 kernels, but these are now gone and replaced by rpi2 kernels in /boot.

#7 Updated by Mogens Jensen 3 months ago

Carlo Landmeter wrote:

Looks like we have an issue where on armhf only the rpi1 kernel is included.
I will try to fix this before next release.

Can you try the armv7 release? I dont think we will support armhf for much longer.

If I understand correctly, all Raspberry Pi's with a ARM1176JZF-S processor, which includes Raspberry Pi Zero (W), are not ARMv7 compatible and need armhf binaries.

Does this mean that Alpine Linux will no longer support all those models?

#8 Updated by Another Droog 2 months ago

If I understand correctly, all Raspberry Pi's with a ARM1176JZF-S processor, which includes Raspberry Pi Zero (W), are not ARMv7 compatible and need armhf binaries.

Does this mean that Alpine Linux will no longer support all those models?

That is correct and it would be a real shame to see support go for products that are still shipping!

#9 Updated by Marnix Rijnart 2 months ago

Yes, the Raspberry Pi Foundation is still producing and selling 4 models with that CPU:

  • Raspberry Pi 1 Model A+ (introduced November 2014)
  • Raspberry Pi 1 Model B+ (introduced July 2014)
  • Raspberry Pi Zero (introduced November 2015)
  • Raspberry Pi Zero W (introduced Februari 2017)

They all have as obsolescence statement that they will remain in production until at least January 2022.

#10 Updated by Natanael Copa about 2 months ago

  • % Done changed from 0 to 100

#11 Updated by Natanael Copa about 2 months ago

  • Target version changed from 3.9.4 to 3.9.5

#12 Updated by Bodo Rueskamp about 1 month ago

  • Affected versions 3.9.5 added
  • Affected versions deleted (3.9.1, 3.9.2)

3.9.4 not booting on a RPI 3 Model B+ because the following lines are missing in /boot/config.txt

[pi2]
kernel=boot/vmlinuz-rpi2
initramfs boot/initramfs-rpi2
[pi3]
kernel=boot/vmlinuz-rpi2
initramfs boot/initramfs-rpi2

#13 Updated by Natanael Copa 11 days ago

Bodo Rueskamp wrote:

3.9.4 not booting on a RPI 3 Model B+ because the following lines are missing in /boot/config.txt

does 3.10.0_rc* boot?

Also available in: Atom PDF