Hi All,
I want to load MLO and uboot from PC to am5718idk not from sd card. How to proceed.
I am not able to find the DFU option in am5718 menuconfig.
Kindly help me.
Regards,
Khushboo
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.
Hi All,
I want to load MLO and uboot from PC to am5718idk not from sd card. How to proceed.
I am not able to find the DFU option in am5718 menuconfig.
Kindly help me.
Regards,
Khushboo
Hi Khushboo,
The below diff should be able to get you SPL_DFU..
diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig index 0cb9b8d3ee..84e2884380 100644 --- a/configs/am57xx_evm_defconfig +++ b/configs/am57xx_evm_defconfig @@ -49,6 +49,10 @@ CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_SPL_REGMAP=y CONFIG_SPL_SYSCON=y CONFIG_SPL_OF_TRANSLATE=y +CONFIG_SPL_DFU=y +CONFIG_SPL_USB_GADGET=y +CONFIG_SPL_DFU_RAM=y +CONFIG_SPL_RAM_SUPPORT=y CONFIG_DWC_AHCI=y CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y
I believe you are referring to the video: https://training.ti.com/am57x-dra7x-dfu-boot-mode-with-linux-host
pdf: https://training.ti.com/sites/default/files/docs/AM57x-DFU-boot-SLIDES.pdf
Let me know if you have dfu working with the above diff.
Best Regards,
Keerthy
Hi Keerthy,
Thankyou for the reply, now I am able to make the code but when I am giving the command "usbboot-stand-alone -S spl/u-boot-spl.bin", it is not downloading the code to board. No output, I have to interrupt the code.
Kindly help me what to do.
On IDK side what I have to do?
Hi Khushboo,
I am going through all the AM571x-IDK Hardware user guides:
AM571x: https://www.ti.com/lit/ug/sprui97d/sprui97d.pdf
I see this common text:
4.1 Boot Configuration Various boot configurations can be set using the pull-up/pull-down resistor combinations provided on the SYSBOOT[15..0] pins. |
Boot configuration pins are latched upon de-assertion of the PORz pin. Refer to the AM572x Sitara Processors Silicon Revision 2.0 Data Manual (SPRS982) for more details. The AM572x IDK EVM is configured by default to 0x8106 to enable UBOOT/Linux boot from the SDCARD. The secondary boot device selected by this boot mode is QSPI1.
So Primary boot mode is SD & secondary is QSPI1.
We might have to do board modifications to get DFU working. I am seeking confirmation from the hardware team on the same.
We will get back to you as soon as possible mostly by Tuesday next week,
Best Regards,
Keerthy
The IDK resistor settings for SYSBOOT default to 0x8106. From the TRM manual - this maps to SD first, QSPI second. If you want to boot USB, the simplest change is to change bit 1 to a '0', getting 0x8104. This changes the boot order to USB first, UART second, and XIP third.
To make this change - remove R435 and install R454 (with 10K-ohm resistor).