主题中讨论的其他器件:UNIFLASH、
尊敬的 TI 专家:
在我的项目中、我需要一种方法来从 eMMC 删除所有数据。 我 没有找到在 AM2434-EVM 中格式化 eMMC 的有效方法。
此致、
魏县
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.
魏健您好!
您是否看过 SDK 中的 Uniflash 工具?
此致
卡兰
尊敬的 Weijian:
请使用 MCU+ SDK 本身的 UART Uniflash 脚本来刷写 eMMC
您可以将 以下显示的配置文件与 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、您好!
我进行了以下更改:
(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。
此致、
普拉桑特