Jump to content

Raspberry Pi: Difference between revisions

From postmarketOS Wiki
notes on how one would package the pi properly
Juri (talk | contribs)
add the free pi firmware.
Line 16: Line 16:
== See also ==
== See also ==
* {{github|1137}} Testing out Hildon and XFCE4 (other UIs did not work at all?) on Raspberry Pi after converting the Alpine installation
* {{github|1137}} Testing out Hildon and XFCE4 (other UIs did not work at all?) on Raspberry Pi after converting the Alpine installation
* [https://github.com/christinaa/rpi-open-firmware/tree/master rpi-open-firmware] - a Free Software firmware for the Pi.


[[Category:Devices]]
[[Category:Devices]]

Revision as of 03:06, 25 January 2018

The Raspberry Pi has a pre-existing port of Alpine Linux.

It should be possible to convert the pre-existing RPi Alpine install to a pmOS install.

postmarketOS device package

Note We'd be happy if you own a Raspberry Pi and want to integrate it properly. Let us know in the chat if you need any help!

As of now, there is no device package, only the existing Alpine installation has been converted. But it should be not that hard to do. Rough notes on how it should be possible:

  • pmbootstrap init, create a new device aport
  • delete the generated aports/device/linux-* folder (check with git status)
  • change the device APKBUILD to use Alpine's raspberry pi kernel instead
  • add a new deviceinfo option for the boot partition type (default is ext2 as we do it now, for the pi it needs to be fat)
  • adjust pmbootstrap code to use that variable
  • test the installation with an sd card
  • make a pull request

See also

  • #1137 Testing out Hildon and XFCE4 (other UIs did not work at all?) on Raspberry Pi after converting the Alpine installation
  • rpi-open-firmware - a Free Software firmware for the Pi.