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

GT King Pro - Debian10 Buster Firmware with 5.12 Mainline Kernel

[Copy link]

6

Threads

201

Posts

1867

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1867
 Author| Post time 2021-05-03 14:51:23 | Show all posts
gtkingpro.ac2n replied at 2021-04-07 01:11
I try Manjaro there is no problem with ufw or iptables... Please @darkstar can you build new debian  ...

I build another firmware with Linux-5.12 Mainline Kernel.

You can try it too.
Reply Support Not support

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
Post time 2021-05-03 21:46:21 | Show all posts
Hi @darkstar,

Noticed you have a new Debian Buster 5.12 build.  Just wondering whether you have a Ubuntu Focal 5.12 build?  With Focal we can try out the Panfrost using Oibaf graphics drivers and also there is a possibility to upgrade via Fenix.list without having to burn new image whenever there is a update available.
Reply Support Not support

Use magic Report

6

Threads

201

Posts

1867

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1867
 Author| Post time 2021-05-04 03:55:04 | Show all posts
JFL replied at 2021-05-03 21:46
Hi @darkstar,

Noticed you have a new Debian Buster 5.12 build.  Just wondering whether you have a U ...

I build Ubuntu image with 5.12 kernel twice but it didn't worked properly.
Maybe due to my usb drive or something else, I didn't like it.

If you need Ubuntu with latest 5.12 I can built a proper one.
Reply Support Not support

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
Post time 2021-05-04 14:54:22 | Show all posts
darkstar replied at 2021-05-04 03:55
I build Ubuntu image with 5.12 kernel twice but it didn't worked properly.
Maybe due to my usb dri ...

Hi @darkstar,

It will great to be able to try out Ubuntu with the latest kernel 5.12.y with Panfrost (and Wayland) built specially for GT King Pro and have the potential to upgrade via fenix.list link provided it not too much trouble for you.

Best Rgds.

Reply Support Not support

Use magic Report

6

Threads

201

Posts

1867

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1867
 Author| Post time 2021-05-04 20:32:02 | Show all posts
JFL replied at 2021-05-04 14:54
Hi @darkstar,

It will great to be able to try out Ubuntu with the latest kernel 5.12.y with Panfr ...

Yesterday I build a new ubuntu image but it does not work properly.
If I get success will share.
Reply Support Not support

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
Post time 2021-05-04 21:22:14 | Show all posts
darkstar replied at 2021-05-04 20:32
Yesterday I build a new ubuntu image but it does not work properly.
If I get success will share.

Darkstar,

Thanks.
Reply Support Not support

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
Post time 2021-05-08 16:28:20 | Show all posts
Edited by JFL at 2021-05-08 16:35

Hi @darkstar,

I notice Khadas had pre-built image for latest ubuntu focal v1.0.5 mainline kernel 5.12 avaialble http://build.khadas.com/khadas/fenix/images/VIM3/Ubuntu/SD-USB/.  Per my understanding as I have tried to burn Khadas Vim3 mainline kernel 5.10-rc6 images before by replacing the dtb file to meson-g12b-gtking-pro.dtb does not boot on GT King Pro.  
Is there a way to get it to boot, example, by replacing the Vim3 Ubuntu focal /boot with your Debian boot-5.12 (but not using any of your Debian related initrd, uinitrd, zImage, vmlinuz, etc but use all the rest) will it work?  Or is there a script that you have created to be able to make Vim3 image by Khadas to boot up on GT King Pro?

Reply Support Not support

Use magic Report

6

Threads

201

Posts

1867

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1867
 Author| Post time 2021-05-11 07:17:26 | Show all posts
Edited by darkstar at 2021-05-11 07:27
JFL replied at 2021-05-08 16:28
Hi @darkstar,

I notice Khadas had pre-built image for latest ubuntu focal v1.0.5 mainline kernel 5. ...

flash image and overwrite /boot partition from the file below.
on login select wayland option, other two options does not log you in.
anyway this image freezes like my previous ubuntu builds, good luck to you


https://disk.yandex.com.tr/d/c9p0ZTZN6YTXbQ
Reply Support Not support

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
Post time 2021-05-12 16:37:22 | Show all posts
darkstar replied at 2021-05-11 07:17
flash image and overwrite /boot partition from the file below.
on login select wayland option, othe ...

Hi Darkstar,

Thanks. Noted the instructions and freezes.
Reply Support Not support

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
Post time 2021-05-14 00:24:47 | Show all posts
Edited by JFL at 2021-05-14 17:02
JFL replied at 2021-05-12 16:37
Hi Darkstar,

Thanks. Noted the instructions and freezes.

Hi @darkstar,

Thanks for the vim3-focal-BOOT.tar.gz.  Based on your input that your Ubuntu Focal 5.12.0 build could have some freezes issue so I wanted to try using the Khadas_Vim3_Ubuntu_Focal_Kernel first.

Copied over all the files except these files initrd.img-5.12.0, System.map-5.12.0, uInitrd-5.12.0, uInitrd, vmlinuz-5.12.0 and zImage (all related to your kernel 5.12.0 build) from vim3-focal-BOOT over to /boot partition.  So basically using Khadas-Vim3 kernel built but with your boot.ini, uEnv.ini, etc.and the chainloader u-boot.ext from balbes150.

Login with Ubuntu-Wayland and so far no system freeze (2 hours) and Panfrost has been enabled by default.

During startup I do notice "Error on mac" and "Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator." during boot up which I also encountered with the Debian Buster 5.10.12 build previously.  I just plug-in the Ethernet cable but it does not automatically connect to Ethernet still connected via Wifi so not sure whether Ethernet works.  Read in Khadas forum that there is bug with Gnome:
The only issue it had was ethernet was not recognized only wifi because of a bug with gnome but I quickly fixed it by adding:
“except:type:ethernet” in /usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf and then “sudo service network-manager restart” and then associating Ifupdown to eth0 from Ubuntu network-manager GUI.

Not sure whether I am having the same issue.  


Not familiar with Ubuntu-Desktop (GNOME) yet  Don't seems to be able to locate the app "Startup and Session" (Xfce) to see what applications had been loaded during startup.

Edit: Tested the Ethernet Not working by default (Wired Network Unmanaged or something like that).  Will try to follow the suggested solution to see it works.

Edit2: The below method seems to resolve the Ethernet issue.  The error message "Error on mac" and "Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator." persist during boot up.  Had one kernel panic during boot process.  No visual artifacts so far on Ubuntu-Wayland with Panfrost Enabled.

The Ubuntu login does NOT work as you pointed out. Just a blank black screen.  Did not try GNOME Classic login.

by adding:
“except:type:ethernet” in /usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf and then “sudo service network-manager restart” and then associating Ifupdown to eth0 from Ubuntu network-manager GUI.

  1. khadas@Khadas:~$ uname -a
  2. Linux Khadas 5.12.0 #1.0.5 SMP Fri Apr 30 18:09:44 CST 2021 aarch64 aarch64 aarch64 GNU/Linux
  3. name of display: :0
  4. display: :0  screen: 0
  5. direct rendering: Yes
  6. Extended renderer info (GLX_MESA_query_renderer):
  7.     Vendor: Panfrost (0xffffffff)
  8.     Device: Mali G52 (Panfrost) (0xffffffff)
  9.     Version: 21.0.1
  10.     Accelerated: yes
  11.     Video memory: 3780MB
  12.     Unified memory: yes
Copy the Code
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