请选择 进入手机版 | 继续访问电脑版
楼主: darkstar

GT King Pro - Debian10 Buster Firmware with 5.12 Mainline Kernel

[复制链接]

6

Threads

205

Posts

1930

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1930
 楼主| 发表于 2021-05-03 14:51:23 | 显示全部楼层
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.
回复 支持 反对

使用道具 举报

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
发表于 2021-05-03 21:46:21 | 显示全部楼层
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.
回复 支持 反对

使用道具 举报

6

Threads

205

Posts

1930

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1930
 楼主| 发表于 2021-05-04 03:55:04 | 显示全部楼层
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.
回复 支持 反对

使用道具 举报

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
发表于 2021-05-04 14:54:22 | 显示全部楼层
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.

回复 支持 反对

使用道具 举报

6

Threads

205

Posts

1930

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1930
 楼主| 发表于 2021-05-04 20:32:02 | 显示全部楼层
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.
回复 支持 反对

使用道具 举报

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
发表于 2021-05-04 21:22:14 | 显示全部楼层
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.
回复 支持 反对

使用道具 举报

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
发表于 2021-05-08 16:28:20 | 显示全部楼层
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?

回复 支持 反对

使用道具 举报

6

Threads

205

Posts

1930

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1930
 楼主| 发表于 2021-05-11 07:17:26 | 显示全部楼层
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
回复 支持 反对

使用道具 举报

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
发表于 2021-05-12 16:37:22 | 显示全部楼层
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.
回复 支持 反对

使用道具 举报

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
发表于 2021-05-14 00:24:47 | 显示全部楼层
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
复制代码
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | Sign up

本版积分规则

快速回复 返回顶部 返回列表