Port-arm archive

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

pinebook status update (20230612)



NetBSD Arm Bootable Images: NetBSD9/NetBSD-current
 https://nycdn.netbsd.org/pub/arm/

Update:
- NetBSD-10.99.4
- firefox-112.0.1nb3 issue
  need firefox --safe-mode
    Settings->Performance
       uncheck: "Use recommended performance settings"
       uncheck: "Use hardware acceletation when available"
  still access failed cf. facebook
- icu-73.1nb1
- libreoffice-7.5.1.2nb4

Problems: 
- pinebook: 
  Using audio interface,rebooting.
  PR port-arm/57111 

- Pinebook Pro graphics noticeably slower since DRM update
  fixed: PR port-arm/56596 
  http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=56596 

- gimp with -python option: don't depends on python27 packages
- seamonkey 2.53.10 can't start
- gnucash build failed
- USB Audio 2.0 Support
  http://mail-index.netbsd.org/current-users/2022/06/03/msg042467.html
  https://raw.githubusercontent.com/openbsd/src/master/sys/dev/usb/uaudio.c

Topics:
- Tow-Boot on Pinebook Pro
  https://tow-boot.org/devices/pine64-pinebookPro.html
  need more testing on NetBSD.

- Pinebook GPU
 "I think I am making a bit of progress with the DRM driver 
  for the Pinebook."
  http://mail-index.netbsd.org/port-arm/2022/05/12/msg007650.html

- pkgsrc update as after 2022Q1.
  firefox 98.0.2 and libreoffice 7.3.1.3
  https://twitter.com/ebijun/status/1513773516402790403

- graphical mixer for NetBSD audio.

on pinebook:
 Select a mixer device:
 [*] /dev/mixer0: sun50i-a64-audi  ausoc
 [ ] /dev/mixer1: hdmi-audio  ausoc

on pinebook pro:
XXX: [inputs] tab controls audio output level.
 https://twitter.com/ebijun/status/1395184397599469568

- Audio CD with wavpack
Encode: 
 On Windows: Exact Audio Copy & foobar2000
 On pkgsrc:
 1. pkg_add abcde; pkg_add glyr
    abcde -d /dev/rcd0a -B -o wav -1 -a default,cue
    -> wav,cue,jpg file created.
 2. pkg_add wavpack 
    wavpack -h .wav --write-binary-tag "Cover Art (Front)=@.jpg" -w "cuesheet=@.cue"
    -> wv file created.

Play: 
  qmmp: can play wavpack file with cue. How can I show Cover Art?
   Setting->Output->OSS plugin(liboss.so)

- audio0 input issue
  http://mail-index.netbsd.org/port-arm/2021/02/22/msg007185.html
  "Is audio input from the inbuilt microphone(s) working?  I get "read failed:
  Resource temporarily unavailable" from audiorecord"
  audio0(ausoc1): trigger_input failed: errno=5
  audio0(audoc1): device timeout

pkgsrc:
- works : inkscape,scribus,seamonkey,minitube,mikutter,xournalpp,libreoffice

- firefox 90.0 and libreoffce 7.1.4.2 on NetBSD 9.99.85/aarch64 on pinebook.

 zoom meeting with firefox on NetBSD/aarch64 on pinebook pro 
  with UserAgent switcher addon as Linux.
 Send: Share Screen,camera/USB Camera
 Problem: Can"t show others screen/in-camera.

- pkgin support
 make pkg_summary. and pkgin works.
 cd /usr/pkgsrc/packages/All
 find . -name '*.tgz' -exec pkg_info -X {} \; > pkg_summary
 gzip -f pkg_summary

 pkgsrc packages:
 http://cdn.netbsd.org/pub/NetBSD/misc/jun/aarch64/aarch64/2021-1/

- nono: luna68k/luna88k/x68k emulator
 add /etc/mk.conf
  ACCEPTABLE_LICENSES= nono-license
 cd /usr/pkgsrc/emulators/nono;make ;make package-install
