Skip to content

Commit

Permalink
for ODC2018
Browse files Browse the repository at this point in the history
  • Loading branch information
ebijun committed Aug 24, 2018
1 parent 01a3371 commit 580b371
Show file tree
Hide file tree
Showing 11 changed files with 162 additions and 203 deletions.
13 changes: 1 addition & 12 deletions RPI/RPIimage/Image/Makefile
Expand Up @@ -48,7 +48,7 @@ MNT_TMP=/mnt2
VND_TMP=vnd2


all: file cdmount rpi extract cdunmount firm
all: file cdmount rpi extract cdunmount firm kernel

#update: cdmount update-extract cdunmount

Expand Down Expand Up @@ -191,19 +191,8 @@ kernel:
vnconfig ${VND} ${FILE}
mount_msdos /dev/${VND}e ${MNT}

# RPI3B+
cp ${MNT}/bcm2837-rpi-3-b.dtb ${MNT}/bcm2837-rpi-3-b-plus.dtb
# RPI0W
cp ${MNT}/bcm2835-rpi-zero.dtb ${MNT}/bcm2835-rpi-zero-w.dtb
# RPI2-1.2
cp ${MNT}/bcm2836-rpi-2-b.dtb ${MNT}/bcm2837-rpi-2-b.dtb

# # for startx
# mv ${MNT}/kernel.img ${MNT}/kernel.img.org
# mv ${MNT}/kernel7.img ${MNT}/kernel7.img.org

# gunzip < 201803211740Z/earmv6hf/netbsd-RPI.img.gz > ${MNT}/kernel.img
# gunzip < 201803211740Z/earmv6hf/netbsd-RPI2.img.gz > ${MNT}/kernel7.img

umount ${MNT}
vnconfig -u ${VND}
Expand Down
47 changes: 25 additions & 22 deletions RPI/RPIimage/Image/README
@@ -1,34 +1,37 @@
VERSION: :1,$s/2018-08-04/2018-08-04/g
ISO: :1,$s/201807281710Z/201807281710Z/g
NetBSD: :1,$s/8.99.22/8.99.22/g
PKGSRC: :1,$s/2018-08-04/2018-08-04/
VERSION: :1,$s/2018-08-25/2018-08-25/g
ISO: :1,$s/201808221400Z/201808221400Z/g
NetBSD: :1,$s/8.99.24/8.99.24/g
PKGSRC: :1,$s/2018-08-25/2018-08-25/
# Check MD5 filename before post this mail.
# why dont we take off alone.

To: port-armNetBSD.org@localhost
Subject: 2018-08-04-netbsd-raspi-earmv6hf.img (Re: Raspberry Pi update please.)
Subject: 2018-08-25-netbsd-raspi-earmv6hf.img (Re: Raspberry Pi update please.)
From: Jun Ebihara <jun@soum.co.jp>

I've updated 2018-08-04-netbsd-raspi-earmv6hf.img.gz for RPI.
I've updated 2018-08-25-netbsd-raspi-earmv6hf.img.gz for RPI.

http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2018-08-04-earmv6hf/2018-08-04-netbsd-raspi-earmv6hf.img.gz
http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2018-08-04-earmv6hf/MD5
http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2018-08-25-earmv6hf/2018-08-25-netbsd-raspi-earmv6hf.img.gz
http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2018-08-25-earmv6hf/MD5

