novena-next / nixos-novena

NixOS overlay for Novena laptop
3 stars 1 forks source link

Add SATA uBoot commands to README #3

Open sorki opened 3 years ago

sorki commented 3 years ago

Migrate from https://nixos.wiki/wiki/NixOS_on_ARM/Novena

Fiddling with eeprom is not required.

Jookia commented 3 years ago

On Sat, Dec 05, 2020 at 07:53:14AM -0800, Richard Marko wrote:

Migrate from https://nixos.wiki/wiki/NixOS_on_ARM/Novena

Fiddling with eeprom is not required.

Good idea. Also here's my current uEnv.txt for note when I write it down:

dolatehook=if test ! -n ${rec} ; then \
                env set bootargs 'root=/dev/matrix/root rootflags=subvol=root memtest=1' ; \
                setenv initrd_addr_r 0x13000000 ; \
                fatload ${bootsrc} ${bootdev} ${kernel_addr_r} zImage ; \
                fatload ${bootsrc} ${bootdev} ${initrd_addr_r} initramfs ; \
                fatload ${bootsrc} ${bootdev} ${fdt_addr_r}    novena.dtb ; \
                bootz ${kernel_addr_r} ${initrd_addr_r} ${fdt_addr_r} ; \
        fi ;