Part Number:AM625
AM625尝试添加自己的工程,在uboot里的am62x_evm_a53_config中将CONFIG_DEFAULT_DEVICE_TREE指定为我们内部工程名,编译出来的tispl.bin无法进入dfu烧录模式,请问这个怎么更改。
附件为编译的log和启动日志;build.logbuild_dc2221.log
22:30:54 22:30:54U-Boot SPL 2021.01 (Jul 28 2022 - 22:29:09 +0800) 22:30:54SYSFW ABI: 3.1 (firmware rev 0x0008 '8.3.2--v08.03.02 (Jolly Jellyfi') 22:30:54Trying to boot from DFU 22:31:05############################################DOWNLOAD ... OK 22:31:05Ctrl+C to exit ... 22:31:05Loading Environment from MMC... *** Warning - No MMC card found, using default environment 22:31:05 22:31:05init_env from device 10 not supported! 22:31:05Starting ATF on ARM64 core... 22:31:05 22:31:05NOTICE: BL31: v2.6(release):08.03.00.003-dirty 22:31:05NOTICE: BL31: Built : 16:35:46, May 30 2022
22:29:20 22:29:20U-Boot SPL 2021.01 (Jul 28 2022 - 22:17:29 +0800) 22:29:20SYSFW ABI: 3.1 (firmware rev 0x0008 '8.3.2--v08.03.02 (Jolly Jellyfi') 22:29:20Trying to boot from DFU 22:29:29############################################DOWNLOAD ... OK 22:29:29Ctrl+C to exit ... 22:29:29Loading Environment from MMC... *** Warning - No MMC card found, using default environment 22:29:29 22:29:29init_env from device 10 not supported! 22:29:29Starting ATF on ARM64 core... 22:29:29 22:29:29NOTICE: BL31: v2.6(release):08.03.00.003-dirty 22:29:29NOTICE: BL31: Built : 16:35:46, May 30 2022 22:29:31 22:29:31U-Boot SPL 2021.01 (Jul 28 2022 - 22:18:40 +0800) 22:29:31SYSFW ABI: 3.1 (firmware rev 0x0008 '8.3.2--v08.03.02 (Jolly Jellyfi') 22:29:31Trying to boot from DFU 22:29:42####DOWNLOAD ... OK 22:29:42Ctrl+C to exit ... 22:29:49 22:29:49 22:29:49U-Boot 2021.01 (Jul 28 2022 - 22:18:40 +0800) 22:29:49 22:29:49SoC:AM62X SR1.0 22:29:49Model: Texas Instruments AM625 SK 22:29:49EEPROM not available at 0x50, trying to read at 0x51 22:29:49Reading on-board EEPROM at 0x51 failed -1 22:29:49DRAM: 2 GiB 22:29:49MMC:mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2 22:29:59Loading Environment from MMC... sdhci_transfer_data: Transfer data timeout 22:29:59*** Warning - !read failed, using default environment 22:29:59 22:29:59In:serial@2800000 22:29:59Out:serial@2800000 22:29:59Err:serial@2800000 22:29:59EEPROM not available at 0x50, trying to read at 0x51 22:29:59Reading on-board EEPROM at 0x51 failed -1 22:29:59Net:eth0: ethernet@8000000port@1 22:30:01Hit any key to stop autoboot: 0 22:30:02sdhci_send_command: Timeout for status update! 22:30:02SD/MMC found on device 1 22:30:03sdhci_send_command: Timeout for status update! 22:30:04sdhci_send_command: Timeout for status update!
Shine:
请问是自己的板子么?使用的是哪个版本的processor SDK? 用原来的设备树名可以进入烧录模式么?
,
wang robin:
是自己产品的板子,processor SDK:linux 08.03.00.005; 用原设备树可以进入烧录模式
,
Shine:
谢谢,能否发一下您板子的设备树?
,
wang robin:
dc2221_dtb.tar.gz
附件为我编译的dtb文件,发现a53/spl/dts目录下的dtb文件比原始的要小。
,
Shine:
我把您的问题升级到英文e2e论坛了,请关注下面帖子的回复。https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1122613/am625-how-to-use-custom-board-dts
,
Shine:
抱歉,工程师这周不在,估计要下周才能回复了。
Hi! The subject owner is currently out of the office. Please allow until early next week for a response. Thanks.
,
wang robin:
您好!工程师这周回来了吗?请帮忙看一下
,
Shine:
我看帖子还没回复,请耐心等待。
,
Shine:
请看下面工程师的回复。For building u-boot for USB-DFU boot mode on AM62x-SK E2 board, the "am62x_evm_r5_usbdfu_defconfig" needs to be used for building R5-SPL (tiboot3.bin). The e2e post is on full Linux eMMC flashing via USB-DFU mode on AM62x-SK E2 for your reference. SK-AM62: Fail to load rootfs using usb dfu – Processors forum – Processors – TI E2E support forums
,
wang robin:
目前我就更改了am62x_evm_a53_config,将CONFIG_DEFAULT_DEVICE_TREE指定为“k3-am625-r5-sk-dc2221”, 其他都没变;我感觉还是uboot 哪里没配置正确;能帮忙用你们的板子测试一下吗?
,
Shine:
已更新e2e帖子。