ITX-3568JQ修改了hdmi之后就无法进入烧写模式了

固件类型:官方提供的固件
固件文件名称:rk356x_linux5.10_release_20240319_v1.4.0b
固件下载地址:固件重新编译没了,无法提供
Log日志:log日志.txt

本帖最后由 wxm 于 2025-1-7 15:53 编辑

ITX-3568JQ修改了rk3568-firefly-core.dtsi中的hdmi,
将vp1关了, vo0开了,烧写固件以后就报错了, 还原操作以后按复位键上电进入不了烧写模式,一直报错刷屏
tchip_askquestions
log日志.txt (54.3 KB)


改错这个应该不会影响烧录的,再试一下
按住 recovery 按钮上电,不是按复位键

就是recovery使用官方的固件,下载固件失败

固件烧写失败

现在能进入升级模式了?但是下载失败?截图看下

Liuth 发表于 2025-1-7 17:30
现在能进入升级模式了?但是下载失败?截图看下

out
U-Boot SPL board init
U-Boot SPL 2017.09-g606f72bd97a-240527 #lxh (May 30 2024 - 16:08:15), fwver: v1.14
Trying to boot from MMC2
MMC: no card present
mmc_init: -123, time 0
spl: mmc init failed with error: -123
Trying to boot from MMC1
Card did not respond to voltage select!
mmc_init: -95, time 13
spl: mmc init failed with error: -95
Trying to boot from MTD2
SPL: A/B-slot: _a, successful: 0, tries-remain: 7
Trying fit image at 0x4000 sector
## Verified-boot: 0
## Checking atf-1 0x00040000 (gzip @0x00240000) … sha256(ab9d907fcd…) + sha256(b5946ac63d…) + OK
## Checking uboot 0x00a00000 (gzip @0x00c00000) … sha256(2e7e75fdc1…) + sha256(4737ed99f4…) + OK
## Checking fdt 0x00b4e858 … sha256(a474c6bb61…) + OK
## Checking atf-2 0xfdcc1000 … sha256(b8dca786b4…) + OK
## Checking atf-3 0x0006b000 … sha256(2f91089eb7…) + OK
## Checking atf-4 0xfdcce000 … sha256(86ef885748…) + OK
## Checking atf-5 0xfdcd0000 … sha256(0b2b146c60…) + OK
## Checking atf-6 0x00069000 … sha256(a9a1e63bef…) + OK
## Checking optee 0x08400000 (gzip @0x08600000) … sha256(cf8b3d2f6c…) + sha256(28fba8b7d7…) + OK
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
Total: 570.476/781.613 ms

INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-645-g8cea6ab0b:cl, fwver: v1.44
NOTICE: BL31: Built : 16:36:43, Sep 19 2023
INFO: GICv3 without legacy support detected.
INFO: ARM GICv3 driver initialized in EL3
INFO: pmu v1 is valid 220114
INFO: l3 cache partition cfg-0
INFO: dfs DDR fsp_param[0].freq_mhz= 1560MHz
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: OP-TEE version: 3.13.0-791-g185dc3c92 #hisping.lin (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #2 Tue Apr 16 10:47:32 CST 2024 aarch64, fwver: v2.12
I/TC: OP-TEE memory: TEEOS 0x200000 TA 0xc00000 SHM 0x200000
I/TC: Primary CPU initializing
I/TC: CRYPTO_CRYPTO_VERSION_NEW no support. Skip all algo mode check.
I/TC: Primary CPU switching to normal world boot
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0xa00000
INFO: SPSR = 0x3c9
usb dr_mode not found
usb dr_mode not found

U-Boot 2017.09-231221-dirty #wxm (Jan 07 2025 - 00:09:25 -0800)

Model: Rockchip RK3568 Evaluation Board
MPIDR: 0x0
PreSerial: 2, raw, 0xfe660000
DRAM: 2 GiB
Sysmem: init
Relocation Offset: 7d211000
Relocation fdt: 7b9f8528 - 7b9fecd0
CR: M/C/I
usb dr_mode not found
usb dr_mode not found
Using default environment

optee api revision: 2.0
dwmmc@fe2b0000: 1, dwmmc@fe2c0000: 2, sdhci@fe310000: 0
MMC: no card present
mmc_init: -123, time 0
Card did not respond to voltage select!
mmc_init: -95, time 13

Device 0: unknown device

Device 1:
Device 2: JEDEC id bytes: 20, 41, 18
SF: Detected sfc_nor with page size 256 Bytes, erase size 4 KiB, total 16 MiB
Vendor: 0x2207 Rev: V1.00 Prod: sfc_nor
Type: Hard Disk
Capacity: 16.0 MB = 0.0 GB (32768 x 512)
… is now current device
Bootdev(scan): mtd 2
PartType: EFI
TEEC: Waring: Could not find security partition
DM: v1
boot mode: None
Failed to load DTB, ret=-19
No 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_ethaddr: vendor_storage_write failed -5
rockchip_set_serialno: could not find efuse/otp device
download key pressed… entering download mode…
RKUSB: LUN 0, dev 2, hwpart 0, sector 0x0, count 0x8000
-usb device is high-speed
\usb device is high-speed
\

看 log 没问题。这里有新版本的烧录工具,试下https://www.t-firefly.com/doc/download/239.html#other_570
烧录失败后要断电重新进入烧录模式再尝试

wxm 发表于 2025-1-7 18:01

Flash大小不一致了16G变成16M了

https://wiki.t-firefly.com/iCore-3568JQ/03-upgrade_firmware_with_flash.html#gu-jian-xia-zai-dao-emmc
用这里的方法切换到 emmc 再烧录

DDR V1.18 f366f69a7d typ 23/07/17-15:48:58
In
LP4/4x derate en, other dram:2x trefi
ddrconfig:7
LP4 MR14:0x4d
LPDDR4, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
tdqss: cs0 dqs0: -24ps, dqs1: -120ps, dqs2: -72ps, dqs3: -192ps,
tdqss: cs1 dqs0: -24ps, dqs1: -96ps, dqs2: -96ps, dqs3: -192ps,

change to: 324MHz
clk skew:0x64

change to: 528MHz
clk skew:0x58

change to: 780MHz
clk skew:0x58