- search soumd mixer GUI to manage mixerctl
 
ToDo:
- 3D acceleration

- Pinebook Pro 
 mate/xfce4/camera/WiFi
 ToDo:  
 - HDMI output via USB-C 
 - Audio output: can't switch speaker & headphone out

- Pinebook
 mate/xfce4/camera/HDMI
 ToDo:
 - internal WiFi

System Updates:

sysinfo:
 bozohttpd-20230602 openssl-3.0.9 sh-20220122-20230610213638Z

pkgsrc:
 ImageMagick-7.1.1.11 ImageMagick6-6.9.11.7nb22 a2ps-4.15.4nb2
 audacious-4.1nb9 audacious-plugins-4.1nb23 babl-0.1.98nb2
 cbindgen-0.24.6 cmake-3.26.4 cups-base-2.4.2nb9 curl-8.1.2
 dav1d-1.2.1 dconf-0.40.0nb4 double-conversion-3.3.0
 emacs26-26.3nb29 enchant2-2.5.0 ffmpeg5-5.1.3nb3 ffmpeg6-6.0nb1
 firefox-113.0.2 firefox-l10n-113.0.2 fmtlib-10.0.0 fribidi-1.0.13
 gawk-5.2.2 gcr-3.38.1nb7 gd-2.3.3nb10 gegl-0.4.40nb9 gexiv2-0.14.1nb1
 gimp-2.10.32nb13 git-base-2.41.0nb1 glib-networking-2.74.0nb2
 glib2-2.74.6nb1 gnome-desktop-2.32.1nb54 gnupg2-2.4.2
 go-1.20.5 go119-1.19.10 go120-1.20.5 graphviz-8.0.5
 gspell-1.8.3nb14 gssdp-1.0.3nb26 gst-plugins1-base-1.22.3
 gstreamer1-1.22.3 gtk3+-3.24.38 gupnp-1.0.3nb23
 harfbuzz-icu-7.3.0 hunspell-1.7.2nb2 ibus-1.5.28nb1 imath-3.1.9
 jemalloc-5.3.0nb1 libcares-1.19.1 libdazzle-3.38.0nb9
 libdbusmenu-glib-12.10.2nb18 libdbusmenu-gtk3-12.10.2nb29 libgee-0.20.3nb9
 libgweather-40.0nb14 libhandy-1.8.0nb3 libheif-1.16.2 libimagequant-4.2.0
 libixion-0.17.0nb3 libmatekbd-1.26.1 libmateweather-1.26.1
 libproxy-0.5.1nb1 libsecret-0.20.4nb8 libsixel-1.8.6nb13
 libuv-1.45.0 libxfce4ui-4.18.4 libxslt-1.1.38 luatex-1.17.0
 m17n-lib-1.8.0nb12 mate-media-1.26.1 mate-notification-daemon-1.26.1
 mate-screensaver-1.26.2 mate-settings-daemon-1.26.1 mate-themes-3.22.24
 meson-1.1.1 minitube-3.9.3nb4 mkvtoolnix-77.0 mlterm-3.9.3nb2
 mozilla-rootcerts-1.0.20230505 mozilla-rootcerts-openssl-2.11
 mpv-0.35.1nb4 mupdf-1.22.1 mysql-client-5.7.42 nettle-3.9.1
 nghttp2-1.54.0 nghttp3-0.12.0 nginx-1.24.0nb7 ngtcp2-0.16.0
 nodejs-20.2.0 openexr-3.1.7nb3 orc-0.4.34 p5-IO-Socket-SSL-2.081
 p5-JSON-4.10 p5-Locale-libintl-1.33 p5-Module-Build-0.42340
 p5-Net-3.15 p5-Net-DNS-1.38 p5-Scalar-List-Utils-1.63
 p5-URI-5.19 php74-gd-7.4.33nb5 pkg_rolling-replace-0.24.14
 pkgconf-1.9.5 polkit-121 psutils-3.0.3 py-gobject3-common-3.44.1
 py310-OpenSSL-23.2.0 py310-attrs-23.1.0 py310-cElementTree-3.10.12
 py310-cryptodome-3.18.0 py310-cryptography-41.0.1 py310-cython-0.29.35
 py310-docutils-0.20.1 py310-expat-3.10.12nb1 py310-gobject3-3.44.1
 py310-libxslt-1.1.38 py310-markupsafe-2.1.3 py310-pdf-3.9.0
 py310-pluggy-1.0.0 py310-pspdfutils-3.0.3 py310-puremagic-1.15
 py310-requests-2.31.0 py310-roman-4.1 py310-setuptools-67.8.0
 py310-sqlite3-3.10.12nb24 py310-urllib3-2.0.3 py310-wcwidth-0.2.6
 py39-argparse-1.4.0nb1 py39-asn1crypto-1.5.1 py39-py-1.11.0
 py39-six-1.16.0nb1 py39-sphinxcontrib-websupport-1.1.2nb1
 py39-toml-0.10.2nb1 python27-2.7.18nb11 python310-3.10.12
 python37-3.7.17 python38-3.8.17 python39-3.9.17 qmmp-1.5.1nb17
 qt5-qtbase-5.15.9nb2 qt5-qtdeclarative-5.15.10 qt5-qtlocation-5.15.10
 qt5-qtmultimedia-5.15.10 qt5-qtsensors-5.15.10 qt5-qtserialport-5.15.10
 qt5-qtsvg-5.15.10 qt5-qttools-5.15.10 qt5-qtwebchannel-5.15.10
 qt5-qtwebsockets-5.15.10 qt5-qtx11extras-5.15.9nb2 qt5-qtxmlpatterns-5.15.10
 ruby27-base-2.7.8 ruby27-racc-1.6.0 ruby31-addressable-2.8.4
 ruby31-atk-4.1.7 ruby31-cairo-1.17.8nb1 ruby31-cairo-gobject-4.1.7
 ruby31-delayer-1.2.1 ruby31-delayer-deferred-2.2.0 ruby31-diva-2.0.1
 ruby31-gdk3-4.1.7 ruby31-gdk_pixbuf2-4.1.7 ruby31-gettext-3.4.1
 ruby31-gio2-4.1.7 ruby31-glib2-4.1.7 ruby31-gobject-introspection-4.1.7
 ruby31-gtk3-4.1.7 ruby31-hashie-4.1.0 ruby31-hmac-0.4.0
 ruby31-httpclient-2.8.3nb1 ruby31-idn-0.1.0 ruby31-instance_storage-1.0.0
 ruby31-locale-2.1.3 ruby31-memoist-0.16.2 ruby31-mikutter-5.0.4nb3
 ruby31-mikutter-plugins-twitter-5.0nb1 ruby31-mini_portile2-2.8.2
 ruby31-moneta-1.6.0 ruby31-native-package-installer-1.1.5
 ruby31-nokogiri-1.14.2nb1 ruby31-oauth-1.1.0 ruby31-oauth-tty-1.0.5
 ruby31-pango-4.1.7 ruby31-pkg-config-1.5.1 ruby31-pluggaloid-1.7.0
 ruby31-public_suffix-5.0.1 ruby31-red-colors-0.3.0 ruby31-red-datasets-0.1.7
 ruby31-simpleidn-0.2.1 ruby31-snaky_hash-2.0.1 ruby31-text-1.3.1
 ruby31-twitter-text-3.1.0 ruby31-twitter-text-simpleidn-3.0.0.0
 ruby31-typed-array-0.1.2 ruby31-unf-0.1.4 ruby31-unf_ext-0.0.8.2
 ruby31-version_gem-1.1.3 ruby31-zip-2.3.2 serf-1.3.10nb1
 spdlog-1.11.0nb2 sqlite3-3.42.0 telepathy-glib-0.24.1nb29
 tex-babel-3.89 tex-hyperref-7.00y tex-latex-base-dev-20230601pre3
 tex-latex-firstaid-dev-1.0z tigervnc-1.13.1.1.20.13nb2
 uim-1.8.9nb3 vala-0.56.8nb1 vte3-0.72.2 wget-1.21.4
 x11-links-1.35 xfce4-mousepad-0.6.1 xfce4-panel-4.18.4
 xfce4-session-4.18.3

