Please select To the mobile version | Continue to access the desktop computer version
Author: darkstar

GT King Pro-Ubuntu 21.10 Impish Indri Firmware with Panfrost-5.14.15 Kernel

[Copy link]

6

Threads

201

Posts

1867

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1867
 Author| Post time 2021-11-06 02:11:02 | Show all posts
Edited by darkstar at 2021-11-06 02:12
JFL replied at 2021-11-04 18:08
Thanks for the info.

Edit:  This Ubuntu-Impish-5.14.15-darkstar is stable.. So far 10 out of 10 su ...

Kernel build is the easiest part for me.
I will share new builds of kernel packages or firmware itself when I get significant improvements.
I prefer to share stable and smooth software builds.
Screenshot from 2021-11-05 21-05-06.png
Reply Support 1 Not support 0

Use magic Report

7

Threads

261

Posts

1325

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1325
Post time 2021-11-06 04:16:16 | Show all posts
Hey darkstar
Great work.
I see you mentioned that you are still using balbes uboot.ext
You can make newer mainline uboot yourself to use new function on boot.

I am currently looking into moving away from chainloading and using uImage so we can have boot frm usb/sd and installing on emmc working again.

If you want we can work together as with my limited time it is taking longer. Also can you please share the source you used for kernel build. I am in the process of maintaining separate kernels for separate vendors as mix matching is causing a lot of problems and confusion with users.

Regards.
Beelink GTR7 (7840HS) - Manjaro Linux
Beelink SER5 (5600U) - Manjaro Linux
Beelink GT1 Ultimate (S912) - Libre Elec TV
Beelink GT King Pro (S922X-H) - Manjaro ARM Linux
Beelink GS King X (S922X-H)  -
Reply Support Not support

Use magic Report

6

Threads

201

Posts

1867

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1867
 Author| Post time 2021-11-06 04:52:29 | Show all posts
Edited by darkstar at 2021-11-06 05:20
spikerguy replied at 2021-11-06 04:16
Hey darkstar
Great work.
I see you mentioned that you are still using balbes uboot.ext

Hi spikerguy.

It is nice to see your message here. I don't want to play with U-Boot, package compilation is pretty easy.
But if something goes wrong device will not boot again, this frightens me.
I think Beelink may update u-boot. I'm compiling the kernel directly from kernel.org releases.

Actually I want to play with android 11 source code and compile firmware for gtking series but I don't have much free time too.
No need to maintain different kernels for different brands, Armbian is good at that point please check their sources.
I'm sharing my kernel config file below.

config-5.14.15-darkstar.gz

54.53 KB, Downloads: 57

my kernel config

Reply Support Not support

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
Post time 2021-11-06 13:56:58 | Show all posts
darkstar replied at 2021-11-06 02:11
Kernel build is the easiest part for me.
I will share new builds of kernel packages or firmware it ...

Hi @darkstar,

Thanks.  When you release newer kernel builds we can keep updating your Ubuntu-Impish image.  This image is much more stable and smoother than the with the kernel 5.12.0.
Reply Support Not support

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
Post time 2021-11-06 14:11:35 | Show all posts
spikerguy replied at 2021-11-06 04:16
Hey darkstar
Great work.
I see you mentioned that you are still using balbes uboot.ext

Hi @spikerguy,

I am currently looking into moving away from chainloading and using uImage so we can have boot frm usb/sd and installing on emmc working again.


Good.  Yes, chainloader had its limitations like booting up from usb OTG only (but can be trick by using a USB 3.0 Hub which I am using).

One advantage that the chainloader had given us - TV Box users is being able to load up mainline kernels and it also seems to support different compressed image/soruce.
Reply Support Not support

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
Post time 2021-11-06 22:46:47 | Show all posts
Edited by JFL at 2021-11-06 22:53

Just checking whether anyone was able to get Firefox 94 working with WebGL/EGL.  According to Firefox 94 Release Notes, WebGL is supposed to be activated with mesa >21.0 but based on WebSamples.org Aquarium there is no improvement.  The score is the same as in Firefox 93 or Firefox 92.

