Jump to content

Recommended Posts

Posted

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.

Posted

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? 

Posted

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?

Posted
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.

Posted

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?

Posted
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.

Posted

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/

Posted
4 minutes ago, martinayotte said:

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

Thanks !

It's not urgent. In this thread write that it seems to work, but I would like to see an experienced user. :)

 

https://forum.libreelec.tv/thread/14078-status-of-nanopc-t4-rk3399/?pageNo=6

 

 

 

 

ps The details about using these images, there is in this topic.

 

 

 

Posted (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
Posted

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.

Posted

@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)

Posted
On 12/24/2018 at 9:34 PM, martinayotte said:

Just a side note here : Is there any nightly build NanoPCT4 users who are using 4.19.y builds on eMMC ?

 

I ask that because I've some local patch for months that I never committed related to eMMC, which in my case was required since my T4 have an older eMMC, I had to comment those lines in DT :

 

//mmc-hs400-1_8v;

//mmc-hs400-enhanced-strobe;

mmc-hs400-1_8v only worked for me with 4.4. Can't say when it broke, but i did a lot of testing and building my own image with all sorts of various patches you can find across the internet.

Pretty common problem on many boards, but nothing worked.

 

It would be interesting if mmc-hs400 works on any T4, or anyone could confirm.

 

My simple and lazy workaround is editing /boot/boot.cmd

fdt rm /sdhci@fe330000 mmc-hs400-1_8v
fdt rm /sdhci@fe330000 mmc-hs400-enhanced-strobe

But I am afraid this could easily break with an automatic u-boot update? Does this file get touched, or is there another way through /boot/armbianEnv.txt to make this change permanent.

I would like to stick to original 2019-11-19 wich works very good for me, eg rootfs on nvme though armbian-config in a few seconds. 

 

Posted
4 hours ago, fraz0815 said:

But I am afraid this could easily break with an automatic u-boot update?

 

Only with latest upgrade forced update of boot scripts (/boot/boot.cmd/scr/ini file) is enforced. Otherwise we do not touch that. Also armbianEnv.txt which is recreated on upgrade only if missing.

Posted

I have recently flashed the Armbian on my T4 and I'm really loving it.

 

There is 1 thing I need little help with, when I disable the GUI through the armbian-config that network connectivity dies right away.

 

1.  Logging into the desktop and then disable GUI, it goes to empty black screen = No connectivity and no access to SSH

2. With GUI already disabled before boot, lands on tty1 (haven't logged in on terminal) = No connectivity and no access to SSH

- as soon as I login on tty1, connectivity and SSH is available.

 

How can this be fixed? I want to run the board headless and don't want to login on the terminal either.

Posted
18 hours ago, Igor said:


It works if you disable desktop from SSH session. This way is not implemented and will not be developed without "your" help https://github.com/armbian/config/graphs/contributors?from=2019-07-01&to=2020-01-01&type=c

 

Do you want CLI image only?


I have tried disabling the desktop from the SSH as well, but as soon as I close the session the network connectivity dies right away. Then I have to hook up a keyboard to access the board.

 

Yes, I know there are cli only images there, but sometimes I use the desktop to browse, watch videos, listen to music etc as well through vnc.

 

I forgot the mention before that I'm using Armbian Bionic Desktop (19.11.3) image.

Posted

Today I am trying to reburn my nanopc-t4 with the latest images, but I found that wifi didn't work in the image with kernal version of 5.4.x, while it worked well in 4.4.x. Do I need to install driver or some special test to turn the wifi on?

Posted
1 hour ago, Hippo said:

Today I am trying to reburn my nanopc-t4 with the latest images, but I found that wifi didn't work in the image with kernal version of 5.4.x, while it worked well in 4.4.x. Do I need to install driver or some special test to turn the wifi on?


If you need wifi or some other functions, you have to use kernel 4.4.y Functions in modern kernel are usually made from scratch. By volunteers. Its a hard and slow work.

Posted
7 hours ago, Hippo said:

but I found that wifi didn't work in the image with kernal version of 5.4.x

Maybe you should try another firmware :

mv /lib/firmware/brcm/brcmfmac4356-sdio.bin /lib/firmware/brcm/brcmfmac4356-sdio.bin-ORIG
mv /lib/firmware/brcm/brcmfmac4356-sdio.txt /lib/firmware/brcm/brcmfmac4356-sdio.txt-ORIG
cp /lib/firmware/brcm/brcmfmac4356-sdio-nanopi-m4v2.bin /lib/firmware/brcm/brcmfmac4356-sdio.bin
cp /lib/firmware/brcm/brcmfmac4356-sdio-nanopi-m4v2.txt /lib/firmware/brcm/brcmfmac4356-sdio.txt

And then reboot ...

Posted
On 1/5/2020 at 3:57 PM, Igor said:


If you need wifi or some other functions, you have to use kernel 4.4.y Functions in modern kernel are usually made from scratch. By volunteers. Its a hard and slow work.

Thank you as well as other volunteers! Will you consider to build a binoic 4.4 cli image as there's no stable ubuntu server image now. Thanks again.

Posted
On 1/5/2020 at 9:44 PM, martinayotte said:

Maybe you should try another firmware :


mv /lib/firmware/brcm/brcmfmac4356-sdio.bin /lib/firmware/brcm/brcmfmac4356-sdio.bin-ORIG
mv /lib/firmware/brcm/brcmfmac4356-sdio.txt /lib/firmware/brcm/brcmfmac4356-sdio.txt-ORIG
cp /lib/firmware/brcm/brcmfmac4356-sdio-nanopi-m4v2.bin /lib/firmware/brcm/brcmfmac4356-sdio.bin
cp /lib/firmware/brcm/brcmfmac4356-sdio-nanopi-m4v2.txt /lib/firmware/brcm/brcmfmac4356-sdio.txt

And then reboot ...

Thanks for sharing, it really works!

Posted

Hello, the recent built for nanopct4 with legacy kernel works fine (05.01.2020).

Is it possible to setup in .config some more dvb drivers? i have a technotrend 3650 s2 ci

 

- dvb_usb_pctv452e

- stb6100

- lnbp22

- stb0899

- ttpci_eeprom

- dvb_usb

 

Many thanks

 

Sebastian

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...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines