Jump to content

NiTr0

Members
  • Posts

    32
  • Joined

  • Last visited

Reputation Activity

  1. Like
    NiTr0 got a reaction from gpsvitor in H20 Box with RK3228A bricked   
    try to short ROM data lanes that are passed via 51R resistors (8 pcs or 2x 4-resistors assembles hear eMMC). I just shorted any 2 lines between different assembles by tweezer.
  2. Like
    NiTr0 got a reaction from jock in H20 Box with RK3228A bricked   
    try this image: https://drive.google.com/file/d/1bcOfc-df_84-qa0-SQjrQnKpzfEGrdsd/view?usp=sharing
     
    I've updateed ddrbin (I manually placed  u-boot-rk322x-with-spl.bin with ddrbin 1.11 at 0x8000 in image) and it boots OK on my board
  3. Like
    NiTr0 got a reaction from fabiobassa 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...
  4. Like
    NiTr0 got a reaction from MattWestB in CSC Armbian for RK322x TV box boards   
    yes I switched speed to 115200.
     
    it seems like rockchip miniloader starts from eMMC and then boots from microSD.
     
    I wrote first 128KB of eMMC content to SD card with multiboot image (except 1st sector with partition table) - and it boots OK with empty eMMC.
  5. Like
    NiTr0 got a reaction from fabiobassa 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.
  6. Like
    NiTr0 got a reaction from MattWestB 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.
  7. Like
    NiTr0 got a reaction from fabiobassa 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 .....  
  8. Like
    NiTr0 got a reaction from fabiobassa 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.
  9. Like
    NiTr0 got a reaction from ilmich in CSC Armbian for RK322x TV box boards   
    It doesn't work for me on same board, but shorting any data lines to each other pushed chip to mask rom on boot.
     
    I have 1.5G/8G version, and it doesn't boot armbian or multitool from sd/emmc - it just hangs on boot with no output to console (1500000 and 115200 speed)
  10. Like
    NiTr0 got a reaction from jock in CSC Armbian for RK322x TV box boards   
    It doesn't work for me on same board, but shorting any data lines to each other pushed chip to mask rom on boot.
     
    I have 1.5G/8G version, and it doesn't boot armbian or multitool from sd/emmc - it just hangs on boot with no output to console (1500000 and 115200 speed)
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines