View: 45434|Reply: 57

GT King Pro - Debian10 Buster Firmware with 5.12 Mainline Kernel

[Copy link]

6

Threads

205

Posts

1909

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1909
Post time 2021-01-31 00:37:33 | Show all posts |Read mode
Edited by darkstar at 2021-05-03 14:48

Beelink GT King Pro - Debian 10 Buster Firmware with 5.12 Mainline Kernel

I prepared Debian Linux Firmware for Beelink GT-King Pro, GT-King users can use it too.
This build runs only from USB don't waste your time to flash & boot from an SDCARD.
It runs stable and smooth performance seems better than legacy kernel, please test it.


Debian 10 Buster

The Debian project has announced the release of Debian 10 (code-named "buster"), the latest stable version from the popular community project and the world's largest Linux distribution whose beginnings date back to 1993: "After 25 months of development the Debian project is proud to present its new stable version 10, which will be supported for the next 5 years. This new release of Debian comes with a lot more software than its predecessor; the distribution includes over 13,370 new packages, for a total of over 57,703 packages. Most of the software in the distribution has been updated. Debian again ships with several desktop applications and environments. Among others it now includes GNOME 3.30, KDE Plasma 5.14, LXDE 10, LXQt 0.14, MATE 1.20 and Xfce 4.12. With buster, Debian brings a mandatory access control framework enabled by default. New installations of Debian buster will have AppArmor installed and enabled."


Download Links 5.12 Kernel:

BOOT-5.12.tar.gz
Debian10-5.12-USB-Image


Download Links 5.10.12 Kernel:

http://212.47.238.211:22081/VIM3 ... 4-USB-210130.img.xz
http://212.47.238.211:22081/BOOT-5.10.12.tar.gz

INSTRUCTIONS :

  • Just flash image file with balenaetcher,
  • Exrtract BOOT-5.10.12.tar.gz  to BOOT partition and overwrite all files.
  • Plug your usb to OTG port of device and boot it.
  • At first boot it will resize rootfs partition.
  • Username/password is beelink/beelink
  • root pasword is beelink

Note :  The file u-boot.ext was compiled by balbes150 from armbian project.



To fix sound problem follow steps below:

1- Login as beelink (normal user), Terminate sound server from systray sound icon.

2- Edit "sudo nano /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf" comment analog-mono section, must be like below.
[General]
auto-profiles = yes

;[Mapping analog-mono]
;device-strings = hw:%f
;channel-map = mono
;paths-output = analog-output analog-output-lineout analog-output-speaker analog-output-headphones analog-output-headphones-2 analog-output-mono
;paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic analog-input-dock-mic analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line analog-input-headset-mic
;priority = 7

3 - Run g12 sound script (Thanks to Manjaro team) and enjoy
  1. sh /boot/g12_sound.sh
Copy the Code
screenshot.png
Screenshot_20210130_233649.png
Reply

Use magic Report

6

Threads

205

Posts

1909

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1909
 Author| Post time 2021-01-31 00:56:13 | Show all posts
reserved
Reply

Use magic Report

0

Threads

22

Posts

297

Credits

Full Member

Rank: 3Rank: 3

Credits
297
Post time 2021-01-31 09:39:47 | Show all posts
Reply

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
Post time 2021-01-31 11:42:55 | Show all posts
Edited by JFL at 2021-01-31 15:23

@darkstar,
Thanks. Great work. Downloading. Will test it out.
Edit: Downloaded and boot up successfully.  Ethernet, Wifi and sound works (after the edit per instruction and sh /boot/g12_sound.sh)

uname -a
Linux Beelink 5.10.12-darkstar #1.0.1 SMP Sat Jan 30 17:07:34 +03 2021 aarch64 GNU/Linux


Reply Support Not support

Use magic Report

6

Threads

205

Posts

1909

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1909
 Author| Post time 2021-01-31 22:47:33 | Show all posts
JFL replied at 2021-01-31 11:42
@darkstar,
Thanks. Great work. Downloading. Will test it out.
Edit: Downloaded and boot up successfu ...

