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
Just now, balbes150 said:

If you don't mind, please check the latest image Armbian

I will, but only when I will have some free time, I'm very busy these days ...

Thanks !

Share this post


Link to post
Share on other sites
(edited)
On 9/20/2019 at 4:20 PM, balbes150 said:

Hi. If you don't mind, please check the latest image Armbian (and LE from here on T4. After recording on the SD card to configure file (/extlinu/extlinux.conf) which DTB to use (specify rk3399-nanopc-t4.dtb).

 

Armbian

https://yadi.sk/d/QVY8gdpvgJsbig

 

 

LE

https://yadi.sk/d/zvDA-DsGB1i2pw

I has installed Armbian. It started and works, but Wi-Fi and bluetooth not working. And also something with sound.

 

And also I tried LibreElec - work fine, Wi-Fi/Bluetooth/Sound all is works, but USB3.0 not working. Not support 4K video resolution.  I was tried to play 4K video, it works perfectly.

Edited by PRIHLOP
Add info about 4K video

Share this post


Link to post
Share on other sites

FWIW.  I did a quick test with Armbian_5.98.191003_Nanopct4_Debian_buster_dev_5.3.0-rc4_minimal.img and it booted and survived superficial testing (over ssh and serial console).  No wifi device.  I didn't test the video out.

Share this post


Link to post
Share on other sites

@martinayotte

You can check on the T4 available to you the possibility of starting the system directly from USB media ? Unfortunately I only have EDGE, I checked on it, everything works. I'm wondering if other models will be able to run from USB.

 

(information in the subject of TV boxes for rk3399)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
8 8