Update:
- NetBSD-current 8.99.22 evbarm-earmv6hf 201807281710Z rpi.img from nyftp.
- NetBSD-current 8.99.24 evbarm-earmv6hf 201808221400Z rpi.img from nyftp.
- omxplayer works again,thanx rin@!
- pre-installed packages:
https://github.com/ebijun/NetBSD/blob/master/RPI/RPIimage/pkgsrc/pkginfo
- Firmware update
20180410 on /boot for support newer RPI.
- sysinfo and pkgsrc update
https://github.com/ebijun/NetBSD/commit/789388391429c0c396e2c35771155b0fddae22f9#diff-4a755d73dbba5da21bbf783139f086dc
- dhcpcd-7.0.7
- git-base-2.18.0
- icu-62.1
- mikutter 3.7.4
sysinfo: bind-9.12.2pl1 dhcpcd-7.0.8 libc-12.211 openssl-1.1.0i sh-20160401-20180822131641Z
pkgsrc: curl-7.61.0nb3 dillo-3.0.5nb4 git-base-2.18.0nb2 perl-5.28.0
- mikutter support
I make sample API key,pre-installed.
https://github.com/ebijun/NetBSD/tree/master/RPI/RPIimage/root/.mikutter/plugin
https://github.com/Akkiesoft/how-to-make-mikutter-work-again
cd /root/.mikutter
git submodule add https://github.com/toshia/twitter_api_keys.git twitter_api_keys
git submodule add https://github.com/cobodo/mikutter-worldon mikutter-worldon

NetBSD Problem Report Summary:

Expand All @@ -40,7 +43,7 @@ port-arm/53284: Support RPI3B+,RPI0W,RPI2-1.2
cp /boot/bcm2835-rpi-zero.dtb /boot/bcm2835-rpi-zero-w.dtb

omxplayer: Abort Trap. (after FDTisation?)
Open: use NetBSD8.0 to work omxplayer
Close: fixed,thanx
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=52984
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=53042

Expand All @@ -50,7 +53,7 @@ Overview:
QEMU,with VEPRESS_A15 kernel
https://github.com/ebijun/NetBSD/tree/master/vexpress/Boot
https://github.com/ebijun/NetBSD/tree/master/vexpress/vexpress-v2p-ca15-tc1.dtb
http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2018-08-04-earmv6hf/VEXPRESS_A15/netbsd-VEXPRESS_A15.ub.gz
http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2018-08-25-earmv6hf/VEXPRESS_A15/netbsd-VEXPRESS_A15.ub.gz
http://mail-index.netbsd.org/port-arm/2017/06/02/msg004154.html

dmesg:
Expand Down Expand Up @@ -108,15 +111,15 @@ Pre-compiled packages:

See /etc/pkg_install.conf

PKG_PATH=http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/earmv6hf/2018-08-04/
PKG_PATH=http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/earmv6hf/2018-08-25/

- If you use Official Package for NetBSD7.0:

set /etc/pkg_install.conf:
PKG_PATH=http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/earmv6hf/7.0_HEAD/

- I keep libfreetype.so.17.4.11 for some 7.0 related binaries.
http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2018-08-04-earmv6hf/libfreetype.so.17.4.11
http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2018-08-25-earmv6hf/libfreetype.so.17.4.11

- If you update pkgsrc by yourself,comment out /etc/pkg_install.conf and check
/etc/mk.conf.
Expand Down Expand Up @@ -295,16 +298,16 @@ pkgsrc Todo:

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

For Open Source Conference 2018 Kyoto NetBSD booth.
For Open Developers Conference 2018 NetBSD bof.
I've updated raspberry-pi image.

https://www.ospn.jp/osc2018-kyoto/
http://www.re.soum.co.jp/~jun/OSC2018kyoto.pdf
https://www.ospn.jp/odc2018/
http://www.re.soum.co.jp/~jun/ODC2018.pdf
http://www.jp.NetBSD.org/
https://www.facebook.com/NetBSD.jp
https://github.com/ebijun/NetBSD/blob/master/Guide/RPI/RPIupdate2018.rst

- NetBSD 8.99.22 earmv6hf rpi.img.gz base
- NetBSD 8.99.24 earmv6hf rpi.img.gz base
- Connect HDMI,USB Keyboard,USB Mouse,Ether(dhcpd and ntpd will work)
- login root (no passwd)
- startx ,and icewm running.
Expand Down Expand Up @@ -342,7 +345,7 @@ Features:
- Recent current RPI kernel
- USB/video support: as NetBSD-current
- pre-build packages
http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/earmv6hf/2018-08-04/
http://cdn.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/earmv6hf/2018-08-25/

Installed Packages:
bash
Expand Down
14 changes: 7 additions & 7 deletions RPI/RPIimage/Image/sysinfo
@@ -1,16 +1,16 @@
awk-20121220
bind-9.10.7
bind-9.12.2pl1
bozohttpd-20170201
bzip2-1.0.6
calendar-20160601
dhcpcd-7.0.7
dhcpcd-7.0.8
dtc-1.4.4
ftpd-20110904
g++-6.4.0
gcc-6.4.0
grep-2.5.1anb1
gzip-20170803
libc-12.209
libc-12.211
libcurses-7.1
libdrm-3.4
libm-0.12
Expand All @@ -25,23 +25,23 @@ libXfont-3.0
libXft-3.0
libXrandr-3.2
libXt-7.0
NetBSD-8.99.22
NetBSD-8.99.24
netpgp-3.99.17
netpgpverify-20170201
ntp-4.2.8pl11
openssh-7.7
opensshd-7.7
openssl-1.1.0h
openssl-1.1.0i
libpcap-1.8.1
pkg_install-20180325
sh-20160401-20180728141313Z
sh-20160401-20180822131641Z
sqlite3-3.17.0
sys_info-20170928
tcpdump-4.9.2
tcsh-6.20.00
tzdata-2018e
unbound-1.6.8
userland-NetBSD-8.99.22/evbarm
userland-NetBSD-8.99.24/evbarm
wpa_supplicant-2.6
xz-5.2.1
yacc-1.9
92 changes: 46 additions & 46 deletions RPI/RPIimage/pkgsrc/pkginfo
Expand Up @@ -5,25 +5,25 @@ atk-2.26.1 Set of interfaces for accessibility
bash-4.4.019 The GNU Bourne Again Shell
cairo-1.14.12nb1 Vector graphics library with cross-device output support
cairo-gobject-1.14.12nb1 Vector graphics library with cross-device output support
curl-7.61.0 Client that groks URLs
dbus-1.12.8 Message bus system
curl-7.61.0nb3 Client that groks URLs
dbus-1.12.10 Message bus system
desktop-file-utils-0.23nb1 Utilities to manage desktop entries
digest-20160304 Message digest wrapper utility
dillo-3.0.5nb3 Very small and fast graphical web-browser
dillo-3.0.5nb4 Very small and fast graphical web-browser
fltk-1.3.4 Fast Light Tool Kit for graphical user interfaces
fontconfig-2.13.0nb1 Library for configuring and customizing font access
fossil-2.4nb2 High-reliability, distributed software configuration management
freetype2-2.9.1nb1 Font rendering engine and library API
fribidi-0.19.7 Free Implementation of the Unicode Bidirectional Algorithm
gd-2.2.5nb2 Graphics library for the dynamic creation of images
gd-2.2.5nb3 Graphics library for the dynamic creation of images
gdk-pixbuf2-2.36.12 Image loaders for gtk2
giflib-5.1.4 GIF image format library
git-base-2.18.0 GIT Tree History Storage Tool (base package)
glib2-2.56.1nb1 Some useful routines for C programming (glib2)
git-base-2.18.0nb2 GIT Tree History Storage Tool (base package)
glib2-2.56.2nb1 Some useful routines for C programming (glib2)
gobject-introspection-1.56.1 GObject Introspection
gtk2+-2.24.32nb4 GIMP Toolkit v2 - libraries for building X11 user interfaces
gtk3+-3.22.30nb2 GIMP Toolkit v3 - libraries for building X11 user interfaces
harfbuzz-1.8.1nb1 OpenType text shaping engine
gtk2+-2.24.32nb5 GIMP Toolkit v2 - libraries for building X11 user interfaces
gtk3+-3.22.30nb3 GIMP Toolkit v3 - libraries for building X11 user interfaces
harfbuzz-1.8.8 OpenType text shaping engine
hicolor-icon-theme-0.17 Standard icon theme called hicolor
icewm-1.2.38pre2nb1 Small, fast and light-weight window manager
icu-62.1 Robust and full-featured Unicode services
Expand All @@ -36,48 +36,48 @@ libffi-3.2.1nb4 Foreign function interface
libgcroots-0.2.3 Garbage collector supporting library
libgcrypt-1.8.3 GNU cryptographic library
libgpg-error-1.32 Definitions of common error values for all GnuPG components
libidn-1.33 Internationalized Domain Names command line tool
libidn-1.33nb1 Internationalized Domain Names command line tool
libidn2-2.0.4 Convert internationalized domain names to/from ASCII Encoding
libimagequant-2.12.1 High-quality conversion of RGBA images to 8-bit indexed-color
libotf-0.9.16 Library for handling OpenType fonts (OTF)
libunistring-0.9.10 Unicode string library
libuuid-2.31 Generate unique identifiers for objects
libwebp-1.0.0 WebP image format library and tools
libxml2-2.9.8nb1 XML parser library from the GNOME project
libxslt-1.1.32 XSLT parser library from the GNOME project
libxml2-2.9.8nb2 XML parser library from the GNOME project
libxslt-1.1.32nb1 XSLT parser library from the GNOME project
libyaml-0.2.1 YAML 1.1 parser and emitter written in C
lintpkgsrc-4.94 Sanity checks on the complete pkgsrc tree
lintpkgsrc-4.94nb1 Sanity checks on the complete pkgsrc tree
lzo-2.10 Portable lossless data compression library
m17n-db-1.8.0 The m17n database used by the m17n library
m17n-lib-1.8.0nb1 Multilingualization library
medit-1.2.0nb7 Programming and around-programming text editor
mlterm-3.8.6 Multilingual terminal emulator
mozilla-rootcerts-1.0.20180111 Root CA certificates from the Mozilla Project
ncurses-6.1 CRT screen handling and optimization package
p5-Authen-SASL-2.16nb5 Perl module to handle SASL authentication
p5-Digest-HMAC-1.03nb7 Perl5 module for HMAC
p5-Email-Valid-1.202nb1 Perl5 module for testing validity of an email address
p5-Error-0.17026 Perl extension module for try/throw/catch exception handling
p5-GSSAPI-0.28nb8 Perl extension providing access to the GSSAPIv2 library
p5-IO-CaptureOutput-1.11.04nb3 Capture STDOUT and STDERR from Perl code, subprocesses, or XS
p5-IO-Socket-INET6-2.72nb3 Perl object interface for AF_INET/AF_INET6 domain sockets
p5-IO-Socket-SSL-2.056 Perl5 SSL socket interface class
p5-MailTools-2.20 Perl5 modules related to mail applications
p5-Mozilla-CA-20180117 Mozilla's CA cert bundle for Perl
p5-Net-DNS-1.15 Perl5 module for DNS resolution
p5-Net-Domain-TLD-1.75nb1 Work with TLD names
p5-Net-IP-1.26nb5 Perl extension for manipulating IPv4/IPv6 addresses
p5-Net-LibIDN-0.12nb9 Perl bindings for GNU Libidn
p5-Net-SMTP-SSL-1.04nb1 Perl5 module providing SSL support for Net::SMTP
p5-Net-SSLeay-1.85 Perl5 module for using OpenSSL
p5-Socket6-0.28nb1 Perl5 module to support getaddrinfo() and getnameinfo()
p5-TimeDate-2.30nb4 Perl5 TimeDate distribution
pango-1.42.1 Library for layout and rendering of text
p5-Authen-SASL-2.16nb6 Perl module to handle SASL authentication
p5-Digest-HMAC-1.03nb8 Perl5 module for HMAC
p5-Email-Valid-1.202nb2 Perl5 module for testing validity of an email address
p5-Error-0.17026nb1 Perl extension module for try/throw/catch exception handling
p5-GSSAPI-0.28nb9 Perl extension providing access to the GSSAPIv2 library
p5-IO-CaptureOutput-1.11.04nb4 Capture STDOUT and STDERR from Perl code, subprocesses, or XS
p5-IO-Socket-INET6-2.72nb4 Perl object interface for AF_INET/AF_INET6 domain sockets
p5-IO-Socket-SSL-2.059nb1 Perl5 SSL socket interface class
p5-MailTools-2.20nb1 Perl5 modules related to mail applications
p5-Mozilla-CA-20180117nb1 Mozilla's CA cert bundle for Perl
p5-Net-DNS-1.17nb1 Perl5 module for DNS resolution
p5-Net-Domain-TLD-1.75nb2 Work with TLD names
p5-Net-IP-1.26nb6 Perl extension for manipulating IPv4/IPv6 addresses
p5-Net-LibIDN-0.12nb10 Perl bindings for GNU Libidn
p5-Net-SMTP-SSL-1.04nb2 Perl5 module providing SSL support for Net::SMTP
p5-Net-SSLeay-1.85nb1 Perl5 module for using OpenSSL
p5-Socket6-0.28nb2 Perl5 module to support getaddrinfo() and getnameinfo()
p5-TimeDate-2.30nb5 Perl5 TimeDate distribution
pango-1.42.3 Library for layout and rendering of text
pcre-8.42 Perl Compatible Regular Expressions library
pcre2-10.31 Perl Compatible Regular Expressions library (major version 2)
perl-5.26.2 Practical Extraction and Report Language
perl-5.28.0 Practical Extraction and Report Language
pkg_chk-2.0.9 Check installed package versions against pkgsrc
png-1.6.34 Library for manipulating PNG images
png-1.6.35 Library for manipulating PNG images
py27-cElementTree-2.7.15 C implementation of Python ElementTree API
py27-expat-2.7.15 Python interface to expat
python27-2.7.15nb1 Interpreted, interactive, object-oriented programming language
Expand All @@ -89,14 +89,14 @@ ruby24-delayer-0.0.2 Ruby module to delay the processing
ruby24-delayer-deferred-2.0.0 Deferred for Delayer
ruby24-diva-0.3.2 Implementation of expression for handling things
ruby24-gettext-3.2.9 Ruby localization library like as GNU gettext
ruby24-gnome2-atk-3.2.7 Ruby binding of ATK-1.0.x or later
ruby24-gnome2-cairo-gobject-3.2.7 Ruby binding of cairo-gobject
ruby24-gnome2-gdkpixbuf-3.2.7 Ruby binding of GdkPixbuf-2.x
ruby24-gnome2-gio-3.2.7 Ruby binding of gio-2.0.x
ruby24-gnome2-glib-3.2.7 Ruby binding of GLib-2.x
ruby24-gnome2-gobject-introspection-3.2.7nb1 Ruby binding of Gobject Introspection
ruby24-gnome2-gtk-3.2.7 Ruby binding of GTK+-2.x
ruby24-gnome2-pango-3.2.7 Ruby binding of pango-1.x
ruby24-gnome2-atk-3.2.9 Ruby binding of ATK-1.0.x or later
ruby24-gnome2-cairo-gobject-3.2.9 Ruby binding of cairo-gobject
ruby24-gnome2-gdkpixbuf-3.2.9 Ruby binding of GdkPixbuf-2.x
ruby24-gnome2-gio-3.2.9 Ruby binding of gio-2.0.x
ruby24-gnome2-glib-3.2.9 Ruby binding of GLib-2.x
ruby24-gnome2-gobject-introspection-3.2.9 Ruby binding of Gobject Introspection
ruby24-gnome2-gtk-3.2.9 Ruby binding of GTK+-2.x
ruby24-gnome2-pango-3.2.9 Ruby binding of pango-1.x
ruby24-hmac-0.4.0 Common interface to HMAC functionality
ruby24-httpclient-2.8.3 HTTP accessing library for Ruby
ruby24-idn-0.1.0 Ruby Bindings for the GNU LibIDN library
Expand All @@ -117,14 +117,14 @@ ruby24-twitter-text-2.1.0 Library that provides text handling for Twitter
ruby24-typed-array-0.1.2 Provides methods for creating type-enforced Arrays
ruby24-unf-0.1.4 Wrapper library to bring Unicode Normalization Form support
ruby24-unf_ext-0.0.7.5 Unicode Normalization Form support library for CRuby
shared-mime-info-1.9 Core database of common types
sudo-1.8.22nb1 Allow others to run commands as root
shared-mime-info-1.10 Core database of common types
sudo-1.8.24 Allow others to run commands as root
tcsh-6.20.00nb2 Extended C-shell with many useful features
tiff-4.0.9nb3 Library and tools for reading and writing TIFF data files
ttmkfdir2-20021109nb6 Tool that creates a fonts.scale file
uim-1.8.6nb51 Multilingual input method library
uim-1.8.6nb52 Multilingual input method library
vlgothic-ttf-20141206 Free Japanese TrueType fonts named 'VLGothic'
wget-1.19.5 Retrieve files from the 'net via HTTP and FTP
wget-1.19.5nb1 Retrieve files from the 'net via HTTP and FTP
xli-1.17.0nb13 X11 Image Loading Utility
xmlcatmgr-2.2nb1 XML and SGML catalog manager
zsh-5.5.1 The Z shell
10 changes: 3 additions & 7 deletions dmesg/earmv6hf/RPI
Expand Up @@ -4,7 +4,7 @@ Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.

