NixOS on ARM/Clockworkpi A06 uConsole: Difference between revisions
imported>Tarinaky No edit summary |
m Add category |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{ARM/breadcrumb}} | |||
== Status == | == Status == | ||
Panel/Display works. Broadcom wifi works. System boots. All other features untested. These instructions are specific to the A06 version and will not work on the CM4. I don't have the version with the Qualcomm 4G extension board, so I cannot advise on how to get that running. | Panel/Display works. Broadcom wifi works. System boots. All other features untested. These instructions are specific to the A06 version and will not work on the CM4. I don't have the version with the Qualcomm 4G extension board, so I cannot advise on how to get that running. | ||
NB: Currently only works with Nixos-23.11 channel. System will not boot with 24.05 image. I haven't figured out why. | |||
=== Modules / Drivers === | === Modules / Drivers === | ||
| Line 7: | Line 10: | ||
== Kernel == | == Kernel == | ||
The device tree patches to make the panel/display work are currently only available as kernel patches. The official patches only support kernel 5.x, however there is a community patchset for kernel 6.5 available at [[https://github.com/Autianic/clockworkpi-linux-kernel/tree/master/linux-clockworkpi-a06]] | The device tree patches to make the panel/display work are currently only available as kernel patches. The official patches only support kernel 5.x, however there is a community patchset for kernel 6.5/6.6 available at [[https://github.com/Autianic/clockworkpi-linux-kernel/tree/master/linux-clockworkpi-a06]] | ||
These patches can be applied using the following nix snippet: | These patches can be applied using the following nix snippet: | ||
boot.kernelPackages = pkgs. | boot.kernelPackages = pkgs.linuxPackages_6_6; | ||
boot.kernelPatches = [ | boot.kernelPatches = [ | ||
{ | { | ||
| Line 65: | Line 68: | ||
$ dd if=uConsole_A06_v1.1e.img of=nixos_a06.img count=32768 | $ dd if=uConsole_A06_v1.1e.img of=nixos_a06.img count=32768 | ||
$ dd if=your_nixos_image.img skip= | $ dd if=your_nixos_image.img skip=77824 of=nixos_a06.img seek=32768 | ||
The partition table for the resulting image will then be wrong, but we can fix that with fdisk by deleting our partition, and then recreating it. | The partition table for the resulting image will then be wrong, but we can fix that with fdisk by deleting our partition, and then recreating it. | ||
| Line 84: | Line 87: | ||
Your image should now be bootable. | Your image should now be bootable. | ||
[[Category:NixOS on ARM]] | |||