NixOS on ARM/Clockworkpi A06 uConsole: Difference between revisions

imported>Tarinaky
No edit summary
Pigs (talk | contribs)
m Add category
 
(2 intermediate revisions by 2 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.linuxPackages_6_5;
   boot.kernelPackages = pkgs.linuxPackages_6_6;
   boot.kernelPatches = [
   boot.kernelPatches = [
     {
     {
Line 84: Line 87:


Your image should now be bootable.
Your image should now be bootable.
[[Category:NixOS on ARM]]