NetBSD 8.99.22 (RPI) #0: Sat Jul 28 14:13:13 UTC 2018
NetBSD 8.99.24 (RPI) #0: Wed Aug 22 13:16:41 UTC 2018
mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/RPI
total memory = 192 MB
avail memory = 181 MB
Expand Down Expand Up @@ -56,7 +56,6 @@ iic2 at bsciic2: I2C bus
/soc/hdmi@7e902000 at simplebus1 not configured
dwctwo0 at simplebus1: USB controller
dwctwo0: interrupting on icu irq 9
/soc/v3d@7ec00000 at simplebus1 not configured
/soc/gpu at simplebus1 not configured
genfb0 at simplebus1: switching to framebuffer console
genfb0: framebuffer at 0x4ea1e000, size 800x600, depth 32, stride 3200
Expand All @@ -68,15 +67,12 @@ vchiq0 at simplebus1: BCM2835 VCHIQ
gpioleds0 at simplebus0: ACT
watchdog0 at simplebus1: Power management, Reset and Watchdog controller
bcmrng0 at simplebus1: RNG
/soc/pixelvalve@7e206000 at simplebus1 not configured
/soc/pixelvalve@7e207000 at simplebus1 not configured
/soc/hvs@7e400000 at simplebus1 not configured
/soc/pixelvalve@7e807000 at simplebus1 not configured
/soc/mailbox@7e00b840 at simplebus1 not configured
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "bcmtmr0" frequency 1000000 Hz quality 100
sdhc0: SDHC 3.0, rev 153, platform DMA, 200000 kHz, HS 3.3V, re-tuning mode 1, 1024 byte blocks
sdmmc0 at sdhc0 slot 0
dwctwo0: Core Release: 2.80a (snpsid=4f54280a)
usb0 at dwctwo0: USB revision 2.0
sdhc0: cmd timeout error
uhub0 at usb0: NetBSD (0000) DWC2 root hub (0000), class 9/0, rev 2.00/1.00, addr 1
Expand All @@ -100,7 +96,7 @@ WARNING: 1 error while detecting hardware; check system log.
boot device: ld0
root on ld0a dumps on ld0b
root file system type: ffs
kern.module.path=/stand/evbarm/8.99.22/modules
kern.module.path=/stand/evbarm/8.99.24/modules
vchiq0: interrupting on icu irq 66
vchiq: vchiq_init_state: slot_zero = 0xc5370000, is_master = 0
vchiq: local ver 8 (min 3), remote ver 8.
Expand Down

0 comments on commit 580b371

Please sign in to comment.