Open main menu

DAVE Developer's Wiki β

Changes

ORCA-TN-001 — Running Armbian Bullseye (Debian 11)

50 bytes added, 15:22, 3 February 2023
Preparing the bootable microSD card
This Technical Note (TN) shows how to run Debian 11 (Bullseye) distribution on [[ORCA_SBC|Orca SBC]].
To make the whole process as straightforward as possible, a prebuilt binary image was used, specifically an [https://www.armbian.com/uefi-arm64/ ''Armbian Generic ARM64''] [https://armbian.site-meganet.com/dl/uefi-arm64/archive/Armbian_22.11.1_Uefi-arm64_bullseye_current_5.15.80_minimal.img.xz] minimal image].
==Preparing the bootable microSD card==
The starting point is the default bootable microSD card associated with the release 2.0.0 of the [[DESK-MX8M-L|DESK-MX8M-L kit]]. The card partition scheme has to be modified in order to create a partition that will be used to store the Debian root file system. In the following example, this partition was created using the unused space. This partition is mounted at <code>/media/user/debian/</code> when the card is inserted into the host's reader. After downloading the Armbian image on the host, the contents of the Debian root file system are extracted and copied to this partition. To calculate the offset to mount the partition of the Armbian image, multiply the start address (532480 in the example) by 512.
<pre class="workstation-terminal">
$ unzx unxz Armbian_22.11.1_Uefi-arm64_bullseye_current_5.15.80_minimal.img.xz
...
$ fdisk -l ./Armbian_22.11.1_Uefi-arm64_bullseye_current_5.15.80_minimal.img
</pre>
Then, adjust the <code>/etc/fstab</code> file to make it match the actual [https://linuxhint.com/uuid_storage_devices_linux/ UUID ] of the microSD card's partition used for storing the Debian file system. The resulting file used for this test is the following:
<pre class="workstation-terminal">
root@uefi-arm64:~# cat /etc/fstab
==Bootstrap process==
If the target is set up properly, the botting booting process will looks look like this:
<pre class="board-terminal mw-collapsible mw-collapsed">
U-Boot SPL 2020.04-desk-mx8m-l-2.0.0-rc2+fslc+g32087d457a (Dec 20 2022 - 15:01:10 +0000)
4,650
edits