the librem-5 phone - a status update · designed and built by purism spc hardware kill switches (wi...

27

Upload: others

Post on 09-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

The Librem-5 Phone - a status updateFSFE Group Bonn Meeting, October 2018

Guido Günther

2018-10-08

Guido Günther The Librem-5 Phone - a status update

Page 2: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Outline

1 The Librem-5

2 Status Update (Software)

3 Status Update (Hardware)

Guido Günther The Librem-5 Phone - a status update

Page 3: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

About me

Debian Developer (libvirt et al., gbp, LTS, . . . )

GNOME Foundation Member

FSFE Supporter

Freelancing Free Software Developer

Working on the Librem-5

Guido Günther The Librem-5 Phone - a status update

Page 4: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Topic

1 The Librem-5

2 Status Update (Software)

3 Status Update (Hardware)

Guido Günther The Librem-5 Phone - a status update

Page 5: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

A security and privacy focused phone

Guido Günther The Librem-5 Phone - a status update

Page 6: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

"Classic" Phone Features

Phone calls

SMS

GPS

Wi�

Camera

. . .

Guido Günther The Librem-5 Phone - a status update

Page 7: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Not so "Classic"

Designed and built by Purism SPC

Hardware kill switches (wi�/BT, camera, modem)

CPU separate from baseband modem

Runs by default a regular Linux distribution (PureOS)

Not Android based

End to end encrypted messaging (and calls)

User has full control over the device

By default GNOME based

Guido Günther The Librem-5 Phone - a status update

Page 8: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Topic

1 The Librem-5

2 Status Update (Software)

3 Status Update (Hardware)

Guido Günther The Librem-5 Phone - a status update

Page 9: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Adaptive GNOME apps

libhandy for adaptive widgetsLots of new widgets (doc)4 releases so far, uploaded to DebianMultiple GNOME apps already using itUsed by Librem5 apps/shell

Guido Günther The Librem-5 Phone - a status update

Page 10: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Adaptive GNOME apps (II)

Patches for

gnome-bluetoothgnome-contactsepiphanygnome-control-center

Guido Günther The Librem-5 Phone - a status update

Page 11: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Calls

Does phone calls via ModemManager

Daemon to test calls with Simcom 7100

TODO Contacts integration / shell integration (bugs)

Guido Günther The Librem-5 Phone - a status update

Page 12: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Chatty (XMPP, SMS)

Most recent addition

SMS und XMPP (OMEMO)

TODO Add back SMS / more XMPP XEPs (bugs)

Guido Günther The Librem-5 Phone - a status update

Page 13: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Fractal (Matrix)

Upstream work continues on MUC split

Work on end to end encryption

Guido Günther The Librem-5 Phone - a status update

Page 14: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Phosh (Graphical Shell)

Runnig it since several months

Initialrelease: nightshift, gcr-prompter, lockscreen, . . .

TODO Appliction browser, Wi� status, Vol. ctrl (bugs)

Guido Günther The Librem-5 Phone - a status update

Page 15: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Wayland compositor

Awesome support from wlroots upstream

text-input / input-method Wayland protocol enhancements

TODO

Don't use rootston (but wlroots!)Animations, dmabuf enhancements, text-input /input-method, . . .

Guido Günther The Librem-5 Phone - a status update

Page 16: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Virtboard (On Screen Keyboard)

TODO: GTK+, di�erent layouts, text prediction

Guido Günther The Librem-5 Phone - a status update

Page 17: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

CI / Builds

Based on gitlab / gitlab CI / Jenkins

Build with di�erent compilers, smoketest, valgrind, . . .

Guido Günther The Librem-5 Phone - a status update

Page 18: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Plasma mobile

Package builds for arm64 integrated

PlaMo developers are currently looking into build issues

Guido Günther The Librem-5 Phone - a status update

Page 19: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Topic

1 The Librem-5

2 Status Update (Software)

3 Status Update (Hardware)

Guido Günther The Librem-5 Phone - a status update

Page 20: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Kernel

Based on basic NXP imx8m arm64 Linux support frompengutronix

Building/using 4.18 mainline based kernel on arm64

Got basic mesa to work by

Forward porting things from NXPs/Emcrafts vendor kernelCherry-picking together di�erent mesa bitshttps://twitter.com/GuidoGuenther/status/

1032898450180980736

Guido Günther The Librem-5 Phone - a status update

Page 21: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Kernel (II)

Overall

262 files changed, 71398 insertions(+), 5074 deletions(-)

Graphics subsystem

86 files changed, 26809 insertions(+), 114 deletions(-)

Guido Günther The Librem-5 Phone - a status update

Page 22: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

QEMU development images

available from our CI system

uses correct display geometry, shell, osk, . . .

rough around the edges

Guido Günther The Librem-5 Phone - a status update

Page 23: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Devkits about to ship

blueprints done

parts shipped for assembly

�rst boards assembled (should arrive every day now)

Guido Günther The Librem-5 Phone - a status update

Page 24: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Phone shipment delayed 'til April 2019

Power management issues

Chinese new year

Guido Günther The Librem-5 Phone - a status update

Page 25: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Join the fun

follow the links in the slides for details

developer documentation: https://developer.puri.sm/

Translations done via Zanata: http://zanata.org

Puri.sm is hiring:https://puri.sm/job/librem-5-developer-roles/

Sources: https://source.puri.sm/Librem5

[email protected] / https://lists.puri.sm/

Blog: https://puri.sm/posts/tag/phones/

Questions?

Guido Günther The Librem-5 Phone - a status update

Page 26: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Thanks

Send mail to <[email protected]>

Guido Günther The Librem-5 Phone - a status update

Page 27: The Librem-5 Phone - a status update · Designed and built by Purism SPC Hardware kill switches (wi /BT, camera, modem) CPU separate from baseband modem Runs by default a regular

Hardware and Software

Based on NXP iMX.8 CPU

The user space software is only one part of the project.

not a common phone CPU

Vivante gc7000 Graphics (etnaviv kernel driver/mesa)

Reaching for RYF

Mainline kernel (or close to it)

No software updateable �rmware

PureOS

Debian based

FSF endorsement

Runs currently on Purism's laptops

Rolling distribution

Guido Günther The Librem-5 Phone - a status update