Jump to content

fabiobassa

Members
  • Posts

    384
  • Joined

  • Last visited

Reputation Activity

  1. Like
    fabiobassa reacted to jock in CSC Armbian for RK322x TV box boards   
    @ego worker Now I'm checking edge 6.6.7 kernel and it works like a charm: made some stress tests with openssl speed -multi 4 while running KDE and hardware video decoding with no particular issues
    My eMCP reads at most at 28.4mb/s in DDR mode, sometimes also times out, but it is a scrap board with plenty of issues; decent and non-abused eMCPs read  up to 90mb/s in DDR mode.
  2. Like
    fabiobassa got a reaction from jock in CSC Armbian for RK322x TV box boards   
    @ktolisgr
    Nand Is ONLY  supported on Legacy kernel
     
    Stay on 4.x.x and everything will work.
     
    This Is clear said in first posts and throught the whole 3ad but i know.....Reading Is boring and forum huge, better direct ask  thing already explained billion times !
  3. Like
    fabiobassa reacted to jock in CSC Armbian for RK322x TV box boards   
    @Le Best Noob looks like your board is a new one; could you please post a couple of photos of the front and back?
  4. Like
    fabiobassa got a reaction from djoness in CSC Armbian for RK322x TV box boards   
    @djoness
    Welcome to the forum, italian HAM here.
    I also manager to install hblink and hdswitch in a rk322x .
    If you dont mind i will drop you some Infos in you private message, Just to let clean the forum for hardware and firmware related questions
  5. Like
    fabiobassa reacted to djoness in CSC Armbian for RK322x TV box boards   
    Hi
    I had heard that you can install LINUX on a TV BOX, so I got an X96 which has the RK322X CHIPSET.
    Since I am a Hamradio and I did some tinkering I told myself that I would create an interconnected repeater with the X96 as a server.
    After installation and configuration I was able to create my repeater which worked very well for more than three months.
    Here is the photo of the interconnected repeater in working order:
     

     
    I made a tutorial on my site where I described my configuration and installation of the system: https://www.dmr-maroc.com/Repeteur_sans_Raspberry.php
  6. Like
    fabiobassa got a reaction from jock in CSC Armbian for RK322x TV box boards   
    Please Just remain focuses on rk322x and their problems.
    Dont go off topic
    Thank you all very much for understanding , highly appreciated
  7. Like
    fabiobassa got a reaction from Bert Kortenbach in CSC Armbian for RK322x TV box boards   
    Please Just remain focuses on rk322x and their problems.
    Dont go off topic
    Thank you all very much for understanding , highly appreciated
  8. Like
    fabiobassa reacted to Bert Kortenbach in CSC Armbian for RK322x TV box boards   
    This is a bit off topic, sorry for that, but I want to buy another tv box. I tried to find something like a best buy guide with links to AliExpress or something similar, but I can't find any. Tips?
  9. Like
    fabiobassa reacted to Benedito Portela in CSC Armbian for RK322x TV box boards   
    Hi @Bert Kortenbach and @Arthur Ferraz, I did have the same problem with mine MXQ_R2B_LP3 board, (this box is like R29 with other wiifi chip), I want to share my experiences with you, it worked after the great help I received here, it could help you too! I followed @jock 's instructions but for the hdmi to work, it had to be the Armbian_23.08.0-trunk_Rk322x-box_bookworm_edge_6.5.5_minimal.img.xz image, I installed it on an SD card, as soon as I boot, the hdmi image doesn't appear, I went used SSH and configured rk322x-config led-conf-7, then reboot, and it worked! But even so, I had problems recording on the emmc, in my case it was an emcp, when I recorded the image using multiboot, the box got a black screen! The only way I managed to install it on emmc was by booting from the SD and then using the armbian-install command, then the box worked normally, then I made the modifications, installed the graphical environment, booted with multiboot and made a backup, Then this image restores normally in the box! So in short, you have to have Armbian updated, kernel 6.5, and install using the armbian-install command! I hope this information is useful! About Leds, the blinking yellow led means that the system has booted and is working! 
    Good luck, I hope everything goes well! 
  10. Like
    fabiobassa reacted to Bert Kortenbach in CSC Armbian for RK322x TV box boards   
    Finally I've cracked it!
    I used the same SD that I used for the first box.
    BIG MISTAKE!
    I created a new SD. Multitool recognized the eMMC now and I burned the image again.
    Now it's working.
     
    Only thing is,,,
    I get no HDMI output yet, but I'm working on it...
    Any ideas? (Multitool WAS giving me HDMI but the new image doesn't)
    Diagnostics dump  (armbianmonitor -u) can be found at https://paste.armbian.com/avapokirog 
     
    Best regards
     
    Bert
  11. Like
    fabiobassa reacted to NiTr0 in CSC Armbian for RK322x TV box boards   
    I've placed compiled u-boot-rk322x-with-spl.bin at 0x8000 in image and image boots OK.
     
    small question: how to check (and change) GPIO pin assignment? currently I have only dark red light; it seems like it's looks like GPIOs mismatched.
     
    I've extracted and decompiled DTS from original firmware, but at first quick look I can't see pin assignments here - maybe I'm hav no enough experience...
  12. Like
    fabiobassa reacted to jock in CSC Armbian for RK322x TV box boards   
    Oh right, you still need the v1.11
    There are some caches around, but should not affect the bootloader which is always rebuilt from scratch AFAIK.
     
    Will double check soon, stay tuned!
  13. Like
    fabiobassa reacted to jock in CSC Armbian for RK322x TV box boards   
    @Rodrigo Campos hello; I don't think HDMI stopped working, but instead something went wrong with xfce installation via armbian-config.
     
    Honestly, I never try to install a desktop enviroment via armbian-config, but instead I usually build and use images with xfce already installed.
     
    Some fresh debian and ubuntu images have been built by armbian servers just yesterday: https://imola.armbian.com/dl/rk322x-box/archive/
    You may want to give a chance to them perhaps? They are still command-line only, but maybe they work better.
     
    In case they don't work, maybe you could post on this other forum, since I guess it is a userspace issue.
     
  14. Like
    fabiobassa reacted to Rodrigo Campos in CSC Armbian for RK322x TV box boards   
    Hello guys, first of all, I'd like to thank @jock for your very powerful work, very patient with all us newbies and thanks too @fabiobassa for your always fast answer. 
    I have the R29 box that didn't run HDMI neither WI-FI, so I tested the new multiboot and the new minimal firmware and as the most people, it works flawlessly boting in pendrive, I could install in internal EMMC and everything is OK. So, to go ahead I tried to install the XFCE desktop environment in armbian-config, but wen I did it, the HDMI stopped working. The system still works behind the screen with my pi-hole server, but without Image in HDMI.
    I just see and it still in led7 option. There are anything I could do to try? Could a desmeg of my board help? Or is necessary both, before and after desktop installation to help?
    Any test could I do to help you guys to improve this firmware? 
  15. Like
    fabiobassa got a reaction from MattWestB in CSC Armbian for RK322x TV box boards   
    @NiTr0 armbian has uart Speed at 115200
    Original ddrbin at 1500000
    I think you already switched to 115200
    Other than this It hangs After trust loadingvthatbis quite strange 
     
    Let see also  @jock opinion
  16. Like
    fabiobassa reacted to NiTr0 in CSC Armbian for RK322x TV box boards   
    It seems like trouble was with ddr init code, I replaced it in multiboot image (2-87 sectors) - and it's booted OK.
  17. Like
    fabiobassa reacted to NiTr0 in CSC Armbian for RK322x TV box boards   
    Here's log of original fw booting:
    DDR Version V1.11 20200910_dbg In ID:0xFFF 300MHz LPDDR3 Bus Width=32 Col=10 Bank=8 Row=15 CS=2 Die Bus-Width=32 Size=1536MB mach:14 OUT Boot1 Release Time: Sep 29 2018 16:04:10, version: 2.53 ChipType = 0xc, 370 mmc2:cmd19,100 SdmmcInit=2 0 BootCapSize=2000 UserCapSize=7456MB FwPartOffset=2000 , 2000 SdmmcInit=0 NOT PRESENT StorageInit ok = 18165 SecureMode = 0 SecureInit ret = 0, SecureMode = 0 GPT 0x632d7e08 signature is wrong LOADER Check OK! 0x60000000, 82244 TOS Check OK! 0x68400000, 92952 Enter Trust OS INF TEE-CORE:init_primary_helper:319: Initializing (1.0.1-72-gf230aa2 #2 Fri Sep 29 10:22:10 UTC 2017 arm) INF TEE-CORE:init_primary_helper:320: Release version: 2.0 INF TEE-CORE:init_teecore:79: teecore inits done U-Boot 2014.10-RK322X-06 (Oct 18 2022 - 16:37:01) CPU: rk322x cpu version = 3 CPU's clock information: arm pll = 600000000HZ periph pll = 1200000000HZ ddr pll = 600000000HZ codec pll = 500000000HZ Board: Rockchip platform Board Uboot as second level loader DRAM: Found dram banks: 1 Adding bank:0000000060000000(0000000060000000) Reserve memory for trust os. dram reserve bank: base = 0x68400000, size = 0x00100000 128 MiB GIC CPU mask = 0x00000001 rk dma pl330 version: 1.4 remotectl v0.1 pwm freq=0x47868 pwm_freq_nstime=0xd55 SdmmcInit = 0 20 SdmmcInit = 2 0 storage init OK! Using default environment GetParam Load FDT from resource image. can't find dts node for fixed No pmic detect. set pwm voltage ok,pwm_id =1 vol=1100000,pwm_value=66 set pwm voltage ok,pwm_id =2 vol=1200000,pwm_value=33 DRAM: dram freq:600MHz SecureBootEn = 0, SecureBootLock = 0 #Boot ver: 0000-00-00#0.00 empty serial no. normal boot. checkKey vbus = 1 Normal boot, detecting usb... Auto detect usb timeout:978/1479/1479, return! otg not connected! board_fbt_key_pressed: ir_keycode = 0x0, frt = 0 no fuel gauge found no fuel gauge found can't find power_ctr node for lcdc0 HDMI: no pull up gpio can't find dts node for deviceinfo rk_hdmi_register:fail to read deviceinfo hdmi baseparamer 0x0@0-0 left = 0, right = 0, top = 0, bottom = 0, overscan = 0 panel->left = 100 , panel->right = 100 ,panel->top = 100, panel->bottom = 100, panel->overscan = 100 tve baseparamer 0x0@0-0 Hdmi Devices Not Exist. can't find dts node for rk312x-tve SCREEN_TVOUT rk3036_tve_init:use default config g_tve_pos = 1 read logo on state from dts [1] no fuel gauge found checkKey vbus = 1 board_fbt_key_pressed: ir_keycode = 0x0, frt = 0 Hit any key to stop autoboot: 0 load fdt from resouce. ERROR: [get_entry_ram]: Cannot find logo_kernel.bmp! vendor read error! Set oem_unlocked=0Secure Boot state: 0 kernel @ 0x62000000 (0x0066db38) ramdisk @ 0x65bf0000 (0x001693f0) bootrk: do_bootm_linux... Loading Device Tree to 65600000, end 656155bd ... OK Add bank:0000000060000000, 0000000008400000 Add bank:0000000068500000, 0000000057b00000 WARNING: could not set reg FDT_ERR_BADOFFSET. Starting kernel ... <hit enter to activate fiq debugger> [ 0.000000] Booting Linux on physical CPU 0xf00 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.10.104 (hxws@gxt) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #76 SMP PREEMPT Mon Aug 7 10:45:16 CST 2023 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: Rockchip RK3229, model: rockchip,rk3229 [ 0.000000] rockchip_uboot_logo_setup: mem: 0x02000000@0xbdc00000, offset:0x00000000 [ 0.000000] hdmi init vic is 65536 [ 0.000000] cvbs init tve.format is 1 [ 0.000000] cvbs init tve.format is 1 [ 0.000000] cvbs init tve.format is 1 [ 0.000000] rockchip_uboot_mem_reserve: reserve 0x02000000@0xbdc00000 for uboot logo [ 0.000000] rockchip_ion_reserve [ 0.000000] ion heap(cma): base(0) size(0) align(0) [ 0.000000] ion heap(drm): base(0) size(0) align(0) [ 0.000000] ion heap(vmalloc): base(0) size(0) align(0) [ 0.000000] cma: CMA: reserved 16 MiB at 7f000000 [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] system serial: c0cd2128 [ 0.000000] 52 57 30 31 00 00 0b 1d [ 0.000000] 55 4b 35 30 32 00 00 21 [ 0.000000] psci: probing function IDs from device-tree [ 0.000000] PERCPU: Embedded 9 pages/cpu @c1a15000 s13440 r8192 d15232 u36864 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 391936 [ 0.000000] Kernel command line: vmalloc=496M psci=enable rockchip_jtag console=ttyFIQ0 androidboot.selinux=permissive androidboot.hardware=rk30board androidboot.console=ttyFIQ0 init=/init mtdparts=rk29xxnand:0x00002000@0x00002000(ub0 [ 0.000000] rockchip jtag enabled [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] allocated 3145728 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] Memory: 132MB 1403MB = 1535MB total .....  
  18. Like
    fabiobassa reacted to NiTr0 in CSC Armbian for RK322x TV box boards   
    Thanks. My board has KMQN10006B-B318 eMCP chip.
     
    Also, I experimented with different usbplug loader parts - board boots with v2.53 (which is in this loader) and hangs with v2.56.
  19. Like
    fabiobassa reacted to BLFC in CSC Armbian for RK322x TV box boards   
    @chrisrer My box is running so well that I managed to write a procedure to install HA on it.
    @Scmel  I find a fix for the error you reported, check bellow
     
    Hope this helps
    !3runo
    from Brazil
  20. Like
    fabiobassa reacted to BLFC in CSC Armbian for RK322x TV box boards   
    Thank you @jock for this hint! I was trying Armbian_23.8.1_Rk322x-box_jammy_current_6.1.50_minimal.img directly from the SD without installing to check if it would work before burning the unit (just getting blue and red LEDs shine very tiny at each attempt) and was wondering why multitool would run from the SD and the image, won't.
     
    My unit is the cheap MXQ Pro 4k 5g with R329Q_V8 board. It has 4 H5TC2G43BFR-H9A DDR3L DRAM, 512MX4 memory chips (1GB RAM total), a KLM8G1GETF-B041 eMMC 5.1 (8GB) and the SV6256P wireless. After installing it successfully booted, I plug a spare USB WIFI dongle I had and enabled internet access using nmtui to apt update && apt upgrade
     
    I select on rk322x-config rk3228 no pins and overlays=emmc led-conf2, are these the right settings for this board?
     
    My goal was to setup a cheap print server for an old non-wifi printer I have and thanks to you guys awesome work I succeed
     
    While preparing I managed to get some info from the board using the shell from multitool
     
    # hexdump -C /sys/bus/nvmem/devices/rockchip-efuse0/nvmem 00000000 52 4b 23 82 81 d4 70 55 52 4b 4e 30 39 30 32 35 |RK#...pURKN09025| 00000010 00 00 00 00 01 2c 15 03 00 03 81 00 00 80 00 00 |.....,..........| --> 3228 chip  
    (I was not able to remove the heatsink to check if the RK3228 is a or b, it is very well glued)
     
    # cat /sys/class/devfreq/dmc/trans_stat cat: /sys/class/devfreq/dmc/trans_stat: No such file or directory --> shows that unit is not using frequency scaling  
    # cat "/sys/bus/mmc/devices/mmc1:0001/mmc1:0001:1/modalias" sdio:c07v3030d3030  
    Some pictures of the board and from the android that came with it attached (system's and Aida64). There are R T and GND points on the board but I didn't try a serial there
     
    I made a backup of the android that came installed, if anyone wants just tell and I'll post a link
     
    Thank you @jock @fabiobassa @hexdump @knaerzche Igor Pecovnik, Justin Swartz and all others that contributed so much for Ambiam project and to this port.
     
    Cheers
    !3runo
    from Brazil
     
    (As a side note, I was able to get rid of the annoying adware that popups every time android booted - the video at /system/media/bootanimation.ts - by adding to /system/build.prop the following single line using adb or an file manager app capable of editing files. The box came factory rooted and with adb network enabled - beware of that if you use its android!)
     
    debug.sf.nobootanimation=1  










  21. Like
    fabiobassa reacted to jock in CSC Armbian for RK322x TV box boards   
    Yeah, we live in the clouds and sometimes we land to go to the grocery store ...
  22. Like
    fabiobassa reacted to ilmich in CSC Armbian for RK322x TV box boards   
    Hi @n3o
     
    please don't say things I've never said. I won't do what you wrote. You are still free to use my (hard) work because I believe in healthy sharing, which is already the basis of my work on libreelec. Without @jock and @fabiobassa these boxes would not have this level of support.
     
    Cheers
    Michele
  23. Like
    fabiobassa reacted to ego worker in CSC Armbian for RK322x TV box boards   
    @jock
    with updated uboot
     
    I can add that no armbian with kernel higher than 4.4 ever run on this board, all did crash. Wrong CPU/DDR freq ?
    updateduboot.txt
     
    Edit:
    Oh, it just runned after few power unplugs ...
    HDMI ok, strange xD
     
    works!.txt
     
    lan 100Mbit also ok
    [   34.223396] rk_gmac-dwmac 30200000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
    [   34.288631] rk_gmac-dwmac 30200000.ethernet end0: PHY [stmmac-0:00] driver [Rockchip integrated EPHY] (irq=POLL)
    [   34.297804] rk_gmac-dwmac 30200000.ethernet end0: No Safety Features support found
    [   34.297885] rk_gmac-dwmac 30200000.ethernet end0: PTP not supported by HW
    [   34.299134] rk_gmac-dwmac 30200000.ethernet end0: configuring for phy/rmii link mode
    [  290.306195] rk_gmac-dwmac 30200000.ethernet end0: Link is Up - 100Mbps/Full - flow control rx/tx
     
    Thanks !
  24. Like
    fabiobassa reacted to jock in CSC Armbian for RK322x TV box boards   
    @Benedito Portela Here it is a debian buster minimal image with latest 6.5 kernel. I did not had time to test it though, so try it with an sdcard first!
     
    edit: tested the image, it works plenty well!
  25. Like
    fabiobassa reacted to jock in CSC Armbian for RK322x TV box boards   
    The Debian version has nothing to do with the underneath hardware. It's just that if you use an older image simply you miss some corrections and compatibility fixes here and there that allowed the eMCP boards work in a stable way.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines