Invest in the Future You Want to See. Closing Soon!

A First Public Offering of Purism Stock on StartEngine. Minimum $500.

Invest Now

Following up on our report for Linux 5.16 this summarizes the progress on mainline support for the Librem 5 phone and its development kit during the 5.17 development cycle. This summary is only about code flowing upstream.

Librem 5 selfie cam

This time around, not too much code was flowing upstream, but some important code did. After a cleanup patch for the media device driver and new fixes for the selfie cam sensor driver, we added the devicetree description for that camera. That means that the following script saves one photo as a raw frame:

#!/bin/bash
WIDTH=1632
HEIGHT=1224
SKIP=10

media-ctl -d "platform:30a90000.csi" --set-v4l2 "'csi':0 [fmt:SGBRG10/${WIDTH}x${HEIGHT} colorspace:raw]"
media-ctl -d "platform:30a90000.csi" --set-v4l2 "'imx8mq-mipi-csi2 30a70000.csi':0 [fmt:SGBRG10/${WIDTH}x${HEIGHT} colorspace:raw]"
media-ctl -d "platform:30a90000.csi" --set-v4l2 "'hi846 2-0020':0 [fmt:SGBRG10/${WIDTH}x${HEIGHT} colorspace:raw]"
media-ctl -d "platform:30a90000.csi" -l "'hi846 2-0020':0 -> 'imx8mq-mipi-csi2 30a70000.csi':0 [1]"
v4l2-ctl -d "/dev/v4l/by-path/platform-30a90000.csi-video-index0" --set-fmt-video=width=${WIDTH},height=${HEIGHT},pixelformat=GB16 --stream-mmap --stream-to=$WIDTH.raw --stream-skip=$SKIP --stream-count=1

Of course we’ll continue to maintain this but in large parts this concludes the journey of supporting a camera in mainline Linux.

Charge controller

An addition to the drivers for charging the phone found its way upstream:

Code review

During this round we contributed only 2 Reviewed-by: or Tested-by: tags to patches by other authors. This definitely leaves some room for improvement! Again we would like to thank everybody who reviewed our patches and helped us supporting the hardware in mainline Linux – especially Sakari, Shawn and again Laurent for reviewing.

Sources

Have a look at our Linux tree to see what is currently being worked on and tested (or help if you feel like joining the fun).

Purism Products and Availability Chart

 ModelStatusLead Time 
USB Security Token Purism Librem KeyLibrem Key

(Made in USA)
In Stock
($59+)
10 business days
Librem 5In Stock
($999+)
3GB/32GB
10 business days
Librem 5 + SIMple
(4 GB Data)
In Stock
($99/mo)
10 business days
Librem 5 + SIMple Plus
(10 GB Data)
In Stock
($129/mo)
10 business days
Librem 5 + AweSIM
(Unlimited Data)
In Stock
($169/mo)
10 business days
Librem 11In Stock
($999+)
8GB/1TB
10 business days
Most Secure Laptop Purism Librem 14Librem 14In Stock
($1,370+)
10 business days
Most Secure PC Purism Librem Mini
Librem MiniApr 2024
($799+)
Shipping April, 2024
Purism Liberty Phone with Made in USA ElectronicsLiberty Phone
(Made in USA Electronics)
Apr 2024
($1,999+)
4GB/128GB
Shipping April, 2024
Most Secure Server Purism Librem ServersLibrem ServerApr 2024
($2,999+)
Shipping April, 2024
The current product and shipping chart of Purism Librem products, updated on March 26th, 2024

Recent Posts

Related Content

Tags