Jump to content

Purism Librem5 Devkit (purism-librem5dev): Difference between revisions

From postmarketOS Wiki
m Add type
 
(12 intermediate revisions by 7 users not shown)
Line 8: Line 8:
| originalsoftware = PureOS
| originalsoftware = PureOS
| chipset = Emcraft NXP i.MX8M
| chipset = Emcraft NXP i.MX8M
| cpu = NXP i.MX8M
| cpu = 4x 1.5 GHz Cortex-A53
| gpu = Vivante GC7000Lite
| gpu = Vivante GC7000Lite
| storage = 32 GB EMMC
| storage = 32 GB eMMC
| display = 1440x720
| display = 1440x720
| memory = 3 GB
| memory = 3 GB
| architecture = aarch64
| architecture = aarch64
| type = development board
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
| status_usbnet = <!-- USB networking does work? then put Y here and delete this comment -->
| status_usbnet = <!-- USB networking does work? then put Y here and delete this comment -->
| status_flashing = <!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. -->
| status_flashing = Y
| status_touch = Y
| status_touch = Y
| status_screen = Y
| status_screen = Y
| status_wifi = P
| status_wifi = Y
| status_xwayland = P
| status_xwayland = Y
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_mainline = <!-- Instead of a Linux kernel fork, it is possible to run mainline. -->
| status_mainline = <!-- Instead of a Linux kernel fork, it is possible to run mainline. -->
| status_battery = <!-- Charging the battery with charging-sdl is possible -->
| status_battery = <!-- Charging the battery with charging-sdl is possible -->
| status_3d = P
| status_3d = Y
| status_accel = <!-- The sensor that measures proper acceleration works -->
| status_accel = <!-- The sensor that measures proper acceleration works -->
| status_audio = P
| status_audio = P
Line 35: Line 36:
| status_otg = P
| status_otg = P
| booting = Y
| booting = Y
| whet_dhry = 869.5
}}
}}


Line 55: Line 57:
=== Graphics ===
=== 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 <code>mesa-purism-gc7000</code> package is used. This is automatically installed by pmbootstrap.
The Vivante GPU in the devkit is fully supported upstream in Mesa and support for it should be installed by the <code>device-purism-librem5dev</code> package.


== Todo ==
== Todo ==


* Bring up cellular modem
* 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
* Resolve issues with Bluetooth
** Bluetooth can be started by loading the rsi_91x module with <code>dev_oper_mode=14</code> but this disables Wifi station/client mode and enables Wifi AP mode. It doesn't seem to work with <code>dev_oper_mode=13</code>, which enables Wifi client mode.  
** Bluetooth can be started by loading the rsi_91x module with <code>dev_oper_mode=14</code> but this disables Wifi station/client mode and enables Wifi AP mode. It doesn't seem to work with <code>dev_oper_mode=13</code>, which enables Wifi client mode.  
* Current dts enables usb host but doesn't enable LCD display
* Test/enable camera
* Test/enable camera
* Test/enable ambient light sensor
* Test/enable ambient light sensor
== Ofono ==
As of 11/2019, ofono seems to "just work" when it is installed using "apk add ofono". Reasonable-looking signal information is reported, and calls seem to do something. I could not figure out how to route in-call audio, and it is possible that separate daemon is needed for that. https://source.puri.sm/Librem5/wys/blob/master/src/wys-audio.c


== See also ==
== See also ==

Latest revision as of 15:54, 11 September 2024

Purism Librem 5 Devkit
Manufacturer Purism
Name Librem 5 Devkit
Codename purism-librem5dev
Released 2018
Type development board
Hardware
Chipset Emcraft NXP i.MX8M
CPU 4x 1.5 GHz Cortex-A53
GPU Vivante GC7000Lite
Display 1440x720
Storage 32 GB eMMC
Memory 3 GB
Architecture aarch64
Software
Original software PureOS
postmarketOS
Category testing
Pre-built images no
Unixbench Whet/Dhry score 869.5
Features
Flashing
Works
USB Networking
No data
Internal storage
No data
SD card
No data
Battery
No data
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Partial
Camera
No data
Camera Flash
No data
Connectivity
WiFi
Works
Bluetooth
Partial
GPS
Works
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
Partial
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


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 fully supported upstream in Mesa and support for it should be installed by the device-purism-librem5dev package.

Todo

  • Bring up cellular modem
  • 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

Ofono

As of 11/2019, ofono seems to "just work" when it is installed using "apk add ofono". Reasonable-looking signal information is reported, and calls seem to do something. I could not figure out how to route in-call audio, and it is possible that separate daemon is needed for that. https://source.puri.sm/Librem5/wys/blob/master/src/wys-audio.c

See also