Difference between revisions of "NixOS on ARM/Banana Pi"

From NixOS Wiki
Jump to: navigation, search
(Add instructions to build and write U-Boot to disk)
 
m (rollback unauthorized mass edits)
Tag: Rollback
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Building U-Boot ==
+
This page has been moved to the official NixOS Wiki:
  
<syntaxhighlight lang="bash">
+
    ⇒ '''[https://wiki.nixos.org/wiki/NixOS_on_ARM/Banana_Pi NixOS on ARM/Banana Pi]'''
$ git clone git://git.denx.de/u-boot.git
 
$ cd u-boot
 
$ nix-shell -p ubootTools gcc-arm-embedded dtc flex bison python swig
 
$ make -j4 ARCH=arm CROSS_COMPILE=arm-none-eabi- Bananapi_defconfig
 
$ make -j4 ARCH=arm CROSS_COMPILE=arm-none-eabi-
 
</syntaxhighlight>
 
  
== Board-specific installation notes ==
+
''— samueldr, Lead of NixOS on ARM.''
 
 
First follow the [[NixOS_on_ARM#Installation|generic installation steps]] to get the installer image.
 
 
 
U-Boot needs to be copied to specific sectors on the microSD card with <code>dd</code>:
 
 
 
<syntaxhighlight lang="bash">sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/sdX bs=1024 seek=8</syntaxhighlight>
 
 
 
Then, install using the [[NixOS_on_ARM#NixOS_installation_.26_configuration|installation and configuration steps]].
 

Latest revision as of 10:59, 6 April 2024

This page has been moved to the official NixOS Wiki:

    ⇒ NixOS on ARM/Banana Pi

— samueldr, Lead of NixOS on ARM.