Subject: [alpine-devel] Getting the RPI images working on RPI 3b+

From: Ed Warnicke <[email-masked]>
Date: Sun, 3 Jun 2018 10:10:06 -0500

I've been trying to use the Raspberry Pi alpine images:
https://wiki.alpinelinux.org/wiki/Raspberry_Pi

Turns out they don't boot at all on RPI 3b+, and on RPI 3b the wifi drivers
(brcmfmac) don't work.

So in typical open source fashion, I'd like to try my hands at fixing them.
I've found aports, but it is not at all clear to me how the RPI images are
being built.

aports seems to be focused on buildling packages (which is cool)

Could anyone give me a hint as to how to build the RPI images?

I would also be willing to write a wiki page on how to do it to help the
next guy.

Ed

---

From: Oliver Smith <[email-masked]>
Date: Mon, 04 Jun 2018 19:01:00 +0000

Hello Ed,

yangxuan8282 (in CC) is doing a lot of great work to improve the
Raspberry Pi ports in Alpine these days and managed to boot the
Raspberry pi 3b+ and package its Wi-Fi firmware. I've recommended to
directly upstream it to Alpine, but there was low interest:

https://github.com/alpinelinux/aports/pull/4337

Now the plan is to integrate the improvements into postmarketOS (Alpine
based Linux distro) first and then upstream it to Alpine as a whole
package (which is probably less effort to review, only one PR for the
kernel changes etc.). I meant to reach out to this mailing list
separately when we're there, but since you're already asking about the
Pi, maybe this is already useful to you.

Updating the kernel:
https://github.com/postmarketOS/pmbootstrap/issues/1507
https://github.com/yangxuan8282/rpi-aports/blob/master/linux-rpi/APKBUILD

Raspberry Pi in pmOS (and lots of discussion for improvements of Alpine
packages):
https://github.com/postmarketOS/pmbootstrap/pull/1501

See also:
https://github.com/yangxuan8282/pmbootstrap/tree/raspberrypi-bootloader
https://github.com/yangxuan8282/pmbootstrap/tree/linux-firmware # Wi-Fi!
https://github.com/postmarketOS/pmbootstrap/issues/1508
https://github.com/postmarketOS/pmbootstrap/pull/1521

Best wishes,
Oliver

> I would also be willing to write a wiki page on how to do it to help the

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---