NetBSD Problem Report #50806

From  Mon Feb 15 00:17:46 2016
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id 971857A221
	for <>; Mon, 15 Feb 2016 00:17:46 +0000 (UTC)
Message-Id: <>
Date: Mon, 15 Feb 2016 00:17:45 +0000 (UTC)
Subject: Problems encountered installing 7.0 to a SATA drive on a Banana Pi
X-Send-Pr-Version: www-1.0

>Number:         50806
>Category:       port-evbarm
>Synopsis:       Problems encountered installing 7.0 to a SATA drive on a Banana Pi
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    leot
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 15 00:20:00 +0000 2016
>Closed-Date:    Sat Apr 20 09:34:23 +0000 2019
>Last-Modified:  Sat Apr 20 09:34:23 +0000 2019
>Originator:     Dan MacDonald
>Release:        7.0
NetBSD armv7 7.0_STABLE NetBSD 7.0_STABLE (BPI)
Due to a lack of documentation, it took me pretty much a full week of my spare time to work out the process of transferring the NetBSD root fs from the SD card onto a SATA drive on the Banana Pi.

Apart from updating the official Allwinner install guide with the additional details I've provided in my re-write of the Allwinner installation guide to cover this process, there are another couple of issues that need to be addressed here:

* Getting NetBSD to boot on an Allwinner board requires that the user create a boot.scr u-boot config file using mkubootimage which is only currently available for NetBSD. To prevent users having to install NetBSD on another machine or in a VM just to run mkubootimage, the user should be able to download and build the source to mkubootimage and run it under under Linux, OSX, BSD or whatever OS they may already be running.

* It would seem the evbarm kernels for 7.0 are hard-coded to mount root on ld0a. Ideally, the user would be able to switch the root device simply by adjusting a kernel option but if that isn't an option yet then it would be of great help to make some wd0a-root patched kernels made available for download so that new users aren't forced to re-build the kernel just to change this one setting.
Ask a NetBSD newb to try transferring the root fs from the SD card onto a SATA drive on the Banana Pi or a similar machine.
I have written an extended and improved Allwinner installation guide here:

I would like to see that cleaned up and edited as required and added to the docs here:



Responsible-Changed-From-To: port-evbarm-maintainer->leot
Responsible-Changed-When: Mon, 19 Nov 2018 11:29:58 +0000
Take (I can try to summarize something similar - but using sysinst(8), for 8.0).

State-Changed-From-To: open->feedback
State-Changed-When: Mon, 19 Nov 2018 22:30:48 +0000
Thank you very much Dan for the PR and for documenting it!
A wiki page with similar instructions:


was just added (for NetBSD/evbarm 8.0).
I have also added a reference to the instructions shared in this PR.

Please let us known if it is okay to close this PR and/or feel free
to append any possible information in this PR or via a wiki comment in
the page.

Thank you again (and sorry for the delay)!

State-Changed-From-To: feedback->closed
State-Changed-When: Sat, 20 Apr 2019 09:34:23 +0000
Feedback timeout.

A wiki page documenting the installation for 8.0
was added.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.