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.

[参考译文] AM2434:如何在 AM2434-EVM 中格式化 eMMC

Guru**** 2393225 points
Other Parts Discussed in Thread: UNIFLASH, AM2434

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1329230/am2434-how-to-format-the-emmc-in-am2434-evm

器件型号:AM2434
主题中讨论的其他器件:UNIFLASH

尊敬的 TI 专家:

 在我的项目中、我需要一种方法来从 eMMC 删除所有数据。 我 没有找到在 AM2434-EVM 中格式化 eMMC 的有效方法。

此致、

魏县

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

    魏健您好!

    您是否看过 SDK 中的 Uniflash 工具?

    https://dev.ti.com/tirex/explore/content/mcu_plus_sdk_am243x_09_01_00_41/docs/api_guide_am243x/TOOLS_FLASH.html

    此致

    卡兰

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

    你好,Karan

    我使用 UniFlash_8.6.0 并且能够将"sbl.tiimage"和".appimage"文件写入闪存。 但是、在 AM2434-EVM 上、该工具似乎无法将文件写入 eMMC。 遗憾的是、我也没找到 eMMC 存储器的格式化方法。

    您能解释一下在设计该工具时 格式化 eMMC 细节? 非常感谢。

    此致、

    魏县  

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

    尊敬的 Weijian:

    请使用 MCU+ SDK 本身的 UART Uniflash 脚本来刷写 eMMC

    https://dev.ti.com/tirex/explore/content/mcu_plus_sdk_am243x_09_01_00_41/docs/api_guide_am243x/TOOLS_FLASH.html#TOOLS_FLASH_UART_UNIFLASH

    您可以将 以下显示的配置文件与 UART Uniflash 一同使用

    ~/ti/mcu_plus_sdk/am243x/09_01_00_41/examples/drivers/boot/sbl_emmc/am243x-evm/r5fss0-0_nortos
    ❯ cat default_sbl_emmc.cfg
    #-----------------------------------------------------------------------------#
    #                                                                             #
    #      DEFAULT CONFIGURATION FILE TO BE USED WITH THE FLASHWRITER SCRIPT      #
    #                                                                             #
    #-----------------------------------------------------------------------------#
    #
    # By default this config file,
    # - points to pre-built flash writer, bootloader for this EVM
    # - The application image points to relative path of the ipc rpmsg linux application image for this EVM
    #   - Make sure this application is built before running this script
    # - You can customized this config file to point to your own bootloader and/or application images
    # - You can use --operation=flashverify-emmc if you just want to verify the flash contents and not flash the file.
    #
    
    # First point to sbl_uart_uniflash binary, which function's as a server to flash one or more files to eMMC
    --flash-writer=sbl_prebuilt/am243x-evm/sbl_uart_uniflash.release.hs_fs.tiimage
    
    # Now send one or more files to flash or flashverify as needed. The order of sending files does not matter
    
    # When sending bootloader make sure to flash at offset 0x0. ROM expects bootloader at offset 0x0 of eMMC
    --file=../../examples/drivers/boot/sbl_emmc/am243x-evm/r5fss0-0_nortos/ti-arm-clang/sbl_emmc.release.hs_fs.tiimage --operation=flash-emmc --flash-offset=0x0
    
    # When sending application image, make sure to flash at offset 0x800000 (default) or to whatever offset your bootloader is configured for
    --file=../../examples/drivers/ipc/ipc_rpmsg_echo/am243x-evm/system_freertos_nortos/ipc_rpmsg_echo_system.release.appimage.hs_fs --operation=flash-emmc --flash-offset=0x800000
    

    此致、

    普拉桑特

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

    你好,Karan

    按照您建议的方法、我将会遇到以下错误。

    此致、

    魏县  

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

    你好,Karan

    我的板是非 hsfs 板( AM2434_EVM ;  TMDS243GPEVM )。

    我尝试过很多次、但仍然收到错误消息。 如何解决此问题?

    此致、

    魏县

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

    尊敬的 Weijian:

    如何在 MCU+ SDK v9.1中生成 GP 映像。 自 MCU+ SDK v9.x 以来、GP 支持已停止

    此致、

    普拉桑特

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

    Karan、您好!

    我进行了以下更改:
    (1)选择" SBL_uart_uniflash.release.tiimage "文件来自 MCU_SDK_AM243X_08_06_00_45


    (2)修改" makefile_ccs_bootimage_gen " SBL_eMMC_Example (MCU_SDK_09_01) 以生成" TI 图像 "文件。

    此致、

    普拉桑特

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

    尊敬的 Weijian:

    我明白了。

    (2)我修改了" makefile_ccs_bootimage_gen " SBL_eMMC_Example (MCU_SDK_09_01) 以生成" TI 图像 "文件。

    即使您可以使用该 HACK 生成 GP 映像并假设刷写成功、刷写的 SBL_EMMC 也不会引导。 GP 映像需要 GP SysFw 二进制文件、但 MCU+ SDK v9.1中没有 GP SysFw 二进制文件。

    ~/ti/mcu_plus_sdk/am243x/09_01_00_41
    ❯ ls -l source/drivers/sciclient/soc/am64x_am243x/sysfw*bin
    -rw-r--r-- 1 p-shivhare p-shivhare 225280 Dec 13 20:28 source/drivers/sciclient/soc/am64x_am243x/sysfw-hs-enc.bin
    -rw-r--r-- 1 p-shivhare p-shivhare   1684 Dec 13 20:28 source/drivers/sciclient/soc/am64x_am243x/sysfw-hs-enc-cert.bin
    -rw-r--r-- 1 p-shivhare p-shivhare 225280 Dec 13 20:28 source/drivers/sciclient/soc/am64x_am243x/sysfw-hs-fs-enc.bin
    -rw-r--r-- 1 p-shivhare p-shivhare   1684 Dec 13 20:28 source/drivers/sciclient/soc/am64x_am243x/sysfw-hs-fs-enc-cert.bin
    

    您需要针对 GP 器件使用 MCU+ SDK v8.6。

    此致、

    普拉桑特

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

    您好、Prashant

    几天前、我收到了更新的 AM2434-EVM、因此该问题已得到解决。

    感谢您的答复。

    此致、

    魏县