Manjaro arm on Amlogic Tv box?

Hi @snake2903,
next to my X96 Max+ (S905X3, Mali G31) I have Manjaro Arm XFCE also running on my X96mini which is based on S905W/Mali 450 as well (boots with meson-gxl-s905w-p281.dtb).

If you don’t hear sound via HDMI using your Tanix TX 3 you might try the following:

  • Open terminal
  • Type alsamixer and press enter
  • Press F6 and choose your soundcard
  • Press right arrow until you get to “AIU HDMI”
  • Press up/down arrows until it reads “I2S”
  • Press ESC to exit alsamixer
  • Type sudo alsactl store and press enter

Have fun with sound!

1 Like

HI Spikerguy,

“sudo pacman -S kvim2-firmware” seems to return error on not being able to locate the mirrors. All the mirrors sites return error 404.

My system had a kernel panic (GTKPro) during updates and corrupted the USB Drive so have to reburn image. For your info, the Manjaro_Arm_Xfce_Vim3_201127 image (from Tripole) still does not have “NetworkManager” and “Sound” enabled or the “brcm driver for GT King Pro”.

Tried to perform CLI "sudo pacman -S kvim2-firmware` but somehow all the mirror sites return error. So have resort to manually copying files.

Managed to have network connection after manually the correct brcm drivers and sound by “chmod a+x /usr/bin/g12_sound.sh”.

Your local db is not synced or you don’t have internet connection on the device.

Do
sudo pacman -Sy kvim2-firmware

You don’t have to do this on newer images.

No need for this as the script is already executable.

Always try later images.

Sorry but can you share the dtb name you use in vim kernel?
Let’s figure one thing at a time.
First we can sort the boot process on mainline kernel then we look into sound.

I’m sorry! I abbreviated here.

x96air.dtb = meson-sm1-x96-air-4g.dtb

from chewitt’s 5.9.y branch. The same one I described in post #413 which includes the links to download it.
(N.B.: In that post I named it meson-sm1-x96-air-4g-kernel59.dtb to make clear it is the one from the 5.9.y branch and not the one from the 5.10.y branch which I experimented with before).

Thanks for the tips. Somehow the image did have kvim2-firmware or the required wifi drivers. For the time being after copying the following drivers to /lib/firmware/brcm/
BCM4356A2.hcd,
brcmfmac4536-sdio.bin,
brcmfmac4356-sdio.clm_blob,
brcmfmac4356-sdio.txt

and “systemctl start NetworkManager.service” (somehow NetworkManager did not startup from first boot after re-burn image) and “systemctl enable NetworkManager.service --now”. I have Ethernet and Wifi working.

Other than wifi dirvers what else is in the kvim2-firmare?

Did a system update using Package Manager and was successful now is with linux-vim 5.9.8-2 (updated from linux-vim 5.9.8-1).

Hi Spikerguy,
Is a new u-boot available for GT KING PRO to boot up with linux-5.10 kernel?

Thanks @TheMojoMan
After connecting Tanix to TV, i didn’t have sound… now i have sound… wooohoooo

I love the way Amlogic TV box users are always looking for newer updates :smiley:
Keeps me motivated :wink:

Here is a quick teaser for you :stuck_out_tongue:

Typing frm Vim2 S912 running 5.10.1-1 but this is linux-vim
Next I will try linux-5.10.1 now.

Sorry Wifi is soo damn confusing made me work on the image 3 times coz S912/S922x have mixed wifi chips

I finally ended up doing this so any amlogic tv box users can get the wifi working out of the box.
sudo pacman -S kvim1-firmware kvim2-firmware ap6398s-firmware
Cause these 3 packages have AP firmwares which are commonly used in amlogic boards.

@JFL If you’re using boot with extlinux then you should be able to boot on 5.10 without any issues only those who are on old boot method used with uEnv.ini will not be able to boot.
I will update all the boot packages soon.
Update: Package uploaded to unstable for new bootloader
boot-vim3-2020.09-1-aarch64.pkg.tar.xz with this you can boot 5.10

Good Luck.

3 Likes

The current Manjaro-Arm-Xfce image uses uEnv.ini. Proceed to install you boot-vim3-2020.09-1-aarch64.pkg.tar.xz.

Login to root
rename “u-boot.ext” to “u-boot-usb”
[root@MNJROGTKPro ~]# pacman -U http://mirror.easyname.at/manjaro/arm-unstable/core/aarch64/boot-vim3-2020.09-1-aarch64.pkg.tar.xz
Edit extlinux.conf to “FDT /dtbs/amlogic/meson-g12b-gtking-pro.dtb”
reboot

Edit: Reboot successful with extlinux. Thank you

[root@MNJROGTKPro ~]# [root@MNJROGTKPro ~]# pacman -U http://mirror.easyname.at/manjaro/arm-unstable/core/aarch64/boot-vim3-2020.09-1-aarch64.pkg.tar.xz
loading packages…
resolving dependencies…
looking for conflicting packages…

Packages (1) boot-vim3-2020.09-1

Total Installed Size: 2.62 MiB
Net Upgrade Size: 1.25 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%
:: Processing package changes…
warning: /boot/uEnv.ini saved as /boot/uEnv.ini.pacsave
(1/1) upgrading boot-vim3 [######################] 100%
:: Running post-transaction hooks…
(1/1) Arming ConditionNeedsUpdate…
[root@MNJROGTKPro ~]#

loading packages…
resolving dependencies…
looking for conflicting packages…

Packages (1) boot-vim3-2020.09-1

Total Installed Size: 2.62 MiB
Net Upgrade Size: 1.25 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%
:: Processing package changes…
warning: /boot/uEnv.ini saved as /boot/uEnv.ini.pacsave
(1/1) upgrading boot-vim3 [######################] 100%
:: Running post-transaction hooks…
(1/1) Arming ConditionNeedsUpdate…
[root@MNJROGTKPro ~]#

1 Like

I have 5.10.1 (mainline) up and running on my X96mini (S905W / Mali 450) but I am not able to boot it when using my X96Max+ (S905X3 / G31). Will try more .dtb’s now …

Anyway, @spikerguy many thanks for keeping up the good work!

1 Like

I’m having the same issue. I wasn’t able to boot my X96 air P3 S905x3 with any dtb :hot_face: in the 5.10.1-1 linux-vim

Great! :smiley:

I forgot to mention that I had to redo the procedure after reboot because sound was off again. To fix that problem you first have to turn sound on as described before and than open a terminal and type sudo alsactl store to make the changes permanent.

Seems that we have to wait for multiboot/u-boot.ext to be fixed for S905X3 …

Thank you for your work in making kernel 5.10 work on tv boxes.

Kernel 5.10 works on s912 and s905w, but not on s905x2 and x3.

Vim3.20.06 updated to unstable.

Works with u-boot-s905x-s912 renamed to u-boot.ext for S905w and S912

Does not work with
u-boot for S905x2 / 3

Tested on:
A95x for S905w meson-gxl-s905w-p281.dtb
M96X S912 meson-gxm-q200.dtb
X96s S905x2 meson-g12a-u200.dtb
X96 max + S905x3 meson-sm1-sei610.dtb

Its in unstable so please be patient and update fully or else it will break the system.

Unstable have boot-vim3-2020-09 which have chainloader and can not 5.10 without any issue.
5.10 is also in unstable so users will recieve it once it is available in stable.

Did you try the s905x3-s922x version and changed it to u-boot.ext ?

What do you do with these tv boxes? :o

Do you see uboot on hdmi output? Can you share details of where it gets stuck?

HI, all users!
My tvbox X96AirP2 (s905x3) boot with linux-vim-5.10.1

u-boot.ext and meson-g12a-x96-max.dtb i take from balbes150’s libreelec


(…-amlg12.img.gz) His img have kernel-5.10.1 and boot on my box.
No sound.
1 Like

Hello and welcome to the forum.

You have sound it is just not configured properly.

Try the Khadas-utils-4-1 from unstable.
sudo systemctl enable sound --now
Reboot.

If this doesn’t work then let me know, I think it is some alsa config issue with 5.10

linux-vim is balbes branch kernel so the dtb will be the same in libreelec and manjaro if you use linux-vim

I can see sound card detected fine by alsa you only need alsa config fixed.

Sound work with meson-sm1-sei610.dtb from chewitt’s libreelec (…-box.img.gz)
https://chewitt.libreelec.tv/testing/9.80/
If anybody wont, u-boot.ext+meson-sm1-610.dtb at one place: for_linux-vim-5101.tar — Yandex.Disk

2 Likes

Hi Spikerguy,

Just downloaded and burn new Manjaro-ARM-VIM3-XFCE-20.12 on Beelink GT King Pro. Boot up with no issue. Kernel is linux-vim 5.9.8-2.

Just notice that the VIM3-XFCE-20.12 image size seems to be quite a bit larger than normal (941MB vs 839MB) and the u-boot still uses the uEnv.ini instead of the newer extlinux.conf method.

Thanks for the great work and support. Wish Manjaro Team and you A Merry Christmas and A Happy New Year.