Try this dtb https://wsi.li/dl/CsKMWq9275PjmfJfL/
It has the same name but is the one that works on my x96 air P3
For wifi you have to install @TheMojoMan rtl8822cs package
sudo pacman -S base-devel git bc dkms linux-vim-headers
sudo pacman -S dkms-rtl8822cs
I could not complete these commands because it complained the root partition on the 8GB micro SD card I was using was full.
I did not have to hand a 16GB micro SD card so used a 32GB SD card instead.
So same as beforeâŚ
-
Download the linux-vim image by following the installation instructions from âspikerguy threadâ Once you have the image on the micro SD cardâŚ
-
Copy the new uboot.ext to the root of the micro SD card.
-
Rename the dtb file downloaded from âwesenditâ (your âdante6913â last link above) to âmeson-sm1-x96-max-plus-100-vim2.dtbâ. Reason: As there is another dtb file out there with the same name, I do this to avoid any confusion with that one.
-
Copy the renamed âmeson-sm1-x96-max-plus-100-vim2.dtbâ to /dtbs/amlogic on the micro SD card.
-
Edit /extlinux/extlinux.conf to use the âmeson-sm1-x96-max-plus-100-vim2.dtbâ
(example shown below)
LABEL Manjaro
LINUX /Image
INITRD /initramfs-linux.img
FDT /dtbs/amlogic/meson-sm1-x96-max-plus-100-vim2.dtb
APPEND root=LABEL=ROOT_MNJRO rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 bootsplash.bootfile=bootsplash-themes/manjaro/bootsplash
-
Safely eject the micro SD card from Laptop/PC.
-
Remove the power from the X96 Air P3 box and insert the micro SD card.
-
Use the toothpick method to boot the X96 Air P3 box.
-
Continue with the installation instructions from âspikerguyâ
-
When prompted for your pre-configured password to login, change the desktop environment (DE) from âplasma waylandâ to âplasmaâ (bottom left of the screen) This only needs to be done once. Failure to do this will result in a black screen after login.
-
login with your pre-configured password. When you get to the âplasmaâ DE front screen you should notice many Manjaro News pop-up items appearing on the screen. This means ethernet is working albeit at 100mb/s. Sound, Bluetooth and Wireless are not working. You will also be told there are many updates available for this kernel.
-
Open a terminal and type âuname âaâ output example shown below
Linux x96Air 5.9.0-2-MANJARO-ARM #1 SMP PREEMPT Sat Nov 14 22:06:16 +03 2020 aarch64 GNU/Linux
- Within the terminal type âsudo pacman -Ss linux | grep installedâ example output shown belowâŚ
archlinux-keyring 20201028-1 [installed]
core/archlinuxarm-keyring 20140119-1 [installed]
core/base 2-2 [installed]
core/hdparm 9.58-3 [installed]
core/iptables 1:1.8.6-1 [installed]
core/keyutils 1.6.3-1 [installed]
core/kmod 27-2 [installed]
core/libaio 0.3.112-2 [installed]
core/linux-api-headers 5.8-1 [installed]
core/linux-firmware 20201023.dae4b4c-1 [installed]
core/linux-vim 5.9.0-2 [installed]
core/man-pages 5.09-1 [installed]
core/manjaro-hotfixes 2018.08-6 [installed]
core/manjaro-system 20200428-1 [installed]
core/mdadm 4.1-2 [installed]
core/pacman-mirrors 4.16.5-1 [installed]
core/util-linux 2.36-4 [installed]
core/util-linux-libs 2.36-4 [installed]
extra/alsa-lib 1.2.4-3 [installed]
extra/alsa-utils 1.2.4-2 [installed]
extra/archlinux-appstream-data 20200720-1.1 [installed]
extra/avahi 0.8+15+ge8a3dd0-1 [installed]
extra/libiec61883 1.2.0-6 [installed]
extra/libimobiledevice 1.3.0-1 [installed]
extra/libraw1394 2.1.2-3 [installed]
extra/libva 2.9.1-0.1 [installed]
extra/libxshmfence 1.3-2 [installed]
extra/manjaro-settings-manager 0.5.6-6 [installed]
extra/manjaro-settings-manager-kcm 0.5.6-6 [installed]
extra/ndctl 70.1-1 [installed]
Submit a list of installed packages to the Arch Linux project
extra/v4l-utils 1.20.0-1 [installed]
community/i2c-tools 4.1-5 [installed]
community/mntray 1.1.3-1 [installed]
community/tlp 1.3.1-2 [installed]
This tells us that the âlinux-vim 5.9.0-2â kernel is installed. So lets update the kernel.
-
Within the âplasmaâ DE click on the update icon (Circle with up arrow in bottom right of screen), click on the âupdates tabâ in the new pop-up window and click on âapplyâ. The updates will begin and will take about 30 to 45 minutes to complete. Once complete we will have to reboot the X996 Air P3 box to install the new updated kernel. BEFORE WE REBOOT.
-
Open a terminal and edit /boot/extlinux/extlinux.conf (we are now editing a file on the micro SD card). You will see the update has changed that file to use a âkhardas.vimâ dtb file (I canât remember exactly which khardas.vim dtb file). Edit the file to use âmeson-sm1-x96-max-plus-100-vim2.dtbâ and save as described in point 5 above.
-
Within a terminal, type the command âsudo rebootâ to reboot the X96Air P3 box.
-
RESULT: Ethernet works, Sound, Bluetooth and Wireless are not working.
-
Once the reboot has completed and you are back in the plasma DE main screen â open a terminal and type in the command âuname âaâ output shown below.
Linux x96Air 5.11.4-1-MANJARO-ARM #1 SMP PREEMPT Wed Mar 10 16:56:03 +03 2021 aarch64 GNU/Linux
- type in the command âsudo pacman -Ss linux | grep installedâ output shown below.
core/archlinux-keyring 20210110-1 [installed]
core/archlinuxarm-keyring 20140119-1 [installed]
core/base 2-2 [installed]
core/hdparm 9.60-1 [installed]
core/iptables 1:1.8.7-1 [installed]
core/keyutils 1.6.3-1 [installed]
core/kmod 28-1 [installed]
core/libaio 0.3.112-2 [installed]
core/linux-api-headers 5.10.13-1 [installed]
core/linux-firmware 20210208.b79d239-2 [installed]
core/linux-vim 5.11.4-1 [installed]
core/linux-vim-headers 5.11.4-1 [installed]
core/man-pages 5.10-1 [installed]
core/manjaro-hotfixes 2018.08-6 [installed]
core/manjaro-system 20210302-1 [installed]
core/mdadm 4.1-2 [installed]
core/pacman-mirrors 4.19.1-1 [installed]
core/util-linux 2.36.2-1 [installed]
core/util-linux-libs 2.36.2-1 [installed]
extra/alsa-lib 1.2.4-3 [installed]
extra/alsa-utils 1.2.4-2 [installed]
extra/archlinux-appstream-data 20200720-1.1 [installed]
extra/avahi 0.8+15+ge8a3dd0-3 [installed]
extra/ddcutil 1.0.1-1 [installed]
extra/libiec61883 1.2.0-6 [installed]
extra/libimobiledevice 1.3.0-3 [installed]
extra/libraw1394 2.1.2-3 [installed]
extra/libva 2.10.0-0.1 [installed]
extra/libxshmfence 1.3-2 [installed]
extra/manjaro-settings-manager 0.5.6-7 [installed]
extra/manjaro-settings-manager-kcm 0.5.6-7 [installed]
extra/ndctl 71.1-1 [installed]
Submit a list of installed packages to the Arch Linux project
extra/v4l-utils 1.20.0-1 [installed]
community/i2c-tools 4.2-1 [installed]
community/mntray 1.1.3-1 [installed]
community/tlp 1.3.1-2 [installed]
This tells us we are using the linux-vim 5.11.4-1 kernel now.
- Within a terminal type in the command âsudo pacman -S base-devel git bc dkms linux-vim-headersâ Unfortunately I did not capture the original output of this command the first time I ran it. This is the output from the second time running it.
:: There are 24 members in group base-devel:
:: Repository core
- autoconf 2) automake 3) binutils 4) bison 5) fakeroot 6) file 7) findutils 8) flex
- gawk 10) gcc 11) gettext 12) grep 13) groff 14) gzip 15) libtool 16) m4 17) make
- pacman 19) patch 20) pkgconf 21) sed 22) sudo 23) texinfo 24) which
Enter a selection (default=all):
warning: autoconf-2.71-1 is up to date â reinstalling
warning: automake-1.16.3-1 is up to date â reinstalling
warning: binutils-2.35-1 is up to date â reinstalling
warning: bison-3.7.3-1 is up to date â reinstalling
warning: fakeroot-1.25.3-2 is up to date â reinstalling
warning: file-5.39-1 is up to date â reinstalling
warning: findutils-4.8.0-1 is up to date â reinstalling
warning: flex-2.6.4-3 is up to date â reinstalling
warning: gawk-5.1.0-1 is up to date â reinstalling
warning: gcc-10.2.0-1 is up to date â reinstalling
warning: gettext-0.21-1 is up to date â reinstalling
warning: grep-3.6-1 is up to date â reinstalling
warning: groff-1.22.4-4 is up to date â reinstalling
warning: gzip-1.10-3 is up to date â reinstalling
warning: libtool-2.4.6+44+gb9b44533-14 is up to date â reinstalling
warning: m4-1.4.18-3 is up to date â reinstalling
warning: make-4.3-3 is up to date â reinstalling
warning: pacman-5.2.2-4 is up to date â reinstalling
warning: patch-2.7.6-8 is up to date â reinstalling
warning: pkgconf-1.7.3-1 is up to date â reinstalling
warning: sed-4.8-1 is up to date â reinstalling
warning: sudo-1.9.6.p1-1 is up to date â reinstalling
warning: texinfo-6.7-3 is up to date â reinstalling
warning: which-2.21-5 is up to date â reinstalling
warning: git-2.31.0-1 is up to date â reinstalling
warning: bc-1.07.1-4 is up to date â reinstalling
warning: dkms-2.8.4-1 is up to date â reinstalling
warning: linux-vim-headers-5.11.4-1 is up to date â reinstalling
resolving dependenciesâŚ
looking for conflicting packagesâŚ
Packages (28) autoconf-2.71-1 automake-1.16.3-1 bc-1.07.1-4 binutils-2.35-1 bison-3.7.3-1
dkms-2.8.4-1 fakeroot-1.25.3-2 file-5.39-1 findutils-4.8.0-1 flex-2.6.4-3
gawk-5.1.0-1 gcc-10.2.0-1 gettext-0.21-1 git-2.31.0-1 grep-3.6-1 groff-1.22.4-4
gzip-1.10-3 libtool-2.4.6+44+gb9b44533-14 linux-vim-headers-5.11.4-1 m4-1.4.18-3
make-4.3-3 pacman-5.2.2-4 patch-2.7.6-8 pkgconf-1.7.3-1 sed-4.8-1
sudo-1.9.6.p1-1 texinfo-6.7-3 which-2.21-5
Total Installed Size: 297.76 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(28/28) checking keys in keyring [################################] 100%
(28/28) checking package integrity [################################] 100%
(28/28) loading package files [################################] 100%
(28/28) checking for file conflicts [################################] 100%
(28/28) checking available disk space [################################] 100%
:: Running pre-transaction hooksâŚ
(1/1) Remove upgraded DKMS modules
==> dkms remove --no-depmod -m rtl8822cs -v 2020.11.20 -k 5.11.4-1-MANJARO-ARM
:: Processing package changesâŚ
( 1/28) reinstalling gawk [################################] 100%
( 2/28) reinstalling m4 [################################] 100%
( 3/28) reinstalling autoconf [################################] 100%
( 4/28) reinstalling automake [################################] 100%
( 5/28) reinstalling findutils [################################] 100%
( 6/28) reinstalling binutils [################################] 100%
( 7/28) reinstalling bison [################################] 100%
( 8/28) reinstalling sed [################################] 100%
( 9/28) reinstalling file [################################] 100%
(10/28) reinstalling fakeroot [################################] 100%
(11/28) reinstalling flex [################################] 100%
(12/28) reinstalling gcc [################################] 100%
(13/28) reinstalling gettext [################################] 100%
(14/28) reinstalling grep [################################] 100%
(15/28) reinstalling groff [################################] 100%
(16/28) reinstalling gzip [################################] 100%
(17/28) reinstalling libtool [################################] 100%
(18/28) reinstalling texinfo [################################] 100%
(19/28) reinstalling make [################################] 100%
(20/28) reinstalling pacman [################################] 100%
(21/28) reinstalling patch [################################] 100%
(22/28) reinstalling pkgconf [################################] 100%
(23/28) reinstalling sudo [################################] 100%
warning: directory permissions differ on /etc/sudoers.d/
filesystem: 755 package: 750
(24/28) reinstalling which [################################] 100%
(25/28) reinstalling git [################################] 100%
(26/28) reinstalling bc [################################] 100%
(27/28) reinstalling dkms [################################] 100%
(28/28) reinstalling linux-vim-headers [################################] 100%
:: Running post-transaction hooksâŚ
(1/8) Creating system user accountsâŚ
(2/8) Reloading system manager configurationâŚ
(3/8) Creating temporary filesâŚ
(4/8) Arming ConditionNeedsUpdateâŚ
(5/8) Updating module dependenciesâŚ
(6/8) Updating linux-vim module dependenciesâŚ
(7/8) Install DKMS modules
==> dkms install --no-depmod -m rtl8822cs -v 2020.11.20 -k 5.11.4-1-MANJARO-ARM
==> depmod 5.11.4-1-MANJARO-ARM
(8/8) Updating the info directory fileâŚ
- type in the command âsudo pacman -S dkms-rtl8822csâ This is the output from running it a second time.
warning: dkms-rtl8822cs-2020.11.20-1 is up to date â reinstalling
resolving dependenciesâŚ
looking for conflicting packagesâŚ
Packages (1) dkms-rtl8822cs-2020.11.20-1
Total Installed Size: 26.33 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [################################] 100%
(1/1) checking package integrity [################################] 100%
(1/1) loading package files [################################] 100%
(1/1) checking for file conflicts [################################] 100%
(1/1) checking available disk space [################################] 100%
:: Running pre-transaction hooksâŚ
(1/1) Remove upgraded DKMS modules
==> dkms remove --no-depmod -m rtl8822cs -v 2020.11.20 -k 5.11.4-1-MANJARO-ARM
:: Processing package changesâŚ
(1/1) reinstalling dkms-rtl8822cs [################################] 100%
Creating symlink /var/lib/dkms/rtl8822cs/2020.11.20/source â
/usr/src/rtl8822cs-2020.11.20
DKMS: add completed.
Kernel preparation unnecessary for this kernel. SkippingâŚ
Building module:
cleaning build areaâŚ
âmakeâ -j4 ARCH=arm64 KVER=5.11.4-1-MANJARO-ARM KSRC=/lib/modules/5.11.4-1-MANJARO-ARM/build/âŚ
cleaning build areaâŚ
Kernel cleanup unnecessary for this kernel. SkippingâŚ
DKMS: build completed.
88x2cs.ko.gz:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /usr/lib/modules/5.11.4-1-MANJARO-ARM/kernel/drivers/net/wireless/
depmodâŚ
DKMS: install completed.
:: Running post-transaction hooksâŚ
(1/2) Arming ConditionNeedsUpdateâŚ
(2/2) Install DKMS modules
==> dkms install --no-depmod -m rtl8822cs -v 2020.11.20 -k 5.11.4-1-MANJARO-ARM
==> depmod 5.11.4-1-MANJARO-ARM
/> Blockquote
To ensure the X96Air P3 box is using this patched kernel. Type the command âsudo rebootâ
At the plasma DE home screen, open a terminal and enter the command âaplay âlâ
aplay: device_list:274: no soundcards foundâŚ
type in the command âip aâ output below
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ip6tnl0@NONE: mtu 1452 qdisc noop state DOWN group default qlen 1000
link/tunnel6 :: brd :: permaddr d29b:834a:853b::
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 6a:3c:7c:9c:91:d1 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.49/24 brd 192.168.1.255 scope global dynamic noprefixroute eth0
valid_lft 81636sec preferred_lft 81636sec
inet6 fe80::1a8f:a4a6:162c:c88f/64 scope link noprefixroute
valid_lft forever preferred_lft forever
4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether ac:64:cf:4f:12:90 brd ff:ff:ff:ff:ff:ff
The wireless lan is showing âwlan0â but does not show in plasma âNetwork Managerâ so cannot configure it and unable to configure it using command line.
type in command âinxi âFzxâ output below
System: Kernel: 5.11.4-1-MANJARO-ARM aarch64 bits: 64 compiler: gcc v: 10.2.0 Console: tty 0
Distro: Manjaro ARM
Machine: Type: ARM Device System: AMedia X96 Max+ details: N/A
CPU: Info: Quad Core model: N/A variant: cortex-a55 bits: 64 type: MCP arch: ARMv8
features: Use -f option to see features bogomips: 0
Speed: 2100 MHz min/max: 100/2100 MHz Core speeds (MHz): 1: 2100 2: 2100 3: 2100
4: 2100
Graphics: Device-1: meson-g12a-mali driver: panfrost v: kernel bus ID: N/A
Device-2: meson-g12a-dw-hdmi driver: meson_dw_hdmi v: N/A bus ID: N/A
Display: server: X.org 1.20.10 driver: modesetting tty: 100x35
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio: Device-1: meson-g12a-dw-hdmi driver: meson_dw_hdmi bus ID: N/A
Device-2: axg-sound-card driver: N/A bus ID: N/A
Sound Server: ALSA v: k5.11.4-1-MANJARO-ARM
Network: Device-1: meson-axg-dwmac driver: meson8b_dwmac v: N/A port: N/A bus ID: N/A
IF: eth0 state: up speed: 100 Mbps duplex: full mac:
Device-2: pwm-clock driver: pwm_clock v: N/A port: N/A bus ID: N/A
IF-ID-1: ip6tnl0 state: down mac:
IF-ID-2: wlan0 state: down mac:
Drives: Local Storage: total: 178.37 GiB used: 6.48 GiB (3.6%)
ID-1: /dev/mmcblk1 model: SC128 size: 119.08 GiB
ID-2: /dev/mmcblk2 model: R1J58E size: 59.28 GiB
Partition: ID-1: / size: 116.93 GiB used: 6.42 GiB (5.5%) fs: ext4 dev: /dev/mmcblk1p2
ID-2: /boot size: 213.4 MiB used: 58.3 MiB (27.3%) fs: vfat dev: /dev/mmcblk1p1
Swap: ID-1: swap-1 type: zram size: 5.53 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors: System Temperatures: cpu: 69.8 C mobo: N/A
Fan Speeds (RPM): N/A
Info: Processes: 178 Uptime: 10m Memory: 3.68 GiB used: 841.0 MiB (22.3%) Init: systemd
Compilers: gcc: 10.2.0 Packages: 749 Shell: Bash v: 5.1.4 inxi: 3.1.08
It is seeing audio drivers and wireless drivers but am unable to enable or configure these devices.
END RESULT: Ethernet Works. Sound, Bluetooth and Wireless does not work.
Click on the link below to download the uboot.ext, meson-sm1-x96-max-plus-100-vim2.dtb, extlinux.conf and dmesg output files from todayâs date. The files are in the folder âX96AirP3_05-04-2021â
https://drive.google.com/drive/folders/1_sntsJqOlmwqy0edl0mQaB0bAsKU31_6?usp=sharing
@Madasafish Did you try
sudo modprobe 88x2cs
to activate the wifi driver and
sudo systemctl enable sound --now
to enable sound?
P.S.: Bluetooth is not working for this box, yet, when using linux.
Yes and all wireless networks came up. Connected to X96Air box via wireless working well. Rebooted and wireless networks still working - Thank-you and dante6913
Yes: no output, checked plasma audio, nothing there, ran alsamixer, nothing there. aplay -l still shows âŚ
aplay: device_list:274: no soundcards foundâŚ
Is this a simple fix like wireless?
dante6913 did inform about this but I am sure it wonât be long before bluetooth is working.
I noticed you have released linux-vim 5.11.11-1. Just checking whether this linux-vim 5.11.11-1 is stable with Panfrost?
Edit: Any progress with the new ffmpeg for amlogic devices?
Didnât get to test with vim3 last night will test it today.
Most likely nothing would have changed in panfrost kernel side as it is just updated version for 5.11 kernel.
New changes will be part of 5.12
Not yet no time to look into it yet. Barely getting time to maintain the pkgs itself.
@spikerguy
Install linux-vim-5.11.11-1 on GT King Pro with mesa-git (from Unstable Branch). With Panfrost Enabled encountered 2 system freeze/kernel panic (once during boot up and another just after boot up running glmark2-es2, similar to linux-vim 5.11.7-1) this is within 30 minutes.
GT King Pro (Manjaro-Arm-XFCE) runs well with Panfrost on linux-5.11.6-1 and linux-5.11.10-1, no visual artifact.
Have not tried linux-vim 5.11.11-1 with Panfrost Disabled yet.
Edit:
@spikerguy,
Manjaro-Arm-XFCE-linux-vim 5.11.11-1 Mesa 21.1.0-devel (git-ea2c47390a) (No GPU Acceleration setting).
Edited â01-panfrost.confâ to reflect NO GPU Acceleration. Linux-vim 5.11.11-1 on GT King Pro still encounter two consecutive system freeze/kernel panic during boot up. Since the kernel panic is during boot up, desktop environment setting (GPU or NO GPU acceleration) doesnât even come into play yet.
Reverting to linux-5.11.10-1 kernel which works well with Panfrost so far.
[jfl@MNJROGTKPro ~]$ glxinfo -B
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa/X.org (0xffffffff)
Device: llvmpipe (LLVM 11.1.0, 128 bits) (0xffffffff)
Version: 21.1.0
Accelerated: no
Video memory: 3771MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 3.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 11.1.0, 128 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 21.1.0-devel (git-ea2c47390a)
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 3.1 Mesa 21.1.0-devel (git-ea2c47390a)
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.1.0-devel (git-ea2c47390a)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
Hi Guys,
Good News, It seems that Vulkan Driver for Arm Devices will be supported soon.
Works on my X88 v3 pro using the meson-sm1-sei610.dtb, unfortunately like armbian it doesnât detect all memory, I modified the dtb to have the same memory value as on the original tv box firmaware but it still detecting only 2gb. Some guys say that maybe is fake ram, other show that memory ships seems to be real 4g. Not sure what is causing this.
Hello, I have a x96 mini tv box on which I managed to get the Khadas Vim2 Manjaro image running with the mainline meson-gxl-s905w-p281.dtb device tree. Things that do not work are:
- Wifi
- Audio
The wifi chipset is rtl8188f according to Androidâs dmesg, but after installing the rtl8188fu driver, which Android also seems to be using, thereâs still no wifi because linux doesnât even recognize that the board has the interface because of the dtb.
Alsamixer shows the gx-p230-q200 sound card, but the advice from TheMojoMan about configuring the AIO HDMI to I2S didnât help, I tried all settings in there.
Now Iâve extracted the dtb that Android is using, but it doesnât boot.
My question now is:
How can I create a device tree with everything working from the two that actually compiles when I put it through dtc?
Iâve attached the two dtses if anybody wants to have a look at it.
https://anonfiles.com/raLcKbpbu9/android_dts
https://anonfiles.com/zdLfK6pfud/meson-gxl-s905w-p281_dts
rtl8188fu is the driver for the USB version of the chip. I think you would need an rtl8188 driver for serial port to make internal wifi work which is not present in the repositories or AUR, unfortunately.
Open a terminal and type sudo systemctl enable sound
and restart your box.
Copy the following into a text editor and save it to a file named âasound.stateâ to your home directory.
Then open a terminal and type alsactl -f asound.state restore
state.GXP230Q200 {
control.1 {
iface MIXER
name 'AIU ACODEC I2S Lane Select'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 3'
}
}
control.2 {
iface MIXER
name 'ACODEC Playback Channel Mode'
value Stereo
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Stereo
item.1 Mono
}
}
control.3 {
iface MIXER
name 'ACODEC Playback Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.4 {
iface MIXER
name 'ACODEC Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 255'
dbmin -9999999
dbmax 0
dbvalue.0 -9999999
dbvalue.1 -9999999
}
}
control.5 {
iface MIXER
name 'ACODEC Ramp Rate'
value Fast
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Fast
item.1 Slow
}
}
control.6 {
iface MIXER
name 'ACODEC Volume Ramp Switch'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 1'
}
}
control.7 {
iface MIXER
name 'ACODEC Mute Ramp Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.8 {
iface MIXER
name 'ACODEC Unmute Ramp Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.9 {
iface PCM
device 4
name 'Playback Channel Map'
value.0 3
value.1 4
value.2 0
value.3 0
value.4 0
value.5 0
value.6 0
value.7 0
comment {
access read
type INTEGER
count 8
range '0 - 36'
}
}
control.10 {
iface PCM
device 4
name ELD
value '100007006712000100000000000000004c2d5c0b53414d53554e470907070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access 'read volatile'
type BYTES
count 128
}
}
control.11 {
iface MIXER
name 'AIU SPDIF SRC SEL'
value SPDIF
comment {
access 'read write'
type ENUMERATED
count 1
item.0 SPDIF
item.1 I2S
}
}
control.12 {
iface MIXER
name 'AIU HDMI CTRL SRC'
value I2S
comment {
access 'read write'
type ENUMERATED
count 1
item.0 DISABLED
item.1 PCM
item.2 I2S
}
}
control.13 {
iface MIXER
name 'AIU ACODEC SRC'
value DISABLED
comment {
access 'read write'
type ENUMERATED
count 1
item.0 DISABLED
item.1 I2S
item.2 PCM
}
}
control.14 {
iface MIXER
name 'AIU ACODEC OUT EN Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.15 {
iface MIXER
name 'ACODEC Right DAC Sel'
value Right
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Right
item.1 Left
}
}
control.16 {
iface MIXER
name 'ACODEC Left DAC Sel'
value Left
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Left
item.1 Right
}
}
}
I would like to run kodi as root (kodi-wayland) to see if hardware video acceleration is working, because i thinking that I have problems with permissions.
I try sudo kodi on the terminal but I get this error connect(2) call to /dev/shm/jack-0/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
ERROR: Unable to create GUI. Exiting
Can someone help me with this error?
I doubt you can run kodi using root. As it have direct connection to hardware libraries, this is what I have understand when I was packaging kodi.
This wonât work as kodi is packaged with kodiâs upstream ffmpeg which might not have libdrm support for AML.
Hi @spikerguy , Iḿ using kodi-wayland 19 package from @ jgmdev archlinux repo, with wayland there is a option to use drmprime hardware acceleration (when I use it the sound works but the video gets black)
and I only get software decoding.
Without that option, the video play smoothly but only with software decoding.
So I was thinking if is something with the kodi permissions.
Thanks for your help, but apparently there is no sound.service for me. I canât find anything on it online, how can I get one? Using your config without the first step didnât work either.
What reports the sound sh script?
First thing to do is a dtb with a sound short name. Modify the name in sound chapter in dts.
Hi @spikerguy,
Just a follow up, whether there is any update on solution for Kernel Panic on GT King Pro other than the chainloader u-boot.ext? Any updates or solution from Neil Armstrong?
No solution, chainloader is the only one for now, Neilâs uboot was also a chain loader only.
It will be on beelink to find what they have changed in their android image, to fix the kernel panic from its source.
Is Neilâs uboot different from the chainloader being used in Manjaro-Arm-Vim3? Does it have the same limitation where in GT King Pro USB Boot can only boot from USB OTG port only and no other USB Drive connected?
Would appreciate if you could inform or relate to Beelink that the solution to resolve the kernel panic is on their court (i.e. to change the adroid image). Beelink should be more receptive to your input. Thanks.
mpv --hwdec=v4l2m2m-copy now seems to reduce the CPU resources usage and also reduce CPU Temp when playing 1080p/30 video. But ii will not play 1440p YouTube video on FHD monitor
(Edit: I mean with âmpv --hwdec=v4l2m2m-copyâ with 1440p video on FHD monitor".
Hi @spikerguy, âREBOOT NOT WORKING AND DOES NOT SHUTDOWN COMPLETELYâ
Need guidance on how to resolve Manjaro-Arm-Vim3-XFCE-linux-5.11.12-1 (or 5.11.10-1) on Stable Branch using linux-5.11.12-1 NOT Rebooting. When a command to reboot the it will shutdown but not shutdown cleanly or completely meaning GT King Pro power LED is OFF but any devices connected will still be power up keyboard, USB Flash or USB HDDD.
Same issue if command to âShutdownâ it does NOT shutdown completely same as above.
Same issue with linux-5.11.10-1. Some how linux-vim-5.11.7-1 or linux-vim-5.11.11-1 kernels causes system freezes (usually during boot up and also sometimes after successful boot up).
During Reboot I noticed this message:
watchdog: watchdog0: watchdog did not stop!
watchdog: watchdog0: watchdog did not stop!
[jfl@MNJROGTKPro ~]$ systemctl list-unit-files --type=service
UNIT FILE STATE VENDOR PRESET
alsa-restore.service static -
alsa-state.service static -
auditd.service disabled disabled
autovt@.service alias -
avahi-daemon.service disabled disabled
avahi-dnsconfd.service disabled disabled
blk-availability.service disabled disabled
blueman-mechanism.service disabled disabled
bluetooth-khadas.service disabled disabled
bluetooth-mesh.service disabled disabled
bluetooth.service disabled disabled
bootsplash-ask-password-console.service static -
bootsplash-hide-when-booted.service disabled disabled
bootsplash-show-on-shutdown.service disabled disabled
btrfs-scrub@.service static -
canberra-system-bootup.service disabled disabled
canberra-system-shutdown-reboot.service disabled disabled
canberra-system-shutdown.service disabled disabled
colord.service static -
console-getty.service disabled disabled
container-getty@.service static -
cpupower.service disabled disabled
lines 1-23
Edit: The device will NOT Power Up again using device âPower Buttonâ. To power up the device, need to Turn Off Mains Switch & Turn On again.