jock Posted August 2, 2023 Author Posted August 2, 2023 @n3o please put the log in a spoiler section 0 Quote
sadp Posted August 3, 2023 Posted August 3, 2023 (edited) Ok guys, Hi. So I have managed to connect box Q96MAX 4k Ultra HD, board MXQ_R2B_LP3_V2.62_220225 via maskrom mode, made EMMC backup, erased it. btw thanks @MattWestB for your photos of pins https://github.com/MattWestb/R29-MXQ-LP3-V2.3-00908 Anyway, Box boots armbian legacy from SD card, I have managed to connect to it via SSH, device specs. Detected board features: │ │ Chip type: RK3228A/B - Serial: URKW46025 00000000032b0c │ │ CPU Leakage: 0x04 - Logic Leakage: 0x04 │ │ Internal flash: eMMC │ │ Wifi device: unknown - Device ID: 02d0:4334 EDIT2: installed RDP client, can connect to device via RDP...HDMI NO Output ok so thanks to this post https://github.com/MattWestb/R29-MXQ-LP3-V2.3-00908/blob/main/README.md armbian parameters set to emmc-hs200, ddr3-660 and led-config2, led started to work. @MattWestB can you please comment how you fixed your box HDMI and wifi?:) EDIT: ok so ARMBIAN non legacy boots too, but same problems with WIFI and HDMI no video. dmesg gives a lot of errors ... [ 0.003538] CPU: Testing write buffer coherency: ok [ 0.004292] /cpus/cpu@f00 missing clock-frequency property [ 0.004358] /cpus/cpu@f01 missing clock-frequency property [ 0.004391] /cpus/cpu@f02 missing clock-frequency property [ 0.004424] /cpus/cpu@f03 missing clock-frequency property [ 0.004446] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00 ... [ 2.029717] inno-hdmi-phy 12030000.hdmi-phy: error -ENXIO: IRQ index 0 not found [ 2.030102] inno-hdmi-phy 12030000.hdmi-phy: phy_flag is: 0 [ 2.033084] rockchip-drm display-subsystem: bound 20050000.vop (ops 0xb127c87c) [ 2.033274] dwhdmi-rockchip 200a0000.hdmi: supply avdd-0v9 not found, using dummy regulator [ 2.033657] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0) [ 2.033677] dwhdmi-rockchip 200a0000.hdmi: supply avdd-1v8 not found, using dummy regulator [ 2.034239] dwhdmi-rockchip 200a0000.hdmi: Detected HDMI TX controller v2.01a with HDCP (inno_dw_hdmi_phy2) [ 2.035607] mmc2: new high speed MMC card at address 0001 [ 2.035736] dwhdmi-rockchip 200a0000.hdmi: registered DesignWare HDMI I2C bus driver [ 2.037470] mmcblk2: mmc2:0001 Q2J95T 7.28 GiB [ 2.039082] rockchip-drm display-subsystem: bound 200a0000.hdmi (ops 0xb1280568) ... [ 3.603319] rockchip-pinctrl pinctrl: unable to find group for node reset-key ... [ 15.966192] brcmfmac: brcmf_fw_alloc_request: Unknown chip BCM43342/0 ... [ 16.859644] systemd[1]: Starting Armbian memory supported logging... [ 17.040253] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50 [ 17.091210] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ 17.099828] brcmfmac: brcmf_ops_sdio_probe: F2 error, probe failed -19... [ 17.144754] systemd[1]: Finished Raise network interfaces. ... [ 45.622143] hdmi-audio-codec hdmi-audio-codec.2.auto: Only one simultaneous stream supported! [ 45.652339] hdmi-audio-codec hdmi-audio-codec.2.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -22 [ 45.676365] 100c0000.i2s0-i2s-hifi: ASoC: error at __soc_pcm_open on 100c0000.i2s0-i2s-hifi: -22 ... i attach log here pls help with wifi/hdmi dmesg.log Edited August 3, 2023 by sadp 2 Quote
n3o Posted August 3, 2023 Posted August 3, 2023 11 hours ago, jock said: @n3o please put the log in a spoiler section done... what can You tell me about the issue? 0 Quote
jock Posted August 3, 2023 Author Posted August 3, 2023 @sadp Your wifi chip is not supported by the brcmfmac driver; there is a patch for rockchip64 family but not for rk322x. I will make a Pull Request to add the patch for rk322x but have to be patient, wait a couple of weeks and it will be probably available for edge 6.4 kernel. You are on current 6.1 right now, so perhaps you may want to switch when the new kernel will be available. About the missing HDMI, it is a known problem for all R29 boards; @Hudson FAS gently offered to send me a board of such kind for me to inspect and try to fix the issue, so patience here too. 1 Quote
jock Posted August 3, 2023 Author Posted August 3, 2023 5 hours ago, n3o said: done... what can You tell me about the issue? Actually I don't remember your issue (the last post was 3 months ago), but I see @RaptorSDS was already in contact with you. 0 Quote
n3o Posted August 3, 2023 Posted August 3, 2023 45 minutes ago, jock said: Actually I don't remember your issue (the last post was 3 months ago), but I see @RaptorSDS was already in contact with you. device no more boot and load into recovery mode 0 Quote
RaptorSDS Posted August 3, 2023 Posted August 3, 2023 vor 18 Stunden schrieb n3o: [ 8.215212] init: property_set("ro.hardware", "rk30board") failed [ 8.223761] init: Running restorecon... [ 8.288108] vendor storage:20160801 ret = -1 [ 8.312205] init: waitpid failed: No child processes [ 8.313478] init: property_set("ro.board.platform", "rk322x") failed looks like android has many false setting or broke 0 Quote
sadp Posted August 3, 2023 Posted August 3, 2023 @jock thanks for your hard work and for your reply, I understand, waiting for possible fixes 0 Quote
n3o Posted August 3, 2023 Posted August 3, 2023 8 minutes ago, RaptorSDS said: looks like android has many false setting or broke ok, I want install armbian but also multiboot doesn't worked very well... what step I should do? I think that is unuseful make a backup of a Android system damaged, so how I can make the bootloader upgrade described here https://forum.armbian.com/topic/12656-csc-armbian-for-rk322x-tv-boxes/?do=findComment&comment=121103 ? 2. For the bootloader file, I have a file named rk322x_loader_v1.10.256.bin but I don't remember where I have download it, can You tell me if I should download the updated file from here https://github.com/ilmich/rkflashtool/tree/master/bin ? and what file ? ? 3. After this, in first post isn't explained difference between images here https://imola.armbian.com/dl/rk322x-box/archive/ , so what is the difference between bookworm and jammy? and what are the differences between <<standard (without nothing added)>>, xfce, minimal and wm? It's explained only current, edge and legacy 0 Quote
RaptorSDS Posted August 3, 2023 Posted August 3, 2023 vor 30 Minuten schrieb n3o: ok, I want install armbian but also multiboot doesn't worked very well but now you can see why it is not work , and also interact with armbian without HDMI if HDMI doesnt work 0 Quote
fabiobassa Posted August 3, 2023 Posted August 3, 2023 @n3o Quote so what is the difference between bookworm and jammy? migh tI ask you how much skill have you not only on linux but in general on pc's ? Quote ok, I want install armbian but also multiboot doesn't worked very well. What EXACTLY you mean by this ? 0 Quote
RaptorSDS Posted August 3, 2023 Posted August 3, 2023 vor 59 Minuten schrieb n3o: bookworm and jammy bookworm is Debian 12 jammy is Ubuntu 22.04 0 Quote
ego worker Posted August 3, 2023 Posted August 3, 2023 (edited) Hi, got the same board as TV box different brand: MXQ PRO 4K 5G Bought recently, so probably all got the same board MultiTool works fine, can flash and erase via SSH Problem is that no image for rk322x box works, no working HDMI. Only when I boot it with LAN plugged in - yellow Led blinks - but no IP is assigned. Edit: Or it does work but there is no SSH enabled in armbian ? I dont rly need HDMI and GPU at all, just wonna reach ssh it doesnt get IP from DHCP ... dmesg.multitool.log Edited August 3, 2023 by ego worker 0 Quote
n3o Posted August 3, 2023 Posted August 3, 2023 3 hours ago, RaptorSDS said: but now you can see why it is not work , and also interact with armbian without HDMI if HDMI doesnt work how can I make this? In putty the last lines automatically appear, it's not SSH. What should I do ? Can You tell me from the log posted what bootloader file flash? 2 hours ago, fabiobassa said: migh tI ask you how much skill have you not only on linux but in general on pc's ? I'm a java developer, sadly not always it's possible found a complete course from A to Z (for example, in linux, a course that cover vmlinuz, disk partition, boot (bios and uefi), virtual machine, dsa network config, ecc ecc) ... so I have fragmentated concepts ... to this add that I'm not a system administrator so it's easy forgotten also the basis. In electronic instead I don't know nothing (this is related to the UART problem). 2 hours ago, RaptorSDS said: bookworm is Debian 12 jammy is Ubuntu 22.04 what do You recommend me? and what about <<standard (without nothing added)>>, xfce, minimal and wm ? 0 Quote
RaptorSDS Posted August 3, 2023 Posted August 3, 2023 vor 2 Minuten schrieb n3o: it's not SSH its better its a serial console , you can interact with linux over tty Serial connect (you have with this now with UART) , when multitool is running like in a ssh session ssh is a forwarde serial console over ip (more or less) when you run headless ( without gui) linux do the same a serial console is than also forwarde to HDMI (more or less) vor 5 Minuten schrieb n3o: what do You recommend me? both have same source , both use same tools and programm Debian has philosophy "no close source" but your are able to install them when need Ubuntu is from start with close source software but that makes its sometime bigger and more complex both can use xcfe and other gui ( some of the image files already have xfce active) , when you only need server go with minimal 0 Quote
n3o Posted August 3, 2023 Posted August 3, 2023 5 minutes ago, RaptorSDS said: its better its a serial console , you can interact with linux over tty Serial connect (you have with this now with UART) , when multitool is running like in a ssh session ssh is a forwarde serial console over ip (more or less) when you run headless ( without gui) linux do the same a serial console is than also forwarde to HDMI (more or less) so I should just insert microsd with multitool and I can start procedure of @jock ? What bootloader file should I load? in the first post, at section "Quick installation instructions on NAND" at point 2 is written "Burn the Multitool on an SD card; once done, place the Armbian legacy kernel image in images folder of the SD card FAT partition"... it's possible use only legacy kernel? 2 hours ago, RaptorSDS said: both have same source , both use same tools and programm Debian has philosophy "no close source" but your are able to install them when need Ubuntu is from start with close source software but that makes its sometime bigger and more complex both can use xcfe and other gui ( some of the image files already have xfce active) , when you only need server go with minimal ok, I'll try bookworm 0 Quote
ego worker Posted August 4, 2023 Posted August 4, 2023 (edited) Ok, I have atached to UART, and looks like armbian boots but no HDMI, no IP from LAN edit: Ok Lan and SSH started to work after first login nice any solution for not working HDMI ? edit2: Legacy 4.4 works (noHDMI), mainline doesnt, kernel panic (currentkernel.txt) Booting Linux.txt CurrentKernel.txt Edited August 4, 2023 by ego worker 0 Quote
n3o Posted August 4, 2023 Posted August 4, 2023 16 hours ago, n3o said: so I should just insert microsd with multitool and I can start procedure of @jock ? What bootloader file should I load? in the first post, at section "Quick installation instructions on NAND" at point 2 is written "Burn the Multitool on an SD card; once done, place the Armbian legacy kernel image in images folder of the SD card FAT partition"... it's possible use only legacy kernel? @RaptorSDS can You help me? 0 Quote
RaptorSDS Posted August 4, 2023 Posted August 4, 2023 vor 29 Minuten schrieb n3o: it's possible use only legacy kernel? i can not hep by flash any other bootloader or make nand work with newer kernel , i dont understand why only kernel that make no sense , flash legay armbian and go on with the box , else put legacy image on the box and than show the log we can look why maybe the box dont boot full to armbian you can save also android because maybe we need dts/dtb or anything else and extract it out of image file 0 Quote
ego worker Posted August 4, 2023 Posted August 4, 2023 (edited) Colected info of this board https://github.com/kenavru/rk3228_TVBox atempting to recover dtb from android ... but cant find it 😆 https://raw.githubusercontent.com/kenavru/rk3228_TVBox/main/binwalk_android_emmc.txt is it somewhere else than backup possible from multitool ? Edited August 4, 2023 by ego worker 0 Quote
n3o Posted August 4, 2023 Posted August 4, 2023 1 hour ago, RaptorSDS said: i can not hep by flash any other bootloader or make nand work with newer kernel , i dont understand why only kernel that make no sense , flash legay armbian and go on with the box , else put legacy image on the box and than show the log What do You mean for "i dont understand why only kernel that make no sense" ? here https://imola.armbian.com/dl/rk322x-box/archive/ there are only current version, so where are the legacy images? 1 hour ago, RaptorSDS said: we can look why maybe the box dont boot full to armbian actually the box don't boot to stock android and I'm searching what image load 1 hour ago, RaptorSDS said: you can save also android because maybe we need dts/dtb or anything else and extract it out of image you mean load android image? what are dts/dtb ? 0 Quote
ego worker Posted August 4, 2023 Posted August 4, 2023 (edited) https://armbian.hosthatch.com/archive/rk322x-box/archive/ here are legacy c.d. I have extracted 4 dtb files, 3 looks fine, all references to rk3229, none is able to run Multitool ;( Edited August 4, 2023 by ego worker 0 Quote
RaptorSDS Posted August 4, 2023 Posted August 4, 2023 please guys dont mix topix thanks @ego worker for post link @n3o vor 19 Stunden schrieb n3o: t's possible use only legacy kernel? that why i was wonder , kernel is a part of linux but some like Android sometime have that as a seperate partion or like rasberry you can update kernel only also you talk about bootloader upgrade and i am was confuse about what you want and your knowloge about flashing this box with linux vor 1 Stunde schrieb n3o: you mean load android image? what are dts/dtb ? no save android dts/dtb are config file for kernel--> tell kernel where to look at for lan or wich memory or clock to use for hdmi and so on i thinks easy step are on page 1 when your box is nand than follow the step with a legacy armbian image and have fun with this box 0 Quote
MattWestB Posted August 5, 2023 Posted August 5, 2023 @sadp I using my box headless and by not connecting the HDMI its not running so warm (i doing the same with my RK3318 box that is having HDMI working OK last time i was looking) and i using local comport for the initial config and then SSH so no need for desktop for my. Also i running Zigbee and Thred RCP and WiFi is only making problems so i only using Eth for not getting interference with my 802.15.4 mesh networks. Only real problems beside the box is very easy running hot is that the USB implementation is nerving if one device is having problems and the system is disconnecting it the system must being repowered for the system finding it and its the same for the RK3318 box so its one RK thing that is not working very well. My firs problem was that the box was not liking the bootloader but i was finding one working one and flashing it to the eMCC and after that i have no problem installing armbian on the internal storage and can booting SD and USB storage for testing other armbian builds so its very good only the box is only having 8G internal flash so i have mounting the SD-card as docker data so HA supervised have enough storage for installing and working OK. 0 Quote
n3o Posted August 5, 2023 Posted August 5, 2023 On 8/4/2023 at 6:31 PM, ego worker said: https://armbian.hosthatch.com/archive/rk322x-box/archive/ here are legacy c.d. I have extracted 4 dtb files, 3 looks fine, all references to rk3229, none is able to run Multitool ;( so, it's impossible update bootloader? 23 hours ago, RaptorSDS said: that why i was wonder , kernel is a part of linux but some like Android sometime have that as a seperate partion or like rasberry you can update kernel only also you talk about bootloader upgrade and i am was confuse about what you want and your knowloge about flashing this box with linux I want install the most recent image of armbian with gui (so I don't want android) and in first post is written that it's necessary update bootloader "For fearless and bold people who are having issues when (re)booting images, there is the chance to upgrade the bootloader on NAND". So I prefer update bootloader and after that install the most recent image. For the bootloader I should use one of the 2 files here https://github.com/ilmich/rkflashtool/tree/master/bin but now reading the steps on the first post I have discovered that only legacy armbian image can be used. Now, the new question is: what is the difference between bullseye and jammy? Jammy isn't available with gui? I'm not very expert about linux and flashing, I know only that bootloader is such a bios ... 23 hours ago, RaptorSDS said: no save android dts/dtb are config file for kernel--> tell kernel where to look at for lan or wich memory or clock to use for hdmi and so on ok, where I can find this file (and how to reach destination if android no more boot)? What is the path? When I install the armbian image to make restore I have just copy and paste the files? 0 Quote
RaptorSDS Posted August 6, 2023 Posted August 6, 2023 (edited) vor 16 Stunden schrieb n3o: I want install the most recent image of armbian with gui (so I don't want android) and in first post is written that it's necessary update bootloader "For fearless and bold people who are having issues when (re)booting images, there is the chance to upgrade the bootloader on NAND". Yes correct --> NAND install = legacy armbian but you can boot latest Armbian from SD card or USB and ignore NAND complete Bootloader update only possible with male - male USB cable and rktool outside of the box there are 3 bootloader 1. open ones , SD-Card , USB and NAND boot allow , boot SD-CARD/USB also if there a OS in NAND or install Armbian legacy to nand 2. open ones , SD-Card USB Boot NAND boot allow but boot NAND first , there you can try the new point in Multitool "Jump start " that always redirect boot to SD-Card or install Armbian legacy to nand 3 close ones (rare ones), that the ones with probleme where you have to update bootloader Please !!! do the simple steps first , simple install legacy to nand and try it --> flash multitool on SD-card , put image file in the folder , start multitool , save android , clean nand and install(flash) armbian to nand or flash image file on sd-card and boot armbian legacy or newest vor 16 Stunden schrieb n3o: ok, where I can find this file (and how to reach destination if android no more boot)? we do need them only when all other failed , RK322x have some already inside armbian , many work with many diffirent setups and hardware already no need to do 10 step ahead please simple first !!!! please dont do this 10 steps ahead , i only want to say make a backup of android its good to have one also if corrupt . Edited August 6, 2023 by RaptorSDS 1 Quote
wslab Posted August 6, 2023 Posted August 6, 2023 Hello, I'm trying to install Armbian on "T9 Android 9.0 TV Box DDR3 RAM 32GB ROM RK3318": https://www.amazon.com/gp/product/B07GPCJSRR/ Tried booting from SD card using Armbian_23.5.1_Rk3318-box_jammy_current_6.1.30_minimal.img.xz (SHA 24ad44c3402b7f38c45a20d8abd2e69a3486e89108730481b066e3978e962e9f) and Armbian_23.5.1_Rk3318-box_jammy_current_6.1.30.img.xz (SHA f4d066a65f7483d7afb41c4b16899abdb9dda1d30c3f30eb67806e734f7a482c). Boot log from Armbian_23.5.1_Rk3318-box_jammy_current_6.1.30.img.xz: Spoiler =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2023.08.06 09:46:24 =~=~=~=~=~=~=~=~=~=~=~= �DDR version 1.15 20190428 ID:0xFFF In DDR3 333MHz Bus Width=32 Col=11 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=4096MB ddrconfig:3 OUT Boot1 Release Time: Sep 7 2018 15:49:55, version: 2.49 ChipType = 0x11, 193 mmc2:cmd19,100 SdmmcInit=2 0 BootCapSize=2000 UserCapSize=29820MB FwPartOffset=2000 , 2000 mmc0:cmd5,20 SdmmcInit=0 0 BootCapSize=0 UserCapSize=29819MB FwPartOffset=2000 , 0 StorageInit ok = 56900 Raw SecureMode = 0 SecureInit read PBA: 0x4 SecureInit read PBA: 0x404 SecureInit read PBA: 0x804 SecureInit read PBA: 0xc04 SecureInit read PBA: 0x1004 SecureInit ret = 0, SecureMode = 0 GPT 0x337a9e0 signature is wrong LoadTrust Addr:0x4000 LoadTrust Addr:0x4400 LoadTrust Addr:0x4800 LoadTrust Addr:0x4c00 LoadTrust Addr:0x5000 LoadTrust Addr:0x5400 LoadTrust Addr:0x5800 LoadTrust Addr:0x5c00 Addr:0x4000 No find trust.img! LoadTrustBL error:-3 Raw SecureMode = 0 SecureInit read PBA: 0x4 SecureInit read PBA: 0x404 SecureInit read PBA: 0x804 SecureInit read PBA: 0xc04 SecureInit read PBA: 0x1004 SecureInit ret = 0, SecureMode = 0 GPT part: 0, name: uboot, start:0x4000, size:0x2000 GPT part: 1, name: trust, start:0x6000, size:0x2000 GPT part: 2, name: misc, start:0x8000, size:0x2000 GPT part: 3, name: baseparameter, start:0xa000, size:0x800 GPT part: 4, name: resource, start:0xa800, size:0x8000 GPT part: 5, name: kernel, start:0x12800, size:0x10000 GPT part: 6, name: dtb, start:0x22800, size:0x2000 GPT part: 7, name: dtbo, start:0x24800, size:0x2000 GPT part: 8, name: logo, start:0x26800, size:0x8000 GPT part: 9, name: vbmeta, start:0x2e800, size:0x800 GPT part: 10, name: boot, start:0x2f000, size:0x10000 GPT part: 11, name: recovery, start:0x3f000, size:0x20000 GPT part: 12, name: backup, start:0x5f000, size:0x8000 GPT part: 13, name: cache, start:0x67000, size:0x80000 GPT part: 14, name: system, start:0xe7000, size:0x400000 GPT part: 15, name: metadata, start:0x4e7000, size:0x8000 GPT part: 16, name: vendor, start:0x4ef000, size:0x60000 GPT part: 17, name: oem, start:0x54f000, size:0x320000 GPT part: 18, name: frp, start:0x86f000, size:0x400 GPT part: 19, name: security, start:0x86f400, size:0x1000 GPT part: 20, name: userdata, start:0x870400, size:0x31cdbdf find partition:uboot OK. first_lba:0x4000. find partition:trust OK. first_lba:0x6000. LoadTrust Addr:0x6000 No find bl30.bin Load uboot, ReadLba = 4000 Load OK, addr=0x200000, size=0xc1d10 RunBL31 0x10000 NOTICE: BL31: v1.3(release):0e7a845e NOTICE: BL31: Built : 16:24:22, Apr 29 2019 NOTICE: BL31:Rockchip release version: v1.3 INFO: ARM GICv2 driver initialized INFO: Using opteed sec cpu_context! INFO: boot cpu mask: 1 INFO: plat_rockchip_pmu_init: pd status 0xe INFO: BL31: Initializing runtime services INFO: BL31: Initializing BL32 INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-194-g646eecc5 #61 Wed Dec 5 06:31:51 UTC 2018 aarch64) INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.4 INF [0x0] TEE-CORE:init_teecore:83: teecore inits done INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x200000 INFO: SPSR = 0x3c9 U-Boot 2017.09-02229-g9061290-dirty (Mar 24 2022 - 15:41:05 +0800) PreSerial: 2 DRAM: 4 GiB Relocation Offset is: fcc04000 Using default environment rksdmmc@ff500000: 1, rksdmmc@ff520000: 0 Buswidth = 1, clock: 0 Buswidth = 1, clock: 400000 Buswidth = 1, clock: 400000 Sending CMD0 Sending CMD8 Sending CMD55 Sending CMD41 Sending CMD55 Sending CMD41 Sending CMD2 Sending CMD3 Sending CMD9 Sending CMD7 Sending CMD55 Sending CMD51 Sending CMD6 Sending CMD6 Sending CMD55 Sending CMD6 Buswidth = 4, clock: 400000 Sending CMD55 Sending CMD13 Buswidth = 4, clock: 50000000 Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table switch to partitions #0, OK mmc1 is current device Sending CMD16 Sending CMD18 Sending CMD12 do_rkimg_test found IDB in SDcard Boot from SDcard Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table get part misc fail -1 Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table init_resource_list: failed to get boot part, ret=-1 Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table init_resource_list: failed to get resource part, ret=-1 DTB: rk-kernel.dtb Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table get part misc fail -1 Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table init_resource_list: failed to get boot part, ret=-1 Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table init_resource_list: failed to get resource part, ret=-1 Can't find file:rk-kernel.dtb init_kernel_dtb dtb in resource read fail In: serial Out: serial Err: serial Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table get part misc fail -1 Sending CMD16 Sending CMD18 Sending CMD12 Sending CMD16 Sending CMD18 Sending CMD12 Sending CMD16 Sending CMD18 Sending CMD12 Sending CMD16 Sending CMD18 Sending CMD12 CLK: apll 400000000 Hz dpll 664000000 Hz cpll 1200000000 Hz gpll 491009999 Hz npll 600000000 Hz armclk 600000000 Hz aclk_bus 150000000 Hz hclk_bus 75000000 Hz pclk_bus 75000000 Hz aclk_peri 150000000 Hz hclk_peri 75000000 Hz pclk_peri 75000000 Hz Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 0 Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table android_bootloader_boot_flow Could not find misc partition MMC: block number 0xecdfe6b2 exceeds max(0x3a3d800) failed to read ca head from misc Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table get part misc fail -1 ANDROID: reboot reason: "(none)" get share memory, arg0=0x0 arg1=0x9e08000 arg2=0x3f8000 arg3=0x1 Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table Could not find security partition rkss_read_patition_tables fail ! ret: -1.Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table Could not find security partition rkss_read_patition_tables fail ! ret: -1.Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table Could not find security partition rkss_read_patition_tables fail ! ret: -1.ERR [0x0] TEE-CORE:ree_fs_open:1488: tee file not exists get share memory, arg0=0x0 arg1=0x9e08000 arg2=0x3f8000 arg3=0x1 Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table Could not find security partition rkss_read_patition_tables fail ! ret: -1.Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table Could not find security partition rkss_read_patition_tables fail ! ret: -1.Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table Could not find security partition rkss_read_patition_tables fail ! ret: -1.Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table Could not find security partition rkss_read_patition_tables fail ! ret: -1.Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table Could not find security partition rkss_read_patition_tables fail ! ret: -1.Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table Could not find security partition rkss_read_patition_tables fail ! ret: -1.Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table Could not find security partition rkss_read_patition_tables fail ! ret: -1.tee_fs_open : error. A54E481B8B69424182B83ACF16E99E2A/.01000000/lock_state/meta.0ERR [0x0] TEE-CORE:create_tee_file:1420: Failed to create new meta file ERR [0x0] TEE-CORE:ree_fs_open:1497: Failed to open TEE file lib/avb/libavb_user/avb_ops_user.c: init lock state error Error determining whether device is unlocked. read_is_device_unlocked() ops returned that device is UNLOCKED Sending CMD16 Sending CMD17 Sending CMD16 Sending CMD18 Sending CMD12 RKPARM: Invalid parameter part table Could not find "misc" partition avb_ab_flow.c:99: ERROR: Error reading A/B metadata. avb_ab_flow.c:178: ERROR: I/O error while loading A/B metadata. Can not load metadata Android boot failed, error -1. AVB boot failed and enter rockusb or fastboot! RKUSB: LUN 0, dev 1, hwpart 0, sector 0x0, count 0x3a3d800 | / - \ Multitool boots successfully though (multitool.img.xz SHA a4f369fa06076212d6f46c10355c6163f147c70b19abf4e36ea7cf3363d01467), multitool boot log: Spoiler DDR version 1.15 20190428 ID:0xFFF In DDR3 333MHz Bus Width=32 Col=11 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=4096MB ddrconfig:3 OUT Boot1 Release Time: Sep 7 2018 15:49:55, version: 2.49 ChipType = 0x11, 193 mmc2:cmd19,100 SdmmcInit=2 0 BootCapSize=2000 UserCapSize=29820MB FwPartOffset=2000 , 2000 mmc0:cmd5,20 SdmmcInit=0 0 BootCapSize=0 UserCapSize=29819MB FwPartOffset=2000 , 0 StorageInit ok = 61762 Raw SecureMode = 0 SecureInit read PBA: 0x4 SecureInit read PBA: 0x404 SecureInit read PBA: 0x804 SecureInit read PBA: 0xc04 SecureInit read PBA: 0x1004 SecureInit ret = 0, SecureMode = 0 GPT 0x337a9e0 signature is wrong LoadTrust Addr:0x4000 No find bl30.bin No find bl32.bin Load uboot, ReadLba = 2000 Load OK, addr=0x200000, size=0xacc6c RunBL31 0x10000 NOTICE: BL31: v1.3(release):f947c7e NOTICE: BL31: Built : 10:31:25, Nov 1 2020 NOTICE: BL31: initializing secure efuse NOTICE: BL31: initializing non-secure efuse NOTICE: BL31: enabling efuse clock NOTICE: BL31:Rockchip release version: v1.3 U-Boot 2021.07-armbian (Nov 13 2021 - 11:25:20 +0000) Model: Rockchip RK3318 BOX DRAM: 4 GiB MMC: mmc@ff500000: 1, mmc@ff520000: 0, dwmmc@ff5f0000: 3 Loading Environment from MMC... *** Warning - bad CRC, using default environment In: serial@ff130000 Out: serial@ff130000 Err: serial@ff130000 Model: Rockchip RK3318 BOX Net: eth1: ethernet@ff550000 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc1 is current device Scanning mmc 1:2... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf 169 bytes read in 7 ms (23.4 KiB/s) 1: Multitool Retrieving file: /kernel.img 15949832 bytes read in 697 ms (21.8 MiB/s) append: boot=UUID=E2B5-C028 root=PARTUUID=7379cc53-03 rootwait console=ttyS2,115200 verbose=1 consoleblank=0 Retrieving file: /rk3318-box.dtb 71886 bytes read in 8 ms (8.6 MiB/s) ## Flattened Device Tree blob at 01f00000 Booting using the fdt blob at 0x1f00000 ERROR: reserving fdt memory region failed (addr=0 size=0) Using Device Tree in place at 0000000001f00000, end 0000000001f148cd Starting kernel ... Is booting from SD card not supported? Do I need to write the image to eMMC? Thanks in advance for any pointers! 0 Quote
jock Posted August 7, 2023 Author Posted August 7, 2023 @wslab wrong thread, please refer to the first page of the correct thread, everything is written in there: https://forum.armbian.com/topic/26978-csc-armbian-for-rk3318rk3328-tv-box-boards/ 1 Quote
n3o Posted August 7, 2023 Posted August 7, 2023 On 8/6/2023 at 1:12 PM, RaptorSDS said: Yes correct --> NAND install = legacy armbian but you can boot latest Armbian from SD card or USB and ignore NAND complete ok On 8/6/2023 at 1:12 PM, RaptorSDS said: Bootloader update only possible with male - male USB cable and rktool outside of the box there are 3 bootloader 1. open ones , SD-Card , USB and NAND boot allow , boot SD-CARD/USB also if there a OS in NAND or install Armbian legacy to nand 2. open ones , SD-Card USB Boot NAND boot allow but boot NAND first , there you can try the new point in Multitool "Jump start " that always redirect boot to SD-Card or install Armbian legacy to nand 3 close ones (rare ones), that the ones with probleme where you have to update bootloader ok, the 2 bootloader here https://github.com/ilmich/rkflashtool/tree/master/bin do You know of what type are? On 8/6/2023 at 1:12 PM, RaptorSDS said: Please !!! do the simple steps first , simple install legacy to nand and try it --> flash multitool on SD-card , put image file in the folder , start multitool , save android , clean nand and install(flash) armbian to nand referred to legacy armbian, what is difference between bullseye and jammy? Both kernel are current and both are 5.15.80. On 8/6/2023 at 1:12 PM, RaptorSDS said: or flash image file on sd-card and boot armbian legacy or newest I think it's bettere install legacy armbian to nand, and only after this flash armbian newest to sd (I think it's possible boot system directly from sd without install , true?) 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.