Port-arm archive

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

pinebook status update (20221123)



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

Update:
 NetBSD-9.99.106
 clang-15.0.5
 go-1.19.3
 libreoffice-7.4.1.2nb1
 llvm-15.0.5
 nodejs-18.12.0nb1
 nono-0.4.4
 nss-3.85
 openjdk8-1.8.342nb1
 php-7.4.33
 ruby31-base-3.1.2nb3
 rust-1.64.0
 samba-4.17.2nb1
 scribus-1.4.8nb15
 sudo-1.9.12p1

Problems: 
- X application issue:
  changes between 
    from NetBSD-9.99.106-evbarm-aarch64-202211072300Z-install.img
    to   NetBSD-9.99.106-evbarm-aarch64-202211221110Z-install.img 
  can't start mate and other programs. libdrm issues? 
  backout xset,works fine.
- pinebook: 
  1. Using audio interface,rebooting.

  2. Can't see audio interface.aiomixer do nothing.
  http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=57030
  dmesg diff:
   https://github.com/ebijun/NetBSD/commit/7f58ddcde0b04631e3c656899cf6dd6a8aa51408
  -> fixed: 
      update sys/arch/arm/sunxi/sun8i_codec.c r1.10 
  
- pinebook pro
  on X, Can't move mouse cursor,keeping left side of screen.
  http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=57031
  dmesg diff:
   https://github.com/ebijun/NetBSD/commit/1a7a7b71a209c35149f05d4cf5552f75b72af9a1
  -> fixed: -current: Fri Nov  4 19:46:55 UTC 2022
     src/sys/dev/usb: uhidev.c 

- 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:
 NetBSD-9.99.106 sh-20220122-20221122002552Z
 tzdata-2022f userland-NetBSD-9.99.106/evbarm

pkgsrc:
 ImageMagick-7.1.0.51nb1 ImageMagick6-6.9.11.7nb15 SDL2-2.24.1nb1
 ap24-php74-7.4.33nb8 apache-2.4.54nb2 audacious-plugins-4.1nb16
 bash-5.2.9 clang-15.0.5 cmake-3.25.0 cups-base-2.4.2nb5
 ebook-tools-0.2.2nb16 emacs26-26.3nb21 farstream-0.2.9nb12
 ffmpeg2-2.8.20nb5 ffmpeg3-3.4.11nb5 ffmpeg4-4.4.3nb1
 ffmpeg5-5.1.2nb1 gdk-pixbuf2-2.42.10 ghostscript-9.05nb28
 ghostscript-agpl-9.56.1nb3 git-base-2.38.1nb2
 glib-networking-2.72.1nb1 gmake-4.4 gnupg2-2.2.40nb1
 gnutls-3.7.8nb1 go-1.19.3 go118-1.18.8 go119-1.19.3
 gobject-introspection-1.70.0nb3 graphviz-6.0.2nb1 gsed-4.9
 gtk2+-2.24.33nb7 gtk3+-3.24.34nb3 kfilemetadata-4.14.3nb64
 lcms2-2.14 libLLVM-13.0.1nb2 libXft-2.3.7 libbluray-1.3.3nb1
 libcmis-0.5.2nb18 libcups-2.4.2nb3 libde265-1.0.9
 libidn2-2.3.4 libimagequant-2.17.0 libnice-0.1.16nb12
 libnumbertext-1.0.11 liboauth-1.0.3nb22 libpurple-2.14.10nb1
 libreoffice-7.4.1.2nb1 libsixel-1.8.6nb9 llvm-15.0.5
 meson-0.64.0 mkvtoolnix-72.0.0 mpfr-4.1.1 mpg123-1.31.1
 mpv-0.35.0 mujs-1.3.0 mupdf-1.20.3nb1 mysql-client-5.7.40
 ncursesw-6.3nb1 neon-0.32.4nb2 nghttp2-1.51.0 nginx-1.22.1nb2
 nodejs-18.12.0nb1 nono-0.4.4 nss-3.85 openjdk8-1.8.342nb1
 orc-0.4.33 osabi-NetBSD-9.99.106 php-7.4.33 php74-curl-7.4.33nb13
 php74-fpm-7.4.33nb9 php74-gd-7.4.33nb2 php74-iconv-7.4.33
 php74-intl-7.4.33nb8 php74-json-7.4.33 php74-mbstring-7.4.33
 php74-pdo-7.4.33 php74-pdo_sqlite-7.4.33nb8 php74-posix-7.4.33
 php74-sqlite3-7.4.33nb8 php74-zip-7.4.33nb8 php74-zlib-7.4.33nb1
 pkgdiff-1.10nb2 podofo-0.9.6nb4 protobuf-3.21.9 pugixml-1.13
 pulseaudio-16.1nb2 py310-certifi-2022.9.24 py310-charset-normalizer-3.0.1
 py310-cryptography-38.0.3 py310-expat-3.10.8nb1 py310-iso8601-1.1.0
 py310-mako-1.2.4 py310-markdown-3.4.1 py310-more-itertools-9.0.0
 py310-numpy-1.23.5 py310-pbr-5.11.0 py310-pip-22.3.1
 py310-pytz-2022.6 py310-setuptools-65.6.0 py310-setuptools_scm-7.0.5nb2
 py310-sphinx-5.3.0 py310-zipp-3.10.0 qalculate-3.5.0nb14
 qmmp-1.5.1nb11 qt4-libs-4.8.7nb30 qt5-qtbase-5.15.7
 qt5-qtdeclarative-5.15.7 qt5-qtlocation-5.15.7 qt5-qtmultimedia-5.15.7
 qt5-qtsensors-5.15.7 qt5-qtserialport-5.15.7 qt5-qtsvg-5.15.7
 qt5-qttools-5.15.7 qt5-qtwebchannel-5.15.7 qt5-qtwebsockets-5.15.7
 qt5-qtx11extras-5.15.7 qt5-qtxmlpatterns-5.15.7 raptor2-2.0.15nb25
 rasqal-0.9.33nb26 rclone-1.58.1nb6 redland-1.0.17nb34
 ruby31-base-3.1.2nb3 rust-1.64.0 samba-4.17.2nb1 scribus-1.4.8nb15
 seamonkey-2.53.13nb3 spdlog-1.11.0 sqlite3-3.40.0 sudo-1.9.12p1
 taglib-1.13 tidy-5.8.0 tigervnc-1.12.0.1.20.13nb5 vorbis-tools-1.4.2nb5
 vte3-0.68.0nb8 wget-1.21.3nb2 xfce4-thunar-4.16.11nb1
 xfce4-tumbler-4.16.1nb1 xterm-375 zsh-5.9nb2

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 9.99.106 (GENERIC64) #0: Tue Nov 22 00:25:52 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