Please share your experience and thoughts.
Reply Support Not support

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
Post time 2021-02-01 17:23:39 | Show all posts
Edited by JFL at 2021-02-01 20:24
darkstar replied at 2021-01-31 22:47
Please share your experience and thoughts.

@darkstar

My earlier image seems to have some issue, where it sometimes fails to boot up completely and stuck at the TTY level and at time boot cleanly. Re-burn a new image, now seems to works great so far.  

Your Debian_5.10.12 image is very compact in terms of RAM memory resource usage on boot up and yet it have ethernet, wifi, sound and bluetooth support.  Able to play 1080p/60 with reasonably low level of frame dropped on firefox 78-esr.  Per my experience it seems firefox 78-esr video performance is better than firefox 84 (on Ubuntu or Manjaro) in terms of playing 1080p/60 video with lower frame dropped.

Thanks for the great work and sharing.  Looking forward to your future releases.
Edit: Update:  High Bit rate 1080p video on MPV looks smooth. Good.
Reply Support Not support

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
Post time 2021-02-02 17:41:06 | Show all posts
Edited by JFL at 2021-02-02 17:53

@darkstar
Edit:  Overall experience have been very positive.

For your info, the sound could also be resolved if you has access to Vim3-Focal /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf  and  replaced the Buster /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf with Focal defualt.conf.

With the Vim3-Ubuntu default.conf you will also have one more sound option, "mono-fallback output" in addition to "Stereo" and "Multi-Channel Output".  This was how I earlier resolved the Vim3-Buster-4.9.241 sound issue.

So far the Debian-5.10.12 has been running fine and snappy.  

But I still have at times, boot-up issue and resolves by power off and restart.  

Example: "Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator." during boot up.  Or very slow to boot up at the TTY level.  Power off and restart resolve the issue.  

Likely is specific to me. A USB Flash issue.


Reply Support Not support

Use magic Report

7

Threads

261

Posts

1325

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1325
Post time 2021-02-02 19:46:05 | Show all posts
@darkstar
Why don't you package the whole USB as a flash-able image so users don't have to do manual changes.

Feel free to DM me if you need to know how you can create a ready to flash image with bootloader and sound fix.
Also you need to run sound script on every boot so you can add it to systemd service.

Nice work.
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

205

Posts

1909

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1909
 Author| Post time 2021-02-03 01:02:55 | Show all posts
Edited by darkstar at 2021-02-03 01:10
spikerguy replied at 2021-02-02 19:46
@darkstar
Why don't you package the whole USB as a flash-able image so users don't have to do manual ...

I'm not a official Debian developer like you and Manjaro , I don't have too much free time and one more thing there are just few people interested on Linux images for tv boxes.

Instructions are simple I think, otherwise I must make too much changes to khadas fenix script.

No need to run sound script every time, running it just one time is enough.

By the way just the modification of /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf file will probably solve sound issue but I didn't tried it. This file causes sound problem on other sbc's too like Raspberry pi.

Reply Support Not support

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
Post time 2021-02-03 14:22:37 | Show all posts
darkstar replied at 2021-02-03 01:02
I'm not a official Debian developer like you and Manjaro , I don't have too much free time  ...

@darkstar

I think, one of the reason why not many tv box users are running Linux is because they are not aware thier tv box is powerful enough to run Linux and Linux can convert thier tv box effectively into a basic desktop pc.  For example, in my case I had the assumption that TV Boxes are just barely good enough to stream video on line and some basic android function.  This was based on the fact I happened to use one of much older tv box during one of the holiday trip and that tv box was not streaming video that well.

With a bit of research, I found out many of the newer TV Boxes are more than good enough to run Linux and good enough for basic desktop pc.  And your Debian/Ubuntu build introduces me to Linux and since then Linux on GT King Pro had been my daily desktop pc.

I believe if Beelink or other TV Box manufacturers package Linux (be it legacy or mainline) as part of TV Box deliverable (like Beelink did with CoreELEC) many TV Box users will be using thier TV Box as desktop pc.

Keep up the good work.  
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