Is it activated for Arm64 GPU?  Or need other settings to activate WebGL.  Sorry off topic.

  1. QT_QPA_PLATFORM=wayland GDK_BACKEND=wayland MOZ_ACCELERATED=1 MOZ_ENABLE_WAYLAND=1 MOZ_WEBRENDER=1 firefox --private

  2. or

  3. QT_QPA_PLATFORM=wayland GDK_BACKEND=wayland MOZ_ACCELERATED=1 MOZ_ENABLE_WAYLAND=1 firefox --private
Copy the Code
Reply Support Not support

Use magic Report

6

Threads

201

Posts

1867

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1867
 Author| Post time 2021-11-07 14:25:38 | Show all posts
Edited by darkstar at 2021-11-07 15:52
JFL replied at 2021-11-06 22:46
Just checking whether anyone was able to get Firefox 94 working with WebGL/EGL.  According to Firefo ...

I tried webgl on firefox but no success, Ubuntu does not allow direct installation for chromium.
But I tried Midori and it can play 28FPS with 1000 fish, screenshot is below.

By the way I build a new kernel link is below, download,extract and install it.
as root run the commands. it will ask questions about header configuration- just press enter.

  1. dpkg -i linux-headers-amlogic-mainline_1.0.7_arm64.deb
  2. dpkg -i linux-image-amlogic-mainline_1.0.7_arm64.deb
Copy the Code

Linux Kernel - 5.15.1-darkstar - LTS
Screenshot from 2021-11-07 09-19-09.png
Screenshot from 2021-11-07 10-44-24.jpg
Reply Support Not support

Use magic Report

6

Threads

201

Posts

1867

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1867
 Author| Post time 2021-11-07 23:07:43 | Show all posts
Edited by darkstar at 2021-11-07 23:37

This weekend I played with my box and once again I remembered why Debian is one of the best distributions on the planet.
Ubuntu 21.10 Stable version gives 970 - 1000 glmark2-es2-wayland scores with Mesa 22.0
Where Debian 11 with testing branch gives us 1244 glmark2-es2-wayland score with Mesa 21.2.4

Screenshot from 2021-11-07 17-13-27.png
Screenshot from 2021-11-07 18-36-48.png
Reply Support 1 Not support 0

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
Post time 2021-11-08 14:46:39 | Show all posts
Edited by JFL at 2021-11-08 15:10
darkstar replied at 2021-11-07 14:25
I tried webgl on firefox but no success, Ubuntu does not allow direct installation for chromium.
Bu ...

Hi @darkstar,

Thanks for the newly build Linux Kernel-5.15.1-darkstar-LTS. Just installed your new kernel-5.15.1-darkstar on your Ubuntu-Impish-Gnome-5.14.15-darkstar image this is before "Restart".  Installation seems successful with new uInitrd, initrd.img-5.15.1-darkstar, System.map-5.15.1-darkstar and zImage generated successfully on /boot partition/folder.  Not sure whether I responded to the "Hearders" generation correctly.  I just hit enter (without keying y or n).

Restart Ubuntu-Impish-5.15.1-darkstar successfully!
  1. <div>Linux Beelink 5.15.1-darkstar #1.0.7 SMP PREEMPT Sun Nov 7 08:30:10 +03 2021 aarch64 aarch64 aarch64 GNU/Linux
  2. </div>
Copy the Code
Somehow the screen capture "neofetch" screenshot does NOT appear.  It is on Advanced Mode.

I tried webgl on firefox but no success, Ubuntu does not allow direct installation for chromium.
Using the following ppa and instructions, managed to install Chromium. https://forum.odroid.com/viewtopic.php?f=52&t=42300


[size=150%]Installing Chromium browser (beta):
  1. <div class="codebox"><p>Code: <a href="https://forum.odroid.com/viewtopic.php?f=52&t=42300#">Select all</a></p><pre><code>sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E6A17451DC058F40
  2. sudo add-apt-repository -S deb http://ppa.launchpad.net/saiarcot895/chromium-beta/ubuntu/ groovy main
  3. sudo apt update
  4. sudo apt-get install chromium-browser chromium-codecs-ffmpeg-extra
  5. </code></pre></div>

  6. Add this line to "cat /etc/chromium-browser/default" for better rendering performance.
Copy the Code
Code: Select all
  1. CHROMIUM_FLAGS="--enable-features=UseOzonePlatform --ozone-platform=wayland"
