nix-community / hardware-mnt-reform

NixOS overrides for the MNT Reform laptop [maintainer=@jollheef]
https://mntre.com
17 stars 2 forks source link

Update U-Boot && Linux #6

Closed jollheef closed 2 years ago

jollheef commented 2 years ago
  1. Fork of U-Boot for Reform is bumped to v3;
  2. Linux is updated to 5.17.5;
  3. Patches in Linux derivation are now fetched automatically;
  4. Some CONFIG_ has been removed from the local kernel config because the kernel doesn't allow them to be set as "n" anymore.

Known issues: No early console, so in case of encryption password needs to be typed blindly.

Tested from the SD card and the update procedure on the device itself:

nix build "github:nix-community/hardware-mnt-reform#ubootReformImx8mq"
echo 0 > /sys/class/block/mmcblk0boot0/force_ro
dd if=result/flash.bin of=/dev/mmcblk0boot0 bs=1024 seek=33
nixos-rebuild switch --recreate-lock-file --verbose --impure --flake /etc/nixos#reform # ~2 hours
ehmry commented 2 years ago

I don't have the hardware anymore to test this but looks good to me.