Difference between revisions of "NixOS on ARM/Novena"

From NixOS Wiki
Jump to: navigation, search
(Init)
 
m (rollback unauthorized mass edits)
Tag: Rollback
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Work in progress
+
This page has been moved to the official NixOS Wiki:
  
Start with
+
    ⇒ '''[https://wiki.nixos.org/wiki/NixOS_on_ARM/Novena NixOS on ARM/Novena]'''
  
https://nixos.wiki/wiki/NixOS_on_ARM
+
''— samueldr, Lead of NixOS on ARM.''
 
 
use generic <code>armv7l</code> image (<code>sd-image-armv7l-linux.img</code>)
 
 
 
=== U-boot ===
 
 
 
Build u-boot according to
 
 
 
https://nixos.wiki/wiki/NixOS_on_ARM#Building_u-boot_from_your_NixOS_PC
 
 
 
{{commands|<nowiki>
 
make novena_defconfig
 
</nowiki>}} 
 
 
 
{{commands|<nowiki>
 
dd if=SPL of=/dev/sdc seek=1 bs=1k
 
</nowiki>}} 
 
 
 
Store <code>u-boot.bin</code> on <code>/boot</code> (mounted sd-image).
 
 
 
Proceed with standard installation steps and
 
https://nixos.wiki/wiki/NixOS_on_ARM#NixOS_installation_.26_configuration
 
 
 
You can use your own layout when installing on the hard drive (SD-card is still needed to boot from SATA), <code>extlinux</code> insted of <code>grub</code> is important.
 
 
 
=== Configuring SATA boot ===
 
 
 
To enable booting from SATA by default enable <code>sataroot</code> feature with <code>novena-eeprom</code> and then break to u-boot shell and run following commands to set different boot order:
 
 
 
TODO: disk ID
 
 
 
{{commands|<nowiki>
 
printenv
 
setenv boot_targets sata0
 
saveenv
 
reset
 
</nowiki>}}
 

Latest revision as of 10:57, 6 April 2024

This page has been moved to the official NixOS Wiki:

    ⇒ NixOS on ARM/Novena

— samueldr, Lead of NixOS on ARM.