<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[PINE64 - BSD on Pine A64(+)]]></title>
		<link>https://forum.pine64.org/</link>
		<description><![CDATA[PINE64 - https://forum.pine64.org]]></description>
		<pubDate>Sat, 09 May 2026 12:33:41 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Install OpenBSD 7.2 on Pine64+ (2Gb)]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=17693</link>
			<pubDate>Sun, 04 Dec 2022 10:35:17 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=26163">pierrep</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=17693</guid>
			<description><![CDATA[Hey there,<br />
<br />
anyone managed that ?<br />
My Pine64 was taking dust in a box with an old debian distro on it.<br />
Then I decided I could maybe use it if I could put an OpenBSD on it, to replace another machine I have.<br />
<br />
Unfortunately it keeps hanging at different points in the install process and is left in such a way that I have to reflash everything again. <br />
<br />
To reach that point I overcame the hurdle of using screen appropriately on my mac (found the best info <a href="https://discussions.apple.com/thread/251164222" target="_blank" rel="noopener" class="mycode_url">here</a> and <a href="https://geekinc.ca/using-screen-as-a-serial-terminal-on-mac-os-x/" target="_blank" rel="noopener" class="mycode_url">here)</a>. In short identifying correctly the serial device to use <img src="https://forum.pine64.org/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" />)<br />
<br />
Then I was able to check that <a href="https://github.com/epsilon-0/openbsd-pine-a64-lts" target="_blank" rel="noopener" class="mycode_url">that page</a> (explaining how to do with an LTS version) applied easily enough to the Pine64+ if taking appropriate files (not those of the LTS <img src="https://forum.pine64.org/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" />)<br />
<br />
And now, I'm kinda stuck and it's bugging me.<br />
<br />
Note : I tried to follow the instructions from OpenBSD.org for the PIne64+ but did not quite understand, or they don't work <img src="https://forum.pine64.org/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /><br />
That paragraph of <a href="https://ftp.openbsd.org/pub/OpenBSD/7.2/arm64/INSTALL.arm64" target="_blank" rel="noopener" class="mycode_url">the arm64 install page</a> :<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Firmware which provides an UEFI interface with a Device Tree Blob<br />
(DTB) file or ACPI support is required to boot.  In most cases this is<br />
provided by images of U-Boot 2016.07 or newer on SD/MMC devices or in<br />
SPI flash.  If the miniroot or install images are used, U-Boot and<br />
DTB files are distributed as part of the images.</code></div></div>turned out to be optimistic for example.<br />
<br />
<br />
Anyway, any help would be appreciated.<br />
That being said I see this section of the forum is very quiet since 2019 <img src="https://forum.pine64.org/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" />]]></description>
			<content:encoded><![CDATA[Hey there,<br />
<br />
anyone managed that ?<br />
My Pine64 was taking dust in a box with an old debian distro on it.<br />
Then I decided I could maybe use it if I could put an OpenBSD on it, to replace another machine I have.<br />
<br />
Unfortunately it keeps hanging at different points in the install process and is left in such a way that I have to reflash everything again. <br />
<br />
To reach that point I overcame the hurdle of using screen appropriately on my mac (found the best info <a href="https://discussions.apple.com/thread/251164222" target="_blank" rel="noopener" class="mycode_url">here</a> and <a href="https://geekinc.ca/using-screen-as-a-serial-terminal-on-mac-os-x/" target="_blank" rel="noopener" class="mycode_url">here)</a>. In short identifying correctly the serial device to use <img src="https://forum.pine64.org/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" />)<br />
<br />
Then I was able to check that <a href="https://github.com/epsilon-0/openbsd-pine-a64-lts" target="_blank" rel="noopener" class="mycode_url">that page</a> (explaining how to do with an LTS version) applied easily enough to the Pine64+ if taking appropriate files (not those of the LTS <img src="https://forum.pine64.org/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" />)<br />
<br />
And now, I'm kinda stuck and it's bugging me.<br />
<br />
Note : I tried to follow the instructions from OpenBSD.org for the PIne64+ but did not quite understand, or they don't work <img src="https://forum.pine64.org/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /><br />
That paragraph of <a href="https://ftp.openbsd.org/pub/OpenBSD/7.2/arm64/INSTALL.arm64" target="_blank" rel="noopener" class="mycode_url">the arm64 install page</a> :<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Firmware which provides an UEFI interface with a Device Tree Blob<br />
(DTB) file or ACPI support is required to boot.  In most cases this is<br />
provided by images of U-Boot 2016.07 or newer on SD/MMC devices or in<br />
SPI flash.  If the miniroot or install images are used, U-Boot and<br />
DTB files are distributed as part of the images.</code></div></div>turned out to be optimistic for example.<br />
<br />
<br />
Anyway, any help would be appreciated.<br />
That being said I see this section of the forum is very quiet since 2019 <img src="https://forum.pine64.org/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[NetBSD will does not install to eMMC]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=7493</link>
			<pubDate>Tue, 14 May 2019 20:53:21 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=11898">ronverbs</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=7493</guid>
			<description><![CDATA[I downloaded the NetBSD Pinebook image from invisible.ca (<a href="https://www.invisible.ca/arm/" target="_blank" rel="noopener" class="mycode_url">https://www.invisible.ca/arm/</a>) and created a microSD card, as directed using Etcher. My Pinebook (1080p) booted, but when I dd'd the image to /dev/rdl2c I got a ton of errors. Now my Pinebook does not boot, unless there is a SD card inserted.<br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">arm64# dd if=NetBSD-evbarm-aarch64-201905120950Z-pinebook.img of=/dev/rld2c bs=1m conv=sync</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    dd: /dev/rld2c: Input/output error</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    30+0 records in</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    29+0 records out</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    30408704 bytes transferred in 11.143 secs (2728951 bytes/sec)</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">This generated a ton of "ld2c: error writing fsbn..." errors. When I reboot I get a blank screen. </span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">My disklabel looks like this:</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font"><span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">arm64# disklabel ld2</span></span><br />
</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    # /dev/rld2:</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    type: ld</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    disk: ld2</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    label: default label</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    flags:</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    bytes/sector: 512</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    sectors/track: 63</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    tracks/cylinder: 32</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    sectors/cylinder: 2016</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    cylinders: 1040</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    total sectors: 2097152</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    rpm: 3600</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    interleave: 1</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    trackskew: 0</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    cylinderskew: 0</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    headswitch: 0           # microseconds</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    track-to-track seek: 0  # microseconds</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    drivedata: 0</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    5 partitions:</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    #        size    offset     fstype [fsize bsize cpg/sgs]</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">     c:   2097152         0     4.2BSD      0     0     0  # (Cyl.      0 -   1040*)</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">     e:    163840     32768      MSDOS                     # (Cyl.     16*-     97*)</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    disklabel: boot block size 0</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    disklabel: super block size 0</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font"><span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    disklabel: partitions c and e overlap</span></span><br />
<br />
Any ideas on how to get NetBSD running on my brand new Pinebook?</span></span><br />
<br />
[url=http://www.invisible.ca/][/url]]]></description>
			<content:encoded><![CDATA[I downloaded the NetBSD Pinebook image from invisible.ca (<a href="https://www.invisible.ca/arm/" target="_blank" rel="noopener" class="mycode_url">https://www.invisible.ca/arm/</a>) and created a microSD card, as directed using Etcher. My Pinebook (1080p) booted, but when I dd'd the image to /dev/rdl2c I got a ton of errors. Now my Pinebook does not boot, unless there is a SD card inserted.<br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">arm64# dd if=NetBSD-evbarm-aarch64-201905120950Z-pinebook.img of=/dev/rld2c bs=1m conv=sync</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    dd: /dev/rld2c: Input/output error</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    30+0 records in</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    29+0 records out</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    30408704 bytes transferred in 11.143 secs (2728951 bytes/sec)</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">This generated a ton of "ld2c: error writing fsbn..." errors. When I reboot I get a blank screen. </span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">My disklabel looks like this:</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font"><span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">arm64# disklabel ld2</span></span><br />
</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    # /dev/rld2:</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    type: ld</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    disk: ld2</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    label: default label</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    flags:</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    bytes/sector: 512</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    sectors/track: 63</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    tracks/cylinder: 32</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    sectors/cylinder: 2016</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    cylinders: 1040</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    total sectors: 2097152</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    rpm: 3600</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    interleave: 1</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    trackskew: 0</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    cylinderskew: 0</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    headswitch: 0           # microseconds</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    track-to-track seek: 0  # microseconds</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    drivedata: 0</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    5 partitions:</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    #        size    offset     fstype [fsize bsize cpg/sgs]</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">     c:   2097152         0     4.2BSD      0     0     0  # (Cyl.      0 -   1040*)</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">     e:    163840     32768      MSDOS                     # (Cyl.     16*-     97*)</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    disklabel: boot block size 0</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    disklabel: super block size 0</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font"><span style="color: #000000;" class="mycode_color"><span style="font-family: -webkit-standard;" class="mycode_font">    disklabel: partitions c and e overlap</span></span><br />
<br />
Any ideas on how to get NetBSD running on my brand new Pinebook?</span></span><br />
<br />
[url=http://www.invisible.ca/][/url]]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[NetBSD binary pkgsrc-current for Pinebook]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=6862</link>
			<pubDate>Fri, 23 Nov 2018 10:28:24 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=9545">astr0baby</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=6862</guid>
			<description><![CDATA[Hello,<br />
<br />
if interested Im building pkgsrc-current packages for the arm64 Pinebook, you can check the progress here - <a href="http://45.76.81.249/pkgsrc/pinebook/netbsd-aarch64/All/" target="_blank" rel="noopener" class="mycode_url">http://45.76.81.249/pkgsrc/pinebook/netbsd-aarch64/All/</a> <br />
<br />
I post progress updates on my twitter here <a href="https://twitter.com/astr0baby" target="_blank" rel="noopener" class="mycode_url">https://twitter.com/astr0baby</a> <br />
<br />
Some cool games compiled for the Pinebook <br />
- Exult (Ultima VII) <br />
- Pentagram (Ultima VIII) <br />
- freesynd (Syndicate) <br />
- Ur-Quan Masters (Starcontrol2) <br />
- Scummvm 2.0 <br />
- Doom <br />
- Quake 1, 2 <br />
- FreeCiv]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
if interested Im building pkgsrc-current packages for the arm64 Pinebook, you can check the progress here - <a href="http://45.76.81.249/pkgsrc/pinebook/netbsd-aarch64/All/" target="_blank" rel="noopener" class="mycode_url">http://45.76.81.249/pkgsrc/pinebook/netbsd-aarch64/All/</a> <br />
<br />
I post progress updates on my twitter here <a href="https://twitter.com/astr0baby" target="_blank" rel="noopener" class="mycode_url">https://twitter.com/astr0baby</a> <br />
<br />
Some cool games compiled for the Pinebook <br />
- Exult (Ultima VII) <br />
- Pentagram (Ultima VIII) <br />
- freesynd (Syndicate) <br />
- Ur-Quan Masters (Starcontrol2) <br />
- Scummvm 2.0 <br />
- Doom <br />
- Quake 1, 2 <br />
- FreeCiv]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[OpenBSD on Pine64]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=6234</link>
			<pubDate>Mon, 02 Jul 2018 15:18:07 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=8882">e-minguez</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=6234</guid>
			<description><![CDATA[<a href="https://www.openbsd.org/arm64.html" target="_blank" rel="noopener" class="mycode_url">https://www.openbsd.org/arm64.html</a>]]></description>
			<content:encoded><![CDATA[<a href="https://www.openbsd.org/arm64.html" target="_blank" rel="noopener" class="mycode_url">https://www.openbsd.org/arm64.html</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[FreeBSD on pine64]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=6232</link>
			<pubDate>Mon, 02 Jul 2018 10:54:53 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=8882">e-minguez</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=6232</guid>
			<description><![CDATA[<a href="http://www.raspbsd.org/pine64.html" target="_blank" rel="noopener" class="mycode_url">http://www.raspbsd.org/pine64.html</a>]]></description>
			<content:encoded><![CDATA[<a href="http://www.raspbsd.org/pine64.html" target="_blank" rel="noopener" class="mycode_url">http://www.raspbsd.org/pine64.html</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[NetBSD images for the pine (and other boards)]]></title>
			<link>https://forum.pine64.org/showthread.php?tid=6231</link>
			<pubDate>Mon, 02 Jul 2018 10:53:54 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://forum.pine64.org/member.php?action=profile&uid=8882">e-minguez</a>]]></dc:creator>
			<guid isPermaLink="false">https://forum.pine64.org/showthread.php?tid=6231</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b"><span style="font-size: large;" class="mycode_size">Thanks to <dvz_me_placeholder id="0" /> for creating the builds!!!</span></span><br />
<ul class="mycode_list"><li>Download latest from <a href="http://www.invisible.ca/arm/" target="_blank" rel="noopener" class="mycode_url"><span style="color: #0366d6;" class="mycode_color">http://www.invisible.ca/arm/</span></a><br />
</li>
<li>dd'it to a microsd. In linux:<br />
</li>
</ul>
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo dd if=./NetBSD-evbarm-aarch64-201811042130Z-pine64.img of=/dev/sdb</code></div></div><br />
<br />
<span style="font-weight: bold;" class="mycode_b">First boot</span><br />
<ul class="mycode_list"><li>Plug the microsd into the pine<br />
</li>
<li>Boot the pine and wait for a couple of reboots (disk expansion)<br />
</li>
<li>Login as root (no password)<br />
</li>
<li>Configure password for root user<br />
</li>
</ul>
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>passwd</code></div></div><ul class="mycode_list"><li>Create user (in my case, 'edu') and add it to the wheel group<br />
</li>
</ul>
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>useradd -m -G wheel edu<br />
passwd edu</code></div></div><ul class="mycode_list"><li>Edit /etc/wpa_supplicant.conf with the appropriate ssid/psk:<br />
</li>
</ul>
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>ctrl_interface=/var/run/wpa_supplicant<br />
ctrl_interface_group=wheel<br />
network={<br />
        ssid="my favourite network"<br />
        key_mgmt=WPA-PSK<br />
        psk="hunter2"<br />
}</code></div></div><ul class="mycode_list"><li>Editing /etc/rc.conf to enable wpa_supplicant at boot. Notice my usb wireless adapter is urtwn0 (ifconfig will show you all the adapters):<br />
</li>
</ul>
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>wpa_supplicant=YES<br />
wpa_supplicant_flags="-i urtwn0 -c /etc/wpa_supplicant.conf"</code></div></div><ul class="mycode_list"><li>Start wpa_supplicant service:<br />
</li>
</ul>
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>chmod 600 /etc/wpa_supplicant.conf<br />
/etc/rc.d/wpa_supplicant start</code></div></div><ul class="mycode_list"><li>Verify it:<br />
</li>
</ul>
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>ifconfig urtwn0</code></div></div><br />
<br />
<br />
<span style="color: #24292e;" class="mycode_color"><span style="font-family: -apple-system, BlinkMacSystemFont,;" class="mycode_font"><span style="font-weight: bold;" class="mycode_b">Update to latest current</span></span></span><br />
<br />
<span style="color: #24292e;" class="mycode_color"><span style="font-family: -apple-system, BlinkMacSystemFont,;" class="mycode_font">As root user:</span></span><br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code># Create a temporary directory<br />
mkdir -p /root/tmp/kernel<br />
cd /root/tmp/kernel<br />
# Backup the current NetBSD kernel<br />
cp /netbsd /onetbsd<br />
# Download a full tar with kernel and dtb files<br />
ftp https://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-aarch64/binary/sets/kern-GENERIC64.tgz<br />
tar xzvf /root/tmp/kernel/kern-GENERIC64.tgz<br />
# Overwrite the current NetBSD kernel and dtb files<br />
cp ./netbsd /netbsd<br />
cp sun50i-a64-pine64* /boot/dtb/allwinner/<br />
# Reboot<br />
reboot</code></div></div><br />
After reboot<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>mkdir -p /root/tmp/sets<br />
cd /root/tmp/sets<br />
# Download and untar all sets<br />
for x in base comp games man misc modules tests text xbase xcomp xfont xserver; do ftp https://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-aarch64/binary/sets/&#36;x.tgz; done<br />
for x in base comp games man misc modules tests text xbase xcomp xfont xserver; do tar -C / -zxvpf &#36;x.tgz; done</code></div></div><br />
<br />
Update the /etc/ configuration<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>for x in etc xetc; do ftp https://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-aarch64/binary/sets/&#36;x.tgz; done<br />
etcupdate -s etc.tgz -s xetc.tgz</code></div></div><br />
Verify everything works, then clean up and reboot<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>rm -Rf /root/tmp<br />
reboot</code></div></div><br />
Based on <dvz_me_placeholder id="0" /> instructions:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;jmcneill&gt; Updated sets are on the autobuild server: http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-aarch64/binary/sets/<br />
&lt;jmcneill&gt; Backup current (working) kernel: cp /netbsd /onetbsd<br />
&lt;jmcneill&gt; Then take "./netbsd" from kern-GENERIC64.tgz and put it as /netbsd<br />
&lt;jmcneill&gt; and you probably want to update the dtb in /boot/dtb/allwinner/ to match<br />
&lt;jmcneill&gt; (latest dtb is in that same file)<br />
&lt;jmcneill&gt; reboot with the new kernel, make sure it works..<br />
&lt;jmcneill&gt; (you need to be running the new kernel for this latest step -- old kernel may not support new userland)<br />
&lt;jmcneill&gt; then extract sets..<br />
&lt;jmcneill&gt; for x in base comp games man misc modules tests text xbase xcomp xfont xserver; do tar -C / -zxvpf &#36;x.tgz; done<br />
&lt;jmcneill&gt; note that I skipped the debug sets (they are big) and etc/xetc sets (we upgrade those separately)<br />
&lt;jmcneill&gt; To see what sets you have installed, ls /etc/mtree/set.*<br />
&lt;jmcneill&gt; Then to update etc and xetc: etcupdate -s etc.tgz -s xetc.tgz</code></div></div>Source <a href="https://gist.github.com/e-minguez/0f637c4971f17ab05cc1d9ddbc5575f5" target="_blank" rel="noopener" class="mycode_url">https://gist.github.com/e-minguez/0f637c...ddbc5575f5</a>]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b"><span style="font-size: large;" class="mycode_size">Thanks to <dvz_me_placeholder id="0" /> for creating the builds!!!</span></span><br />
<ul class="mycode_list"><li>Download latest from <a href="http://www.invisible.ca/arm/" target="_blank" rel="noopener" class="mycode_url"><span style="color: #0366d6;" class="mycode_color">http://www.invisible.ca/arm/</span></a><br />
</li>
<li>dd'it to a microsd. In linux:<br />
</li>
</ul>
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sudo dd if=./NetBSD-evbarm-aarch64-201811042130Z-pine64.img of=/dev/sdb</code></div></div><br />
<br />
<span style="font-weight: bold;" class="mycode_b">First boot</span><br />
<ul class="mycode_list"><li>Plug the microsd into the pine<br />
</li>
<li>Boot the pine and wait for a couple of reboots (disk expansion)<br />
</li>
<li>Login as root (no password)<br />
</li>
<li>Configure password for root user<br />
</li>
</ul>
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>passwd</code></div></div><ul class="mycode_list"><li>Create user (in my case, 'edu') and add it to the wheel group<br />
</li>
</ul>
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>useradd -m -G wheel edu<br />
passwd edu</code></div></div><ul class="mycode_list"><li>Edit /etc/wpa_supplicant.conf with the appropriate ssid/psk:<br />
</li>
</ul>
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>ctrl_interface=/var/run/wpa_supplicant<br />
ctrl_interface_group=wheel<br />
network={<br />
        ssid="my favourite network"<br />
        key_mgmt=WPA-PSK<br />
        psk="hunter2"<br />
}</code></div></div><ul class="mycode_list"><li>Editing /etc/rc.conf to enable wpa_supplicant at boot. Notice my usb wireless adapter is urtwn0 (ifconfig will show you all the adapters):<br />
</li>
</ul>
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>wpa_supplicant=YES<br />
wpa_supplicant_flags="-i urtwn0 -c /etc/wpa_supplicant.conf"</code></div></div><ul class="mycode_list"><li>Start wpa_supplicant service:<br />
</li>
</ul>
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>chmod 600 /etc/wpa_supplicant.conf<br />
/etc/rc.d/wpa_supplicant start</code></div></div><ul class="mycode_list"><li>Verify it:<br />
</li>
</ul>
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>ifconfig urtwn0</code></div></div><br />
<br />
<br />
<span style="color: #24292e;" class="mycode_color"><span style="font-family: -apple-system, BlinkMacSystemFont,;" class="mycode_font"><span style="font-weight: bold;" class="mycode_b">Update to latest current</span></span></span><br />
<br />
<span style="color: #24292e;" class="mycode_color"><span style="font-family: -apple-system, BlinkMacSystemFont,;" class="mycode_font">As root user:</span></span><br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code># Create a temporary directory<br />
mkdir -p /root/tmp/kernel<br />
cd /root/tmp/kernel<br />
# Backup the current NetBSD kernel<br />
cp /netbsd /onetbsd<br />
# Download a full tar with kernel and dtb files<br />
ftp https://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-aarch64/binary/sets/kern-GENERIC64.tgz<br />
tar xzvf /root/tmp/kernel/kern-GENERIC64.tgz<br />
# Overwrite the current NetBSD kernel and dtb files<br />
cp ./netbsd /netbsd<br />
cp sun50i-a64-pine64* /boot/dtb/allwinner/<br />
# Reboot<br />
reboot</code></div></div><br />
After reboot<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>mkdir -p /root/tmp/sets<br />
cd /root/tmp/sets<br />
# Download and untar all sets<br />
for x in base comp games man misc modules tests text xbase xcomp xfont xserver; do ftp https://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-aarch64/binary/sets/&#36;x.tgz; done<br />
for x in base comp games man misc modules tests text xbase xcomp xfont xserver; do tar -C / -zxvpf &#36;x.tgz; done</code></div></div><br />
<br />
Update the /etc/ configuration<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>for x in etc xetc; do ftp https://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-aarch64/binary/sets/&#36;x.tgz; done<br />
etcupdate -s etc.tgz -s xetc.tgz</code></div></div><br />
Verify everything works, then clean up and reboot<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>rm -Rf /root/tmp<br />
reboot</code></div></div><br />
Based on <dvz_me_placeholder id="0" /> instructions:<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;jmcneill&gt; Updated sets are on the autobuild server: http://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/evbarm-aarch64/binary/sets/<br />
&lt;jmcneill&gt; Backup current (working) kernel: cp /netbsd /onetbsd<br />
&lt;jmcneill&gt; Then take "./netbsd" from kern-GENERIC64.tgz and put it as /netbsd<br />
&lt;jmcneill&gt; and you probably want to update the dtb in /boot/dtb/allwinner/ to match<br />
&lt;jmcneill&gt; (latest dtb is in that same file)<br />
&lt;jmcneill&gt; reboot with the new kernel, make sure it works..<br />
&lt;jmcneill&gt; (you need to be running the new kernel for this latest step -- old kernel may not support new userland)<br />
&lt;jmcneill&gt; then extract sets..<br />
&lt;jmcneill&gt; for x in base comp games man misc modules tests text xbase xcomp xfont xserver; do tar -C / -zxvpf &#36;x.tgz; done<br />
&lt;jmcneill&gt; note that I skipped the debug sets (they are big) and etc/xetc sets (we upgrade those separately)<br />
&lt;jmcneill&gt; To see what sets you have installed, ls /etc/mtree/set.*<br />
&lt;jmcneill&gt; Then to update etc and xetc: etcupdate -s etc.tgz -s xetc.tgz</code></div></div>Source <a href="https://gist.github.com/e-minguez/0f637c4971f17ab05cc1d9ddbc5575f5" target="_blank" rel="noopener" class="mycode_url">https://gist.github.com/e-minguez/0f637c...ddbc5575f5</a>]]></content:encoded>
		</item>
	</channel>
</rss>