Jump to content

mvpwar

Members
  • Posts

    66
  • Joined

  • Last visited

Everything posted by mvpwar

  1. you mean the part2 is below link? I had try it many times... could you provide the link? thx @hotnikq
  2. when the box in MASKROM mode, I checked the "loader" with the MiniLoaderAll.bin path, and click the "Run" button to "Download Image" the Debug message as below Boot1 Release Time: Mar 5 2021 15:51:33, version: 1.05 support nand flash type: slc ...nandc_flash_init enter... No.1 FLASH ID:ff ff ff ff ff ff sfc nor id: ff ff ff sfc_nand id: ff ff ff SD IO init 0 Set SD Clk: 200, 5 Set SD Clk: 200, 5 SDC_BusRequest: CMD=8 SDC_RESP_TIMEOUT 1747 mmc0:cmd8,20 SDC_BusRequest: CMD=5 SDC_RESP_TIMEOUT 1747 mmc0:cmd5,20 SDC_BusRequest: CMD=55 SDC_RESP_TIMEOUT 1747 mmc0:cmd55,20 SDC_BusRequest: CMD=1 SDC_RESP_TIMEOUT 1747 mmc0:cmd1,20 Set SD Clk: 200, 5 SDC_BusRequest: CMD=8 SDC_RESP_TIMEOUT 1747 mmc0:cmd8,20 SDC_BusRequest: CMD=5 SDC_RESP_TIMEOUT 1747 mmc0:cmd5,20 SDC_BusRequest: CMD=55 SDC_RESP_TIMEOUT 1747 mmc0:cmd55,20 SDC_BusRequest: CMD=1 SDC_RESP_TIMEOUT 1747 mmc0:cmd1,20 Set SD Clk: 200, 5 SDC_BusRequest: CMD=8 SDC_RESP_TIMEOUT 1747 mmc0:cmd8,20 SDC_BusRequest: CMD=5 SDC_RESP_TIMEOUT 1747 mmc0:cmd5,20 SDC_BusRequest: CMD=55 SDC_RESP_TIMEOUT 1747 mmc0:cmd55,20 SDC_BusRequest: CMD=1 SDC_RESP_TIMEOUT 1747 mmc0:cmd1,20 SdmmcInit=0 1 Emmc IO init. Emmc IO init. mmc_set_bus_width: 1 SetEmmcClk: 375000, 5 SetEmmcClk: 375000, 5 mmc_set_bus_width: 8 SetEmmcClk: 200000000, 1 Enable PHY CLK: 200000000 SdmmcInit=2 0 BootCapSize=100000 UserCapSize=59640MB FwPartOffset=2000 , 100000 ##############serialno_str = 4DA57NB8JI UsbBoot ...110226 the box cant be tested successfully this time, and follow the step2 to flashed the root.img by Address "0x0000A000", after reboot the debug message as below U-Boot SPL board init U-Boot SPL 2017.09-gc613b7ea04-210315 #zzz (Mar 15 2021 - 18:08:14) unknown raw ID phN unrecognized JEDEC id bytes: 00, 00, 00 Trying to boot from MMC2 MMC error: The cmd index is 1, ret is -110 Card did not respond to voltage select! mmc_init: -95, time 10 spl: mmc init failed with error: -95 Trying to boot from MMC1 SPL: A/B-slot: _a, successful: 0, tries-remain: 6 Not fit magic Trying fit image at 0x5000 sector Not fit magic SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### # Reset the board to bootrom # Trying to reset the box , and it still dosen't works , help me , THX... @hotnikq
  3. when I unpack the old update.img (can not be chosen to upgrade Firmware by RKDevTool directly) to path "RockChip_FactoryTool_v5.3\Temp\Android\Image" by FactoryTool V5.3 and manual run the partion img by RKDevTool, it can run the Loader device now! after flashing the armbian root.img , ttl debug below U-Boot SPL board init U-Boot SPL 2017.09-gc613b7ea04-210315 #zzz (Mar 15 2021 - 18:08:14) unknown raw ID phN unrecognized JEDEC id bytes: 00, 00, 00 Trying to boot from MMC2 MMC error: The cmd index is 1, ret is -110 Card did not respond to voltage select! mmc_init: -95, time 10 spl: mmc init failed with error: -95 Trying to boot from MMC1 SPL: A/B-slot: _a, successful: 0, tries-remain: 6 ## Verified-boot: 0 ## Checking atf-1 0x00040000 ... sha256+ OK ## Checking uboot 0x00a00000 ... sha256+ OK ## Checking fdt 0x00b3bb50 ... sha256+ OK ## Checking atf-2 0xfdcc9000 ... sha256+ OK ## Checking atf-3 0xfdcd0000 ... sha256+ OK ## Checking optee 0x08400000 ... sha256+ OK Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000) Total: 226.206 ms INFO: Preloader serial: 2 NOTICE: BL31: v2.3():v2.3-152-g4e725b15f:cl NOTICE: BL31: Built : 10:51:13, Jul 15 2021 INFO: GICv3 without legacy support detected. INFO: ARM GICv3 driver initialized in EL3 INFO: pmu v1 is valid INFO: dfs DDR fsp_param[0].freq_mhz= 780MHz INFO: dfs DDR fsp_param[1].freq_mhz= 324MHz INFO: dfs DDR fsp_param[2].freq_mhz= 528MHz INFO: dfs DDR fsp_param[3].freq_mhz= 780MHz INFO: Using opteed sec cpu_context! INFO: boot cpu mask: 0 INFO: BL31: Initializing runtime services INFO: BL31: Initializing BL32 I/TC: I/TC: Start rockchip platform init I/TC: Rockchip release version: 1.0 I/TC: OP-TEE version: 3.6.0-307-g0b06ae94 #1 Fri May 7 01:52:27 UTC 2021 aarch64 I/TC: Initialized INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0xa00000 INFO: SPSR = 0x3c9 U-Boot 2017.09 #qmx_srv (Mar 20 2023 - 17:46:24 +0800) Model: Rockchip RK3568 Evaluation Board PreSerial: 2, raw, 0xfe660000 DRAM: 7.7 GiB Sysmem: init Relocation Offset: ed23d000 Relocation fdt: eb9f8820 - eb9fecd0 CR: M/C/I Using default environment Hotkey: ctrl+` dwmmc@fe2b0000: 1, dwmmc@fe2c0000: 2, sdhci@fe310000: 0 Bootdev(atags): mmc 0 MMC0: HS200, 200Mhz PartType: EFI DM: v1 boot mode: normal FIT: Failed to load resource No resource partition No resource partition Failed to load DTB, ret=-19 No find valid DTB, ret=-22 Failed to get kernel dtb, ret=-22 io-domain: OK Failed to get scmi clk dev dmc_fsp failed, ret=-19 Model: Rockchip RK3568 Evaluation Board rockchip_set_serialno: could not find efuse/otp device CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A) apll 816000 KHz dpll 390000 KHz gpll 1188000 KHz cpll 1000000 KHz npll 24000 KHz vpll 24000 KHz hpll 24000 KHz ppll 200000 KHz armclk 816000 KHz aclk_bus 150000 KHz pclk_bus 50000 KHz aclk_top_high 300000 KHz aclk_top_low 200000 KHz hclk_top 150000 KHz pclk_top 50000 KHz aclk_perimid 300000 KHz hclk_perimid 150000 KHz pclk_pmu 100000 KHz Net: No ethernet found. Hit key to stop autoboot('CTRL+C'): 0 ANDROID: reboot reason: "(none)" optee api revision: 2.0 TEEC: Waring: Could not find security partition Not AVB images, AVB skip No valid android hdr Android image load failed Android boot failed, error -1. ## Booting FIT Image at 0xeb7f6e00 with size 0x00000a00 Fdt Ramdisk skip relocation ## Loading kernel from FIT Image at eb7f6e00 ... Using 'conf' configuration ## Verified-boot: 0 Could not find subimage node ERROR: can't get kernel image! ## Booting Rockchip Format Image Could not find kernel partition, ret=-1 Card did not respond to voltage select! mmc_init: -95, time 9 switch to partitions #0, OK mmc0(part 0) is current device Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** ## Error: "mtd_boot" not defined ## Error: "mtd_boot" not defined ## Error: "mtd_boot" not defined starting USB... Bus dwc3@fcc00000: usb maximum-speed not found Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus dwc3@fd000000: usb maximum-speed not found Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 scanning bus dwc3@fcc00000 for devices... 1 USB Device(s) found scanning bus dwc3@fd000000 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Device 0: unknown device No ethernet found. missing environment variable: pxeuuid missing environment variable: bootfile Retrieving file: pxelinux.cfg/00000000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/0000000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/000000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/00000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/0000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/000 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/00 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/0 No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm-rockchip No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm No ethernet found. missing environment variable: bootfile Retrieving file: pxelinux.cfg/default No ethernet found. Config file not found No ethernet found. =>
  4. No, after 1step flashing your new update.img, Maskrom mode happen... Only the debian 10.10 image works @hotnikq+ cs1 chA ca0 min: 0x38, mid:0x7e max:0xc5, range:0x8d cs1 chA ca1 min: 0x45, mid:0x7e max:0xb7, range:0x72 cs1 chA ca2 min: 0x31, mid:0x75 max:0xba, range:0x89 cs1 chA ca3 min: 0x3c, mid:0x76 max:0xb1, range:0x75 cs1 chA ca4 min: 0x33, mid:0x76 max:0xba, range:0x87 cs1 chA ca5 min: 0x3b, mid:0x75 max:0xb0, range:0x75 cs1 chA CS min: 0x3b, mid:0x6f max:0xa4, range:0x69 cs1 chB ca0 min: 0x37, mid:0x7c max:0xc1, range:0x8a cs1 chB ca1 min: 0x3e, mid:0x78 max:0xb3, range:0x75 cs1 chB ca2 min: 0x32, mid:0x75 max:0xb8, range:0x86 cs1 chB ca3 min: 0x39, mid:0x74 max:0xaf, range:0x76 cs1 chB ca4 min: 0x31, mid:0x74 max:0xb8, range:0x87 cs1 chB ca5 min: 0x37, mid:0x72 max:0xad, range:0x76 cs1 chB CS min: 0x3a, mid:0x6b max:0x9d, range:0x63 RX DQS Train result: cs0, DQS0:cyc:3,oph:5,dll:17 cs0, DQS1:cyc:3,oph:5,dll:23 cs0, DQS2:cyc:3,oph:5,dll:14 cs0, DQS3:cyc:3,oph:5,dll:26 cs1, DQS0:cyc:3,oph:5,dll:20 cs1, DQS1:cyc:3,oph:5,dll:26 cs1, DQS2:cyc:3,oph:5,dll:17 cs1, DQS3:cyc:3,oph:5,dll:28 out U-Boot SPL board init U-Boot SPL 2017.09-gc613b7ea04-210315 #zzz (Mar 15 2021 - 18:08:14) unknown raw ID phN unrecognized JEDEC id bytes: 00, 00, 00 Trying to boot from MMC2 MMC error: The cmd index is 1, ret is -110 Card did not respond to voltage select! mmc_init: -95, time 10 spl: mmc init failed with error: -95 Trying to boot from MMC1 SPL: A/B-slot: _a, successful: 0, tries-remain: 7 Not fit magic Trying fit image at 0x5000 sector Not fit magic SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### # Reset the board to bootrom #
  5. I bought the new one 😁, 8G 64
  6. After update.img in MASKROM mode, debug message as below U-Boot SPL board init U-Boot SPL 2017.09-gc613b7ea04-210315 #zzz (Mar 15 2021 - 18:08:14) unknown raw ID phN unrecognized JEDEC id bytes: 00, 00, 00 Trying to boot from MMC2 MMC error: The cmd index is 1, ret is -110 Card did not respond to voltage select! mmc_init: -95, time 10 spl: mmc init failed with error: -95 Trying to boot from MMC1 SPL: A/B-slot: _a, successful: 0, tries-remain: 6 Not fit magic Trying fit image at 0x5000 sector Not fit magic SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### # Reset the board to bootrom #
  7. Unfortunately, My box has been damaged while repairing the broken USB2.0 pins 😅 What bad My hands-on ability is !!! Thank you all the same @hotnikq
  8. @hotnikq I have downloaded the firmware root.img and update.img When I use RkDevTool v2.86 to select the Firmware update.img follow step1, there is a error "Loading firmware failed!" at the RkDevTool Is the reason for the error due to the fact that the firmware is not FIT firmware? How can I flash the two firmware, THX!
  9. @Kenneth Hidalgo Can you provide some relevant links, I need the image which support the hdmi tvout and GPU acceleration
  10. @tmm1 the /boot dir is empty, this is reason why I try to mount the boot partition, it's different from armbian directory structure. root@rk3566-evb3-ddr3-v10:/home/ubuntu# cd /boot root@rk3566-evb3-ddr3-v10:/boot# ls root@rk3566-evb3-ddr3-v10:/boot# ls -al total 8 drwxr-xr-x 2 root root 4096 Apr 15 2020 . drwxr-xr-x 23 root root 4096 Dec 3 01:48 .. root@rk3566-evb3-ddr3-v10:/boot# df -h Filesystem Size Used Avail Use% Mounted on udev 2.0G 0 2.0G 0% /dev tmpfs 394M 1.1M 393M 1% /run /dev/mmcblk2p6 58G 5.7G 50G 11% / tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup tmpfs 394M 0 394M 0% /run/user/0 tmpfs 394M 4.0K 394M 1% /run/user/1000 @hotnikq
  11. @hotnikq How to mount the emmc boot partition? root@rk3566-evb3-ddr3-v10:/# ls -l /dev/disk/by-partlabel/boot lrwxrwxrwx 1 root root 15 Dec 3 20:25 /dev/disk/by-partlabel/boot -> ../../mmcblk2p3 root@rk3566-evb3-ddr3-v10:/# mount /dev/mmcblk2p3 /mnt mount: /mnt: wrong fs type, bad option, bad superblock on /dev/mmcblk2p3, missing codepage or helper program, or other error. root@rk3566-evb3-ddr3-v10:/home/ubuntu# find / -name "*.dtb" find: ‘/proc/1507’: No such file or directory or how to replace the dtb file? root@rk3566-evb3-ddr3-v10:/# fdisk -l Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/mmcblk2: 58.25 GiB, 62537072640 bytes, 122142720 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 37250000-0000-4851-8000-2F1900005AC0 Device Start End Sectors Size Type /dev/mmcblk2p1 16384 24575 8192 4M unknown /dev/mmcblk2p2 24576 32767 8192 4M unknown /dev/mmcblk2p3 32768 98303 65536 32M unknown /dev/mmcblk2p4 98304 163839 65536 32M unknown /dev/mmcblk2p5 163840 229375 65536 32M unknown /dev/mmcblk2p6 229376 122142655 121913280 58.1G unknown root@rk3566-evb3-ddr3-v10:/etc/grub.d# parted GNU Parted 3.3 Using /dev/mmcblk2 Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) p Model: MMC CJNB4R (sd/mmc) Disk /dev/mmcblk2: 62.5GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 8389kB 12.6MB 4194kB uboot 2 12.6MB 16.8MB 4194kB misc 3 16.8MB 50.3MB 33.6MB boot 4 50.3MB 83.9MB 33.6MB recovery 5 83.9MB 117MB 33.6MB backup 6 117MB 62.5GB 62.4GB ext4 rootfs (parted) quit
  12. @hotnikq THX ! Welcome to Ubuntu 20.04.5 LTS (GNU/Linux 4.19.219+ aarch64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage This system has been minimized by removing packages and content that are not required on a system that users do not log into. To restore this content, you can run the 'unminimize' command. 0 updates can be applied immediately. New release '22.04.1 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Sat Dec 3 01:47:41 2022 from 192.168.2.186 ubuntu@rk3566-evb3-ddr3-v10:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 2.0G 0 2.0G 0% /dev tmpfs 394M 1.1M 393M 1% /run /dev/mmcblk2p6 58G 5.9G 49G 11% / tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup tmpfs 394M 0 394M 0% /run/user/0 tmpfs 394M 4.0K 394M 1% /run/user/1000 ubuntu@rk3566-evb3-ddr3-v10:~$ free -m total used free shared buff/cache available Mem: 3930 167 3122 1 639 3721 Swap: 0 0 0 The Ubuntu os only recognizes 4G memory which flashed the 8G image
  13. #rkdeveloptool rfi Flash Info: Manufacturer: SAMSUNG, value=00 Flash Size: 59640 MB Flash Size: 122142720 Sectors Block Size: 512 KB Page Size: 2 KB ECC Bits: 0 Access Time: 40 Flash CS: Flash<0> #rkdeveloptool rl 0 122142720 h96_max_flash.img Read LBA to file (100%) #ll -h h96_max_flash.img -rw-r--r-- 1 root root 59G 12月 2 22:32 h96_max_flash.img How to flash PARTITIONING.img<Ubuntu_20.04.5_K4.19.219_RK3566_H96_MAX_8GB_No_Video_OUT_WIFI_OK_PARTITIONING.img> to internal storage ? Use rkdeveloptool wl ? WriteLBA: wl <BeginSec> <File> WriteLBA: wlx <PartitionName> <File> WriteGPT: gpt <gpt partition table> WriteParameter: prm <parameter> I found the FIT PARTITIONING.img is quite different from my backup img file when using fdisk command to list the partitions Disk Ubuntu_20.04.5_K4.19.219_RK3566_H96_MAX_8GB_No_Video_OUT_WIFI_OK_PARTITIONING.img:6.92 GiB,7430220288 字节,14512149 个扇区 单元:扇区 / 1 * 512 = 512 字节 扇区大小(逻辑/物理):512 字节 / 512 字节 I/O 大小(最小/最佳):512 字节 / 512 字节 磁盘标签类型:dos 磁盘标识符:0x38e8005b Disk h96_max_flash.img:58.24 GiB,62537072640 字节,122142720 个扇区 单元:扇区 / 1 * 512 = 512 字节 扇区大小(逻辑/物理):512 字节 / 512 字节 I/O 大小(最小/最佳):512 字节 / 512 字节 磁盘标签类型:gpt 磁盘标识符:FA7B0000-0000-4212-8000-216500001AD8 设备 起点 末尾 扇区 大小 类型 h96_max_flash.img1 16384 24575 8192 4M 未知 h96_max_flash.img2 24576 32767 8192 4M 未知 h96_max_flash.img3 32768 40959 8192 4M 未知 h96_max_flash.img4 40960 49151 8192 4M 未知 h96_max_flash.img5 49152 51199 2048 1M 未知 h96_max_flash.img6 51200 133119 81920 40M 未知 h96_max_flash.img7 133120 141311 8192 4M 未知 h96_max_flash.img8 141312 337919 196608 96M 未知 h96_max_flash.img9 337920 1124351 786432 384M 未知 h96_max_flash.img10 1124352 2009086 884735 432M 未知 h96_max_flash.img11 2009087 2041854 32768 16M 未知 h96_max_flash.img12 2041855 2042878 1024 512K 未知 h96_max_flash.img13 2042879 2044926 2048 1M 未知 h96_max_flash.img14 2044927 2077694 32768 16M 未知 h96_max_flash.img15 2077695 9122814 7045120 3.4G 未知 h96_max_flash.img16 9122815 122142686 113019872 53.9G 未知 Should I WriteParameter by Parameter.txt, flash the MiniLoaderAll.bin to Loader, finally flash the FIT PARTITIONING.img to rootfs ? THX! @hotnikq
  14. Make backup fail by rkDumper v1.1.1.2(latest) How did you backup? "short the EMMC CLK pin to GND"? Thanks!! Found: LOADER device (RK3566 2207:350a) #9 --- Firmware dumping --- Found LOADER Rockchip device First 0x0010 NAND blocks reading Command to read failed -- Rockchip device resetting -- Found LOADER Rockchip device Command to reset failed DriverAssitant_v4.91 (the same error at v5.11) rkDumper 1.1.1.2 (1.08 no support rk3566)
  15. Good job!!! Does this box have to be equipped with an SD card Slot to boot linux? THX
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines