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-AM62P-LP:eMMC 引导 SPL 与 SBL 的问题

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1502438/sk-am62p-lp-question-on-emmc-boot-spl-vs-sbl

器件型号:SK-AM62P-LP
Thread 中讨论的其他器件:UNIFLASHAM62P

工具/软件:

我已经浏览了 MCU+ SDK 和 Linux SDK 中的参考手册、但无法总结从 eMMC 引导的简单方法。

我的最终目标是在没有 SD 卡参与的情况下启动 R 内核和内核、纯粹是在 eMMC 上启动、需要更新 MCU R5映像的方法、还需要一个内核 Linux 内核。

##MCU+ SDK SBL、参考 https://software-dl.ti.com/mcu-plus-sdk/esd/AM62X/11_00_00_16/exports/docs/api_guide_am62x/SBL_BOOTING_LINUX_EMMC.html##

使用带有 cfg 文件 default_sbl_eMMC_linux_hs_fs.cfg 的 python 脚本 uart_uniflash.py、该文件需要 Linux 应用程序(bl31、bl32、uboot-spl)、HSM App、uboot.img  

通过使用此脚本、在没有 SD 卡的情况下、我无法在 rootfs 中写入、那么如何在其中替换 rootfs?

在此模式下、sbl_eMMC_linux_stage1.release.hs_fs.tiimage 是否等同于 tiboot3.bin、Linux 应用中的 uboot-spl 是否与 tispl.bin 等价?

MCU R5和 WKUP R5可以正常运行、但不是内核、如何刷写 rootfs?

###Linux SPL、参考  

https://software-dl.ti.com/processor-sdk-linux/esd/AM62PX/11_00_09_04/exports/docs/linux/Foundational_Components /U-Boot/UG-DFU.html

https://software-dl.ti.com/processor-sdk-linux/esd/AM62PX/11_00_09_04/exports/docs/linux/Foundational_Components /U-Boot/UG-Memory-K3.html#

使用 dfu-util、能够在 tiboot3.bin、tispl.bin、ubboot.img、rootfs (ext4映像)中写入

可以将 MCU R5、WKUP R5 (一个内核)启动到 Linux 控制台中、但如何使用这种方法替换 MCU R5/WKUP R5映像?

###blank flash###

如何在此 EVK 上执行空白闪存?

SBL 和 SPL 之间的差异非常大、如果我只关注其中一个、或者我必须将它们合并为2才能实现我的目标、这会令人困惑。

任何简单的解释或指导 现在都将非常感谢。