[prev in list] [next in list] [prev in thread] [next in thread]
List: nix-dev
Subject: [nix-devel] NixOS on Tinker Board
From: Thomas Bereknyei <tomberek () gmail ! com>
Date: 2018-03-28 0:15:51
Message-ID: 038c5616-57d3-41fa-a04f-b2e0ac0d3538 () googlegroups ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi, I was able to get NixOS booting on an ASUS Tinker Board via a
combination of a few modifications to dezgeg's instructions. I think I can
package most of it to be reproducible, but I had to reuse the existing
Tinker image, extract the u-boot blobs and replace them in the NixOS image
(avoiding the partition info in MBR). Also needed a few bytes from the
bootstrap section from the MBR.
How should I package this up? I have looked into building my own U-boot so
it can be similar to the other ARM boards, but I can't find one that works
nor can I find an explanation for how Asus made their version. Any ideas on
what I should do? I don't know if simply submitting a binary blob is OK. At
the moment my instructions would be similar to
(https://nixos.wiki/wiki/NixOS_on_ARM/Orange_Pi_PC) with a `dd`
modification to the normal image, renaming a dtb and a few serial console
changes.
--
You received this message because you are subscribed to the Google Groups "nix-devel" \
group. To unsubscribe from this group and stop receiving emails from it, send an \
email to nix-devel+unsubscribe@googlegroups.com. To post to this group, send email to \
nix-devel@googlegroups.com. To view this discussion on the web visit \
https://groups.google.com/d/msgid/nix-devel/038c5616-57d3-41fa-a04f-b2e0ac0d3538%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[Attachment #5 (text/html)]
<div role="list" class="gj s2"><div aria-expanded="true" aria-selected="false" \
data-msg-id="#msg-a:r978687579469384639" \
data-msg-id-qs="qs-msg-a-r978687579469384639" role="listitem" tabindex="0" \
jstcache="3341" jsaction="jsl._" jsinstance="*0" class="ap s2" \
jsan="7.ap,7.s2,0.aria-expanded,0.aria-selected,0.data-msg-id,0.data-msg-id-qs,0.role,0.tabindex,22.jsaction,t-OQwOK44BnC0" \
style="border-top: 1px solid rgb(224, 224, 224); outline: none; word-wrap: \
break-word;"><div jslog="20277; 4: bXNnLWE6cjk3ODY4NzU3OTQ2OTM4NDYzOQ..,1; track: \
impression;" jstcache="3351" class="pA s2" jsan="7.pA,7.s2,0.jslog,t-he1s6xYo1jE" \
style="overflow: hidden; position: relative;"><div jstcache="3394" class="he s2" \
style="margin-right: 20px; margin-bottom: 16px; margin-left: 80px;"><div \
jstcache="3397" class="b5 xJNT8d" jsan="7.b5,7.xJNT8d" style="font-family: \
sans-serif; cursor: text; margin-left: -10px; overflow-x: auto; overflow-y: hidden; \
padding-left: 10px; margin-right: 60px;"><div jstcache="3398" jsinstance="*0" \
class="uyb8Gf" jsan="7.uyb8Gf"><div jstcache="3399"><div jstcache="3451" \
jsaction="jsl._" class="F3hlO" jsan="7.F3hlO,22.jsaction"><div dir="auto">Hi, I was \
able to get NixOS booting on an ASUS Tinker Board via a combination of a few \
modifications to dezgeg's instructions. I think I can package most of it to be \
reproducible, but I had to reuse the existing Tinker image, extract the u-boot blobs \
and replace them in the NixOS image (avoiding the partition info in MBR). Also needed \
a few bytes from the bootstrap section from the MBR. </div><div \
dir="auto"><br></div><div dir="auto">How should I package this up? I have looked into \
building my own U-boot so it can be similar to the other ARM boards, but I can't find \
one that works nor can I find an explanation for how Asus made their version. Any \
ideas on what I should do? I don't know if simply submitting a binary blob is OK. At \
the moment my instructions would be similar to \
(https://nixos.wiki/wiki/NixOS_on_ARM/Orange_Pi_PC) with a `dd` modification to the \
normal image, renaming a dtb and a few serial console \
changes.</div></div></div></div></div><section jstcache="3402" class="jT" jsan="7.jT" \
style="margin: 16px 0px 0px; padding-top: 16px;"><div jstcache="3404" class="OW" \
style="margin-right: 60px;"></div></section></div></div></div></div><div \
jstcache="3342" class="f2FE1c" jsan="t-KLlGqM8waj0,7.f2FE1c"><div \
jsaction="mouseenter:quickCompose5.boundary_sticker_mouse_enter;mouseleave:quickCompose5.boundary_sticker_mouse_leave;mouseup:quickCompose5.boundary_sticker_mouse_up" \
jstcache="3138" class="vl" jsan="7.vl,0.jsaction"><div \
jsaction="click:quickCompose5.quick_compose_handle_focus" jslog="21596; track: \
generic_click;" tabindex="100" jstcache="3139" class="bc" jsvs="false;" \
jsan="7.bc,0.jsaction,0.jslog,0.tabindex" style="background-color: rgb(246, 246, \
246); border-top: 1px solid rgb(224, 224, 224); box-sizing: border-box; padding: 16px \
20px; position: relative; width: 616px; z-index: 2; will-change: top, left; cursor: \
text;"><div jstcache="3140" class="r4" style="color: rgb(33, 33, 33); font-family: \
"Helvetica Neue", Helvetica, Arial, sans-serif;"></div></div></div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups \
"nix-devel" group.<br /> To unsubscribe from this group and stop receiving \
emails from it, send an email to <a \
href="mailto:nix-devel+unsubscribe@googlegroups.com">nix-devel+unsubscribe@googlegroups.com</a>.<br \
/> To post to this group, send email to <a \
href="mailto:nix-devel@googlegroups.com">nix-devel@googlegroups.com</a>.<br /> To \
view this discussion on the web visit <a \
href="https://groups.google.com/d/msgid/nix-devel/038c5616-57d3-41fa-a04f-b2e0ac0d3538 \
%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/nix-devel/038c5616-57d3-41fa-a04f-b2e0ac0d3538%40googlegroups.com</a>.<br \
/> For more options, visit <a \
href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br \
/>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic