Purism Librem5 Devkit (purism-librem5dev)

From postmarketOS
Revision as of 11:23, 5 October 2019 by MartijnBraam (talk | contribs) (Added unixbench score of 869.5)
Jump to: navigation, search
Purism Librem 5 Devkit
Manufacturer Purism
Name Librem 5 Devkit
Codename purism-librem5dev
Released 2018
Original software PureOS
Hardware
Chipset Emcraft NXP i.MX8M
CPU NXP i.MX8M
GPU Vivante GC7000Lite
Display 1440x720
Storage 32 GB EMMC
Memory 3 GB
Architecture aarch64
Unixbench Whet/Dhry score 869.5
Features
USB Networking
Flashing
Touchscreen
Works
Display
Works
WiFi
Partial
Xwayland
Partial
FDE
Mainline
Battery
3D Acceleration
Works
Accelerometer
Audio
Partial
Bluetooth
Partial
Camera
GPS
Works
Mobile data
SMS
Calls
USB OTG
Partial



Contributors

How to enter flash mode

The devkit has a switch on the same side as the reboot button, wifi switch, camera switch, and modem switch. Move it to the "USB Mode" position and hit the reboot button next to it in order to put the device into 'flash' mode.

Installation

Flashing

pmbootstrap now has support for flashing the devkit with the flasher command. After running pmbootstrap install to generate a rootfs, the devkit can be flashed by putting it into 'USB mode' and executing pmbootstrap flasher flash_rootfs

Once the image has been flashed, place the device into emmc mode and hit the reboot button to start booting postmarketOS. The first boot can take a few minutes as it resizes the rootfs to fill all available space on the emmc disk.

Graphics

The Vivante GPU in the devkit is not fully currently supported upstream in Mesa. In order to achieve preliminary 3D acceleration on this device, the mesa-purism-gc7000 package is used. This is automatically installed by pmbootstrap.

Todo

  • Bring up cellular modem
  • Resolve issues with Wifi
    • Interface shows up in OS, and wpa_supplicant seems to connect(?), but no IP.
  • Resolve issues with Bluetooth
    • Bluetooth can be started by loading the rsi_91x module with dev_oper_mode=14 but this disables Wifi station/client mode and enables Wifi AP mode. It doesn't seem to work with dev_oper_mode=13, which enables Wifi client mode.
  • Test/enable camera
  • Test/enable ambient light sensor

See also