For discussion of Alpine Linux development and developer support

1

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

Ed Warnicke
Details
Message ID
<CAFVSqg177xiwGicGKcE8tMpBn1iKXQe9MzvAXfUWmJpyjHEsRg@mail.gmail.com>
Sender timestamp
1528038606
DKIM signature
missing
Download raw message
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
Oliver Smith
Details
Message ID
<85db0297-e9c5-80f2-a193-57d13fb9c221@bitmessage.ch>
In-Reply-To
<CAFVSqg177xiwGicGKcE8tMpBn1iKXQe9MzvAXfUWmJpyjHEsRg@mail.gmail.com> (view parent)
Sender timestamp
1528138860
DKIM signature
missing
Download raw message
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

Ed Warnicke:
> 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
> 



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---