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.

[参考译文] SK-AM64B:DFU 引导时 EMMC INIT 出现问题

Guru**** 2479295 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1460655/sk-am64b-issue-with-emmc-init-on-dfu-boot

器件型号:SK-AM64B

工具与软件:

大家好、团队成员:

SDK 版本:ti-processor-sdk-linux-am64xx-evm-10.00.07.04

我们在 SK AM64B 板中完成了一些返工、以通过 MMC1接口从外部连接 EMMC。

然后、我们尝试通过 USB DFU 在 EMMC 上刷写映像。 我们可以成功通过 USB DFU 引导、但在此之后、我们看到初始化 EMMC 时出现问题、如下所示:

U-Boot SPL 2024.04-dirty (Sep 28 2024 - 17:29:44 +0530)
Resetting on cold boot to workaround ErrataID:i2331
Please resend tiboot3.bin in case of UART/DFU boot
resetting ...

U-Boot SPL 2024.04-dirty (Sep 28 2024 - 17:29:44 +0530)
SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
EEPROM not available at 0x50, trying to read at 0x51
SPL initial stack usage: 13392 bytes
Trying to boot from DFU
##################################################DOWNLOAD ... OK
Ctrl+C to exit ...
Authentication passed
Authentication passed
Loading Environment from nowhere... OK
init_env from device 10 not supported!
Authentication passed
Authentication passed
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
I/TC: 
I/TC: OP-TEE version: 4.2.0-dev (gcc version 13.3.0 (GCC)) #1 Fri Apr 12 09:51:21 UTC 2024 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check optee.readthedocs.io/.../porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: GIC redistributor base address not provided
I/TC: Assuming default GIC group status and modifier
I/TC: SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
I/TC: HUK Initialized
I/TC: Activated SA2UL device
I/TC: Enabled firewalls for SA2UL TRNG device
I/TC: SA2UL TRNG initialized
I/TC: SA2UL Drivers initialized
I/TC: Primary CPU switching to normal world boot

U-Boot SPL 2024.04-dirty (Sep 28 2024 - 17:29:57 +0530)
SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
Trying to boot from DFU
######DOWNLOAD ... OK
Ctrl+C to exit ...
Authentication passed
Authentication passed


U-Boot 2024.04-dirty (Sep 28 2024 - 17:29:57 +0530)

SoC:   AM64X SR2.0 HS-FS
Model: Texas Instruments AM642 SK
Board: AM64B-SKEVM rev A
DRAM:  2 GiB
Core:  89 devices, 31 uclasses, devicetree: separate
NAND:  0 MiB
MMC:   mmc@fa00000: 1
Loading Environment from nowhere... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Failed to probe prueth driver
Net:   eth0: ethernet@8000000port@1, eth1: ethernet@8000000port@2
Hit any key to stop autoboot:  0 
#DOWNLOAD ... OK
Ctrl+C to exit ...
## Info: input data size = 148 = 0x94
MMC: no card present
Couldn't init MMC device.
DFU entities configuration failed!
(partition table does not match dfu_alt_info?)
dfu - Device Firmware Upgrade

Usage:
dfu <USB_controller> [<interface> <dev>] [list]
  - device firmware upgrade via <USB_controller>
    on device <dev>, attached to interface
    <interface>
    [list] - list available alt settings

=> 

foe emmc 在 mmc1接口上支持我们做了以下更改:

1更新 DFU 闪存实用程序:
DFU_FLASH/FRAC/parse.py + 20 src
更新了 FLASH_media。 eMMC:"dfu 0 mmc 0"到 flash_media。 eMMC:"dfu 0 mmc 1"


您能否提供还需要进行哪些其他更改?

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

    您好!

    [报价用户 id="637961" url="~/support/processors-group/processors/f/processors-forum/1460655/sk-am64b-issue-with-emmc-init-on-dfu-boot "]我们对 SK AM64B 板进行了一些修改、以便通过 MMC1接口从外部连接 EMMC。

    AM64上的 MMCSD1接口设计为仅支持 SD 或 SDIO 器件。

    您应该仅将 MMCSD0接口用于 eMMC。

    此致、

    Prashant