Port-arm archive

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

pinebook status update (20240229)



NetBSD Arm Bootable Images: NetBSD9/NetBSD10/NetBSD-current
 https://www.armbsd.org

Update:
 firefox-123.0
 libreoffice-7.6.4.1nb2
 mate-1.26.1nb8
 mlterm-3.9.3nb7

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

sysinfo:
 bind-9.18.24 bozohttpd-20240126 gzip-20240203 libm-0.14
 sh-20220122-20240226231112Z tzdata-2024agtz unbound-1.19.1
 
pkgsrc:
 ImageMagick-7.1.1.28 SDL-1.2.15nb43 SDL2-2.30.0 SDL2_mixer-2.0.4nb14
 abseil-20240116.1 alsa-lib-1.2.11 asunder-3.0.1 atril-1.26.2 attica-qt5-5.114.0
 audacious-plugins-4.1nb31 autoconf-archive-2023.02.20 babl-0.1.108 cmake-3.28.3
 cmark-0.31.0 cmus-2.10.0nb7 curl-8.6.0 dav1d-1.4.0 dos2unix-7.5.2
 enchant2-2.6.7 exiv2-0.28.2 extra-cmake-modules-5.114.0 ffmpeg2-2.8.20nb16
 ffmpeg3-3.4.11nb18 ffmpeg4-4.4.4nb9 ffmpeg5-5.1.4nb4 ffmpeg6-6.1.1nb3
 ffmpegthumbnailer-2.2.2nb6 firefox-123.0 firefox-l10n-123.0 fluidsynth-2.3.4nb1
 gdbus-codegen-2.78.4 gegl-0.4.48 gettext-0.22.5 gettext-asprintf-0.22.5
 gettext-lib-0.22.5 gettext-m4-0.22.5 gettext-tools-0.22.5 git-base-2.44.0
 glib2-2.78.4 glib2-tools-2.78.4 glm-1.0.0 gnupg2-2.4.4 go-1.21.7 go120-1.20.14
 go121-1.21.7 gst-plugins1-bad-1.22.10 gst-plugins1-base-1.22.10
 gst-plugins1-good-1.22.10nb1 gstreamer1-1.22.10 gtk2+-2.24.33nb17 gtk3+-3.24.41
 gtk4-4.12.5 imath-3.1.10 imlib2-1.9.1nb5 inih-58 iso-codes-4.16.0 jasper-4.2.1
 karchive-5.114.0 kauth-5.114.0 kbookmarks-5.108.0nb4 kcodecs-5.114.0
 kcompletion-5.114.0 kconfig-5.114.0 kconfigwidgets-5.108.0nb5
 kcoreaddons-5.114.0 kcrash-5.114.0 kdbusaddons-5.114.0
 kdesignerplugin-5.108.0nb4 kdewebkit-5.108.0nb4 kfilemetadata-4.14.3nb74
 kglobalaccel-5.108.0nb4 kguiaddons-5.114.0 ki18n-5.114.0 kiconthemes-5.108.0nb5
 kio-5.108.0nb4 kitemmodels-5.114.0 kitemviews-5.114.0 kjobwidgets-5.114.0
 knotifications-5.108.0nb6 kparts-5.108.0nb4 kplotting-5.114.0
 ktextwidgets-5.108.0nb5 kwallet-5.108.0nb5 kwidgetsaddons-5.114.0
 kwindowsystem-5.114.0 kxmlgui-5.108.0nb5 libaom-3.8.1 libcares-1.27.0
 libffi-3.4.6 libgpg-error-1.48 libidn-1.42 libidn2-2.3.7 libimagequant-4.3.0
 libixion-0.19.0 libksba-1.6.6 libmikmod-3.3.11.1nb13 libmspack-0.10.1alpha
 libpaper-2.1.3 libproxy-0.5.4 libreoffice-7.6.4.1nb2 libunistring-1.2
 libunwind-16.0.6 libusb1-1.0.27 libuv-1.48.0 libvpx-1.14.0 libxfce4ui-4.18.5
 libxfce4util-4.18.2 libxml2-2.12.4 libxslt-1.1.39 lmdb-0.9.32 lzip-1.24
 mate-1.26.1nb8 mate-panel-1.26.4nb1 mate-settings-daemon-1.26.1nb5 md4c-0.5.2
 meson-1.3.2 mkvtoolnix-82.0nb1 mlterm-3.9.3nb7 mozilla-rootcerts-1.0.20240214
 mozilla-rootcerts-openssl-2.14 mpg123-1.32.5 mpv-0.37.0nb2 neon-0.33.0
 nghttp2-1.59.0 nghttp3-1.2.0 nginx-1.24.0nb17 ngtcp2-1.3.0 nodejs-21.6.2
 nono-0.6.4 npth-1.7 nss-3.98 openal-soft-1.23.1nb3 openexr-3.2.2 openjpeg-2.5.1
 orc-0.4.37 orcus-0.19.2 oxygen-icons-5.114.0 p5-Capture-Tiny-0.48nb6
 p5-Email-Valid-1.204 p5-IO-Socket-SSL-2.085 p5-LWP-Protocol-https-6.13
 p5-Net-DNS-1.44 p5-URI-5.27 p5-libwww-6.76 pciutils-3.11.1 pcre2-10.43
 phonon-4.10.3nb17 phonon-qt5-4.11.1nb18 pkgconf-2.1.1 pluma-1.26.1nb6
 png-1.6.43 poppler-24.02.0 poppler-cpp-24.02.0 poppler-includes-24.02.0
 poppler-utils-24.02.0 protobuf-25.3 pulseaudio-17.0 py-cairo-shared-1.26.0
 py311-OpenSSL-24.0.0 py311-cairo-1.26.0 py311-certifi-2024.2.2
 py311-cryptography-42.0.5 py311-dns-2.6.1 py311-glad2-2.0.5
 py311-libxml2-2.12.4 py311-libxslt-1.1.39 py311-mako-1.3.2
 py311-markupsafe-2.1.5 py311-numpy-1.26.4 py311-pdf-4.0.2 py311-pip-24.0
 py311-pluggy-1.4.0 py311-puremagic-1.21 py311-pytz-2024.1
 py311-setuptools-69.1.1 py311-typing-extensions-4.10.0 py311-urllib3-2.2.1
 python311-3.11.8 qalculate-4.9.0nb1 qmmp-1.6.5nb6 qt5-qtmultimedia-5.15.12nb1
 qt5-qtscript-5.15.12nb1 qt5-qtspeech-5.15.12nb1 qt5-qttools-5.15.12nb1
 qt5-qtwebkit-5.212.0.alpha4nb25 qt6-qtbase-6.6.2 qt6-qtdeclarative-6.6.2
 qt6-qtlanguageserver-6.6.2 qt6-qtmultimedia-6.6.1nb2 qt6-qtquick3d-6.6.2
 qt6-qtquicktimeline-6.6.2 qt6-qtshadertools-6.6.2 qt6-qtsvg-6.6.2
 rclone-1.65.0nb2 ruby31-native-package-installer-1.1.9 samba-4.19.5
 seamonkey-2.53.16nb11 solid-5.114.0 sonnet-5.114.0 sqlite3-3.45.1 taglib-2.0
 talloc-2.4.2 tdb-1.4.10 tevent-0.16.1 tex-babel-24.2 tex-colortbl-1.0g
 tex-fancyvrb-4.5c tex-fontspec-2.9a tex-haranoaji-20231009 tex-hypdoc-1.19
 tex-hyperref-7.01h tex-japanese-otf-20231010 tex-l3backend-2023.70027
 tex-l3kernel-2024.70027 tex-l3packages-2023.69992 tex-latex-20231101.1
 tex-latex-base-dev-20240601pre1 tex-latex-firstaid-dev-1.1b tex-ltxcmds-1.26
 tex-lualibs-2.76 tex-luaotfload-3.27 tex-modes-4.3 tex-titlesec-2.16
 tex-tools-20231101c tex-unicode-data-1.17 vulkan-headers-1.3.275
 w3m-0.5.3.0.20230121nb3 webkit-gtk-2.36.8nb10 wxGTK32-3.2.4nb1 x264-20231001
 xfce4-garcon-4.18.2 xfce4-mousepad-0.6.2 xfce4-terminal-1.1.2nb1
 xfce4-tumbler-4.18.2nb2 xkeyboard-config-2.41 xnp2-0.86nb23
 xscreensaver-6.08nb2 xterm-390 xvkbd-4.1

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.10 (GENERIC64) #0: Mon Feb 26 23:11:12 UTC 2024  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