Copy the Code
Starting Chromium with the following command.  Wayland and OzonePlatform Activated.  The webgl Aquarium 500 fishes score 30-40+


  1. chromium-browser --enable-features=UseOzonePlatform --ozone-platform=wayland --in-process-gpu incognito --use-gl=egl
Copy the Code







  1. beelink@Beelink:~/Downloads/Linux-5.15.1-darkstar$ sudo dpkg -i linux-image-amlogic-mainline_1.0.7_arm64.deb linux-headers-amlogic-mainline_1.0.7_arm64.deb
  2. (Reading database ... 146013 files and directories currently installed.)
  3. Preparing to unpack linux-image-amlogic-mainline_1.0.7_arm64.deb ...
  4. Unpacking linux-image-amlogic-mainline (1.0.7) over (1.0.7) ...
  5. Preparing to unpack linux-headers-amlogic-mainline_1.0.7_arm64.deb ...
  6. Unpacking linux-headers-amlogic-mainline (1.0.7) over (1.0.7) ...
  7. Setting up linux-image-amlogic-mainline (1.0.7) ...
  8. update-initramfs: Generating /boot/initrd.img-5.15.1-darkstar
  9. W: Possible missing firmware /lib/firmware/r8a779x_usb3_v3.dlmem for built-in driver xhci_plat_hcd
  10. W: Possible missing firmware /lib/firmware/r8a779x_usb3_v2.dlmem for built-in driver xhci_plat_hcd
  11. W: Possible missing firmware /lib/firmware/r8a779x_usb3_v1.dlmem for built-in driver xhci_plat_hcd
  12. W: Possible missing firmware /lib/firmware/nvidia/tegra194/xusb.bin for built-in driver xhci_tegra
  13. W: Possible missing firmware /lib/firmware/nvidia/tegra186/xusb.bin for built-in driver xhci_tegra
  14. W: Possible missing firmware /lib/firmware/nvidia/tegra210/xusb.bin for built-in driver xhci_tegra
  15. W: Possible missing firmware /lib/firmware/nvidia/tegra124/xusb.bin for built-in driver xhci_tegra
  16. update-initramfs: /boot/initrd.img-5.15.1-darkstar > /boot/initrd.img
  17. update-initramfs: Converting to u-boot format
  18. Setting up linux-headers-amlogic-mainline (1.0.7) ...
  19. Compiling headers - please wait ...
  20. *
  21. * Restart config...
  22. *
  23. *
  24. * ARMv8.5 architectural features
  25. *
  26. Branch Target Identification support (ARM64_BTI) [Y/n/?] y
  27.   Use Branch Target Identification for kernel (ARM64_BTI_KERNEL) [Y/n/?] (NEW)
  28. Enable support for E0PD (ARM64_E0PD) [Y/n/?] y
  29. Enable support for random number generation (ARCH_RANDOM) [Y/n/?] y
  30. Memory Tagging Extension support (ARM64_MTE) [Y/n/?] y
  31. *
  32. * Memory initialization
  33. *
  34. Initialize kernel stack variables at function entry
  35. > 1. no automatic stack variable initialization (weakest) (INIT_STACK_NONE)
  36. choice[1]: 1
  37. Enable heap memory zeroing on allocation by default (INIT_ON_ALLOC_DEFAULT_ON) [N/y/?] n
  38. Enable heap memory zeroing on free by default (INIT_ON_FREE_DEFAULT_ON) [N/y/?] n
  39. Enable register zeroing on function exit (ZERO_CALL_USED_REGS) [N/y/?] (NEW)
  40. beelink@Beelink:~/Downloads/Linux-5.15.1-darkstar$
Copy the Code
Reply Support Not support

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
Post time 2021-11-08 15:17:10 | Show all posts
darkstar replied at 2021-11-07 23:07
This weekend I played with my box and once again I remembered why Debian is one of the best distribu ...
Where Debian 11 with testing branch gives us 1244 glmark2-es2-wayland score with Mesa 21.2.4


A new Debian 11 Bullseye (GNOME 41.1) build with mesa 21.2.4, great and glmark2-es2-wayland score significantly higher than Ubuntu-Impish.  Interesting.  Releasing this image? Debian 11 GNOME 41.1 desktop looks different from Ubuntu-Impish GNOME 40.5.
Reply Support Not support

Use magic Report

You have to log in before you can reply Login | Sign up

Points Rules

Quick Reply To Top Return to the list