Jump to content

fabiobassa

Members
  • Posts

    424
  • Joined

  • Last visited

Reputation Activity

  1. Like
    fabiobassa got a reaction from jock in CSC Armbian for RK322x TV box boards   
    @Harleyyyu
    Your project could be interesting , I would suggest to open a dedicated 3ad on It own so people can contribute.
     
    As you have already realized by yourself quite all  hardware and drivers aspects of this rk322x soc have bene investigated by @jockand/or @ilmich
     
    But if you achieve any progress on GENERAL drivers and performance that isn't already been discussed or achieved you can came back here to share
     
    Thanks
  2. Like
    fabiobassa got a reaction from Harleyyyu in CSC Armbian for RK322x TV box boards   
    @Harleyyyu
    Your project could be interesting , I would suggest to open a dedicated 3ad on It own so people can contribute.
     
    As you have already realized by yourself quite all  hardware and drivers aspects of this rk322x soc have bene investigated by @jockand/or @ilmich
     
    But if you achieve any progress on GENERAL drivers and performance that isn't already been discussed or achieved you can came back here to share
     
    Thanks
  3. Like
    fabiobassa got a reaction from Harleyyyu in CSC Armbian for RK322x TV box boards   
    @Harleyyyu

    my 2 cents thought .....

    We are talking about a 10 dollars soc . Is already a great milestone it is " just working"
    Anyway.. If you achieve any good result let's us know
  4. Like
    fabiobassa reacted to jock in CSC Armbian for RK322x TV box boards   
    Sorry @Harleyyyu, but me and @fabiobassa were a bit puzzled about your journey within the hardware video decoding.
     
    I recently tested the kernel 6.18 (but I am pretty sure it works fine also in kernel 6.12/6.6/6.1), but everything was already in place even with zero-copy DMA buffers, using the LibreELEC patches which are already compiled in the mainline kernel shipped with armbian for years right now.
     
    Then there is also this apt repository I brought up few months ago with ffmpeg already patched and some instructions to run mpv with hardware decoding, which so far works for me either in virtual terminal and wayland (although sometimes with some glitches).
     
    Just to let you know, because it looks like hardware video decoding, HDMI and GPU things are unsupported, but actually everything works fine.
  5. Like
    fabiobassa reacted to 0230826 in CSC Armbian for RK3318/RK3328 TV box boards   
    @jockNow, I've finally solved this problem. Successfully flashed the latest version of armbian, https://github.com/armbian/community/releases/download/26.2.0-trunk.151/Armbian_community_26.2.0-trunk.151_Rk3318-box_noble_current_6.12.63_gnome_ desktop.img.xz

    Next, I will share my problem-solving journey. I found that I couldn't enter maskrom/loader mode anyway, and when I accidentally inserted the USB flash drive into the multitool.img into the TV box and powered it directly on, I found that it actually started the system directly in the USB flash drive. So I guess that it may have changed the boot order after flashing the loader.bin before, and the armbian system I flashed in before it continued to toss before it could be configured, probably because the system files of the root partition were corrupted, causing it to not boot normally. Therefore, I simply tried to flash the firmware of the rk3188-box in the official community directly into the USB flash drive, because after these images are flashed into the USB flash drive, there is only the root partition, that is, the system. And there is no boot partition. I guess the boot partition may have been written somewhere else, and I don't need to worry about it anymore. So, I plugged the USB flash drive into the latest rk3318 firmware into the box and waited for a few minutes after powering on it directly and starting it, it obtained the IP address assigned by my router DHCP, I was so excited, I quickly connected to the rk3318-box through SSH, and made the preliminary configuration. Quickly enter the command armbian-install and select item 2, and immediately write the system on the USB flash drive to emmc. After the writing is completed, turn it off, unplug the USB flash drive, power on, wait for a few minutes, and the startup is successful. It means that I have successfully flashed the phone this time. Thank you very much for your help. @jockand @fabiobassa, You're passionate and highly skilled.
  6. Like
    fabiobassa reacted to Harleyyyu in CSC Armbian for RK322x TV box boards   
    I'm currently trying to build my own kernel for armbian bookworm, using this Github Linux-rockchip: linuxtv-rkdevc-hevc-v2 (6.16-rc1) Goal is to try and make hantro work with native mainline V4L2-Request-API to achieve zero-copy decoding and bypass the legacy Rockchip MPP.

    i just want to experiment the OS and the VPU it self at this point
  7. Like
    fabiobassa got a reaction from digital in CSC Armbian for RK322x TV box boards   
    @Joshua allen
     
    asking for private chat to solve personal issues  is the most unappropriate way to act in a public forum.
     
    For several reasons:

    1) your problem could be the same problem for other people sharing your issues, so solving for you could be solving for many
    2) this is an hobby for us and not job.     Job is paid, hobby is for free.          if you need help for your personal issue you can give an advice asking for paid help
    3)this really is the worst approach to an open community of people that friendly and mutual try to help each others
     
    that said....
    would you share what is your problem, since you already asked for help ( private help..) in another post ?

    describe what is working, what not, attach procedures and photos of board , explain your moves and results
     
    We will try to give you a helpful  hand.
  8. Like
    fabiobassa reacted to rk32 in CSC Armbian for RK322x TV box boards   
    I solved the issue !
    I flashed the latest armbian release raw image to the sdcard and plugged it in the TV box. It magically booted from the SDCard and now I have mmcblk2 as a block device. Now I can run armbian-install command to get everything going correctly.
  9. Like
    fabiobassa reacted to RaptorSDS in CSC Armbian for RK322x TV box boards   
    fast search found that 8089 use 40Mhz not 26 so its ignored https://lists.infradead.org/pipermail/linux-arm-kernel/2016-August/447345.html
    was a talk on kernel developer , some 8089 ignore also 40Mhz some need also 8622 need some 26Mhz or not 
  10. Like
    fabiobassa got a reaction from jock in CSC Armbian for RK322x TV box boards   
    @Jerry Falken
    I am pretty sure you jumped in this 3ad without reading all of it, and this is unfair .

    You are right, it is huge, but such question you ask have been already answered in the past many times , and I will answer just as a form of courtesy , but will not go back in the future on the same question again

    If you look at your board you can spot 3 pads : tx rx gnd . That is all is needed, no 5 volts just tx rx gnd
    Those pads are the "uart" , in other words there you will see ALL that happens when the board starts, if is a rk 322x or other fake print, if it is ddr3 or ddr2 manyyyyy manyyy infos to debug the whole process. For me it is a 3229 with ddr3 memory but uart will tell you
    Go find in the 1st post the speed of uart to use with putty or minicom ( spoiler :1500000 🙃 )

    just for sake of coriousity, this si the setting I have in my lab: ALWAYS and I repeat ALWAYS a uart connected to debug what is going so if you need answer.. post the right questions and not generic ones 

    g on
  11. Like
    fabiobassa reacted to Jerry Falken in CSC Armbian for RK322x TV box boards   
    Update: I was right, it is an allwinner system
     
    U-Boot 2014.07 (Aug 28 2020 - 08:44:29) Allwinner Technology Mali: ERR: /home/work/share/akrd6/custom_relese/H3_ANDROID7.0_BOX_SDK_V1.0_20190702_eng/lichee/linux-4.4/modules/gpu/mali-utgard/kernel_mode/driver/src/devicedrv/mali/linux/mali_platform.c These where the smoking guns that caught my eye, i will likely install Armbian in this anyhow.
  12. Like
    fabiobassa got a reaction from dale in CSC Armbian for RK322x TV box boards   
    @dale
    as usual shorting pins 6/7 on the well exposed nand
  13. Like
    fabiobassa reacted to jock in CSC Armbian for RK322x TV box boards   
    @Aroldo Bossoni
     
    The optimal would be understanding the reason why the watchdog triggers, but could be a difficult task without a hint because of the closed source proprietary trust os.
     
    The easiest thing is to provide armbian images with the opensource trust os rather than the proprietary, which is totally feasible because it just requires to swap a file in the armbian build scripts. That would blow the issue away, but unfortunately the proprietary trust os provided DDR scaling and virtual poweroff. The latter is a seldom used feature, but the DDR scaling provided a dramatic improvement in performance and it is hard to give up on that.
     
    Swapping the things at runtime is not savvy: when u-boot updates, the proprietary trust os will be reinstalled overwriting whatever you put in there.
     
    I would be happy with opensource Trust OS and no runtime DDR scaling, but stil having it at a fixed decent rate (660MHz, instead of the default 330MHz), but some boards do not boot at all when they are instructed to boot at 660MHz.
  14. Like
    fabiobassa reacted to Aroldo Bossoni in CSC Armbian for RK322x TV box boards   
    Hello everyone!
     
    I'm willing to develop a script that automates firmware, u-boot, and ROM compatibility testing with the boards via OTG.
     
    I've thought of a workflow something like this:
    1. Download a list of files by type from several different sources.
    2. Extract files from pre-built images, ROM, loader, u-boot.
    3. Check for duplicate files by size and checksum.
    4. Apply and test in stages: ROM, loader, u-boot, kernel, rootfs, network, video.
    5. Log what worked and what went wrong.
    6. Since this process can take hours, emit a beep when user interaction is needed.
     
    What I need help with from you:
    Is this idea feasible?
    Will it produce results and facilitate the implementation process on rk322X boards?
    Can it be reused and adapted for other boards?
     
    I have little experience with ROMs and ARM firmware, but if it's feasible, I intend to create a public repository for the community to help me with the development.
    Thank you for your attention!
  15. Like
    fabiobassa reacted to jock in CSC Armbian for RK322x TV box boards   
    @Virgilio Junior  you can use multitool, and use the "jump start" installation: you should be able to boot from sdcard and USB as well without doing the process by hand.
    Forget about the NAND, it causes troubles you would not deal with
  16. Like
    fabiobassa got a reaction from pragata in CSC Armbian for RK322x TV box boards   
    @Mateus Lima
     
    It Is not the first neither will be the last time  that china manufacturers fake soc printing.
    Have a look on allwinner forum 
  17. Like
    fabiobassa reacted to jock in CSC Armbian for RK322x TV box boards   
    Found with google: https://forum.armbian.com/topic/34923-csc-armbian-for-rk322x-tv-box-boards/page/96/#findComment-218361
     
  18. Like
    fabiobassa reacted to jock in CSC Armbian for RK322x TV box boards   
    In theory, it shouldn't
  19. Like
    fabiobassa reacted to Victor Picinin in CSC Armbian for RK322x TV box boards   
    This was a watchdog and trust os issue.

    For anyone having this issue, i fixed by building a new multitool from OP github: https://github.com/paolosabatino/multitool/tree/master
    Changing the RK322x TRUST_OS to: rk322x_tee_1.0.1-72-gf230aa2.bin

    And them building a new armbian build replacing the armbian TRUST_OS with this same one. "rk322x_tee_1.0.1-72-gf230aa2.bin"

    if anyone needs the builded files "multitool and armbian" feel free to email me at vitorpicinin@gmail.com
  20. Like
    fabiobassa reacted to Kiranmoy Saha in CSC Armbian for RK322x TV box boards   
    Hi @jock,
    Thanks for suggestion, led me to dig down and found your update on R29 GPIO. Since multitool hdmi was working, I used it's bash to mount emmc and add overlays=led-config7 to armbianEnv.txt. It worked!!!! Thanks a lot for all your contribution!
  21. Like
    fabiobassa reacted to jock in CSC Armbian for RK322x TV box boards   
    login via ssh
  22. Like
    fabiobassa reacted to RaptorSDS in CSC Armbian for RK322x TV box boards   
    wich OS system Windows balenaEtcher, linux "dd" , do you perform checksum 
  23. Like
    fabiobassa got a reaction from radioarica in CSC Armbian for RK322x TV box boards   
    @Enzo Esteban
    can you check with great precision the stamp on the cpu ? In second image

    To me it seems a 3328 ......... and not a 3228 . Great difference my friend !!!!!!!!!!!!

    If it is really a 3328 you are simply doing ALL WRONG . They are totally different cpu's and totally different drivers

    The 3328 is a 64 bit aarch64 architecture

    The 3228 is a 32 bit armhf architecture

    BTW if you are in Brasil, try to contact this people . Basing on our early study they did a distro fitting on these cheap tvboxes

    https://github.com/educabox/educabox/tree/main

     
  24. Like
    fabiobassa reacted to Orcus in CSC Armbian for RK322x TV box boards   
    damn, it looks like I screwed up the WiFi chip model
    Actually I have p9012s in my box. And if I understand correctly, there are no drivers for it and it won't work.
     
    I had a USB WiFi adapter on a Ralink MT7601U chip. It worked in this box right away.
     
    P.S. I still don't understand why I assumed that I have an esp8089 chip. Since I have two such TV boxes, I even disassembled the second one to check - but it also has a c9012p chip. A mystery to me)
    ___
    By the way, the other day after an unsuccessful Armbian firmware update I almost got a brick. If earlier I was able to restore it using a PC and a USB-A - USB-A cable, this time the PC didn't even see this box.
    Maybe this will be useful to someone. I revived it by switching to mask mode by shorting contacts on emmc.
    launched RK Batch Tool 1.8 and specified the path to the stock firmware (don't forget about the drivers) completely disconnected the power supply to the box shorted contacts 29 and 30 to each other connected the box to the PC. The program immediately recognized it. All that was left was to flash it My box specifications:
    Rockchip RK3228A (Aida64 for some reason says that it is 3229), 2/16gb, WiFi S9012P. Board: MXQ_RK3229_V2.0 2019.07.2022
     
     
  25. Like
    fabiobassa got a reaction from jock in CSC Armbian for RK322x TV box boards   
    @Tavares R
    if you read the 1st post you will see that this box is a half-miracle, in the meaning that it work under some intergalactic forces 🤣😎 since it's harware is quite limited
    For use such as headless server is fantastic but when it comes to net browsing it shows all it's limits
    In the first post also is detaiiled a way to install full hw acceleration

    I tested many many many rootfs and many combinations but with XORG almost any browser is quite unusable. I dont have experience with wayland thought
    Different approach with  playing video and music under libreelec with a reasonable frame rate and hw acceleration , but on this side @ilmich could be more specific
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines