am335x_evm_usbspl_defconfig testint

Stefan,

I see you submitted this defconfig:
https://lists.denx.de/pipermail/u-boot/2016-November/272425.html

I have a Google Summer of Code student intern attempting to use it and he’s seeing it hang without entering UMS mode. Details are below.

Can you give any advice on how you tested this?

I believe he still needs to do something to explicitly enable UMS. Can you confirm?

Ravi,

If Stefan cannot answer, I’d suggest adjusting the default boot command to invoke UMS. Have you been able to stop the boot process using the serial port and get to the u-boot console? At the console, have you tried running the ‘ums’ command?

Regards,
Jason

Stefan,

I see you submitted this defconfig:
https://lists.denx.de/pipermail/u-boot/2016-November/272425.html

I have a Google Summer of Code student intern attempting to use it and he’s seeing it hang without entering UMS mode. Details are below.

Can you give any advice on how you tested this?

I believe he still needs to do something to explicitly enable UMS. Can you confirm?

Ravi,

If Stefan cannot answer, I’d suggest adjusting the default boot command to invoke UMS.

But SPL isn’t booting first :frowning:

Have you been able to stop the boot process using the serial port and get to the u-boot console? At the console, have you tried running the ‘ums’ command?

Yes, I tried running ums command from console, => ums 0 mmc 1 and the emmc was mounted as mass storage device.

>
> Stefan,
>
> I see you submitted this defconfig:
> https://lists.denx.de/pipermail/u-boot/2016-November/272425.html
>
> I have a Google Summer of Code student intern attempting to use it and
> he's seeing it hang without entering UMS mode. Details are below.
>
> Can you give any advice on how you tested this?
>
> I believe he still needs to do something to explicitly enable UMS. Can you
> confirm?
>
> Ravi,
>
> If Stefan cannot answer, I'd suggest adjusting the default boot command to
> invoke UMS.
>
But SPL isn't booting first :frowning:

It was a configuration issue. I sent a patch to the U-Boot mailinglist.

Should see it after it approved by the moderator.

> Have you been able to stop the boot process using the serial port and get
> to the u-boot console? At the console, have you tried running the 'ums'
> command?
>
Yes, I tried running ums command from console, => ums 0 mmc 1 and the emmc
was mounted as mass storage device.

The problem was earlier in the boot than this.

>
> Regards,
> Jason
>
>
>> Hi,
>> I'm porting BBBlfs bootloader server to nodejs. Now, after receiving tftp
>> request for SPL, I'm transferring SPL.
>> I built spl/uboot with config am335x_evm_usbspl_defconfig . After SPL
>> transfer it fails to boot, here's the serial output:
>>
>> U-Boot SPL 2017.07-rc1-00163-g8cb3ce6 (Jun 11 2017 - 01:09:02)
>> SPL: failed to boot from all boot devices
>> ### ERROR ### Please RESET the board ###

Here is a pastebin after the configuration changes were applied:
https://pastebin.com/MbKfB7bF

He should be back in business.

I see you submitted this defconfig:
https://lists.denx.de/pipermail/u-boot/2016-November/272425.html

I have a Google Summer of Code student intern attempting to use it and he's
seeing it hang without entering UMS mode. Details are below.

Can you give any advice on how you tested this?

Could you try this patch that I posted sometime back:
https://patchwork.ozlabs.org/patch/748877/

I forgot to follow that up and looks like it did not make into the
u-boot master branch.

Regards
Vignesh

> I see you submitted this defconfig:
> https://lists.denx.de/pipermail/u-boot/2016-November/272425.html
>
> I have a Google Summer of Code student intern attempting to use it and he's
> seeing it hang without entering UMS mode. Details are below.
>
> Can you give any advice on how you tested this?

Could you try this patch that I posted sometime back:
https://patchwork.ozlabs.org/patch/748877/

Were you able to get this to compile and fit in the SRAM?

With the latest U-Boot and your patch I get the following on compile:
arm-poky-linux-gnueabi-ld.bfd: u-boot-spl section `.rodata' will not fit in region `.sram'
arm-poky-linux-gnueabi-ld.bfd: region `.sram' overflowed by 9928 bytes
scripts/Makefile.spl:333: recipe for target 'spl/u-boot-spl' failed
make[1]: *** [spl/u-boot-spl] Error 1
Makefile:1382: recipe for target 'spl/u-boot-spl' failed
make: *** [spl/u-boot-spl] Error 2

I had to remove some of the other features to get it to fit in SRAM.

Here is the patch that I sent yesterday:
https://patchwork.ozlabs.org/patch/774899/