1 1
balbes150

Armbian for TV box rk3328

Recommended Posts

1 hour ago, balbes150 said:

For verification (so as not to destroy eMMC), is it possible as a workaround? to perform a combined system start-up. Place the bootloader on the SD card and the rest of the system on the USB drive.

If not difficult, tell me how to do it? Or share a link to the manual (highly desirable, in Russian). I am pleased to test your version.

Share this post


Link to post
Share on other sites
On 9/30/2018 at 5:21 PM, balbes150 said:

The version of the image 20180930 with support for full-screen video through MPV with HW. :)

To use MPV with HW, you must run these commands.

 

sudo add-apt-repository ppa:ayufan/rock64-ppa

sudo apt-get update

sudo apt-get install ffmpeg mpv libmali-rk-utgard-450-r7p0-gbm

 

Rename the file in the home directory of the user ".config/mpv/mpv.conf.rkmpp"   to  ".config/mpv/mpv.conf"  

Reboot the system.

 

Please note that full-screen video with HW works only through MPV.

 

I pay attention, for the correct operation of MPV in HW mode on behalf of a normal user, it is necessary to have a file in the user's home directory ("~/.config/mpv/mpv.conf") with such content

 

vo=gpu

gpu-context=drm

hwdec=rkmpp

 

If for some reason there is no file (mpd.conf.rkmpp) to rename in the specified location, you need to create file (~/.config/mpv/mpv.conf) it yourself with the correct content.

 

Share this post


Link to post
Share on other sites

In previous images, a strange error was found, so I updated the images to version 20181014.

Checked on MVR9, everything works. Added additional image with Ubuntu Bionic and built-in MPV with HW support. The video plays in full screen. For those who need to play full screen video from Youtube, I recommend To install SMPlayer and Smtube packages, configure Smplayer (in additional options to use MPV with options "--vo=gpu --gpu-context=drm --hwdec=rkmpp" )  and you will get Youtube video in full screen in Smtube.

Share this post


Link to post
Share on other sites

Hi there,

 

First of all thank you very much for the work done on this image.

 

I recently bought an RK3328 T9 android box (seems to be an OEM box, but mine is "Vontar" branded). I'm of course interested in installing Linux on it :)

 

Good news is that it boots on microSD ... 

 

Now, with the provided image, I'm stuck at the initramfs step...

 

 

ZeVPwSA.png

 

 

I tried changing the "UUID=" usage with "PARTUUID=" in the armbianEnv.txt file but had no success.

 

Any idea of what could be the cause ?

 

Share this post


Link to post
Share on other sites
9 minutes ago, balbes150 said:

1. Specify the version of the image.

2. Which dtb option is specified in the settings ? 

 

1: "Armbian_5.62_Rk3328-tv_Debian_stretch_default_4.4.143_desktop_20181008.img"

2: "/dtb/rockchip/rk3328-box-trn9.dtb", I already tried the others rk3328*, unfortunately with always the same result.

Share this post


Link to post
Share on other sites

As the recorded image ? As a connected SD card with Armbian to TV box ? I observed the same error when trying to use an extension cord for SD card. Only when you install the SD card in the regular slot in the TV box, the system works fine. To configure the mount point, use the file " / extlinux / extlinux.conf." Note that if you change the mount point in this file, you will not be able to use the eMMC system installation script.

Share this post


Link to post
Share on other sites
8 minutes ago, balbes150 said:

As the recorded image ? As a connected SD card with Armbian to TV box ? I observed the same error when trying to use an extension cord for SD card. Only when you install the SD card in the regular slot in the TV box, the system works fine. To configure the mount point, use the file " / extlinux / extlinux.conf." Note that if you change the mount point in this file, you will not be able to use the eMMC system installation script.

 

I wrote the .img on a microsd using Etcher. I inserted the microsd directly in the microsd slot of the box.

 

Hum, I'm sorry, I have no idea which extlinux.conf modification of the mount point could make the system to boot.

 

Quick question: within the initramfs, is it a normal mount result ?

 

rCwWaYO.png

 

 

Share this post


Link to post
Share on other sites
12 minutes ago, nytocs said:

Hum, I'm sorry, I have no idea which extlinux.conf modification of the mount point could make the system to boot.

To check, try changing the line in the file "extlinux.conf"

 

APPEND root=LABEL=ROOTFS console=uart8250,mmio32,0xff130000 console=tty0

 

to

 

