<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=2495&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Slightly modified install-guide for embedded (SBC) systems]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=2495</link>
		<description><![CDATA[The most recent posts in Slightly modified install-guide for embedded (SBC) systems.]]></description>
		<lastBuildDate>Tue, 20 Nov 2018 10:42:58 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Slightly modified install-guide for embedded (SBC) systems]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=12870#p12870</link>
			<description><![CDATA[<p>The partition is in the image. I didnt created it myself.<br />armbian does work without a fat32 boot partition.<br />I know the fat32 boot partition only from Raspberry Pi images.</p>]]></description>
			<author><![CDATA[dummy@example.com (guidol)]]></author>
			<pubDate>Tue, 20 Nov 2018 10:42:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=12870#p12870</guid>
		</item>
		<item>
			<title><![CDATA[Re: Slightly modified install-guide for embedded (SBC) systems]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=12861#p12861</link>
			<description><![CDATA[<p>Imo, on SBC like the Orange Pi Zero it does not make much sense to have a separate boot partition. The only advantage I see here is that you fire the &quot;saveenv&quot; command directly in uboot if you want to change something persistently. Apart from that - why a separate boot partition and especially - why fat32?</p>]]></description>
			<author><![CDATA[dummy@example.com (kuleszdl)]]></author>
			<pubDate>Mon, 19 Nov 2018 21:26:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=12861#p12861</guid>
		</item>
		<item>
			<title><![CDATA[Slightly modified install-guide for embedded (SBC) systems]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=12857#p12857</link>
			<description><![CDATA[<p>Some days ago I did try devuan on a <strong>Raspberry Pi</strong>, which <strong>wasnt a problem</strong> because of the complete Image-file.</p><p>Now I want to try it on a&#160; sunxi-system (<strong>like my Orange Pi Zero H2+</strong>) and there you have to &quot;assemble&quot; the image on the sdcard, <br />because for every supported sunxi-system there is a own uboot .bin-file.</p><p>At first I was I was <strong>confused about</strong> to dd to the device <strong>/dev/mmcblk0</strong>, because mostly when I did see this device then its the local boot device of my SBC <img src="https://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>(the name mmcblk0 is the name of the card <strong>WHEN I will boot from it LATER</strong>)</p><p>So when I would try to <strong>create</strong> the &quot;assembled&quot; image <strong>on /dev/mmcblk0</strong> I <strong>would destroy (from my mind) the root/boot-system</strong>.<br />Additionally I wouldnt call if &quot;to flash&quot; the u-boot to the mmcblk0/sdcard</p><p>After re-reading the instructions I realized that <strong>/dev/mmcblk0 could also be /dev/sdb</strong> if I use my single-slot MicroS-Card-Reader/Writer while assembling the image on my NanoPi Neo2 (which is running with armbian).</p><p>So I inserted the MicroSDCard with my USB-Reader/Writer to my NanoPi Neo2 and did get (via &quot;dmesg -w&quot;):</p><div class="codebox"><pre><code>[29637.841118] usb 3-1: New USB device found, idVendor=8564, idProduct=4000
[29637.841137] usb 3-1: New USB device strings: Mfr=3, Product=4, SerialNumber=5
[29637.841149] usb 3-1: Product: Transcend
[29637.841160] usb 3-1: Manufacturer: TS-RDF5
[29639.230277] sd 1:0:0:0: [sdb] Attached SCSI removable disk</code></pre></div><p>The get a &quot;clean&quot; card is did delete the partitions with fdisk:</p><div class="codebox"><pre><code>----------------------------------------------
fdisk /dev/sdb
----------------------------------------------
p - for printing partition table
Device     Boot Start      End  Sectors  Size Id Type
/dev/sdb1        8192 61896127 61887936 29,5G 83 Linux

d - for deleting a partition
Selected partition 1
Partition 1 has been deleted.

w - for write &amp; exit

The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
----------------------------------------------</code></pre></div><p>After that the installation is mostly like on <a href="http://devuan.ksx4system.net/devuan_ascii/embedded/README.txt" rel="nofollow">http://devuan.ksx4system.net/devuan_asc … README.txt</a><br />BUT firstly I created a own directory (/home/guido/devuan) and did a cd into it - AND I <strong>did use here the device /dev/sdb</strong><br />of my USB-Reader/Writer:</p><div class="codebox"><pre class="vscroll"><code>INSTALLATION
------------

(Path /home/guido/devuan here as example for my system):
mkdir /home/guido/devuan
cd /home/guido/devuan

1.
--
	Download the image you want:
	; curl -O https://files.devuan.org/devuan_ascii/embedded/devuan_ascii_2.0.0_armhf_sunxi.img.xz

2.
--
	Download the shasums and the signature:
	; curl -O https://files.devuan.org/devuan_ascii/embedded/SHA256SUMS
	; curl -O https://files.devuan.org/devuan_ascii/embedded/SHA256SUMS.asc

3.
--
	Verify:
	; gpg --verify SHA256SUMS.asc &amp;&amp; sha256sum -c SHA256SUMS

4.
--
	dd the raw image to a medium of your choice (little less than 2GB):
        ; sudo xzcat ./devuan_ascii_2.0.0_armhf_sunxi.img.xz  | sudo dd of=/dev/sdb bs=2M status=progress &amp;&amp; sync

5.
--
	In case it&#039;s a sunxi image (here the Opi Zero), grab your respective u-boot blob, and flash (dd) it to the sdcard:
	; curl -O https://files.devuan.org/devuan_ascii/embedded/u-boot/orangepi_zero_defconfig.bin	
	; sudo dd if=./orangepi_zero_defconfig.bin of=/dev/sdb bs=1024 seek=8 status=progress &amp;&amp; sync</code></pre></div><p>After booting the <strong>Orange Pi Zero</strong> from this card <strong>the former /dev/sdb at the NanoPi Neo2 gets now /dev/mmcblk0 <br />BUT on the Orange Pi Zero</strong>:</p><div class="codebox"><pre><code>mount:
/dev/mmcblk0p1 on /boot type ext4 (rw,relatime)

or fdisk:
fdisk /dev/mmcblk0
Device         Boot  Start      End  Sectors  Size Id Type
/dev/mmcblk0p1        2048   264191   262144  128M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      264192 29560473 29296282   14G 83 Linux

uname -a:
Linux devuan 4.17.0 #1 SMP Tue Jun 5 16:49:29 CEST 2018 armv7l GNU/Linux</code></pre></div><p><em>BTW: Keep in mind to (manually) expand the filesystem later for /dev/mmcblk0p2 <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></em></p>]]></description>
			<author><![CDATA[dummy@example.com (guidol)]]></author>
			<pubDate>Mon, 19 Nov 2018 08:37:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=12857#p12857</guid>
		</item>
	</channel>
</rss>
