Difference between revisions of "NixOS on ARM/BeagleBone Black"

From NixOS Wiki
Jump to: navigation, search
m (Adds breadcrumb)
 
(5 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
<div class="infobox">
 
<div class="infobox">
 
{|class="table"
 
{|class="table"
!colspan="2" class="title"|pcDuino3 Nano
+
!colspan="2" class="title"|BeagleBone Black
 
|-
 
|-
 
!Architecture
 
!Architecture
Line 10: Line 10:
 
<!-- TODO : write intro paragraph -->
 
<!-- TODO : write intro paragraph -->
 
== Status ==
 
== Status ==
 +
 +
{{outdated|Section refers to old user-provided images. Should be reviewed with cross-compilation, or native compilation through userspace emulation.}}
  
 
'''@dezgeg''''s porting efforts to ARMv7 should work.
 
'''@dezgeg''''s porting efforts to ARMv7 should work.

Latest revision as of 19:07, 6 August 2024

BeagleBone Black
Architecture ARMv7

Status

@dezgeg's porting efforts to ARMv7 should work.

Board-specific installation notes

First follow the generic installation steps to get the installer image.

U-Boot and its SPL (called the MLO) need to be copied to specific sectors on the microSD card with dd. Download U-Boot & MLO for the board (uboot-am335x_boneblack_defconfig-2017.03_u-boot.img, uboot-am335x_boneblack_defconfig-2017.03_MLO), and copy them to the correct location with (again, replace /dev/sdX with the correct path to the SD card device):

sudo dd if=uboot-am335x_boneblack_defconfig-2017.03_MLO        of=/dev/sdX count=1 seek=1 bs=128k
sudo dd if=uboot-am335x_boneblack_defconfig-2017.03_u-boot.img of=/dev/sdX count=2 seek=1 bs=384k

In case there is a valid boot loader on the eMMC of the board and the NixOS U-Boot isn't getting launched, try holding the button labeled 'S2' when resetting the board. Also the boot ROM might have a size limitation on the microSD cards used for booting; the author wasn't able to get a 64 GB SDXC card working but a 8 GB SDHC card worked.

Then, install using the installation and configuration steps.

Serial console

Notes about the boot process

Only serial console (via the 6-pin FTDI pin header) is supported.