Re: Using USB Mass Storage on AM335X

2020-11-01 Thread Heiko Schocher
Hello Otavio, Am 01.11.2020 um 02:12 schrieb Otavio Salvador: Hello all, Em qui., 29 de out. de 2020 às 19:19, Otavio Salvador escreveu: ... Does anyone know why selecting CONFIG_CMD_USB_MASS_STORAGE=y causes the board to not boot anymore? We found it; setting CONFIG_SYS_MALLOC_F_LEN=0x2000

Re: Using USB Mass Storage on AM335X

2020-10-31 Thread Otavio Salvador
Hello all, Em qui., 29 de out. de 2020 às 19:19, Otavio Salvador escreveu: ... > Does anyone know why selecting CONFIG_CMD_USB_MASS_STORAGE=y causes > the board to not boot anymore? We found it; setting CONFIG_SYS_MALLOC_F_LEN=0x2000 it works :-) -- Otavio Salvador

Re: Using USB Mass Storage on AM335X

2020-10-30 Thread Lukasz Majewski
Hi Lokesh, Otavio, > + Pratyush > > On 30/10/20 11:36 am, Heiko Schocher wrote: > > Hello Otavio, > > > > Am 29.10.2020 um 23:19 schrieb Otavio Salvador: > >> Hi, > >> > >> I am working on porting mainline U-Boot to a custom AM335X board > >> that only has eMMC as the boot medium. > >> > >> I

Re: Using USB Mass Storage on AM335X

2020-10-29 Thread Lokesh Vutla
+ Pratyush On 30/10/20 11:36 am, Heiko Schocher wrote: > Hello Otavio, > > Am 29.10.2020 um 23:19 schrieb Otavio Salvador: >> Hi, >> >> I am working on porting mainline U-Boot to a custom AM335X board that >> only has eMMC as the boot medium. >> >> I can load U-Boot via serial boot and flash MLO

Re: Using USB Mass Storage on AM335X

2020-10-29 Thread Heiko Schocher
Hello Otavio, Am 29.10.2020 um 23:19 schrieb Otavio Salvador: Hi, I am working on porting mainline U-Boot to a custom AM335X board that only has eMMC as the boot medium. I can load U-Boot via serial boot and flash MLO and u-boot.img into the eMMC using DFU. Then the board boots successfully vi

Re: Using USB Mass Storage on AM335X

2020-10-29 Thread Otavio Salvador
Em qui., 29 de out. de 2020 às 19:46, Tom Rini escreveu: > On Thu, Oct 29, 2020 at 07:19:47PM -0300, Otavio Salvador wrote: > > Does anyone know why selecting CONFIG_CMD_USB_MASS_STORAGE=y causes > > the board to not boot anymore? > > Have you otherwise confirmed that you have gadget support confi

Re: Using USB Mass Storage on AM335X

2020-10-29 Thread Tom Rini
On Thu, Oct 29, 2020 at 07:19:47PM -0300, Otavio Salvador wrote: > Hi, > > I am working on porting mainline U-Boot to a custom AM335X board that > only has eMMC as the boot medium. > > I can load U-Boot via serial boot and flash MLO and u-boot.img into > the eMMC using DFU. Then the board boots

Using USB Mass Storage on AM335X

2020-10-29 Thread Otavio Salvador
Hi, I am working on porting mainline U-Boot to a custom AM335X board that only has eMMC as the boot medium. I can load U-Boot via serial boot and flash MLO and u-boot.img into the eMMC using DFU. Then the board boots successfully via eMMC. Now I want to run the "ums" command to be able to mount