[U-Boot] [beagleboard-gsoc] Re: am335x_evm_usbspl_defconfig testint

Michael Welling
2017-06-13T15:59:21Z

On Tue, Jun 13, 2017 at 10:07:10AM +0530, 'Vignesh R' via BeagleBoard GSoC wrote:
>
>
> On Monday 12 June 2017 10:12 PM, Jason Kridner wrote:
>
> > 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/

> I forgot to follow that up and looks like it did not make into the
> u-boot master branch.
>
> Regards
> Vignesh
>
> >
> > 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
> >
> > On Sun, Jun 11, 2017 at 4:18 PM Ravi Kumar Prasad <7ravikp@gmail.com> wrote:
> >
> >> 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 ###
> >>
> >> Please help me to debug this problem.
> >> Code for server: https://github.com/ravikp7/node-beagle-boot
> >> Thanks
> >> Ravi
> >>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "BeagleBoard GSoC" group.
> >> To unsubscribe from this group and stop receiving emails from it, send an
> >> email to beagleboard-gsoc+unsubscribe at googlegroups.com.
> >> For more options, visit https://groups.google.com/d/optout.
> >>
> > _______________________________________________
> > U-Boot mailing list
> > U-Boot at lists.denx.de
> > https://lists.denx.de/listinfo/u-boot
> >
>
> --
> Regards
> Vignesh
>
> --
> You received this message because you are subscribed to the Google Groups "BeagleBoard GSoC" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard-gsoc+unsubscribe at googlegroups.com.