Fedora 27 on Pine64
#11
(08-09-2018, 11:11 AM)heatfanjohn Wrote: Ugh, I just found out that there currently isn't any MALI GPU support in Fedora for the A64 chip ...

It's confusing to me on how to add that support to Fedora.  Too many new names for me: UMP, SimpleFB, LIMA Driver, MESA, LIMA-MESA ...

I'm not sure what's the best way to go.

Sad

This looks promising ...

https://developer.arm.com/products/softw...li-drivers

Cool
#12
(08-09-2018, 12:16 PM)heatfanjohn Wrote:
(08-09-2018, 11:11 AM)heatfanjohn Wrote: Ugh, I just found out that there currently isn't any MALI GPU support in Fedora for the A64 chip ...

It's confusing to me on how to add that support to Fedora.  Too many new names for me: UMP, SimpleFB, LIMA Driver, MESA, LIMA-MESA ...

I'm not sure what's the best way to go.

Sad

This looks promising ...

https://developer.arm.com/products/softw...li-drivers

Cool

This looks even more promising:
https://www.kickstarter.com/projects/boo...escription

The Bootlin guys are making Linux mainline drivers for the Allwinner VPUs. Expect magic to happen on the 64 bit cores in the next few months.
#13
Hi guys! Thanks for the information about fedora support for Pine64+. I'm trying to use it, but I can see some kernel messages on boot process, I can't get any video output for console. There's any way to change it and output things to hdmi instead of serial?
#14
(09-23-2018, 03:01 AM)decko Wrote: Hi guys! Thanks for the information about fedora support for Pine64+. I'm trying to use it, but I can see some kernel messages on boot process, I can't get any video output for console. There's any way to change it and output things to hdmi instead of serial?

As I understand it right now there isn't any Open Source support for the VPU (Mali) used in the A64 SoC.  Bootlin is working on getting Open Source support for the Mali VPU into the Linux kernel.  Support for the Allwinner A64 was a stretch goal for a Kickstarter campaign to add support for the Mali VPU to the Linux kernel.

That being said, I just reread Bootlin's 9/14 posting on their work and I appear to have been confused between VPU support and GPU support.  Their Kickstarter work was for VPU support which is for video processing.  For getting a Desktop to work we appear to need only GPU support which may already be possible.  See below from their posting:  https://bootlin.com/blog/allwinner-vpu-s...e-week-37/

Quote:Thomas Petazzonisays:
September 19, 2018 at 3:08 pm
Your Qt QML application is using OpenGL, which requires the GPU. Our project is about supporting the VPU, that helps with video decoding. Hence, unless your Qt QML application does video decoding+rendering, the VPU is totally useless for you.
However, your Qt QML application can already work with the mainline Linux kernel. We have done some integration of the Mali kernel drivers and we provide Mali userspace blobs that work with the upstream Linux kernel. See https://bootlin.com/blog/mali-opengl-support-on-allwinner-platforms-with-mainline-linux/ and https://bootlin.com/blog/more-opengl-binaries-for-the-mali-support-on-allwinner-platforms-with-mainline-linux/ for more details.
#15
Do I really need GPU acceleration to use basic video support on AllWinner SoC? I just wanted to see a basic console. But no problem. I just got my serial adapter to plug the Pine64+ and see whats happening on boot process.

(09-23-2018, 10:02 AM)heatfanjohn Wrote:
(09-23-2018, 03:01 AM)decko Wrote: Hi guys! Thanks for the information about fedora support for Pine64+. I'm trying to use it, but I can see some kernel messages on boot process, I can't get any video output for console. There's any way to change it and output things to hdmi instead of serial?

As I understand it right now there isn't any Open Source support for the VPU (Mali) used in the A64 SoC.  Bootlin is working on getting Open Source support for the Mali VPU into the Linux kernel.  Support for the Allwinner A64 was a stretch goal for a Kickstarter campaign to add support for the Mali VPU to the Linux kernel.

That being said, I just reread Bootlin's 9/14 posting on their work and I appear to have been confused between VPU support and GPU support.  Their Kickstarter work was for VPU support which is for video processing.  For getting a Desktop to work we appear to need only GPU support which may already be possible.  See below from their posting:  https://bootlin.com/blog/allwinner-vpu-s...e-week-37/

