On Fri, Feb 28, 2025 at 10:11:53AM -0600, Javier Tia wrote: > Hi Siddharth,
Hello Javier, > > On Wed, Feb 26, 2025, at 4:35 AM, Siddharth Vadapalli wrote: > > Hello, > > > > This series adds config fragment for enabling USB MSC boot and USB > > Storage devices which are applicable to AM62, AM62A and AM62P SoCs. > > > > Series is based on commit > > 8dd7186ca7 Merge patch series "Remove "saveenv" functionality from am57xx > > evms" > > of the next branch of U-Boot. > > > > Series has been tested on AM62A7-SK, AM625-SK and AM62P5-SK for USB MSC > > boot where the bootloaders were generated in the following manner: > > 1. AM62A7-SK (AM62A SoC): > > - tiboot3.bin > > => am62ax_evm_r5_defconfig + am62x_r5_usbmsc.config > > - tispl.bin and u-boot.img > > => am62ax_evm_a53_defconfig + am62x_a53_usbmsc.config > > 2. AM625-SK (AM62 SoC): > > - tiboot3.bin > > => am62x_evm_r5_defconfig + am62x_r5_usbmsc.config > > - tispl.bin and u-boot.img > > => am62x_evm_a53_defconfig + am62x_a53_usbmsc.config > > 3. AM62P5-SK (AM62P SoC): > > - tiboot3.bin > > => am62px_evm_r5_defconfig + am62x_r5_usbmsc.config > > - tispl.bin and u-boot.img > > => am62px_evm_a53_defconfig + am62x_a53_usbmsc.config > > > > The images were flashed to a USB Flash Drive and were connected to the > > Type-C interface on each of the boards which supports USB MSC Boot. > > I have access to a TI board. I want to test the USB boot. > > Are there any special requirements around the flash image? > > Would it be sufficient to flash the WIC image generated by the Arago project? Yes, flashing the WIC Image from the Arago project to generate the /boot partition followed by replacing the bootloaders there with the ones built using the usbmsc.config config fragment shoudl work. > > Could I use the same U-Boot images with these configs to boot from UART and > SD card? I meant, if these configs will create conflicts with other boot > modes. The functionality associated with the configs disabled in the respective config fragments for r5 and a53 will be lost, namely: r5_usbmsc.config => SD Boot will not work but UART Boot should still work since the config corresponding to it hasn't been disabled. a53_usbmsc.config => Both SD Boot and UART Boot will work. If your use-case requires SD Boot in addition to USB MSC Boot at the R5 SPL stage, you could try disabling a different config in the platform's base r5_defconfig and enable SD configs in its place. Regards, Siddharth.