Strange, with S905X3 it works, I’m using now a sd card with boot partition and a usb3 ssd disk with root partition, and is working fine.
The newer version does.
You must be using the first edition, Try the second edition. I have tested it with a USB Stick connected. on AM6 Plus but did not get to test other devices.
bc
command is missing. I should have added it to the list of dependencies so that the package automatically installs it before trying to compile the sources.
Will fix it in the next version of the package (when I have more time to setup a git repo).
For now it means you have to install bc
before installing rtl8822 dkms driver.
I tried multiple times and I see that the u-boot.ext doesnt have emmc support. It will take sometime to get a working u-boot.ext with emmc support.
For feed back, I had another error, I think the Linux-headers were automatically installed (maybe by other package?) , but I had the wrong version (mainline kernel and I’m using linux-vim), so I had to manually install it, then everything went correctly.
Thanks for your valuable feedback!
@dante6913 and @spikerguy ,
Just downloaded the u-boot.ext from for_linux-vim-5101.tar — Яндекс Диск. It still cannot boot up when a USB Flash or USB HDD is in another USB Port. This u-boot.ext for_linux-vim-5101.tar — Яндекс Диск has the same date and size as the one I have been using before.
Is there a newer u-boot.ext available that can enable to boot with another USB Flash connected to the device? Would like to download the newer u-boot.ext. Thanks.
@spikerguy where can I download the newer u-boot.ext?
This is the same version. I don’t know why you are having problem. I will try to connect usb hdd and text it…
Is your boot disk on SD Card or USB Flash? My boot disk is on USB Flash.
If I am not mistaken, darkstar Debian_5.10.12 also uses this u-boot.ext and it can only boot from OTG USB Port and without any USB Flash drive on the GT King Pro.
Edit:
The u-boot.ext I am using had modified/created date as 12/18/2020 same the one downloaded from for_linux-vim-5101.tar — Яндекс Диск. The Manjaro u-boot.ext is dated 12/28/2020. Both have the same exact size 735,459 bytes on disk.
Is there a newer version of this u-boot.ext? I understand with the newer version of this u-boot.ext, it can boot with another USB drive together with USB Boot disk.
Balbes150 make new img, may be new u-boot.ext. Ask him self.
Oh ok that is the conflict. I have never tested it with boot on usb stick.
I don’t think he works on amlogic anymore. I will ask him again though.
I can boot with a a usb3 flash with boot and root disk in the usb 3 socket. So I don’t think that is the problem. Did you try another usb flash disk?
Tested rtl8822cs wifi driver dkms package from unstable.
Wifi works after reboot
TV box: X96max+
DTB : meson-sm1-x96maxplus-vim100m.dtb
Before installing i run:
sudo pacman -S base-devel git bc dkms linux-vim-headers
Tested on clean image burned to sdcard:
sudo pacman -S manjaro-arm-tools
sudo buildarmimg -d vim3 -e xfce -b unstable
Did you change anything in the DTB file to make wifi work?
@uropb Thks. Based on how he reacts to some questions on amlogic devices, I think, @spikerguy will be a better person to approach him.
I have three Linux image with this u-boot.ext on USB Flash drive and so far all could not boot up correctly or do not boot at all when another USB drive (Flash or HDD) is on the device together with the USB Boot Drive. It might only be issue with Beelink GT King Pro only.
If you do have a chance, do test it out on USB Flash. I wonder whether it is only an Beelink GT King Pro issue. The image by darkstar_Debian_5.10.12 can only boot on USB Drive and NOT on SD Card according to him.
Just installed mesa-20.3.4-1 from Unstable Branch with linux-vim-5.10.8-1, Panfrost seems to have much less visual glitches to the point where a times it looks normal.
But mesa-20.3.4-1 glmark2-es2 score is quite significantly lower compared to latest mesa-git (285 compared to 400).
But with this mesa-20.3.4-1 and linux-vim-5.10.8-1, I noticed this Panfrost error for the first time.
dmesg output:
50.339616] panfrost ffe40000.gpu: js fault, js=0, status=DATA_INVALID_FAULT, head=0x4f41680, tail=0x4f41680
[ 50.343803] panfrost ffe40000.gpu: gpu sched timeout, js=0, config=0x7300, status=0x58, head=0x4f41680, tail=0x4f41680, sched_job=00000000e3ae3dfc
[ 59.420653] panfrost ffe40000.gpu: js fault, js=0, status=DATA_INVALID_FAULT, head=0x4f82d00, tail=0x4f82d00
[ 59.424859] panfrost ffe40000.gpu: gpu sched timeout, js=0, config=0x7300, status=0x58, head=0x4f82d00, tail=0x4f82d00, sched_job=00000000a80fb335
[ 66.436437] panfrost ffe40000.gpu: js fault, js=1, status=DATA_INVALID_FAULT, head=0x6399000, tail=0x6399000
[ 66.440633] panfrost ffe40000.gpu: gpu sched timeout, js=1, config=0x7300, status=0x58, head=0x6399000, tail=0x6399000, sched_job=000000002362dfcc
[ 78.227119] audit: type=1131 audit(1612359934.786:92): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=blueman-mechanism comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 113.769798] panfrost ffe40000.gpu: js fault, js=1, status=DATA_INVALID_FAULT, head=0x30d7100, tail=0x30d7580
[ 113.774020] panfrost ffe40000.gpu: gpu sched timeout, js=1, config=0x7300, status=0x58, head=0x30d7100, tail=0x30d7580, sched_job=0000000017633c34
[ 156.881572] panfrost ffe40000.gpu: js fault, js=1, status=DATA_INVALID_FAULT, head=0x4f44100, tail=0x4f44100
[ 156.885790] panfrost ffe40000.gpu: gpu sched timeout, js=1, config=0x7300, status=0x58, head=0x4f44100, tail=0x4f44100, sched_job=00000000ad67c865
[ 168.064398] panfrost ffe40000.gpu: js fault, js=0, status=UNKNOWN, head=0x4f36cc0, tail=0x4f36cc0
[ 168.067636] panfrost ffe40000.gpu: gpu sched timeout, js=0, config=0x7300, status=0x5b, head=0x4f36cc0, tail=0x4f36cc0, sched_job=000000004c0502ee
[ 169.602682] panfrost ffe40000.gpu: js fault, js=0, status=DATA_INVALID_FAULT, head=0x313d340, tail=0x313d340
[ 169.606868] panfrost ffe40000.gpu: gpu sched timeout, js=0, config=0x7300, status=0x58, head=0x313d340, tail=0x313d340, sched_job=000000007834315e
[ 192.620180] panfrost ffe40000.gpu: js fault, js=0, status=UNKNOWN, head=0x4f52d00, tail=0x4f52d00
[ 192.623426] panfrost ffe40000.gpu: gpu sched timeout, js=0, config=0x7300, status=0x5b, head=0x4f52d00, tail=0x4f52d00, sched_job=00000000b98551a1
[ 226.131396] panfrost ffe40000.gpu: js fault, js=0, status=DATA_INVALID_FAULT, head=0x4ee5800, tail=0x4ee5800
[ 226.135594] panfrost ffe40000.gpu: gpu sched timeout, js=0, config=0x7300, status=0x58, head=0x4ee5800, tail=0x4ee5800, sched_job=00000000c0f06af1
[ 236.796845] panfrost ffe40000.gpu: js fault, js=0, status=UNKNOWN, head=0x6399740, tail=0x6399740
[ 236.800082] panfrost ffe40000.gpu: gpu sched timeout, js=0, config=0x7300, status=0x5b, head=0x6399740, tail=0x6399740, sched_job=00000000432dac40
[ 241.365370] panfrost ffe40000.gpu: js fault, js=0, status=UNKNOWN, head=0x4ee5080, tail=0x4ee5080
[ 241.368606] panfrost ffe40000.gpu: gpu sched timeout, js=0, config=0x7300, status=0x5b, head=0x4ee5080, tail=0x4ee5080, sched_job=000000007582d8fa
[ 305.435077] panfrost ffe40000.gpu: js fault, js=0, status=DATA_INVALID_FAULT, head=0x31e8040, tail=0x31e8040
[ 305.439276] panfrost ffe40000.gpu: gpu sched timeout, js=0, config=0x7300, status=0x58, head=0x31e8040, tail=0x31e8040, sched_job=00000000c605b1d2
[ 320.680753] panfrost ffe40000.gpu: js fault, js=0, status=DATA_INVALID_FAULT, head=0x6399000, tail=0x6399000
[ 320.684963] panfrost ffe40000.gpu: gpu sched timeout, js=0, config=0x7300, status=0x58, head=0x6399000, tail=0x6399000, sched_job=00000000e866af59
[ 412.192315] panfrost ffe40000.gpu: js fault, js=0, status=DATA_INVALID_FAULT, head=0x4f803c0, tail=0x4f803c0
[ 412.196510] panfrost ffe40000.gpu: gpu sched timeout, js=0, config=0x7300, status=0x58, head=0x4f803c0, tail=0x4f803c0, sched_job=00000000da63aa67
[ 413.712020] panfrost ffe40000.gpu: js fault, js=0, status=UNKNOWN, head=0x30d8dc0, tail=0x30d8dc0
[ 413.715270] panfrost ffe40000.gpu: gpu sched timeout, js=0, config=0x7300, status=0x5b, head=0x30d8dc0, tail=0x30d8dc0, sched_job=000000002e740a23
[ 427.451520] panfrost ffe40000.gpu: js fault, js=0, status=DATA_INVALID_FAULT, head=0x30d9540, tail=0x30d9540
[ 427.455719] panfrost ffe40000.gpu: gpu sched timeout, js=0, config=0x7300, status=0x58, head=0x30d9540, tail=0x30d9540, sched_job=000000009b533bc6
[ 445.753029] panfrost ffe40000.gpu: js fault, js=0, status=DATA_INVALID_FAULT, head=0x4f35280, tail=0x4f35280
[ 445.757225] panfrost ffe40000.gpu: gpu sched timeout, js=0, config=0x7300, status=0x58, head=0x4f35280, tail=0x4f35280, sched_job=000000002725d206
[ 450.326993] panfrost ffe40000.gpu: js fault, js=0, status=DATA_INVALID_FAULT, head=0x4eee000, tail=0x4eee000
[ 450.331194] panfrost ffe40000.gpu: gpu sched timeout, js=0, config=0x7300, status=0x58, head=0x4eee000, tail=0x4eee000, sched_job=00000000432dac40
[ 465.444904] panfrost ffe40000.gpu: Unhandled Page fault in AS0 at VA 0x0000000000000000
Reason: TODO
raw fault status: 0x10002C2
decoded fault status: SLAVE FAULT
exception type 0xC2: TRANSLATION_FAULT_LEVEL2
access type 0x2: READ
source id 0x100
[ 465.494513] panfrost ffe40000.gpu: Unhandled Page fault in AS0 at VA 0x0000000000000000
Reason: TODO
raw fault status: 0x10002C2
decoded fault status: SLAVE FAULT
exception type 0xC2: TRANSLATION_FAULT_LEVEL2
access type 0x2: READ
source id 0x100
[ 465.554491] panfrost ffe40000.gpu: Unhandled Page fault in AS0 at VA 0x0000000000000000
Reason: TODO
raw fault status: 0x10002C2
decoded fault status: SLAVE FAULT
exception type 0xC2: TRANSLATION_FAULT_LEVEL2
access type 0x2: READ
source id 0x100
[ 465.624538] panfrost ffe40000.gpu: Unhandled Page fault in AS0 at VA 0x0000000000000000
Reason: TODO
raw fault status: 0x10002C2
decoded fault status: SLAVE FAULT
exception type 0xC2: TRANSLATION_FAULT_LEVEL2
access type 0x2: READ
source id 0x100
[ 465.704600] panfrost ffe40000.gpu: Unhandled Page fault in AS0 at VA 0x0000000000000000
Reason: TODO
raw fault status: 0x10002C2
decoded fault status: SLAVE FAULT
exception type 0xC2: TRANSLATION_FAULT_LEVEL2
access type 0x2: READ
source id 0x100
[ 465.794519] panfrost ffe40000.gpu: Unhandled Page fault in AS0 at VA 0x0000000000000000
Reason: TODO
raw fault status: 0x10002C2
decoded fault status: SLAVE FAULT
exception type 0xC2: TRANSLATION_FAULT_LEVEL2
access type 0x2: READ
source id 0x100
[ 465.894660] panfrost ffe40000.gpu: Unhandled Page fault in AS0 at VA 0x0000000000000000
Reason: TODO
raw fault status: 0x10002C2
decoded fault status: SLAVE FAULT
exception type 0xC2: TRANSLATION_FAULT_LEVEL2
access type 0x2: READ
source id 0x100
[ 465.962888] panfrost ffe40000.gpu: gpu sched timeout, js=1, config=0x7300, status=0x8, head=0x4ef2000, tail=0x4ef2100, sched_job=00000000b94a390e
[ 466.001956] panfrost ffe40000.gpu: js fault, js=1, status=DATA_INVALID_FAULT, head=0x6cac000, tail=0x6cac000
[ 466.006149] panfrost ffe40000.gpu: gpu sched timeout, js=1, config=0x7300, status=0x58, head=0x6cac000, tail=0x6cac000, sched_job=00000000914b5ba1
[ 467.203052] panfrost ffe40000.gpu: js fault, js=0, status=UNKNOWN, head=0x7acdb00, tail=0x7acdb00
[ 467.206325] panfrost ffe40000.gpu: gpu sched timeout, js=0, config=0x7300, status=0x5b, head=0x7acdb00, tail=0x7acdb00, sched_job=0000000079dfb17b
[jfl@MNJROGTKPRO ~]$
Edit: It looks like someone else had already reported this issue: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4157 " Graphics glitches after upgrade to mesa 20.3 on Khadas VIM3 Pro (Mali G52 GPU)".
Robin Murphy @robmur01 · 1 day ago
The dmesg output looks a lot like you’re hitting the S922 coherency issue which was fixed in 5.11.
@spikerguy some progress in their tests so that the uboot.ext supports emmc?
No progress, I’ve tested new versions but it didn’t support on ugoos am6, didn’t get time to test any other board.
I will be sorry busy for coming weeks.