8 8
tkaiser

NanoPC T4

Recommended Posts

I see that the "energy-aware scheduling" patch set got merged for the 5.0 kernel - this allows the mainline kernel to behave reasonably with asymetric multi-processor CPUs like the RK3399's A72/A53 big.LITTLE arrangement.

 

Has anyone given it a spin on a T4 yet?

 

Cheers,

 

Tim.

Share this post


Link to post
Share on other sites

Hi! I've successfully installed Armbian Bionic(kernel 4.20, automated build)  image on NanoPC-T4, but gpu drivers not provided. 

http://ix.io/1FBI

And /dev/mali0 didn't exist.

The question is: how to build and install open-source drivers(I didn't find any complete instructions), I actually not so experienced on it.

Or if I should build it by myself, where I can find docker with 4.20 Linux kernel? 

Share this post


Link to post
Share on other sites

Help to understand with boot process. I watch documentation from rockchip. There it is specified that several gpt partitions have to be created. I take a sd-card with the image of the armbian which is written down on it. I start the gdisk. I receive result:

GPT fdisk (gdisk) version 1.0.1

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
***************************************************************

Disk /dev/sdd: 31176704 sectors, 14.9 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 1239DBE7-E7AC-4D30-B146-AEF177251577
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 31176670
Partitions will be aligned on 2048-sector boundaries
Total free space is 344477 sectors (168.2 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1           32768        30864927   14.7 GiB    8300  Linux filesystem


Why so? It is really necessary to create the mbr partition?

Share this post


Link to post
Share on other sites
9 hours ago, Merblud said:

Why so? It is really necessary to create the mbr partition?


Technical documentation is sometimes abridged, weird or even wrong. For booting you only need one partition with a non-standard off set before. 16K instead of 1K.

Share this post


Link to post
Share on other sites

As a result it is necessary to create the mbr partition?

And why then the loader tries to look for the gpt partition? For example:

 

GPT 0x3190d20 signature is wrong
LoadTrust Addr:0x4000

Or nobody just knows what occurs in a blob from Rockchip?

Share this post


Link to post
Share on other sites
3 hours ago, Merblud said:

As a result it is necessary to create the mbr partition?


One is certain. You don't need any partitions since all boot stages are happening outside - at fixed positions. You only need a partition if you plan to boot Linux (from it). I am not sure if the type matters (depending from u-boot configuration I would say) ... you will need to dig deep into docs, if and where available.

Share this post


Link to post
Share on other sites

It was mentioned to me by email that the ethernet TX issue I describe here

plagues this board as well (my board is the LibreComputer Renegade).

 

It seems like the exact parameters might depend on each specific device, in which case the "best" solution would be some kind of "autoconfiguration" for the PBL, but that is in a future TODO. More about the issue andthe discussion here:

https://patchwork.kernel.org/patch/10880481/

 

Eventually this patch was merged for the Renegade upstream:

https://patchwork.kernel.org/patch/11017833/

Share this post


Link to post
Share on other sites
8 8