10 10
balbes150

Armbian for TV box rk3328

Recommended Posts

your are right with your assumption: it does not yet read the dtb or boot the kernel - it hangs in the early stages of uboot already. i'm not sure how well the rk3318 is already supported by the uboot used in the armbian image (or by mainline uboot at all). you might give libreelec a try to see if maybe an image there boots any further. if also that does not help, then you'll most probably have to wait until there is better support for your box in uboot.

 

best wishes - hexdump

Share this post


Link to post
Share on other sites
4 hours ago, hexdump said:

your are right with your assumption: it does not yet read the dtb or boot the kernel - it hangs in the early stages of uboot already. i'm not sure how well the rk3318 is already supported by the uboot used in the armbian image (or by mainline uboot at all). you might give libreelec a try to see if maybe an image there boots any further. if also that does not help, then you'll most probably have to wait until there is better support for your box in uboot.

 

best wishes - hexdump

Thanks, I'll try libreelec and post back. 

 

UPDATED: Tried two libreelec images for the rk3328. Neither of them work and they both hang at the exact same point as armbian. 

Share this post


Link to post
Share on other sites
On 6/7/2019 at 9:33 AM, sekarpdkt said:

 

 

It works. I need to use both USB and micro SD card method. Already installed it on emmc. I ordered this one

 

https://www.banggood.in/H96-MAX-RK3318-4GB-RAM-32GB-ROM-5G-WIFI-bluetooth-4_0-Android-9_0-4K-VP9-H_265-TV-Box-p-1471898.html?rmmds=myorder&ID=533601&cur_warehouse=CN

 

Hi.

I am trying to get armbian up and running on the same tv box (except mine has 64GB emmc). I cannot seem to boot. Serial console stops pretty quickly. @hexdump suggested that the uboot does not work with rk3318.

 

I am a newbie and could really use some help. Can you please elaborate on what you mean by both USB and microSD card method? 

 

Thank you so much.

Share this post


Link to post
Share on other sites
On 8/30/2018 at 10:58 PM, balbes150 said:

A test version of the image Armbian for TV boxes on the basis of RK3328. Tested on MVR9

http://freaktab.com/forum/tv-player-support/rockchip-based-tv-players/rk3328-devices/653167-bqeel-mvr9-rk3328-quad-core-64bit-cortex-a53-android-7-2-16gb-2-4ghz-wifi-bt4

 

All basic functions work. For running. Download. Unpack. To record on the SD card. Connect the SD card to TV box, connect a keyboard and mouse. To turn the power on the TV box. The system should start within 2-3 minutes. You must perform the initial configuration of Armbian.

https://yadi.sk/d/DSO6euzB3ahemo

 

https://mega.nz/#F!zoZywCTQ!9sNfXIAB3m_DyLl5I8P94w

 

The system of choosing the correct dtb has changed.

Please note, now it should be done on a different principle (files do not need to be copied).

To select the desired dtb, you need to change the line in the text file "/extlinux/extlinux.conf". In the line "FDT" you need to change the name of the file that the system will use at startup. The list of available files (names to specify in the configuration) can be found in the "dtb"directory. If you do not know exactly what file you need , you can enter all available names in turn and check the operation of the system. In accordance with this, the system installation script in eMMC has been changed. The steps to install the system on the eMMC remain the same.

 

Added a utility to full backup and restore the entire eMMC "ddbr". Checked mode the backup MVR9. Now if you try to check the recovery mode.

 

The order of installation in eMMC.

 

1. Download, unzip and burn the image to SD card.

2. Start Armbian on the TV box and perform the initial setup of the system.

3. If the system works correctly and you are satisfied, run the utility "ddbr" and create a full backup of eMMC (this is a prerequisite).

4. Rename the file "/boot/mvr9-uboot.img" in "/boot/uboot.img".

5. Run as user "root" script "/boot/create-mbr-linux.sh"

6. To run the script "/root/install.sh"

 

Pay attention to the correct operation of the installation procedure need to comply strictly with the order of the steps.

Thanks balbes150 .Your img  is wonderful .

I have successed in boot up with SD card. If I want to installation in eMMC,I must  create a full backup of eMMC,right? I have a H96 max + box(RK3328+4/64GB+HS2734C) and the eMMC is too large. Can I just overwrite the emmc without backup ? The Android img for my box can be download from the internet. In fact I have tried just overwrite, not success.

BTW does anyone has the same box  have made Wifi works? My ratio is HS2734C.  I am a newer in this os but have some experience in other linux , can you tell me how can I make the wifi work.

Thanks.

 

