Jump to content


  • Posts

  • Joined

  • Last visited

Reputation Activity

  1. Like
    fabiobassa reacted to jock in CSC Armbian for RK3318/RK3328 TV box boards   
    Do you know if it is sufficient to install packaged falkon, qt and gstream packages on Ubuntu Jammy/Debian bullseye to get thing working or there is the need to compile something by hand?
    I ask because it would be nice to have some out-of-the-box solution to say that the path is traced and things are getting squared.
  2. Like
    fabiobassa reacted to jock in CSC Armbian for RK3318/RK3328 TV box boards   
    GPU is only doing 3D graphics.
    Media applications are accelerated by VPU, which is a totally different part of the chip. I think gstreamer is already quite capable of using the v4l2 interface to profit of media acceleration drivers already in mainline kernel (namely hantro and rkvdec for rk3318, both accelerating h.264, vp8, vp9 and hevc, but some codecs still have partial support on rockchip64 armbian branch).
    Ffmpeg needs to be built with patches and in a custom way because kernel interface for codecs has been made "stable" very recently (I guess in kernel 5.19).
    Also mpv has the capability to use hardware video decoding via v4l2, but still need a custom build because it uses in turn ffmpeg. There is this old thread where I provided a custom build binary of mpv, but it was for ubuntu hirsute and debian bullseye; surely it would require some adaptations and tinker if you want to run on newer distros.
    Accelarerating youtube in a browser is a whole different story. I don't know what is the current status (maybe @usual user has some clues?), but surely it is much more challenging than standalone video playing.
  3. Like
    fabiobassa got a reaction from jock in CSC Armbian for RK322X TV Boxes   
    @Max Sterg
    May I ask if you have any experience with Linux in general ?
    Because if you cannot choose by yourself an image with xfce desktop , that Is one of the severals desktop laying around, I guess you Will experiment many other problems in this experience with armbian and you Will come back here to ask even obvious things 
  4. Like
    fabiobassa got a reaction from Seth in CSC Armbian for RK322X TV Boxes   
    @Max Sterg
    May I ask if you have any experience with Linux in general ?
    Because if you cannot choose by yourself an image with xfce desktop , that Is one of the severals desktop laying around, I guess you Will experiment many other problems in this experience with armbian and you Will come back here to ask even obvious things 
  5. Like
    fabiobassa reacted to Seth in CSC Armbian for RK3318/RK3328 TV box boards   
    hello again. @jocki'll be taking pics of both boards tonight and extracting the dtb's. some vendors do give clues as to what wifi chip is placed on the board. my squared h96 max v1.4 board works fine on 2.4GHz and 5GHz and works on default distro of the 5.15 kernel build including hdmi, hdmi does not work on the 5.19 kernel though. my rounded one which i will disassemble seems to have the same board but has no 8 segment lcd. it works almost the same as the squared one with the exception of the nvram that needs replacing.
    i seem to have identical boards for the rounded one and the square one, both are rk3318 v1.4 dated 2020/06/29.
    differences are square and rounded respectively.
    wifi chip: fx8934, sp2734c
    crystal beside wifi chip: none, 37.4MHz
    inductor beside wifi chip: none, 4R7
    fd6551 and 8 segment: yes, no
    square pics:https://photos.app.goo.gl/U5LEJrav5FZMh6LEA
    rounded pics:
    i think @fabiobassa can chime in on the hardware part because it seems we can put in an fd6551 and an 8 segment on the rounded h96 max box easily and make openvfd work on it too. i also think we can transplant a similar but better wifi chip on it if ever we have those on hand.
  6. Like
    fabiobassa reacted to jock in CSC Armbian for RK322X TV Boxes   
    Hello @rafaeldavid, thanks a lot, you're very kind!
    About the r29 board, yes as you noticed there are issues with that board.
    The HDMI problem is very well known and it is quite obscure, maybe some gpio has to be set to the right state but I wasn't able to find useful hints inspecting the device tree.
    The stability issues are very new to me, but looking at the board photos I see a bit of different design for the power section than usual boards. These differences may have some stability implications, but I'm just guessing.
    Another potential problem can be related with the Trust OS binary: during early development we noticed that the wront Trust binary could freeze the device after a predefined amount of time because it was triggering a sort of "sleep" mode, but the Trust (proprietary) binary now is working pretty fine for the vast majority of boards, so it would be quite strange that this is the offender.
    As you read in the other posts, this R29 board seems to be one of the bad ones and unfortunately I have no sample to study, so I'm very open to receive one sample.
    Recently I received a couple of rk322x boards from @Jason Duhamell and those were terribly useful to fix eMCP issues and support esp8089 wifi; having such R29 board on my desk to work with obviosuly increases a lot the chances to understand and fix those issues.
    edit: in the past we have encountered R29_MXQ boards, those may be a bit different than yours but the HDMI problem looks like is the same. You may try to apply led-conf7 from rk322x-config to see if stability problems goes away, but I'm afraid it won't really chance anything.
  7. Like
    fabiobassa reacted to Seth in CSC Armbian for RK3318/RK3328 TV box boards   
    i got myself a new box, still an h96 max, same as what @paradigman has. it also has a 2734c wifi chip, his posted nvram from the manufacturer works. hdmi on edge kernel still doesn't work on my monitor/tv but i can access it via ssh after install so everything is good. thanks again @jock, @fabiobassa and @paradigmanfor the awesome community support.
  8. Like
    fabiobassa got a reaction from DavidJS in CSC Armbian for RK3318/RK3328 TV box boards   

    yes. it does
  9. Like
    fabiobassa reacted to SteeMan in H3 CPU TV Box with EMCP   
    Moved posts to proper forum (Allwinner TV Boxes from Rockchip TV Boxes)
  10. Like
    fabiobassa reacted to orojasp in CSC Armbian for RK322X TV Boxes   
    Hi Pals,
    This is my first post here. My approach on armbian has been a little bit complicated but always read this thread.

    I have a tv box with an r3228a on it. I'm not totally sure because I didn't perform an test using hexdump as described before, but is one of things I have to do.

    In the next posts I'm going to tell you what test I've done and which others I'm failing, but this first one is mainly to thanks you for all this information and hard work you put freely to public use.

    Just trying to run armbian on this box I've learnt a lot! There are many hours of fun and mainly learning (I'm a terrible linux user) to try to give a new use to this little box.

    see you! Thanks again!!
  11. Like
    fabiobassa reacted to jock in CSC Armbian for RK3318/RK3328 TV box boards   
    ethernet is always working in armbian, it is embedded in the soc, so if it does not work it means that armbian did not boot.
    Also the led should be blinking if the kernel is alive, but I see no leds on your board, am I right?

    You may try one of the newer images built from trunk above, maybe you got an image with the invalid voltages I published by error some weeks ago.
    The definitive way is to to debug this is using a USB-to-TTL serial adapter connected to the serial pads of the board, which are sometimes under the heatsink (but just sometimes...), or maybe are those pads in the lower right corner, near the IR receiver.
  12. Like
    fabiobassa reacted to jock in CSC Armbian for RK3318/RK3328 TV box boards   
    Hello, I want to announce that Community Supported Configuration (CSC) board images are now built again by Armbian servers on a weekly basis!
    This means that you can now download images for CSC boards (including rk3318-box) browsing from https://github.com/armbian/community
    Images are built from trunk, GPG-signed and SHA-sum is provided.
    I also removed the manual instructions for upgrades: Armbian 22.08 release is imminent and from that time on it will be sufficient to use apt to get kernel upgrades too! Thanks for your patience!
    Feel free to donate if you find this useful and wish to offer support to the Armbian developers and maintainers.
  13. Like
    fabiobassa reacted to armbianorange2hero in CSC Armbian for RK322X TV Boxes   
    This one https://www.aliexpress.com/item/1005003671383647.html
  14. Like
    fabiobassa reacted to Vittorio Mori in CSC Armbian for RK322X TV Boxes   
    I have uploaded the OpenWRT-22.03-rc6 image for rk322x on my google drive here's the link:


    The .dtb for booting is the GENERIC rk3229 from LibreELEC made by @ilmich.
    Other .dtb files are in the FIRST PARTITION (fat32/boot) of the image. Copy & overwrite the one you prefer to rk322x-box.dtb. i.e.:

    Once the box has booted, enter the console via an attached keyboard and:

    mount /dev/mmcblk0p1 /mnt
    cp /mnt/<name of the dtb you prefer>.dtb /mnt/rk322x-box.dtb
    umount /mnt

    The .dtb files are fom LIbreELEC 10 - check this post


    on "supported devices" for names/clock etc.

     ON FIRST BOOT the eth0 (br-lan) interface has default IP to

    SOMETIMES ON FIRST BOOT - AND ONLY FIRST ONE - eth0 gets "stuck" and does not respond: to make it work just enter the console with an attached keyboard and do a

    ping 192.168.1.xxx

    with xxx as a "live" host on your network: after a couple of pings the interface responds. It happened to me a couple of times, just on FIRST BOOT. Once you configure the interface in OpenWRT everything is ok.

    Point your browser to, configure OpenWRT.

    P.S. obviously you have to configure br-lan with an appropriate gateway/dns to install/upgrade packages.

    Check OpenWRT docs if in doubt.

    WIFI is disabled by default: to enable it, do :

    echo <name of wifi module> > /etc/modules.d/<name of wifi module>


    echo ssv6051 > /etc/modules.d/ssv6051

    (do not enable ssv6051: for some reason it slows down everything)

  15. Like
    fabiobassa reacted to Vittorio Mori in CSC Armbian for RK322X TV Boxes   
    Since I'm not really a developer but a Linux System Administrator with hacky tendencies, that's what I usually do to use different Linux-es on these rk322x boxes:

    - I use MultiTool to burn a .. Multitool image on the internal flash of the box, so I get a fat32 uboot/extlinux partition that boots

    - I boot from Multitool again, drop to a shell and repartition the internal flash w fdisk, then I modify the extlinux.conf with the kernel boot parameters I need (kernel, initrd, dtb ..)

    In OpenWRT case it was pretty easy: it has no initrd, and it's as bare-bone as it can be: you just have to add a line "init=/sbin/init" to the kernel line and youre basically good to go.

    The challenge was to find a suitable arch: rpi2b (bcm 2709) is the perfect match i.e.: arm_cortex-a7_neon-vfpv4:

    So I grabbed the .img from OpenWRT, put it into the multitool SD card, mounted it with a loop device, and did a simple "cp -R" of the whole sys partition to the second partition of the internal flash.

    Then I extracted a 5.16.11-rk322x kernel & modules & firmware from bullseye-minimal build from @jock, and copied them into /lib.

    The next step was to find a suitable .dtb to boot: I used @ilmich dtbs from his LIbreELEC 10.0 builds, since they worked beautifully in the tvboxes rk3228a/rev 3.1 I own.

    Then I modified the /etc/modules.d files of OpenWRT to load proper modules for the rk322x board: wifi, thermal, etc.

    Then I added the bootup "hardware-optimization" armbian script, just to optimize things further, IRQ routing, eth0 queues etc.

    Sync & reboot: OpenWRT is up & running, awaiting connection on default address on the ethernet port.

    All packages work, kmods are simply written in the wrong directory inside /lib/modules but the kernel gets them from the right place /lib/modules/$(uname -r) so in practice everything is 100% OK, as long as the modules are present. I copied ALL the modules since I have a lot of free space in the internal flash, it's a full ext4 install, not a squashfs rootfs.

    Even updates are OK.

    I'm fine-tuning some parameters, then I'll add link to the .gz image, ready to flash w Multitool, later today.

  16. Like
    fabiobassa reacted to Vittorio Mori in CSC Armbian for RK322X TV Boxes   
    Today I assembled a fully working image of OpenWRT 22.03.0  for this rk322x tvbox.

    It's a patchwork/mix from multitool/debian kernel 5.16.11 and the userland from the latest OpenWRT I could find for raspberry PI 2/B (same cpu arch):

    OpenWrt 22.03.0-rc6 r19590-042d558536 / LuCI openwrt-22.03 branch git-22.213.35949-d09fbe0

    I've tested wireguard/vxlan/wifi, all working nice (wireless AP too, much to my surprise!).

    You can turn this (rather old for 2022) TVBOX into an extremely capable router with a nice www interface (too bad for the 100Mbit LAN port...). I guess you can add some more ethernet interfaces using USB ports, but do not expect too much on the performance side.

    The best way to add ethernet ports for these devices is a managed switch, so you can use VLANs (€20 for a cheap 5 ports on Amazon).

    Speed of wireguard VPN is quite nice (around 70Mbps on iperf3).

    If anyone is interested I can post the link for the image (flashable via multitool).

    It was - as usual -  painful, but  a nice challenge.

    I had to do this because there are no OpenWRT releases for rockchip/32bit armv7: arm64 builds for Rockchip 3318/3328 are officially available.


  17. Like
    fabiobassa reacted to jock in CSC Armbian for RK322X TV Boxes   
    Hello, some answers:
    no mixed android/armbian boot. It is done this way on purpose: no random proprietary pre-installed crap, for a number of reasons. It is possible to manually make the thing work, but on first u-boot upgrade the installation will probably break and you will come here asking why apt upgrade broke your system the "dts from lakka" is not suitable, don't mix things, they won't work as @RaptorSDS said, minimal variant is suitable for headless server usage again, as @RaptorSDSsaid, armbian makes use of device tree overlays and rk322x-config makes easier to configure board specialties. There would be hundreds of device trees to support boards minor and major differences, device tree overlays solves this thing. Don't use other distro dtbs, they will break things.  
  18. Like
    fabiobassa got a reaction from Vittorio Mori in CSC Armbian for RK322X TV Boxes   
    Hello Vittorio

    thank you so much for this effort.
    Effectively nas, pbx,adblockers ,vpn' s are the best ever applications for those boxes
    I run several pbxes on rk322x , but ALWAYS have found freepbx , even on x86 or 64 very heavy, caotic, too way customized . I run mostly pure asterisk 13  ( or 16 it depends which is shipped with debian itself) with the old, ugly digium GUI interface.
    The interface is lightweight since uses static contents and js files and when I need something more customized, I do it in extensions.conf by hand

    Maybe we can discuss in private for some improvements ( I think to billing solutions) so we can leave free the 3ad for more hardware/kernel related problems
  19. Like
    fabiobassa reacted to JMCC in CSC Armbian for RK3318/RK3328 TV box boards   
    @jock Thanks for the info. On a side note, I found a small bug: when making the emmc backup, if the resulting file is bigger than 4Gb it will just stop there (because of the FAT size limit) and you will get a broken backup.
    Probably could be solved by splitting the backup, for example along these lines:
    # Split backup in 2Gb parts, with two-character suffixes dd if=/dev/mmcblk1 | gzip -c | split -b 2000m - tvbox-backup.img.gz. # Restore the backup cat tvbox-backup.img.gz.* | gzip -dc | dd of=/dev/mmcblk1  
  20. Like
    fabiobassa reacted to Voidbert in CSC Armbian for RK322X TV Boxes   
    I spent this morning trying out things in my Dolamee D5 and these are my conclusions:
    HDMI audio and AV audio are working! This box also supports SP/DIF audio (which is detected and appears as an output device in ALSA) but I have no devices to test that on. On the note of audio, you can't control the volume of any of the internal devices (HDMI, spdif and analog) using alsamixer. Because this is a TV box, could it have been designed so that the volume is changed on the TV? On the other hand, the included remote has volume buttons (that worked under Android). The remote is working with ir-keytable (no changes needed)! I mentioned that it wasn't working on a previous post because my first attempt was unsuccessful (a few months ago) when I installed an older image (legacy kernel) and limited myself to running the auto configuration tool (didn't run ir-keytable manually). I couldn't open the TV box up (this box uses plastic tabs that I couldn't remove). I didn't want to drill through some (maybe safe?) places (likely plastic holders for the board) fearing damaging the board. Though, it is likely an eMMC system, as it boots flawlessly on the newer kernels. @fabiobassa said and I don't know if this matters, but this box is from 2016 (at least the 1GB RAM model; mine is a 2GB model and was bought 2017, though I don't know when it was released). Is there the possibility of it being an eMCP model, when the product listing (https://web.archive.org/web/20160924063015/http://www.dolamee.com/dolamee-d5-comes-with-rockchip-rk3229-cpu-and-android-5-1-os/) lists eMMC?
    Also, @Igor, what do you mean by "the resources we have" in this sentence?
    Are you talking about human resources for testing and development or actual hardware for building all the images? I can help with either.
  21. Like
    fabiobassa reacted to Seth in CSC Armbian for RK3318/RK3328 TV box boards   
    yeah, that got me scratching my head too. anyway, the sdio wifi is now detected as ampak ap6330  specifically brcm43342 and it works on mainline 5.15 even with full desktop when i tested it earlier. i reverted back to minimal since i have no need for the desktop, i'll consolidate the logs here as well as android device tree. i'm really having fun with these tv boxes especially when i got one to work as klipper host for my 3d printer... also the price of raspberry pi's are ridiculous nowadays. orange pi's are just fine though but i find this helter skelter of armbian tv box zoo so fascinating minus the gpio headers of course. thanks again @jock and @fabiobassa for all your effort. you guys are awesome!
    after updating. kernel and headers held using apt hold. http://ix.io/445q
    device-tree-copy-android.tar.gz device-tree-copy-kernel-5.15.tar.gz dmesg.multitool.log dmesg-5.15-kernel.log dmesg-android10.log
  22. Like
    fabiobassa got a reaction from Seth in CSC Armbian for RK3318/RK3328 TV box boards   
    unfortunately x96 max ...mini.. half sized 🤣 are so useless categories.

    they use the same name for 322x and 3318 and even amlogic
    Thank you @Seth for your apport and support 👍
    looking forward for photos and further infos
  23. Like
    fabiobassa reacted to Voidbert in CSC Armbian for RK322X TV Boxes   
    Greetings, @jock! It's the guy that would like to help out with these community maintained TV boxes. Sorry for the delay, but I'm only allowed 1 post and 0 messages a day on this forum. Is there any other way to reach you (I was told you don't use IRC frequently) or to increase my limit?
    In terms of suggestions, I have some to present. I could even help out in the process:
    Getting the broken multitool link working again (https://users.armbian.com/jock/rk322x/multitool.img.xz -> https://users.armbian.com/jock/rk322x/multitool/multitool.img.xz) on the information page (https://www.armbian.com/rk322x-tv-box/). I know the file is in the post that started this forum thread, but that might be best for new users. Debian bullseye builds. Debian is great for mini servers, and if someone is installing it now, they'd probably like to get the newest version for longer support (LTS support for older versions ends sooner, requiring moving to a new one if you want to secure your system). Also, some prefer the Debian package release cycle to the Ubuntu one. I can help out the builds (my CPU for sure won't be happy, but I'd be pleased to help out)! Considering wayland as a suggestion for those who wish for graphical acceleration. It is still slow, but I have experienced better performance with the lima driver on the 5.15 kernel than on X11. Also, congratulations on the project! Things like wifi work flawlessly out of the box, something I can't say for all laptops when I install Linux.
  24. Like
    fabiobassa reacted to Seth in CSC Armbian for RK3318/RK3328 TV box boards   
    Ok, waited a bit before posting. i got myself an h96 max box to play around with and did some preliminary testing with the stock android firmware, installed terminal and copied the device tree using hexdump's script as well as dmesg log. will upload photos of the board soon as well as the device's relevant part numbers.
    dmesg.log device-tree-copy.tar.gz
  25. Like
    fabiobassa reacted to Seth in CSC Armbian for RK322X TV Boxes   
    hello! H96 box finally arrived so i might hit the other thread soon. scishion box is working flawlessly at the moment running armbian, klipper/mainsail for my 3d printer, and it also serves as my mqtt server/bridge, resource usage is about 2-10% while printing. i agree, if going for production deployment go with serious and supported sbc. i keep the tv box as non critical part of my home network apart from the time i used it as my main router, http cache and squidguard it did work for about half a year and only broke down when it got wet. it does work thanks to @jock and @fabiobassa.Unfortunately the production of this box is quite unpredictable since the hardware is not fix, they just put whatever is the cheapest available parts at the time of production. anyways, a good rule of thumb when dealing with these boxes is the first post, it gets updated as more and more people submit findings, its the power of the community. like i said back then, if it works it only consumes 10 watts and it can do a ton of crazy stuff.
    edit: typo stuff
  • Create New...