Manjaro arm on Amlogic Tv box?

@spikerguy,

I was complaining that I am having Bluetooth errors earlier. Now resolved, somehow I am missing this driver “BCM4356A2.hcd”. Once I copied it over to /lib/firmware/brcm/. No more Bluetooth error.

If I am not mistaken, “BCM4356A2.hcd” is missing in the Manjaro Firmware.

Edit: With the “Bluetooth Error” resolved, it seems the occasional system hesitancy doesn’t seem to happen anymore (after 75 minutes of usage). Interesting.

Edit3: Spoke too soon, 3rd system freeze strikes. (around 85 minutes uptime). Linux-Vim 5.11.4-1.

Hi SickOS,

If you don’t mind me asking, how did you go about installing “5.11.3 Ubuntu Kernel from kernl.ubuntu.com”? Would you mind sharing the installation process? Did you install the Ubuntu kernel on Manjaro-Arm image? Interesting.

I already stated it was in Ubuntu ports distro.
Now I have again sound in Manjaro because changed dtb file. It was just a lucky trial, not my own thought :wink:.

Hey folks. So I can confirm that I have kernel 5.9.0-2-MANJARO-ARM #1 running… GT-King model (not the pro)…

I tried the line: sudo pacman -S dkms-rtl8822cs as suggest but I received error: target not found: dkms-rtl8822cs …

any other ideas?

I appreciate your help in advanced.
T.

I think youre not using Manjaro or using an old image which doesn’t seem to be connected to later repo

5.9.0-2 is very old.

You might have to upgrade.

Try these commands.

sudo pacman-mirrors -f 5
sudo pacman -Syyu dkms-rtl8822cs

Things might break coz you’re using old image.

Thanks Spikerguy… How can I update to a later version? Is this a limitation of the beelink box or do I need a newer image file for my SD card? I need I used the latest image…

FYI, I started this venture here: [How To] Install run Manjaro ARM on Amlogic TV Boxes with S922X - S905X3 SOC post 1 by SpikerGuy… perhaps there is a new download link?

Hi TC2021,

On my post 739, I outline how I burn a new image on SD Card for GT King Pro and how to avoid kernel panic (this is only related to GT King and Pro).

The latest Manjaro-Arm for VIM3 on Manjaro Download website is 20.12. Somehow 21.02 for VIM3 image is not available. Download Manjaro-Arm-Vim3 20.12 and see whether Post 739 will help you to install Manjaro-Arm-Vim3 on your GT King.

Here is some bits from post 739. Hope is useful. Good luck.

Burned a fresh Manjaro-VIM3-XFCE 20201220 on a SD Card with linux-vim 5.9.8.2, to avoid kernel panic on GT King Pro, first I install the new boot-vim3 20.10-1 to use the new u-boot.ext which also convert the boot up using extlinux.conf instead of uEnv.ini.

Then “sudo pacman -Syu”, system update to linux-vim 5.10.5-1, just for your info the sound is loss after update to linux-vim 5.10.5-1, the issue is due to the g12_sound.sh Amlogic New Conf being used. Edit to revert to Amlogic Old Conf, and system enable sound and reboot sound return.

Please reply in amlogic device thread.
Let this thread be for rockchip devices.

@spikerguy,

FYI, GT King Pro Manjaro-Arm-XFCE-linux-vim 5.11.4-1 with current mesa-git on Stable Branch, Encountered 4th Kernel Panic/System Freeze in the last two days of use. This time the kernel panic strike on boot up so I can provide screen shot.

The good news is after inserting “BCM4356A2.hcd” into “/lib/firmware/brcm/” there is no more “Bluetooth Error”

NO more these Blutetooth Errors

[ 9.997055] Bluetooth: hci0: command 0xfc4c tx timeout
[ 18.395712] Bluetooth: hci0: BCM: Patch command fc4c failed (-110)
[ 18.395754] Bluetooth: hci0: BCM: Patch failed (-110)

And also there is no more occasional system hesitancy and the system is responsive now.

Certain website still triggers Panfrost “gpu sched timeout”.

[ 4064.043727] panfrost ffe40000.gpu: js fault, js=0, status=INSTR_INVALID_ENC, head=0x5982a00, tail=0x5982a00
[ 4064.047898] panfrost ffe40000.gpu: gpu sched timeout, js=0, config=0x7301, status=0x51, head=0x5982a00, tail=0x5982a00, sched_job=000000006a6369ff

