NixOS on ARM/NanoPC-T4: Difference between revisions
imported>Tmountain No edit summary |
imported>Tmountain No edit summary |
||
Line 34: | Line 34: | ||
Pre-built u-boot images are available [https://github.com/tmountain/arch-nanopct4/tree/main/images/ here]. | Pre-built u-boot images are available [https://github.com/tmountain/arch-nanopct4/tree/main/images/ here]. | ||
== Board Specific Installation Notes | == Board Specific Installation Notes == | ||
The NanoPC-T4 reserves space for u-boot at the beginning of its eMMC and/or microSD. As a result, successful image installation relies upon a custom partitioning scheme. | The NanoPC-T4 reserves space for u-boot at the beginning of its eMMC and/or microSD. As a result, successful image installation relies upon a custom partitioning scheme. | ||
Line 50: | Line 50: | ||
Created a new partition 1 of type 'Linux filesystem' and of size 14.6 GiB. | Created a new partition 1 of type 'Linux filesystem' and of size 14.6 GiB. | ||
Command (m for help): w | Command (m for help): w | ||
</syntaxhighlight> | |||
After partitioning, you can write the u-boot images as follows. | |||
<syntaxhighlight lang="bash"> | |||
# dd if=idbloader.bin of=/dev/mmcblk2 seek=64 conv=notrunc | |||
# dd if=uboot.img of=/dev/mmcblk2 seek=16384 conv=notrunc | |||
# dd if=trust.bin of=/dev/mmcblk2 seek=24576 conv=notrunc | |||
</syntaxhighlight> | </syntaxhighlight> |