Quote:Thomas Petazzonisays:
September 19, 2018 at 3:08 pm
Your Qt QML application is using OpenGL, which requires the GPU. Our project is about supporting the VPU, that helps with video decoding. Hence, unless your Qt QML application does video decoding+rendering, the VPU is totally useless for you.
However, your Qt QML application can already work with the mainline Linux kernel. We have done some integration of the Mali kernel drivers and we provide Mali userspace blobs that work with the upstream Linux kernel. See https://bootlin.com/blog/mali-opengl-support-on-allwinner-platforms-with-mainline-linux/ and https://bootlin.com/blog/more-opengl-binaries-for-the-mali-support-on-allwinner-platforms-with-mainline-linux/ for more details.
#16
(09-25-2018, 07:42 AM)decko Wrote: Do I really need GPU acceleration to use basic video support on AllWinner SoC? I just wanted to see a basic console. But no problem. I just got my serial adapter to plug the Pine64+ and see whats happening on boot process.

The serial adapter to the UART is the way to go to see the console.  As it stands now there is no video driver for the Pine64+ Mali GPU in the standard Linux kernel.  There is no `/dev/fb0` frame buffer device.

I've been able to build the Mali kernel module for Fedora 28, but the module won't load because the GPU isn't in the Linux DTB for the Pine64+.
I'm now trying to figure out how to add that to DTB for the A64 chip.

Although, now I'm reading that this driver just produces the `/dev/mali` device.  All I'm trying to do is to get the HDMI port and X11 to work.
#17
Sad 
I feel like I've been on a fool's errand trying to get the GPU to work on my Pine A64+, however, it is true that you learn more when things don't work than when they do.  I've successfully built and loaded a kernel module on Fedora.  I've also successfully modified and built a custom Device Tree Blob from the Linux source.  However, getting a desktop (Wayland) to run on my Pine A64+ has been more challenging and more involved.  My stumbling block now is getting a DRM (Direct Rending Manager) driver to load and work on my device.  The "standard" sun4i-drm driver requires much more than just a GPU node in the DTB.

I've gotten close, but still no "cigar".  

The good news is that support for the GPU and HDMI on the A64 chip appears to be on the horizon and specifically in Linux Kernel 4.20 which should be actively being worked on since 4.19 just got released.

Hopefully I can get my hands on a stable 4.20 release to play with soon.
#18
Hi. Is it possible to do a remote login on a newly installed fedora Minimal ? I can see the network led lights functioning as if the network is functional. However I do not have a UART cable.
Alternatively I guess I could try to edit appropriate files on the sd card that may allow me to log in. Is it possible to set up ssh with a login that will enable me to get into the system? This may go against the normal fedora install procedure - so may not be possible. Any ideas? My router is showing its network address.
#19
(01-02-2019, 09:43 PM)S265 Wrote: Hi. Is it possible to do a remote login on a newly installed fedora Minimal ? I can see the network led lights functioning as if the network is functional. However I do not have a UART cable.
Alternatively I guess I could try to edit appropriate files on the sd card that may allow me to log in. Is it possible to set up ssh with a login that will enable me to get into the system? This may go against the normal fedora install procedure - so may not be possible. Any ideas? My router is showing its network address.

I don't recall doing anything to setup DHCP on eth0, I believe that DHCP is enabled by default.

Although thinking about it now I don't remember if I had to do anything to enable SSH and how I changed or removed the password from root.  I do have a FTDI USB UART cable so I'm able to get access to the console, however I probably mounted the SD card on a Linux machine and put no password on root in /etc/shadow.

Then once I was able to login I created a userid for me and put a password on root.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Fedora 32/CentOS 8 Pine A64+ Images wideawake 2 5,336 10-02-2020, 11:38 AM
Last Post: mathiraj
  Programming languages support under PINE64 baryluk 6 12,018 09-23-2020, 11:46 PM
Last Post: Phillip Bell
  Manjaro arm on pine64+ roel 2 5,767 10-19-2019, 05:13 AM
Last Post: roel
  +PINEBOOK Fedora 30 on Pinebook sdgathman 0 3,308 08-14-2019, 11:41 AM
Last Post: sdgathman
  Volumio for PINE64 Released mikelangeloz 11 24,025 03-22-2019, 09:25 AM
Last Post: llungster
  I2S Audio patches for Pine64+ uploaded to GitHub ramstadt 1 3,947 01-19-2019, 11:31 AM
Last Post: ramstadt
  Pine64: Minimal SDL config Max11 3 5,829 01-04-2019, 03:47 PM
Last Post: Max11
  Official build procedure of ayufan pine64 r.tanaka 0 3,054 08-21-2018, 10:54 PM
Last Post: r.tanaka
  DKMS on kernel 3.10.107-pine64 obrienmd 5 8,370 06-21-2018, 05:45 PM
Last Post: evilbunny
  Gentoo for pine64 - longsleep kernel incoherent 0 3,572 12-09-2017, 08:14 AM
Last Post: incoherent

Forum Jump:


Users browsing this thread: 4 Guest(s)