1 Like

@spikerguy,

I remember you were looking for source code for chainloader. I happen to stumble on this, you might have already read, but just in case.

@spikerguy,

It looks like I am the only one facing system freeze/kernel panic with linux-vim 5.11.4-1. 2 more system freeze/kernel panic during boot up at Manjaro Greeter Login Screen. So no choice but to upgrade to your new linux-vim 5.11.7-1 (Unstable branch).

Installation of linux-vim 5.11.7-1 went without any issue. After successful linux-vim 5.11.7-1 upgrade, issue “reboot”. Kernel Panic at boot up. CPU 4 this round.

Power cycle, boot up and login to hotmail. Another system freeze after login to Hotmail.

If I am the only one facing this linux-vim 5.11-4-1 and linux-vim 5.11.7-1 system freeze/kernel panic, may be there is an issue with my Manjaro-Arm-XFCE-linux-vim 5.11.7-1 image.

Do you have the latest Manjaro-Arm-Vim3 21.02 for download? I noticed Vim2 21.02 is available but NO VIM3 21.02.

Thanks.

24 March Edit: Same XFCE-linux-vim 5.11.7-1 image as above.
2 more consecutive kernel panic on boot up (one after login and another during boot up CPU 5 kernel panic. Screen capture basically the same as above but CPU 5) and 3rd kernel panic session on Chromium about 5 minutes after boot up.

This same linux-vim 5.11.7-1 was running more than 6 hours with no issue even with heay memory resource usage.

I have had one of these freezes with linux-vim 5.11.4-1 on my Ugoos AM6 plus. I have therefore downgraded to linux-vim 5.10.8-1 which works perfectly stably since several weeks.

Yes I faced this on GT King Pro too, Looks like some regression in kernel as I switched to tobetters.

@spikerguy
When linux-vim 5.11.4-1 and linux-vim 5.11.7-1 when it run smoothly (i.e. without kernel panic), it is very responsive. Even thinking of running KDE Plasma with it. Currently on XFCE. I am on linux-vim 5.11.7-1 (so far 15 minutes uptime). Let’s see whether kernel panic will strike this session. Will keep you updated.

By the way, is Khadas VIM3 21.02 image going to be available?

Edit: XFCE-linux-vim 5.11.7-1 encounter another system freeze after round 2 hours of uptime - running Chromium at the time of the system freeze.

Edit 2: It looks like linux-vim 5.11.7-1 system freeze on GT King Pro is very regular. Had 4 kernel panic just last two hours (2 on system boot up and 2 while browsing).

Will make 21.03 had some issues with panfrost at that time. Will try to get it tonight.

1 Like

Hey JFL. I tried your recommendation… No go… Kept getting errors. That said, before attempting the instruction set on No. 739 I did a “uname -a” and got and the kernel was 5.9.8, using img file “Manjaro-ARM-kde-plasma-vim3-20.12.img” … so a little closer to success hahaha! Anyway, I guess I’ll just wait for an updated vim-3 image…

Thanks everyone! I appreciate your patience with me.
T.

You mean you are able to boot up and just NO wifi? In you able to boot and no wifi may be you are missing the wifi drivers.

In the /lib/firmware/brcm/ do you have these driver files brcmfmac4356-sdio.bin, brcmfmac4356-sdio.txt and BCM4356A2.hcd? These are the one GT King Pro uses and may be is the same for GT King or may be not.

Hey JFL. Correct; I am able to boot just fine, no wifi… I’ll check when I get home tonight… That’s what I’m thinking… a driver is missing… If I am missing these drivers, any idea where I might be able to download them? Also, is it as simple as copying these drivers in the directory you suggest and reboot?

Thanks alot.
T.

If it is not in the Manjaro-Arm-Vim3 20.12 image then try to update to the latest image. But make sure you already boot-vim3 2020-10-1 installed before you perform system update else you will get a kernel panic.

Previously it is available in kvim2-firmware. sudo pacman -Syyu kvim2-firmware linux-firmware but now it is already in the newer linux-vim or linux 5.10 or 5.11 kernel images.

Hey JFL. So I have the brcmfmac4356-sdio.bin and txt files but am missing the BCM4356A2.hcd…