NixOS on ARM: Difference between revisions

imported>Makefu
add info about arm-embedded
imported>Makefu
m 19.03 duh!
Line 448: Line 448:
</syntaxhighlight>
</syntaxhighlight>


For armv7 and armv6 <code>pkgsCross.arm-embedded</code> should work, this is available in the unstable channel (19.04 and following) by setting <code>-I "nixpkgs=/path/to/new-nixpkgs-checkout</code>.
For armv7 and armv6 <code>pkgsCross.arm-embedded</code> should work, this is available in the unstable channel (19.03 and following) by setting <code>-I "nixpkgs=/path/to/new-nixpkgs-checkout</code>.


This should build whatever is needed for, and then build u-boot for the desired defconfig, then open a shell with the build in <code>$buildInputs</code>. Do note that this particular invocation may need more changes than only the defconfig if built for other than allwinner boards.
This should build whatever is needed for, and then build u-boot for the desired defconfig, then open a shell with the build in <code>$buildInputs</code>. Do note that this particular invocation may need more changes than only the defconfig if built for other than allwinner boards.