APPEND root=/dev/mmcblk0p2 console=uart8250,mmio32,0xff130000 console=tty0

or

APPEND root=/dev/mmcblk1p2 console=uart8250,mmio32,0xff130000 console=tty0

 

15 minutes ago, nytocs said:

Quick question: within the initramfs, is it a normal mount result ? 

No, this is incorrect content, so the system does not start.

Share this post


Link to post
Share on other sites
12 minutes ago, balbes150 said:

To check, try changing the line in the file "extlinux.conf" 

 

APPEND root=LABEL=ROOTFS console=uart8250,mmio32,0xff130000 console=tty0

 

to

 

APPEND root=/dev/mmcblk0p2 console=uart8250,mmio32,0xff130000 console=tty0 

or 

APPEND root=/dev/mmcblk1p2 console=uart8250,mmio32,0xff130000 console=tty0 

 

No, this is incorrect content, so the system does not start. 

 

I tried both APPEND propositions... doesn't work ...

 

But it isn't very surprising because I cannot see any mmcblk* device in /dev/ from the initramfs :mellow:

 

Did you already encounter such situation ?

Share this post


Link to post
Share on other sites
18 minutes ago, nytocs said:

I tried both APPEND propositions... doesn't work ...

 

But it isn't very surprising because I cannot see any mmcblk* device in /dev/ from the initramfs :mellow:

 

Did you already encounter such situation ?

no, I didn't see that situation. there are several possible causes. Not the correct dtb (not available to fit your TV box). Either the card reader and / or SD card are not compatible. Show a link with a description of your model.

Share this post


Link to post
Share on other sites
1 hour ago, balbes150 said:

no, I didn't see that situation. there are several possible causes. Not the correct dtb (not available to fit your TV box). Either the card reader and / or SD card are not compatible. Show a link with a description of your model. 

 

https://www.aliexpress.com/item/Newest-4GB-64GB-Android-8-1-TV-Box-T9-RK3328-Quad-Core-4G-32G-USB-3/32899865217.html

 

I could extract information (an fdt file, among others) from the boot partitions of the Android 8.1. Do you think it can help ?

devicetree.tar.gz

 

Edit: Convered the fdt file (which is actually a .dtb file) into a .dts file

rk3328-t9-android.dts

rk3328-t9-android.dtb

Share this post


Link to post
Share on other sites

I tested yesterday evening your last image with my V88 mini III. I burnt your u-boot related files using rockchip opensource documentation, otherwise it booted to emmc starting android instead of sd card.

After that, I still was not able to boot even after testing all available dtbs (except android ones). I'll try too connect uart as soon as possible to give more insight of the problem.

Share this post


Link to post
Share on other sites
15 hours ago, nytocs said:

 

https://www.aliexpress.com/item/Newest-4GB-64GB-Android-8-1-TV-Box-T9-RK3328-Quad-Core-4G-32G-USB-3/32899865217.html

 

I could extract information (an fdt file, among others) from the boot partitions of the Android 8.1. Do you think it can help ?

devicetree.tar.gz

 

Edit: Convered the fdt file (which is actually a .dtb file) into a .dts file

rk3328-t9-android.dts

rk3328-t9-android.dtb

Good day. I have a SCISHION V88 Piano TV Box - RK3328 4GB RAM + 16GB ROM Android 7.1 USB 3.0 Fast LAN. It works very poorly with trees of devices that exist in various LibreElec assemblies for RK3328. Could you get the device tree for my box from its firmware? Here is the link to my firmware https://drive.google.com/open?id=1LbRUocCILNPPXVgu_cOH0Cgqm8JWb2Kn
Thank.

Share this post


Link to post
Share on other sites
23 hours ago, nytocs said:

No joy... the box doesn't boot anymore with this dtb

Check this option. Write the image to two media SD card and USB flash drive. Configure the dtb in the extlinux.conf on SD card. Connect both media at the same time to the TV box and turn on the power.

Share this post


Link to post
Share on other sites

New ver 5.64 20181019

 

 

Now I tested the latest version of the 5.64 system when playing video on MVR9. With the right options settings for MPV on the rk3328, you can watch full screen video at 1080p resolution (not perfect, but acceptable). But found that for continuous operation of the system must have a good cooling. All TV boxes with plastic housings require mandatory revision of the housing and it is very desirable to install the fan. Only in this case the system starts to work steadily and gives its full potential.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
1 1