NixOS on ARM/Novena

From NixOS Wiki
Jump to: navigation, search

Work in progress

Start with

use generic armv7l image (sd-image-armv7l-linux.img)


Build u-boot according to

make novena_defconfig
dd if=SPL of=/dev/sdc seek=1 bs=1k

Store u-boot.bin on /boot (mounted sd-image).

Proceed with standard installation steps and

You can use your own layout when installing on the hard drive (SD-card is still needed to boot from SATA), extlinux insted of grub is important.

Configuring SATA boot

To enable booting from SATA by default enable sataroot feature with novena-eeprom and then break to u-boot shell and run following commands to set different boot order:

TODO: disk ID

setenv boot_targets sata0