Can't boot on Raspberry Pi 2
I just get a Raspberry Pi 2 and try to run Alpine Linux 3.5 (alpine-rpi-3.5.0-armhf.tar.gz) on a Class 10 Micro SD Card. But my raspberry Pi 2 won't boot.
With disable_splash set to 0, I only get a rainbow screen. The red led on is on and the green led blink slowly.
#1 Updated by Thibault Meyer over 2 years ago
It seems that the downloadable archive (alpine-rpi-3.5.0-armhf.tar.gz) is not up to date. To get Alpine running on raspberry pi, we have to upgrade "boot" files.
## backup original files mv /media/mmcblk0p1/config.txt /media/mmcblk0p1/config.backup mv /media/mmcblk0p1/fixup.dat /media/mmcblk0p1/fixup.backup mv /media/mmcblk0p1/start.elf /media/mmcblk0p1/start.backup ## download latest gpu-firmware (03/24/2016) # default version curl -o /media/mmcblk0p1/fixup.dat \ https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/fixup.dat curl -o /media/mmcblk0p1/start.elf \ https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/start.elf # cut-down version curl -o /media/mmcblk0p1/fixup_cd.dat \ https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/fixup_cd.dat curl -o /media/mmcblk0p1/start_cd.elf \ https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/start_cd.elf ## create rpi2/3 config cat << EOF > /media/mmcblk0p1/config.txt disable_splash=1 boot_delay=0 start_x=0 gpu_mem=16 kernel=boot/vmlinuz-rpi2 initramfs boot/initramfs-rpi2 0x08000000 EOF ## safety 1st sync
#3 Updated by Mike Harsch over 2 years ago
Until a new release package is generated, the procedure to work around this bug is quite a challenge for any newcomer looking to run alpine on a raspberry pi. As I've just been down this path myself, I'll share my notes for others who may be similarly stuck.
Timeline: this bug has broken the installation experience on Raspberry Pi for anyone coming to alpine since the release of 3.5.0 (22-Dec-2016) and remains broken in the current stable release 3.5.1 (released 26-Jan-2017). Today is 26-Feb-2017. Alpine installs on Raspberry Pi have been broken for over 2 months and counting.
Workaround installation procedure:
- Prepare SD card per wiki instructions with either 3.5.0 (the version linked to by the Raspberry Pi download link on the main download page) or 3.5.1 (latest stable version).
- Boot the Pi and run setup-alpine as per usual. After running 'lbu commit' but before rebooting for the first time, update the raspberry pi boot files using the version referenced above like this:
mount -o rw,remount /media/mmcblk0p1
rm fixup.dat start.elf
for i in fixup.dat start.elf fixup_cd.dat start_cd.elf;do
curl -O https://raw.githubusercontent.com/raspberrypi/firmware/debe2d29bbc3df84f74672fae47f3a52fd0d40f1/boot/$i
If you're using the serial console, you'll need to add 'enable_uart=1' to config.txt
If you want to watch boot messages, remove 'quiet' from cmdline.txt