System Updates:
https://github.com/ebijun/NetBSD/commit/2e07db8ce05b7f8dc77b266b9ba98a7cc8dfd170

Tips:
- System Clocks
 % sysctl -a |grep freq

 Install pkgsrc/sysutils/estd from pkgsrc and start it on bootup 
 for automatic up-/downscaling.

pinebook:
 machdep.cpufreq.cpu0.available = 1152 1104 1008 816 648 408
 # sysctl -w machdep.cpufreq.cpu0.target=1152

pinebook-pro:
 machdep.cpufreq.cpu0.available = 1416 1200 1008 816 600 408
 machdep.cpufreq.cpu4.available = 2000 1800 1608 1416 1200 1008 816 600 408
 # sysctl -w machdep.cpufreq.cpu0.target=1416
 # sysctl -w machdep.cpufreq.cpu4.target=2000

- Battery Status
  envstat 
  xbattbar
XXX: link from dbus or mate-power-manager? 

- HDMI port works on pinebook.
 Connect display to pinebook HDMI port
 # pkg_add arandr
 % arandr

- mate: pkgsrc/meta-pkgs/mate
 https://twitter.com/ebijun/status/1086814579647102976
 pkg_add mate
 echo "mate-session" >> .xinitrc
 startx

- ibus 
 export XMODIFIERS=@im=ibus

