debos-pinephone

A set of debos recipes for building a debian-based image for the PinePhone.

Prebuilt images are available here.

The default user is debian with password 1234. The default root password is root.

Build

To build the image, you need to have debos and bmaptool. On a debian-based system, install these dependencies by typing the following command in a terminal:

sudo apt install debos bmap-tools

Then simply browse to the debos-pinephone folder and execute ./build.sh.

Install

Insert a MicroSD card into your computer, and type the following command:

sudo bmaptool copy debian-pinephone.img /dev/<sdcard>

or:

sudo dd if=debian-pinephone.img of=/dev/<sdcard> bs=1M

Note: Make sure to use your actual SD card device, such as mmcblk0 instead of <sdcard>.

CAUTION: This will format the SD card and erase all its contents!!!

What works, what doesn't

The folowing features work, at least most of the time:

  • UART console
  • touchscreen
  • graphics acceleration
  • wifi connection
  • web browsing
  • text messaging
  • sound playback
  • voice calls

However, keep in mind this is a developer preview, and a number of features are not yet implemented:

  • power management
  • camera support
  • bluetooth

Included software

The generated image include, among others, the following packages:

Most packages installed on this image are fetched directly from the debian archives. However, a few packages had to be rebuilt with various levels of modifications, and are stored in a separate archive. Here is the full list:

Packages built from upstream sources

Packages built from third-party-modified sources

Packages built from modified sources

TODO

  • fix desktop background
  • enable sound
  • enable modem
  • enable graphics acceleration
  • send/receive text messages
  • display splash screen during linux boot
  • send/receive voice calls
  • enable bluetooth
  • switch sound output when (un)plugging the headphones
  • enable camera
  • display splash screen in bootloader (unlikely, as u-boot lacks support for Mali 450)