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

2018-05-19-netbsd-raspi-earmv6hf.img

Fri May 18, 2018 10:51 am

2018-05-19-netbsd-raspi-earmv6hf.img

For Open Source Conference 2018 Nagoya
I've updated 2018-05-19-netbsd-raspi-earmv6hf.img.gz for RPI.

http://mail-index.netbsd.org/port-arm/2 ... 04789.html

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

Update:
- NetBSD-current 8.99.14 evbarm-earmv6hf 201805162300Z rpi.img from nyftp.
- Firmware update 20180410 on /boot

Tweaks:
- startx hangs on kernel version 201805162300Z
/boot/kernel.img.org /boot/kernel7.img.org
use kernel version 201803211740Z
/boot/kernel.img /boot/kernel7.img
- RPI3B+ initial support
cp /boot/bcm2837-rpi-3-b.dtb /boot/bcm2837-rpi-3-b-plus.dtb
Ethernet interface not works.
- RPI0W initial support
cp /boot/bcm2835-rpi-zero.dtb /boot/bcm2835-rpi-zero-w.dtb
- RPI2-1.2 initial support
cp /boot/bcm2836-rpi-2-b.dtb /boot/bcm2837-rpi-2-b.dtb

Problem:
- startx causes hang
- omxplayer:
Abort Trap. (after FDTisation?)
http://gnats.netbsd.org/cgi-bin/query-p ... mber=52984
http://gnats.netbsd.org/cgi-bin/query-p ... mber=53042
- diilo SSL support not works
pkg/53094: dillo: undefined reference to `SSL_library_init' with OpenSSL
http://gnats.netbsd.org/cgi-bin/query-p ... mber=53094
-> pkgsrc fixed,thanx [email protected]
-> report upstream and merged.

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

dmesg:
https://github.com/ebijun/NetBSD/blob/m ... rmv6hf/RPI
https://github.com/ebijun/NetBSD/blob/m ... mv6hf/RPI0
https://github.com/ebijun/NetBSD/blob/m ... v6hf/RPI0W
https://github.com/ebijun/NetBSD/blob/m ... mv6hf/RPI2
https://github.com/ebijun/NetBSD/blob/m ... f/RPI2-1.2
https://github.com/ebijun/NetBSD/blob/m ... mv6hf/RPI3
https://github.com/ebijun/NetBSD/blob/m ... v6hf/RPI3B+

Pre-installed packages:
https://github.com/ebijun/NetBSD/blob/m ... rc/pkginfo
changes:
https://github.com/ebijun/NetBSD/commit ... 3139f086dc


Problem:
- webkit24-gtk-2.4.11nb9 compile failed.
- dillo-3.0.5nb2 works with -O0
thanx Jared McNeill.
- Xfce4 4.13:
# hang with xfce4-sessions,4.12 works fine.

Security:
- security.pax.mprotect.enabled
http://netbsd.org/gallery/presentations ... NetBSD.pdf
man security
man paxctl
sysctl -a |grep pax
If application failed, such as omxplayer.
try to test
sysctl -w security.pax.mprotect.enabled=0

---
Comments are welcome on port-arm netbsd mailinglist or
twitter @ebijun

Return to “NetBSD”