This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM625:在实现 eMMC UDA FS 引导模式时、无法在 u-boot 阶段加载/boot/dtb/ti/k3-am625-sk.dtb 和/boot/Image

Guru**** 1956055 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1455146/am625-failed-to-load-boot-dtb-ti-k3-am625-sk-dtb-and-boot-image-in-u-boot-stage-when-implement-emmc-uda-fs-bootmode

器件型号:AM625

工具与软件:

尊敬的专家:

在前面的讨论中、我可以在定制板上实现 eMMC UDA FS、它可以引导到 Linux、但会收到一些错误。  然后、我检查 UART 日志、发现 u-boot 阶段显示"Failed to load '/boot/Image
无法加载"/boot/dtb/ti/k3-am625-sk.dtb "。

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
Loaded env from uEnv.txt
Importing environment from mmc0 ...
Failed to load '/boot/Image'
Failed to load '/boot/dtb/ti/k3-am625-sk.dtb'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Bad Linux ARM64 Image magic!
Scanning for bootflows in all bootdevs
Seq Method State Uclass Part Name Filename
--- ----------- ------ -------- ---- ------------------------ ----------------
Scanning global bootmeth 'efi_mgr':
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

已完成引导日志:

e2e.ti.com/.../eMMC_5F00_UDA_5F00_fs_5F00_boot.log

已完成引导-扩展日志:

e2e.ti.com/.../eMMC_5F00_UDA_5F00_fs_5F00_boot_5F00_extend.log

那么似乎导致 Linux 显示"ti-sci 440430.system-controller: mbox send fail -110"。

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
OK ] Started sta_start.service.
[ 7.012053] ti-sci 44043000.system-controller: Mbox timedout in resp(caller: ti_sci_cmd_put_device+0x18/0x24)
[ OK ] Started Avahi mDNS/DNS-SD Stack[ 7.031844] ti-sci 44043000.system-controller: Mbox send fail -110
.
[ OK ] Created slice Slice /system/systemd-fsck.
Expecting device /dev/mmcblk0p1...
[ OK ] Reached target Preparation for Network.
Starting Network Configuration...
[ OK ] Found device /dev/mmcblk0p1.
[ OK ] Finished Expand the rootfs partition to full size of the boot device..
Starting File System Check on /dev/mmcblk0p1...
[ OK ] Started User Login Management.
[ 7.330897] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 7.358160] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 7.364998] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[ 7.373483] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

以下是之前的 E2E 讨论。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1452406/am625-q1-could-we-boot-u-boot-from-emmc-user-partition

以下是我的 eMMC UDA 流程:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
U-Boot 2024.04 (Dec 15 2024 - 13:49:16 +0800)
SoC: AM62X SR1.0 HS-FS
Model: Texas Instruments AM625 SK
EEPROM not available at 0x50, trying to read at 0x51
Reading on-board EEPROM at 0x51 failed -121
DRAM: 2 GiB
Core: 81 devices, 31 uclasses, devicetree: separate
MMC: mmc@fa10000: 0, mmc@fa00000: 1
Loading Environment from nowhere... OK
In: serial
Out: serial
Err: serial
EEPROM not available at 0x50, trying to read at 0x51
Reading on-board EEPROM at 0x51 failed -121
Net: eth0: ethernet@8000000port@1
Hit any key to stop autoboot: 0
=> mmc dev 0
switch to partitions #0, OK
mmc0(part 0) is current device
=> mmc erase 0 2000000
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

你有什么建议吗?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的专家:

    我修复了此问题、需要为 DTB 分区区域将 bootpart 设置为0:2。

x 出现错误。请重试或与管理员联系。