- Add eDP transmitter and enable display pipeline
 http://mail-index.netbsd.org/source-changes/2019/02/03/msg103047.html
 arandr works well: display up-side down
 https://twitter.com/ebijun/status/1092885154127724544

- keymapping: [Shift][<>] on 11inch
 https://wiki.netbsd.org/ports/evbarm/allwinner/#index3h2

- replace AC Adapter for heavy load
 Anker PowerPort10 A2133+USB DC Cable with 3.5mm/1.35mm connecter
 USB-C laptop charger from HP

- USB Wifi: urtwn0/run0 works 
 urtwn0: I-O DATA DEVICE, INC. (0x4bb) WN-G150UM (0x94c)
 pinebook: internal Wi-Fi not supported
 pinebook pro: internal bwfm0 works,sometimes hangs


Version: 
 NetBSD 10.99.4 (GENERIC64) #0: Sat Jun 10 21:36:38 UTC 2023  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64

dmesg:
 https://github.com/ebijun/NetBSD/blob/master/dmesg/aarch64/pinebook
 https://github.com/ebijun/NetBSD/blob/master/dmesg/aarch64/pinebook-pro

System image: dd to eMMC.
 http://www.invisible.ca/arm/

 pinebook-pro:
 1. Insert microSD, boot (Linux from eMMC comes up), 
 2. hit "Restart", 
 3. It will boot from microSD. 
 4. dd'ing to eMMC for installation, the eMMC is faster
- eMMC can disable with switch inside,and boot MicroSD.

 Getting Started with NetBSD on the Pinebook Pro by Benny Siegert 
 https://bentsukun.ch/posts/pinebook-pro-netbsd/

sysinfo:
 https://github.com/ebijun/NetBSD/blob/master/pinebook/Update/sysinfo

pkginfo:
 https://github.com/ebijun/NetBSD/blob/master/pinebook/Update/pkginfo

pkgchk.conf:
 https://github.com/ebijun/NetBSD/blob/master/pinebook/Update/pkgchk.conf
  cp pkgchk.conf /usr/pkgsrc;pkg_add pkg_chk; pkg_chk -au

--
Jun Ebihara


Home | Main Index | Thread Index | Old Index