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.

AM62A7: Boot mode MMCSD to boot from MMC1

Part Number: AM62A7

Hi,

I am using a custom design with a AM62A processor.
It is configured for MMCSD Boot mode connected to MMC1.
I want to change the example bootloader "sbl_emmc_linux_stage1_am62ax-sk_r5ss0-0_nortos_ti-arm-clang" to use MMC1 for loading the other cores.

However, when using the syscfg tool, I cannot change the emmc driver to a configuration that uses MMC1.

How can I change the bootloader to use MMC1?


Thanks and best regards, Katharina

  • The issue is still open.
    Is there any information available about it?

  • Hi Katharina,

    Apologies for the delay in response.

    I believe you are talking about the "Select MMCSD Module" field being locked as shown

    If so, you can directly make the changes in the files generated by Syscfg to use & configure MMC1. The process is:

    • Build the example as it is. The Syscfg will generate automatic files at the location shown below


    • Do the below change in the makefile to prevent overwriting of the automatic files by Syscfg.
      diff --git a/examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage1/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/makefile b/examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage1/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/makefile
      index ec3a36c..d133162 100644
      --- a/examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage1/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/makefile
      +++ b/examples/drivers/boot/sbl_emmc_linux_multistage/sbl_emmc_linux_stage1/am62ax-sk/r5fss0-0_nortos/ti-arm-clang/makefile
      @@ -222,8 +222,8 @@ $(OBJDIR):
       $(SYSCFG_GEN_FILES): syscfg
       
       syscfg: ../example.syscfg
      -	@echo Generating SysConfig files ...
      -	$(SYSCFG_NODE) $(SYSCFG_CLI_PATH)/dist/cli.js --product $(SYSCFG_SDKPRODUCT) --context r5fss0-0 --part Default --package AMB --output generated/ ../example.syscfg
      +#	@echo Generating SysConfig files ...
      +#	$(SYSCFG_NODE) $(SYSCFG_CLI_PATH)/dist/cli.js --product $(SYSCFG_SDKPRODUCT) --context r5fss0-0 --part Default --package AMB --output generated/ ../example.syscfg
       
       syscfg-gui:
       	$(SYSCFG_NWJS) $(SYSCFG_PATH) --product $(SYSCFG_SDKPRODUCT) --device AM62Ax --context r5fss0-0 --part Default --package AMB --output generated/  ../example.syscfg
      
    • Do the necessary changes in files containing MMCSD related code. I would recommend to search MMCSD in the folder named generated as shown below to see the places where MMCSD is being used and then accordingly do the necessary changes.
    • Build the example with all the changes.

    Regards,

    Prashant