change to: 1560MHz(final freq)
PHY drv:clk:38,ca:38,DQ:30,odt:60
vrefinner:16%, vrefout:29%
dram drv:40,odt:80
vref_ca:00000068
clk skew:0x35
cs 0:
the read training result:
DQS0:0x31, DQS1:0x35, DQS2:0x35, DQS3:0x2e,
min :0x11 0x11 0x15 0xc 0x0 0x7 0x9 0x4 ,0x10 0xb 0x4 0x1 0x10 0x9 0xe 0x6 ,
0x16 0x16 0x13 0x10 0x6 0x2 0x4 0x7 ,0x11 0x7 0x7 0x2 0xd 0x10 0xc 0xc ,
mid :0x2a 0x2b 0x2d 0x28 0x1a 0x20 0x23 0x1d ,0x29 0x27 0x1e 0x1c 0x29 0x23 0x28 0x22 ,
0x30 0x30 0x29 0x27 0x1f 0x1b 0x1d 0x1f ,0x28 0x22 0x21 0x1b 0x27 0x28 0x25 0x26 ,
max :0x44 0x46 0x46 0x45 0x35 0x3a 0x3e 0x37 ,0x42 0x43 0x39 0x38 0x43 0x3e 0x43 0x3f ,
0x4a 0x4a 0x3f 0x3e 0x38 0x34 0x36 0x37 ,0x3f 0x3d 0x3c 0x34 0x41 0x41 0x3e 0x41 ,
range:0x33 0x35 0x31 0x39 0x35 0x33 0x35 0x33 ,0x32 0x38 0x35 0x37 0x33 0x35 0x35 0x39 ,
0x34 0x34 0x2c 0x2e 0x32 0x32 0x32 0x30 ,0x2e 0x36 0x35 0x32 0x34 0x31 0x32 0x35 ,
the write training result:
DQS0:0x31, DQS1:0x1e, DQS2:0x27, DQS3:0xf,
min :0x62 0x66 0x66 0x62 0x55 0x5a 0x5d 0x5c 0x5b ,0x49 0x4a 0x42 0x42 0x4c 0x4c 0x4b 0x4c 0x46 ,
0x5a 0x5b 0x53 0x55 0x48 0x49 0x4c 0x51 0x51 ,0x3c 0x3c 0x3a 0x35 0x3d 0x3f 0x3d 0x44 0x37 ,
mid :0x7e 0x82 0x82 0x7d 0x6d 0x72 0x77 0x73 0x72 ,0x65 0x63 0x5a 0x5a 0x64 0x66 0x63 0x64 0x5f ,
0x75 0x76 0x6d 0x6e 0x62 0x62 0x64 0x67 0x69 ,0x57 0x56 0x53 0x4f 0x58 0x5b 0x57 0x5c 0x50 ,
max :0x9b 0x9e 0x9e 0x99 0x86 0x8b 0x92 0x8b 0x8a ,0x82 0x7d 0x73 0x73 0x7d 0x80 0x7b 0x7d 0x79 ,
0x91 0x91 0x87 0x88 0x7c 0x7b 0x7d 0x7e 0x81 ,0x72 0x70 0x6c 0x6a 0x74 0x77 0x72 0x75 0x6a ,
range:0x39 0x38 0x38 0x37 0x31 0x31 0x35 0x2f 0x2f ,0x39 0x33 0x31 0x31 0x31 0x34 0x30 0x31 0x33 ,
0x37 0x36 0x34 0x33 0x34 0x32 0x31 0x2d 0x30 ,0x36 0x34 0x32 0x35 0x37 0x38 0x35 0x31 0x33 ,
cs 1:
the read training result:
DQS0:0x30, DQS1:0x34, DQS2:0x31, DQS3:0x2e,
min :0x13 0xe 0x16 0xc 0x1 0x4 0x8 0x1 ,0x13 0xb 0x7 0x1 0x13 0xa 0x10 0x7 ,
0x16 0x16 0x13 0xe 0x6 0x2 0x2 0x7 , 0xf 0xb 0x9 0x2 0xe 0x11 0xe 0x10 ,
mid :0x2b 0x29 0x2d 0x27 0x1a 0x1d 0x21 0x1b ,0x2b 0x26 0x20 0x1c 0x2b 0x24 0x28 0x22 ,
0x2f 0x2d 0x27 0x23 0x1d 0x19 0x19 0x1c ,0x26 0x24 0x22 0x1b 0x26 0x28 0x25 0x29 ,
max :0x43 0x45 0x44 0x43 0x34 0x37 0x3b 0x35 ,0x43 0x42 0x39 0x37 0x43 0x3e 0x41 0x3e ,
0x48 0x45 0x3b 0x39 0x34 0x30 0x30 0x32 ,0x3e 0x3d 0x3b 0x34 0x3f 0x3f 0x3c 0x43 ,
range:0x30 0x37 0x2e 0x37 0x33 0x33 0x33 0x34 ,0x30 0x37 0x32 0x36 0x30 0x34 0x31 0x37 ,
0x32 0x2f 0x28 0x2b 0x2e 0x2e 0x2e 0x2b ,0x2f 0x32 0x32 0x32 0x31 0x2e 0x2e 0x33 ,
the write training result:
DQS0:0x31, DQS1:0x1e, DQS2:0x27, DQS3:0xf,
min :0x61 0x66 0x66 0x62 0x53 0x58 0x5b 0x5b 0x5a ,0x4c 0x4e 0x43 0x47 0x50 0x50 0x50 0x50 0x49 ,
0x56 0x56 0x4c 0x4d 0x44 0x42 0x46 0x4c 0x4a ,0x3d 0x3d 0x3b 0x35 0x3e 0x41 0x3f 0x45 0x3a ,
mid :0x7e 0x82 0x82 0x7d 0x6d 0x72 0x76 0x74 0x72 ,0x69 0x69 0x5d 0x60 0x6a 0x69 0x68 0x69 0x61 ,
0x72 0x71 0x66 0x68 0x5d 0x5c 0x5e 0x63 0x63 ,0x57 0x56 0x52 0x4e 0x58 0x5c 0x57 0x5e 0x52 ,
max :0x9b 0x9e 0x9e 0x99 0x88 0x8c 0x92 0x8d 0x8a ,0x86 0x84 0x77 0x7a 0x85 0x83 0x81 0x82 0x7a ,
0x8f 0x8d 0x81 0x83 0x77 0x76 0x77 0x7b 0x7d ,0x71 0x70 0x6a 0x68 0x72 0x77 0x70 0x78 0x6b ,
range:0x3a 0x38 0x38 0x37 0x35 0x34 0x37 0x32 0x30 ,0x3a 0x36 0x34 0x33 0x35 0x33 0x31 0x32 0x31 ,
0x39 0x37 0x35 0x36 0x33 0x34 0x31 0x2f 0x33 ,0x34 0x33 0x2f 0x33 0x34 0x36 0x31 0x33 0x31 ,
CA Training result:
cs:0 min :0x4b 0x42 0x43 0x34 0x43 0x30 0x48 ,0x4a 0x3a 0x3c 0x33 0x3f 0x2f 0x42 ,
cs:0 mid :0x84 0x82 0x7a 0x74 0x79 0x73 0x6e ,0x80 0x7b 0x73 0x74 0x73 0x70 0x6a ,
cs:0 max :0xbe 0xc3 0xb2 0xb4 0xaf 0xb6 0x94 ,0xb7 0xbd 0xab 0xb6 0xa8 0xb2 0x93 ,
cs:0 range:0x73 0x81 0x6f 0x80 0x6c 0x86 0x4c ,0x6d 0x83 0x6f 0x83 0x69 0x83 0x51 ,
cs:1 min :0x4b 0x41 0x44 0x36 0x40 0x35 0x43 ,0x4b 0x3f 0x3f 0x35 0x40 0x31 0x40 ,
cs:1 mid :0x85 0x83 0x7c 0x77 0x7a 0x74 0x6f ,0x83 0x7f 0x76 0x76 0x76 0x71 0x6a ,
cs:1 max :0xbf 0xc6 0xb4 0xb8 0xb4 0xb3 0x9c ,0xbc 0xbf 0xae 0xb8 0xad 0xb2 0x95 ,
cs:1 range:0x74 0x85 0x70 0x82 0x74 0x7e 0x59 ,0x71 0x80 0x6f 0x83 0x6d 0x81 0x55 ,
out
U-Boot SPL board init
U-Boot SPL 2017.09-gaaca6ffec1-211203 #zzz (Dec 03 2021 - 18:42:16)
unrecognized JEDEC id bytes: 20, 41, 18
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
MMC error: The cmd index is 0, ret is -110
mmc_init: -110, time 5
spl: mmc init failed with error: -110
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
# Reset the board to bootrom #

Liuth 发表于 2025-1-8 09:36
https://wiki.t-firefly.com/iCore-3568JQ/03-upgrade_firmware_with_flash.html#gu-jian-xia-zai-dao-emmc

提示下载boot失败

wxm 发表于 2025-1-8 09:55
提示下载boot失败

boot成功了,正在根据文档擦除选择的SPINOR

wxm 发表于 2025-1-8 09:55
提示下载boot失败

成功可以正常烧写了非常感谢