NixOS on ARM/Firefly AIO-3399C: Difference between revisions

imported>Makefu
add installation instructuions for emmc
Pigs (talk | contribs)
m Add category
 
(3 intermediate revisions by 2 users not shown)
Line 54: Line 54:
== Board-specific installation notes ==
== Board-specific installation notes ==


=== Installation onto eMMC ==
=== Installation onto eMMC ===
{{note|it may be necessary to first flash the ubuntu gpt image before overriding the partitions with NixOS, use <code>upgrade_tool UF ./AIO-3399C-UBUNTU16.04-LVDS-GPT.img</code>}}
{{note|it may be necessary to first flash the ubuntu gpt image before overriding the partitions with NixOS, use <code>upgrade_tool UF ./AIO-3399C-UBUNTU16.04-LVDS-GPT.img</code>}}
==== boot parts ====
==== boot parts ====
Line 110: Line 110:
Now cross fingers, the system should boot into NixOS now, the getty BAUD rate
Now cross fingers, the system should boot into NixOS now, the getty BAUD rate
will change to <code>115200</code>.
will change to <code>115200</code>.


== Compatibility notes ==
== Compatibility notes ==
Line 123: Line 122:


=== Firefly upgrade_tool ===
=== Firefly upgrade_tool ===
Firefly provides an <code>upgrade_tool</code> which is a modified [http://opensource.rock-chips.com/wiki_Upgradetool rock-chip upgrade tool]. Using the upstream tool however may result in weird errors like being unable to flash the image or being unable to erase the flash. To be sure use the [https://archive.org/details/AIO-33399C archive.org mirror].
Firefly provides an <code>upgrade_tool</code> which is a modified [http://opensource.rock-chips.com/wiki_Upgradetool rock-chip upgrade tool]. Using the upstream tool however may result in weird errors like being unable to flash the image or being unable to erase the flash. To be sure use the [https://archive.org/details/AIO-3399C archive.org mirror].


However, because the software is essentially a blob, you will need to either patchelf the thing or use '''steam-run''':
However, because the software is essentially a blob, you will need to either patchelf the thing or use '''steam-run''':
Line 134: Line 133:


=== Rockchip MaskROM Mode ===
=== Rockchip MaskROM Mode ===
Maskrom mode is a way to get extended privileges when flashing but you need to shorten two trace points on the board. Follow [http://wiki.t-firefly.com/en/AIO-3399C/maskrom_mode.html the official documentation]. However the loader mode should be enough for most things.
Maskrom mode is a way to get extended privileges when flashing but you need to shorten two trace points on the board. Follow [https://wiki.t-firefly.com/en/AIO-3399C/04-maskrom_mode.html the official documentation]. However the loader mode should be enough for most things.


== Resources ==
== Resources ==
Line 140: Line 139:
* [http://en.t-firefly.com/product/industry/aio_3399c Official product page]
* [http://en.t-firefly.com/product/industry/aio_3399c Official product page]
* [http://wiki.t-firefly.com/en/AIO-3399C/ Firefly Wiki Page for the AIO-3399c]
* [http://wiki.t-firefly.com/en/AIO-3399C/ Firefly Wiki Page for the AIO-3399c]
[[Category:NixOS on ARM]]