https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1429884/sk-am62b-p1-am62x
器件型号:SK-AM62B-P1工具与软件:
每次启动时、我都需要设置环境变量 "setenv mmcdev 0
和 setenv bootpart 0"
(uBoot 阶段)、以便从 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.
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1429884/sk-am62b-p1-am62x
器件型号:SK-AM62B-P1工具与软件:
每次启动时、我都需要设置环境变量 "setenv mmcdev 0
和 setenv bootpart 0"
(uBoot 阶段)、以便从 eMMC 模式引导。 我可以在哪个文件中设置这些变量?
您好!
您可以在 U-boot 源代码中的 env 文件中进行更改。
下面提供了 AM62A 的示例代码。 请在相关的 AM62x 文件中进行相同的更改。
--- a/board/ti/am62ax/am62ax.env +++ b/board/ti/am62ax/am62ax.env @@ -17,8 +17,8 @@ args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02800000 run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr} boot=mmc -mmcdev=1 -bootpart=1:2 +mmcdev=0 +bootpart=0:1 bootdir=/boot rd_spec=- rproc_fw_binaries= 0 /lib/firmware/am62a-mcu-r5f0_0-fw 1 /lib/firmware/am62a-c71_0-fw
此致、
Aparna
您好!
您何时需要执行这些命令?
您可以将其添加到 U-boot 源代码、也可以在 U-boot 提示符下执行。
有关如何使用 DFU 刷写 eMMC 的步骤: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1127618/faq-sk-am62-how-to-flash-emmc-using-usb-dfu-on-am62x-sk-e2
请参阅以下指南、其中讨论了基于 DFU 的闪存写入器工具自动执行刷写过程: https://software-dl.ti.com/processor-sdk-linux/esd/AM62AX/09_02_00/exports/docs/linux/Foundational_Components Tools/Flash_via_DFU.html
此致、
Aparna