Rk3328 Firmware

9 views
Skip to first unread message

Earleen Statham

unread,
Aug 3, 2024, 5:01:10 PM8/3/24
to reheabeca

I hope too, I have bought this box just to run Libreelec as a upgrade to my MXQ "old S8005" for x265 HEVC content playing, and totally unable to install LE on it, tried all firmwares for RK3328, also tried to extract .dtb from android firmware and replace it on LE and result " noboot" with LE firmware there are an "could not mount_common at boot" and it start a debug shell. as I dont have a usb keyboard I can't login to it to debug "maybee later i buy one" for now i have bought a x96 mini "s905 based" that WILL run LE. Before trashing or selling the H96 max+ I would also like if there will be devel on it sooner or later.

Yes, I am successfully running LibreELEC-RK3328.arm-9.1.502-box.img.gz on my H96 Max Plus with a "hacked up" FDT file based on rk3328-t9.dts. I am currently trying to figure out the best way to share my work. E.g., can someone point me to the source (*.dts) of rk3328-box.dtb which is part of the official image. I cannot find it in the mainline kernel source code. What I did find is rockchip-kernel/rk3328-box.dts at le 150balbes/rockchip-kernel GitHub. With that I can work...

Hi I've been trying to install libreelec on H96 max plus for a long time. Looks like it works for you. Is it enough to boot the usb from (libreelec-rk3328.arm-9.1.502-box.img.gz) and load the .dtb file mentioned there? Thank you

Digit97 the process you explained to yaawl does it removes the stock firmware? or it just boots when the sd card is available and boots stock when sd is removed? and by the way we could also try on hdmi-cec and hyperion on kodi. as we are using kodi anyway it must be possible and i guess the h96 max + should have rx and tx pins for serial output. is it possible or am i just being too hopeful?

no this process doesn't remove the stock Android firmware. Yes you hope too much ,try and check what work.

I have h96max+ and i confirm that this device not have official libre elec support and is difficult but possible to set wifi,bluetooth,rc remote,hdmi audio.

in my case the things that i mentioned problematic are the things i need the most as i am trying to use the H96 Max + as a Media Player for my Home theater system. it was a good try though. i think we can perfect this if we keep trying Digit97

it was very difficult to assemble this img, because my experience with this type of device equals zero, everything was explained to me by other users, as far as I understood the quality of the video is given by the level of similarity that the Linux (LibreElec) dtb has with that of android, on android the video is very good, on Linux no, because there are differences in the compilation of the dtb, which can be given by the lack of drivers or other reasons I don't know, I don't know if there will be progress regarding the video, I also noticed this problem.

For my H96 Max 4GB 64GB box, the Debian Buster minimal - legacy kernel (Built date 2021-04-16) boots up fine after burning it to the emmc using the multitool image. Wired connection works fine, but the wifi does not work (the interface shows up, but nmtui is unable to connect to access point).

But other images (Debian Buster minimal - mainline kernel, and Ubuntu Focal desktop [xfce], built date 2021-05-30) does not boot (I think). Specifically, after burning to emmc with multitool image, when I plug the box in, HDMI output remains dark.

@jock - Thanks for this work. I've played some more and it seems that if I jump straight to burning the Armbian image to my SD Card then it boots from SD happily. No HDMI output but if I SSH and I can get to the logon.

So this feels like it might be a problem with the image I've downloaded of the multi-tool. I've tried downloading again from the link at the start of this post but still the same issue. Can you post another image of the multi-tool and an MD5/SHA signature so I can validate my download?

It is so because I have no rk3328 to work on, so can't guarantee and test anything on that. People reported that the images works as well on rk3328 boards, so you're invited to try and report if it works for you.

However, I don't seem to be able to connect to WiFi. Odd since Bluetooth and WiFi is the same chip. Armbian-Config and nmcli see it, it also shows the available networks but when trying to connect. No luck.

No Web Browser seems to be installed, though the menu item for Web Browser is there. No problem since I had ethernet and could install a Web Browser (and without ethernet or wifi, there is no need for a browser)

wlan and bluetooth, despite being on the same chip, are connected to the SoC in different ways: wlan is connected via high-speed sdio bus, bluetooth via common UART; also they are physically different chip parts that just share some things (the radio part), so it may happen that one work and the other does not.

In the first post of this thread there are some good things that help in debugging, in particular if you can provide photos of the board and the original firmware or the original dtb I can inspect it and try solve the issue.

I took a backup of the eMMC yesterday, so I have the original ROM available. I also extracted the dtb a few months ago but it's on my desktop Linux computer at home in Spain and I'm currently in Sweden visiting family I haven't seen in almost two years(pre-pandemic), but I can probably figure out how to do it on my MacBook or on Windows from the original ROM.

With some luck I can continue to tinker some tomorrow, then probably Monday, I'll travel on to my mom's place (am visiting my sister now), where I won't have easy access to ethernet for the box, only WiFi, and slightly more problematic to download test files to it, but I'll manage. I guess I can use the good old manual way with a USB stick

Thanks, I will reupload it on different hosting soon.
If I change the firmware to BCM.hcd then it works. So at least the firmware is correct.

EDIT: images should work now...privacy setting was set wrong.

EDIT : I've compared above dtb with rk3318-box.dtb and tried to sync the differences, but It changed nothing. Using armbian-config and selecting dt overlays for mmc either. The SD card still has problems entering high speed mode, and the eMMC still returns those weird errors. It seems that this eMMC is indeed faulty.

emmc, sdcard and sdio wifi are all child of the same "master" controller, so often when there is a problem with one of them, also others may suffer. Here I absolutely don't know what is the cause of the problem, the board looks like an already known board (probably the board name is written below the heatsink).

I have a hk1 max 4/64 rk3318 tv box. I burned an image of Armbian 22.02 - Debian Bullseye minimal - mainline kernel 5.15.23 and some others for rk3318 with multitool to emmc memory. The system works fine, WiFi works right away, after the rk3318 config, bluetooth and LED work. But after a long power outage of the set-top box, I can not start it again. I tried to run multitool, pull out sd, but it does not start. Various combinations of power connection (quick turn on-off-turn on), (turn on wait-turn off-turn on) and the like. Tv box does not turn on and I have to write the image to emmc again (I do errase). I'm new to this, I'll attach logs if needed. Just please tell me which command.

From multitool I tried before reinstalling the system. After I installed the system, updated everything and tried your command. as well as in armbian-config install (install to/update boot loader) Some of it helped. Thanks for helping me with the problem

Hello @jock and thankyou and all other contributers. I was thinking about to install legecy image but i findout BCM43342 patch is only appleied to mainline and by installing legecy image my wifi will not detect.

No i just wanted to test a bit stabler kernel and check has it chromium video acceleration or not. Now i'm on mainline image and everything works expect gpu and vpu releted stuff. The screen response was very slow but after changing lima 3d acceleration settings to none it almost fixed. But now resolution seems wrong(I didn't even tried to fix) and i also was thinking of hardware video acceleration.

Using Multitool erase emmc and run from uSD card has no problem but I have a bit problem initial emmc setup after flash image which is my Focal Edge bulid, it does not boot. I need to boot from uSD card and rsync to clone uSD's root partition (mmcblk0p1) to emmc root (mmcblk2p1). It's perfectly fine after that.

For RK3318 it has generous 4GB RAM which it isn't dragged from mem swapping when browsing internet. It's usable for internet browsing now. Retro gaming emulator is also great too but I'm not familiar with 64 bit arm that I think it could be more optimized.

c80f0f1006
Reply all
Reply to author
Forward
0 new messages