Open main menu

DAVE Developer's Wiki β

Changes

MISC-TN-004: Running Debian (armbian) on SBCSPG

655 bytes added, 22:40, 4 February 2021
no edit summary
{{InfoBoxTop}}
{{AppliesToSBCSPG}}
{{AppliesTo SBC Lynx TN}}
{{AppliesToIoT}}
{{AppliesTo IoT TN}}
{{InfoBoxBottom}}
{{WarningMessage|text=This application technical note was validated against specific versions of hardware and software. It may not work with other versions.}}[[Category:MISC-AN-TN]][[Category:MISC-TN]][[Category:IoT]]
__FORCETOC__
== History ==
{| class="wikitable" border="1"
|July 2019
|First public release
|-
|1.0.1
|October 2019
|Detailed armbian version
|-
|}
In the last years, Debian-based distributions⁠—which are very widespread in desktop/server environments—have grown in popularity in the embedded world as well. Nowadays, there are several approaches to create such a distribution for embedded targets, however. [https://elbe-rfs.org/ ELBE], [https://github.com/zuka0828/meta-eid meta-eid], and [https://www.armbian.com/ armbian] are just three examples of different tools available today [1].
This Technical Note shows how to run such a distribution on SBCSPG, a product designed and manufactured by DAVE Embedded Systems to build compact IoT gateways for industrial applications. Specifically, this example makes use of '''armbianArmbian Stretch''', which is based on Debian 9.
==The hardware platform==
As stated previously, the SBCSPG gateway is suited to implement low-cost edge computing devices.
 
 
[[File:Edge-v-cloud-computing-graphic.png|thumb|center|600px|Cloud and Edge computing in a typical IIoT scenario (image source: [https://www.openautomationsoftware.com/wp-content/uploads/2017/04/edge-v-cloud-computing-graphic.png])]]
 
 
From an architectural standpoint, SBCSPG is similar to the [[:Category:SBC_Lynx|SBC Lynx]]. As such, it is powered by NXP i.MX6UL system-on-chip (SoC).
As <code>root</code>, copy the files from <code>/mnt/tmp/</code> to the desired partition into the microSD card.
After the copy operation is finished, unmount the microSD card and move it to the target.
To configure the SBCSPG to mount the root file system from this partition, several options are available. The following example shows how the U-Boot environment variables were set to retrieve the Linux kernel image and the device tree blob (DTB) via Ethernet, while the file system is mounted from the microSD card. In practice, an ad hoc variable⁠—named <code>net_mmc</code> was ⁠—was added:
<pre class="board-terminal">
=> print net_mmc
The following section shows the full boot process.
===logFull bootstrap process===To expand the box, please click on the ''Expand'' link on the right.
<pre class="board-terminal mw-collapsible mw-collapsed">
U-Boot 2016.03-rialto-1.1.2 (Jan 17 2019 - 15:10:28 +0100), Build: jenkins-Rialto_U-Boot-10
dave_user, Administrators
5,190
edits