OK, the box has a strange dev , when I fdisk -l on my box I got emmc2,and emmc0,not emmc1 and emmc0, so I changed the create-mbr-linux.sh and install.sh, it works. And the only problem is wifi, I'm tring to get it from the android img. 

Share this post


Link to post
Share on other sites

booting with usb and mmc does not make sense, as the boot does not get far enough that this would matter - looking at a normal rk3328 boot log like https://github.com/Kwiboo/linux-rockchip/issues/14#issuecomment-308640444 it looks like the boot is failing even before loding the real u-boot - there is no real chance to get this working until someone adds support for this hardware to atf/u-boot i guess

 

can you please put up the serial boot log when booting android on this box to pastebin.com and link it here or attach the boot log here?

 

best wishes - hexdump

Share this post


Link to post
Share on other sites
2 hours ago, hexdump said:

booting with usb and mmc does not make sense, as the boot does not get far enough that this would matter - looking at a normal rk3328 boot log like https://github.com/Kwiboo/linux-rockchip/issues/14#issuecomment-308640444 it looks like the boot is failing even before loding the real u-boot - there is no real chance to get this working until someone adds support for this hardware to atf/u-boot i guess

 

can you please put up the serial boot log when booting android on this box to pastebin.com and link it here or attach the boot log here?

 

best wishes - hexdump

 

Hi, I have attached the boot log when booting android on the rk3318 box.

 

uart_output_android.txt

Share this post


Link to post
Share on other sites

you might try to get to the u-boot prompt by pressing a key around when it is as "Hit any key to stop autoboot: " (try it several times, as the timing for it might be very short), but the chance that this will work is very low as on any rockchip box i have seen so far the possible to interrupt had been disabled internally. if should get there, then there might be a chance to boot linux by hand initially.

 

best wishes - hexdump

Share this post


Link to post
Share on other sites

OK, I think it is almost working , but I think I missed some details. I get the dtb file from an running Android os, and the wireless chip is ap6330, hs2734 is just a over layer on this chip. I have change the dtb for ubuntu . I found this chip has been supported by Armbian. which is brcmfmac-ap6330,right ? It is in the firmware. But still it is not work .Anyone knows if I miss something? Or make a mistake?

And here is my dts file.

Thank you.

rk3328test.dts

Share this post


Link to post
Share on other sites
22 hours ago, hexdump said:

you might try to get to the u-boot prompt by pressing a key around when it is as "Hit any key to stop autoboot: " (try it several times, as the timing for it might be very short), but the chance that this will work is very low as on any rockchip box i have seen so far the possible to interrupt had been disabled internally. if should get there, then there might be a chance to boot linux by hand initially.

 

best wishes - hexdump

I tried to interrupt it the boot. Unfortunately, you are right, it cannot be interrupted. I guess I have no option but to wait :(

 

Thank you all the same for all the help.

 

-S

Share this post


Link to post
Share on other sites

@luckowner - i must admit, that i did not yet get wireless working myself (it is lower on my priority list), so i'm maybe not of big help here. in general it is a good idea to check that the wireless section is similar to the one in the android dtb. also it is important, that the wireless chip is also supported properly by rockchip and/or mainline linux (the very common ssv6051 for instance is not). you might check at /sys/bus/sdio/devices if the card got detected on the sdio bus (maybe google for the hex id in case there is an entry there).

 

i think at some point wireless worked for me on the t9 with my first set of t9 dts (the ones based on other dtb files), but it did not when i tried to create a proper .dts files for the t9 for inclusion into the rockchip and mainline kernel trees to be built in there. here i did not yet succeed to get it working.

 

best wishes - hexdump

Share this post


Link to post
Share on other sites
5 hours ago, hexdump said:

@luckowner - i must admit, that i did not yet get wireless working myself (it is lower on my priority list), so i'm maybe not of big help here. in general it is a good idea to check that the wireless section is similar to the one in the android dtb. also it is important, that the wireless chip is also supported properly by rockchip and/or mainline linux (the very common ssv6051 for instance is not). you might check at /sys/bus/sdio/devices if the card got detected on the sdio bus (maybe google for the hex id in case there is an entry there).

 

i think at some point wireless worked for me on the t9 with my first set of t9 dts (the ones based on other dtb files), but it did not when i tried to create a proper .dts files for the t9 for inclusion into the rockchip and mainline kernel trees to be built in there. here i did not yet succeed to get it working.

 

best wishes - hexdump

I find ap6330 is supported by this system and bin file has aldreay in the fireware. I just don't know how to make it work. Do I need to change some files ? Maybe some path?

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