Port-arm archive

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

Re: NetBSD-9 with BeagleBone Black



On Sat, 9 May 2020 20:15:08 +0200
Martin Husemann <martin%duskware.de@localhost> wrote:

> On Sat, May 09, 2020 at 06:48:28PM +0100, Sad Clouds wrote:
> > If this is the case, is there any documentation that describes
> > exactly how uboot should be installed for NetBSD?
> 
> install the u-boot pkg from pkgsrc (or binary pkgs), then:
> man installboot, search for /BeagleBone Black/
> 
> Martin

OK thanks to everyone for their feedback. I got there in the end.
I had to download NetBSD u-boot-beagleboneblack package, unpack it
and use "installboot" to make armv7.img bootable.

# mkdir tmp && cd tmp
# gunzip -dc /netbsd_build/obj.evbarm/releasedir/evbarm/binary/gzimg/armv7.img.gz > armv7.img
# wget http://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/x86_64/9.0_2020Q1/All/u-boot-beagleboneblack-2018.11nb4.tgz
# tar -zxvf u-boot-beagleboneblack-2018.11nb4.tgz
# installboot -m evbarm -o board=ti,am335x-bone-black armv7.img  share/u-boot/beagleboneblack/

Any chance similar instructions could be added to a wiki page, so that
other people like me don't have to spend several hours trying to
figure it out: https://wiki.netbsd.org/ports/evbarm/beaglebone/

Normally when you download install image, it is already bootable,
simply copy to SD card and it should just work. For example OpenSuse
have a different image for each version of hardware, i.e. RPi2, RPi3,
RPi4, etc. OK NetBSD seems to go with a more generic approach, i.e.
single image which needs board specific boot code installed to SD
card. Would be good if this process was described better on the
wiki page with examples.

Not really criticising anyone, just a suggestion.


Home | Main Index | Thread Index | Old Index