NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-evbarm/50806: Problems encountered installing 7.0 to a SATA drive on a Banana Pi



>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:    port-evbarm-maintainer
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 15 00:20:00 +0000 2016
>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



Home | Main Index | Thread Index | Old Index