Port-arm archive

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

pinebook status update (20220728)



Update:
 g++-10.4.0
 gcc-10.4.0
 clang-13.0.1nb3
 firefox-102.0.1nb3
 gcc10-10.4.0
 libreoffice-7.3.3.2nb2
 llvm-13.0.1nb2
 mate-1.24.1nb2
 mlterm-3.9.2nb4
 nono-0.4.1
 nss-3.81
 perl-5.36.0
 python310-3.10.5nb1
 qmmp-1.5.1nb8

Problems:
- pinebook: 
  Can't see audio interface.aiomixer do nothing.
  dmesg diff:
   https://github.com/ebijun/NetBSD/commit/7f58ddcde0b04631e3c656899cf6dd6a8aa51408
- pinebook pro
  on X, Can't move mouse cursor,keeping left side of screen.
  dmesg diff:
   https://github.com/ebijun/NetBSD/commit/1a7a7b71a209c35149f05d4cf5552f75b72af9a1
- 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:
- 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-20220517 g++-10.4.0 gcc-10.4.0 libdrm-3.6 NetBSD-9.99.99
 sh-20220122-20220726200856Z userland-NetBSD-9.99.99/evbarm

pkgsrc:
 GConf-3.2.3nb14 ImageMagick-7.1.0.37nb2 ImageMagick6-6.9.11.7nb14
 SDL-1.2.15nb39 SDL2-2.0.22nb1 SDL2_mixer-2.0.4nb9 a2ps-4.14nb15
 abseil-20220623.0 alsa-lib-1.2.7.2 anthy-elisp-9100hnb6
 ap24-php74-7.4.30nb8 apache-2.4.54nb1 arandr-0.1.10nb4
 asciidoc-10.2.0nb1 aspell-0.60.8nb4 at-spi2-core-2.40.3nb2
 atkmm-2.28.2nb2 audacious-plugins-4.1nb12 autoconf-2.71nb2
 autoconf213-2.13nb11 autogen-5.18.16nb7 automake-1.16.5nb2
 babl-0.1.92nb1 bison-3.8.2nb1 cairomm-1.14.3nb1
 caja-dropbox-1.24.0nb5 cbindgen-0.23.0 clang-13.0.1nb3
 cmake-3.23.2nb1 cmus-2.9.1nb8 compface-1.5.2nb11 consolekit-1.2.4nb2
 coreutils-9.0nb1 cups-base-2.4.2nb1 curl-7.84.0nb1
 cyrus-sasl-2.1.28nb1 dbus-1.14.0nb3 dconf-0.40.0nb2
 deforaos-browser-0.5.5nb1 deforaos-configure-0.4.3
 deforaos-libdesktop-0.4.1nb1 deforaos-locker-0.4.2 deforaos-panel-0.4.3nb1
 dillo-3.0.5nb11 djvulibre-lib-3.5.27nb1 docbook-xsl-1.79.2nb7
 dos2unix-7.4.3nb1 emacs26-26.3nb19 eom-1.24.2nb4
 ffmpeg2-2.8.20nb2 ffmpeg3-3.4.11nb2 ffmpeg4-4.4.2nb2
 ffmpeg5-5.1 fftw-3.3.10nb1 firefox-102.0.1nb3 firefox-l10n-102.0.1
 firefox52-52.9.0nb46 fluidsynth-2.2.8 freeglut-3.2.2
 gcc10-10.4.0 gcc8-8.4.0nb7 gconfmm-2.28.3nb30 gcr-3.38.1nb3
 gd-2.3.3nb3 gdbus-codegen-2.72.2 gdk-pixbuf2-2.42.8nb1 gdl-3.34.0nb11
 gedit-3.36.2nb10 gegl-0.4.38 gexiv2-0.12.2nb7 ghostscript-agpl-9.56.1nb2
 gimp-2.10.32nb2 git-base-2.37.1 glib-networking-2.72.1 glib2-2.72.2
 glib2-tools-2.72.2 glibmm-2.66.2nb2 gmake-4.3nb4 gmp-6.2.1nb3
 gnome-desktop-2.32.1nb50 gnome-doc-utils-0.20.10nb12
 gnome-icon-theme-3.12.0nb8 gnome-mime-data-2.18.0nb11
 gnupg2-2.2.36 gnutls-3.7.6nb1 go-1.18.3 go-bin-1.17.8nb1
 go116-1.16.15nb1 go117-1.17.12 go118-1.18.4 gobject-introspection-1.70.0nb2
 googletest-1.12.1 graphviz-5.0.0nb1 gsed-4.8nb2 gspell-1.8.3nb10
 gssdp-1.0.3nb21 gst-plugins0.10-base-0.10.36nb21
 gst-plugins1-base-1.20.3 gstreamer0.10-0.10.36nb20 gstreamer1-1.20.3
 gtk-doc-1.32nb10 gtk2+-2.24.33nb6 gtk3+-3.24.34 gtkmm-2.24.5nb16
 gtkmm3-3.24.5nb3 gtksourceview2-2.10.5nb46 gtksourceview4-4.8.0nb5
 gupnp-1.0.3nb18 gupnp-igd-0.2.5nb13 hal-info-20091130nb10
 harfbuzz-4.4.1 harfbuzz-icu-4.4.1 help2man-1.49.2nb1 hunspell-1.7.0nb7
 hyphen-2.8.8nb5 ibus-1.5.26nb3 ibus-anthy-1.5.6nb5
 icon-naming-utils-0.8.90nb10 inkscape-1.2.1 intltool-0.51.0nb7
 itstool-2.0.7nb1 jemalloc-5.2.1nb4 json-glib-1.6.2nb2
 jwm-2.4.2 kdelibs4-4.14.38nb28 kdepimlibs4-4.14.10nb35
 latexmk-463bnb4 lcms2-2.12nb1 ldb-2.5.1 libLLVM-13.0.1nb1
 libabw-0.1.3nb13 libaom-3.4.0 libbaloo4-4.14.3nb30 libcdio-2.1.0nb5
 libcdio-paranoia-2.0.1nb3 libcups-2.4.2nb1 libdazzle-3.38.0nb5
 libdbusmenu-glib-12.10.2nb16 libdbusmenu-gtk3-12.10.2nb25 libffi-3.4.2nb3
 libfreehand-0.1.2nb14 libgee-0.20.3nb7 libgtop-2.28.4nb21
 libgweather-40.0nb7 libhandy-1.5.91nb2 libical-3.0.14nb2 libidn-1.41
 libidn2-2.3.3 liblangtag-0.6.4 libmikmod-3.3.11.1nb10 libnice-0.1.16nb11
 libnotify-0.7.12nb1 libogg-1.3.5nb1 libpurple-2.14.10 libreoffice-7.3.3.2nb2
 librsvg-2.54.4 libsecret-0.20.4nb6 libsixel-1.8.6nb8 libtool-base-2.4.6nb4
 libuv-1.44.2 libva-2.15.0 libvisio-0.1.7nb16 libvpx-1.12.0
 libwebp-1.2.3 libwmf-0.2.8.4nb22 libwpg-0.3.3nb8 libxfce4gui-4.10.0nb20
 libxkbcommon-1.4.1 libxslt-1.1.34nb9 libzip-1.9.2 lintpkgsrc-4.98nb1
 llvm-13.0.1nb2 lua54-5.4.4 lua54-alt-getopt-0.8.0 luatex-1.15.0nb1
 m4-1.4.19nb1 mate-1.24.1nb2 mate-settings-daemon-1.24.2nb4
 mate-terminal-1.24.1nb3 meson-0.63.0 mkvtoolnix-69.0.0
 mlterm-3.9.2nb4 mm-common-1.0.4nb1 mozilla-rootcerts-1.0.20220614
 mozilla-rootcerts-openssl-2.8 mozjs60-60.8.0nb8 mozjs78-78.15.0nb3
 mozo-1.24.1nb2 mpg123-1.30.1nb1 mpich-3.2.1nb9 mpv-0.34.1nb8
 mupdf-1.20.0 mypaint-brushes1-1.3.1 mysql-client-5.7.38nb1
 mythes-1.2.4nb3 nasm-2.15.05nb2 ncurses-6.3nb1 neon-0.32.2nb1
 netpbm-10.86.25nb3 nettle-3.8 nghttp2-1.48.0 nginx-1.22.0nb5
 ninja-build-1.11.0 nkf-2.15nb4 nodejs-18.6.0 nono-0.4.0
 nspr-4.34nb1 nss-3.81 openal-soft-1.22.2 openjdk8-1.8.332
 openjpeg-2.5.0 osabi-NetBSD-9.99.99 p5-Archive-Zip-1.68nb2
 p5-Authen-SASL-2.16nb10 p5-Business-ISBN-3.006nb1
 p5-Business-ISBN-Data-20210112.006nb1 p5-CDDB_get-2.28nb11
 p5-Digest-HMAC-1.04nb12 p5-Email-Valid-1.202nb6 p5-Error-0.17029nb3
 p5-ExtUtils-Depends-0.8001nb1 p5-ExtUtils-PkgConfig-1.16nb6
 p5-File-Slurp-Tiny-0.004nb7 p5-GSSAPI-0.28nb14 p5-IO-CaptureOutput-1.1105nb3
 p5-IO-Socket-INET6-2.73nb1 p5-IO-Socket-SSL-2.072nb1 p5-JSON-4.05nb1
 p5-Locale-libintl-1.32nb2 p5-MP3-Info-1.26nb5 p5-MailTools-2.21nb3
 p5-Module-Build-0.42310nb3 p5-Mozilla-CA-20211001nb1 p5-Net-3.13nb2
 p5-Net-DNS-1.33nb1 p5-Net-Domain-TLD-1.75nb6 p5-Net-IP-1.26nb10
 p5-Net-LibIDN-0.12nb14 p5-Net-SMTP-SSL-1.04nb6 p5-Net-SSLeay-1.90nb2
 p5-Parse-Yapp-1.21nb5 p5-SUPER-1.20190531nb3 p5-Scalar-List-Utils-1.60nb1
 p5-Socket6-0.29nb4 p5-Sub-Identify-0.14nb6 p5-Sub-Uplevel-0.2800nb6
 p5-Test-Exception-0.43nb7 p5-Test-Needs-0.002009nb1 p5-Test-NoWarnings-1.06nb1
 p5-Test-Warn-0.36nb5 p5-TimeDate-2.33nb2 p5-Tree-DAG_Node-1.32nb1
 p5-URI-5.10nb1 p5-XML-NamespaceSupport-1.12nb6 p5-XML-Parser-2.46nb2
 p5-XML-SAX-1.02nb2 p5-XML-SAX-Base-1.09nb6 p5-XML-SAX-Expat-0.51nb8
 p5-XML-Simple-2.25nb5 p5-gettext-1.07nb7 p5-glib2-1.3293nb3
 p5-inc-latest-0.500nb7 pango-1.50.8 pangomm-2.46.2nb1 perl-5.36.0
 phonon-4.10.3nb11 php-7.4.30 php74-curl-7.4.30nb12 php74-fpm-7.4.30nb9
 php74-gd-7.4.30nb2 php74-iconv-7.4.30 php74-intl-7.4.30nb8
 php74-json-7.4.30 php74-mbstring-7.4.30 php74-owncloud-10.9.1nb2
 php74-pdo-7.4.30 php74-pdo_sqlite-7.4.30nb8 php74-posix-7.4.30
 php74-sqlite3-7.4.30nb8 php74-zip-7.4.30nb7 php74-zlib-7.4.30nb1
 pkgdepgraph-2.8nb11 pkgdiff-1.10nb1 podofo-0.9.6nb3 policykit-0.9nb32
 polkit-0.120nb4 poppler-22.07.0 poppler-cpp-22.07.0 poppler-glib-22.07.0nb1
 poppler-includes-22.07.0 poppler-utils-22.07.0nb1
 portaudio-190600.20161030nb11 potrace-1.16 protobuf-3.21.3 psutils-1.17nb12
 pulseaudio-16.1 py27-gobject-2.28.7nb4 py310-OpenSSL-21.0.0nb1
 py310-Socks-1.7.1nb1 py310-alabaster-0.7.12nb1 py310-anytree-2.8.0nb1
 py310-atomicwrites-1.4.1 py310-babel-2.9.1nb2 py310-cElementTree-3.10.5
 py310-cairo-1.21.0 py310-certifi-2021.10.8nb1 py310-cffi-1.15.1
 py310-chardet-5.0.0 py310-charset-normalizer-2.0.12 py310-cparser-2.21nb1
 py310-cryptodome-3.15.0 py310-cryptography-37.0.4 py310-cython-0.29.30
 py310-dbus-1.2.18nb1 py310-dns-1.16.0nb2 py310-docutils-0.17.1nb1
 py310-ecdsa-0.17.0nb1 py310-expat-3.10.5 py310-gobject3-3.42.0
 py310-gyp-0.1pre20210830.d6c5dd51dc3a60bf4ff32a5256713690a1a10376nb1
 py310-idna-2.10nb1 py310-imagesize-1.3.0nb1 py310-iso8601-1.0.2nb1
 py310-jinja2-3.1.2 py310-libxml2-2.9.14 py310-linecache2-1.0.0nb2
 py310-lxml-4.9.1 py310-mako-1.1.6nb2 py310-markdown-3.2.2nb2
 py310-markupsafe-2.1.1 py310-numpy-1.22.4nb2 py310-packaging-21.3nb1
 py310-pbr-5.8.1 py310-pip-22.1.2 py310-pygments-2.12.0
 py310-pyparsing-3.0.9 py310-pytz-2022.1 py310-requests-2.28.1
 py310-roman-3.3nb2 py310-scour-0.38.2nb3 py310-serial-3.5nb2
 py310-setuptools-63.2.0 py310-setuptools_scm-6.4.2 py310-six-1.16.0nb1
 py310-snowballstemmer-2.2.0nb1 py310-sphinx-4.5.0
 py310-sphinxcontrib-applehelp-1.0.2nb1 py310-sphinxcontrib-devhelp-1.0.2nb1
 py310-sphinxcontrib-htmlhelp-2.0.0nb1 py310-sphinxcontrib-jsmath-1.0.1nb1
 py310-sphinxcontrib-qthelp-1.0.3nb1
 py310-sphinxcontrib-serializinghtml-1.1.5nb1
 py310-sqlite3-3.10.5nb22 py310-tomli-2.0.1 py310-traceback2-1.4.0nb1
 py310-urllib3-1.26.10 py39-pyparsing-3.0.9 python310-3.10.5nb1
 python39-3.9.13nb1 qmmp-1.5.1nb8 qr-code-generator-1.8.0
 qt4-libs-4.8.7nb29 qt4-qdbus-4.8.7nb8 qt4-tools-4.8.7nb9
 qt5-qtbase-5.15.5nb1 qt5-qtdeclarative-5.15.5 qt5-qtlocation-5.15.5
 qt5-qtmultimedia-5.15.5nb1 qt5-qtsensors-5.15.5 qt5-qtserialport-5.15.5
 qt5-qtsvg-5.15.5 qt5-qttools-5.15.5nb1 qt5-qtwebchannel-5.15.5
 qt5-qtwebsockets-5.15.5 qt5-qtx11extras-5.15.5 qt5-qtxmlpatterns-5.15.5
 rarian-0.8.1nb10 rclone-1.58.1nb1 redland-1.0.17nb33
 rhash-1.4.3 rip-1.07nb10 ruby27-gtk2-3.4.3nb2 ruby27-moneta-1.5.1
 ruby27-nokogiri-1.13.6 rust-1.60.0nb1 samba-4.16.3 scim-1.4.17nb3
 scribus-1.4.8nb14 seamonkey-2.53.10nb5 speex-1.2.1 speexdsp-1.2.1
 spidermonkey52-52.7.4nb15 sqlite-2.8.17nb3 sqlite3-3.39.2
 strigi-0.7.8nb47 sudo-1.9.11p3 swig-1.3.38nb4 t1lib-5.1.2nb7
 talloc-2.3.4nb1 tcl-8.6.12nb3 tcsh-6.24.01nb1 tdb-1.4.7nb1
 telepathy-glib-0.24.1nb25 tevent-0.12.1 tex-babel-3.74
 tex-cjk-gs-integrate-20210625.0nb1 tex-fancyhdr-4.0.3
 tex-ptex-fontmaps-20210625.0nb1 tex-texlive-scripts-2022nb1
 tex-texlive.infra-2022nb1 texi2html-5.0nb11 tiff-4.4.0
 tigervnc-1.12.0.1.20.13nb3 urw-fonts-2.0nb1 vala-0.56.2nb1
 vte3-0.68.0nb5 w3m-0.5.3.0.20220429 waf-2.0.24nb1 wavpack-5.5.0
 wget-1.21.3nb1 wxGTK30-3.0.5.1nb7 x264-devel-20191217nb3
 xapian-1.4.20 xfce4-conf-4.16.0nb2 xfce4-exo-4.16.4nb1
 xfce4-mixer-4.11.0nb20 xfce4-mousepad-0.5.10 xfce4-orage-4.16.0nb2
 xfce4-panel-4.16.4nb1 xfce4-settings-4.16.3 xfce4-terminal-1.0.4
 xfce4-tumbler-4.16.0nb4 xfce4-xarchiver-0.5.4.16nb1 xkeyboard-config-2.34nb1
 xscreensaver-6.04nb2 youtube-dl-20211217nb4 zenity-3.41.0nb2
 zsh-5.9nb1

System Updates:
 https://github.com/ebijun/NetBSD/commit/7f58ddcde0b04631e3c656899cf6dd6a8aa51408
 https://github.com/ebijun/NetBSD/commit/1a7a7b71a209c35149f05d4cf5552f75b72af9a1

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 9.99.99 (GENERIC64) #0: Tue Jul 26 20:08:56 UTC 2022  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