Can someone with serial console access try NixOS kernel on Librem 5?

Perhaps this merge request may be of interest to you:

If it is we can share here how to install it.

1 Like

Also do you have the mandatory screenshot of it running NixOS :slight_smile:

:scream:
That seems exactly what is needed! Please share :blush:

Will create :yum:

Well…

On a debian based system…

You would download the .deb package from here;

  1. https://source.puri.sm/a-wai/uboot-imx/-/jobs/405334/artifacts/raw/debian/output/u-boot-librem5_2022.10-librem5.1_arm64.deb

install it with:

sudo apt install ./u-boot-librem5_2022.10-librem5.1_arm64.deb

then run sudo u-boot-install-librem5 /dev/mmcblk0

1 Like

But maybe @angus.ainslie can assist with how to do this on a non PureOS system ^^.

$ curl -LOC - https://source.puri.sm/a-wai/uboot-imx/-/jobs/405334/artifacts/raw/debian/output/u-boot-librem5_2022.10-librem5.1_arm64.deb
$ ar -x u-boot-librem5_2022.10-librem5.1_arm64.deb
$ tar xf data.tar.xz
$ cat usr/bin/u-boot-install-librem5
$ sudo dd if=/dev/zero of=/dev/mmcblk0 bs=1024 count=1055 seek=2
$ sudo dd if=usr/lib/u-boot/librem5/u-boot.imx conv=notrunc of=/dev/mmcblk0 bs=1024 seek=33

I’ll need to verify and execute this.

edit: this works, thanks! :partying_face:

2 Likes