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
.
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
.
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!!!
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
The generated image include, among others, the following packages:
- Epiphany web browser
- Chatty, a test messaging app with XMPP/OMEMO support
- 2048, a simple game
- King's Cross, a terminal emulator
- Clocks application
- Settings application
- Usage, a system monitor
- Squeekboard virtual keyboard
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:
- gnome-2048, as modified by Purism
- gnome-clocks, as modified by Purism
- gnome-control-center, as modified by Purism
- gnome-usage, as modified by Purism
- purple-lurch, as modified by Purism
- arm-trusted-firmware, as provided by Pine64
- libwlroots, based on debian's wlroots
- desktop-base, based on debian's desktop-base
- phosh, based on Purism's phosh
- squeekboard, based on Purism's squeekboard
- linux, based on Pine64's kernel and ayufan's rtl8723cs driver
- powersupply, based on Martijn Braam's powersupply
- firmware-rtl8723cs, based on anarsoul's rtl8723bt-firmware
- u-boot, based on Pine64's u-boot
- 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)