NetBSD Problem Report #50806

From www@NetBSD.org  Mon Feb 15 00:17:46 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.NetBSD.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 971857A221
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 15 Feb 2016 00:17:46 +0000 (UTC)
Message-Id: <20160215001745.228DB7ACC3@mollari.NetBSD.org>
Date: Mon, 15 Feb 2016 00:17:45 +0000 (UTC)
From: allcoms@gmail.com
Reply-To: allcoms@gmail.com
To: gnats-bugs@NetBSD.org
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
>Organization:
>Environment:
NetBSD armv7 7.0_STABLE NetBSD 7.0_STABLE (BPI)
>Description:
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.
>How-To-Repeat:
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.
>Fix:
I have written an extended and improved Allwinner installation guide here:

http://daemonforums.org/showthread.php?t=9652

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

https://wiki.netbsd.org/ports/evbarm/allwinner/#index1h2

>Release-Note:

>Audit-Trail:

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


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

 <https://wiki.NetBSD.org/ports/evbarm/install_using_sysinst/>

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-By: leot@NetBSD.org
State-Changed-When: Sat, 20 Apr 2019 09:34:23 +0000
State-Changed-Why:
Feedback timeout.

A wiki page documenting the installation for 8.0
was added.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

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