ebijun
Posts: 68
Joined: Sat Feb 09, 2013 1:39 am

NetBSD8.0: 2018-07-22-netbsd8.0-raspi-earmv6hf.img

Sun Jul 22, 2018 10:53 am

I've updated 2018-07-22-netbsd8.0-raspi-earmv6hf.img for RPI.

http://cdn.netbsd.org/pub/NetBSD/misc/j ... 6hf.img.gz

automatic resize partition: see /etc/rc.conf
1. copy image to SD/MicroSD
2. Boot
3. Calculate and resize ld0 partition and automatic reboot
4. after the reboot,root partition fit for your card.
http://movapic.com/pic/20150416115108552fa22c4f225

dmesg:
RPI:
https://github.com/ebijun/NetBSD/blob/m ... etBSD8/RPI
RPI0:
https://github.com/ebijun/NetBSD/blob/m ... tBSD8/RPI0
RPI0W:
https://github.com/ebijun/NetBSD/blob/m ... BSD8/RPI0W
RPI2:
https://github.com/ebijun/NetBSD/blob/m ... tBSD8/RPI2
RPI2-1.2:
https://github.com/ebijun/NetBSD/blob/m ... 8/RPI2-1.2
RPI3:
https://github.com/ebijun/NetBSD/blob/m ... tBSD8/RPI3
RPI3B+: Ethernet Interface not available
https://github.com/ebijun/NetBSD/blob/m ... 8/RPI3B%2B


Overview:
http://wiki.NetBSD.org/ports/evbarm/raspberry_pi/

- NetBSD-8.0-201807192040Z evbarm-earmv6hf rpi.img from nyftp.
- pkgsrc: 2018Q2 pre-installed on /usr/pkgsrc.

Pre-compiled packages:
- Pre-compiled packages path setting: see /etc/pkg_install.conf
PKG_PATH=http://cdn.netbsd.org/pub/NetBSD/misc/j ... 0/earmv6hf

I'll make test packages with this image:
http://cdn.netbsd.org/pub/NetBSD/misc/j ... /earmv6hf/

To install application.
# pkg_add some_application_name

If you update pkgsrc by yourself,comment out /etc/pkg_install.conf and check
/etc/mk.conf.

=====================

- NetBSD 8.0 earmv6hf rpi.img.gz base
- Connect HDMI,USB Keyboard,USB Mouse,Ether(dhcpd and ntpd will work)
- login root (no passwd)

Features:
- fit size for 4GB SD Card
- Newer firmware for RPI3B+
- with X11

Installed Packages:
none

To control HDMI output,add/delete "console=fb" on cmdline.txt.
If delete console=fb definition,you can get serial console instead.
rpi$ more /boot/cmdline.txt
root=ld0a console=fb

Keyboard layout checkpoint:
/etc/wscons.conf
#encoding sv
#encoding us.swapctrlcaps
encoding jp

/root/.xinitrc
setxkbmap -model jp106 jp

Build sample script:
https://github.com/ebijun/NetBSD/tree/m ... mage/Image

Guide:
https://github.com/ebijun/NetBSD/blob/m ... de/RPI.rst

--
Jun Ebihara

Return to “NetBSD”

Who is online

Users browsing this forum: No registered users and 2 guests