Port-arm archive

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

pinebook status update (20230721)



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

Update:
- NetBSD-10.99.6
- gcc-10.5.0
- firefox-115.0.2
- rust-1.70.0

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:
 bind-9.16.42 dhcpcd-10.0.2 g++-10.5.0 gcc-10.5.0 NetBSD-10.99.6
 sh-20220122-20230720132847Z userland-NetBSD-10.99.6/evbarm

pkgsrc:
 ImageMagick-7.1.1.12 SDL2-2.28.1 a2ps-4.15.5 babl-0.1.106
 cbindgen-0.24.6nb1 cups-base-2.4.6 editline-3.1.20221030nb2
 estd-0.11nb4 exiv2-0.28.0 firefox-115.0.2 firefox-l10n-115.0.2
 flac-1.4.3 fluidsynth-2.3.3 fossil-2.22 freetype2-2.13.1
 gcc10-10.5.0 gdbus-codegen-2.76.4 gegl-0.4.46 gettext-0.22
 gettext-asprintf-0.22 gettext-lib-0.22nb1 gettext-m4-0.22
 gettext-tools-0.22 gexiv2-0.14.1nb2 ghostscript-agpl-10.01.2
 gimp-2.10.34 glib-networking-2.76.1 glib2-2.76.4 glib2-tools-2.76.4
 glibmm-2.66.6 gnupg2-2.4.3 go-1.20.6 go118-1.18.10nb1
 go119-1.19.11nb1 go120-1.20.6nb1 gobject-introspection-1.76.1
 gpgme-1.21.0 graphviz-8.1.0 gst-plugins1-base-1.22.4
 gstreamer1-1.22.4 icu-73.2 imake-1.0.9nb1 inih-53
 lcms2-2.15 libLLVM-13.0.1nb3 libassuan-2.5.6 libcups-2.4.6nb1
 libde265-1.0.12 libgsf-1.14.50 libheif-1.16.2nb1 libksba-1.6.4
 libpaper-2.1.1 libproxy-0.5.3 libpurple-2.14.12nb2
 libuv-1.46.0 libzip-1.10.0 lmdb-0.9.31 mkvtoolnix-78.0
 mm-common-1.0.5 mupdf-1.22.2 nghttp2-1.55.1 nghttp3-0.13.0
 nginx-1.24.0nb8 ngtcp2-0.17.0 nodejs-20.4.0nb1 nss-3.91
 openexr-3.1.9 osabi-NetBSD-10.99.6 p11-kit-0.25.0
 p5-Archive-Zip-1.68nb3 p5-Authen-SASL-2.16nb12 p5-Business-ISBN-3.006nb2
 p5-Business-ISBN-Data-20210112.006nb2 p5-CDDB_get-2.28nb12
 p5-Digest-HMAC-1.04nb13 p5-Email-Valid-1.203nb1 p5-Error-0.17029nb4
 p5-ExtUtils-Depends-0.8001nb2 p5-ExtUtils-PkgConfig-1.16nb7
 p5-File-Slurp-Tiny-0.004nb8 p5-GSSAPI-0.28nb15
 p5-IO-CaptureOutput-1.1105nb4 p5-IO-Socket-INET6-2.73nb2
 p5-IO-Socket-SSL-2.081nb1 p5-IPC-Run3-0.048nb9 p5-JSON-4.10nb1
 p5-Locale-libintl-1.33nb1 p5-MP3-Info-1.26nb6 p5-MailTools-2.21nb4
 p5-Module-Build-0.42340nb1 p5-Mozilla-CA-20221114nb1 p5-Net-3.15nb1
 p5-Net-DNS-1.38nb1 p5-Net-Domain-TLD-1.75nb7 p5-Net-IP-1.26nb11
 p5-Net-LibIDN-0.12nb15 p5-Net-SMTP-SSL-1.04nb7 p5-Net-SSLeay-1.92nb1
 p5-Parse-Yapp-1.21nb6 p5-SUPER-1.20190531nb4
 p5-Scalar-List-Utils-1.63nb1 p5-Socket6-0.29nb5
 p5-Sub-Identify-0.14nb7 p5-Sub-Uplevel-0.2800nb7 p5-Test-Exception-0.43nb8
 p5-Test-Needs-0.002010nb1 p5-Test-NoWarnings-1.06nb2 p5-Test-Warn-0.37nb1
 p5-TimeDate-2.33nb3 p5-Tree-DAG_Node-1.32nb2 p5-URI-5.19nb1
 p5-XML-NamespaceSupport-1.12nb7 p5-XML-Parser-2.46nb3 p5-XML-SAX-1.02nb3
 p5-XML-SAX-Base-1.09nb7 p5-XML-SAX-Expat-0.51nb9 p5-XML-Simple-2.25nb6
 p5-gettext-1.07nb8 p5-glib2-1.3293nb4 p5-inc-latest-0.500nb8
 pango-1.50.14 perl-5.38.0 png-1.6.40 poppler-23.06.0 poppler-cpp-23.06.0
 poppler-glib-23.06.0 poppler-includes-23.06.0 poppler-utils-23.06.0
 py310-Pillow-10.0.0 py310-anytree-2.9.0 py310-cairo-1.24.0
 py310-charset-normalizer-3.2.0 py310-cryptography-41.0.2
 py310-cython-0.29.36 py310-importlib-metadata-6.8.0 py310-iso8601-2.0.0
 py310-lxml-4.9.3 py310-numpy-1.25.1 py310-olefile-0.46nb1 py310-pdf-3.12.0
 py310-pip-23.1.2nb1 py310-pluggy-1.2.0 py310-pspdfutils-3.0.4
 py310-pyparsing-3.1.0 py310-setuptools-68.0.0 py310-zipp-3.16.2
 qt5-qtbase-5.15.10 qt5-qtx11extras-5.15.10 rclone-1.58.1nb13
 readline-8.2nb2 ruby31-base-3.1.4nb1 ruby31-cairo-1.17.12
 ruby31-nokogiri-1.14.4 ruby31-pkg-config-1.5.2 rust-1.70.0
 samba-4.18.3 svt-av1-1.4.1 taglib-1.13.1 tcl-8.6.13 tex-amsmath-2.17o
 tex-haranoaji-20230610 tex-hyperref-7.00ynb1 tex-l3backend-2023.66896
 tex-l3kernel-2023.67294 tex-latex-20230601.0
 tex-latex-base-dev-20231101pre0 tex-platex-2023 tex-tools-2023
 tiff-4.5.1 tk-8.6.13 vala-0.56.9 vlgothic-ttf-20220612
 wayland-protocols-1.32 xapian-1.4.23 xkeyboard-config-2.39

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.6 (GENERIC64) #0: Thu Jul 20 13:28:47 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