Skip to contentSkip to conversation

am335x_evm_usbspl_defconfig testint

U-Boot Jason Kridner 4 participants 5 messages Jun 12, 2017 – Jun 13, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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

Quoted 22 lines · Ravi Kumar Prasad

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.

#2 lore raw
Quoted 11 lines · Jason Kridner

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?

Quoted 8 lines

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 :(

Quoted 4 lines

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.

Quoted 30 lines

Regards,
Jason

Quoted 22 lines · On Sun, Jun 11, 2017 at 4:18 PM Ravi Kumar Prasad <[email protected]…

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

Signature · 5 lines
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-gs... at googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/d/optout.
#3 lore raw
Quoted 17 lines · Ravi Kumar Prasad
Quoted 14 lines · Jason Kridner

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?

Quoted 6 lines
Quoted 5 lines

Ravi,

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

But SPL isn't booting first :(

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

Should see it after it approved by the moderator.

Quoted 8 lines
Quoted 5 lines

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.

Quoted 13 lines
Quoted 13 lines

Regards,
Jason

Quoted 6 lines · On Sun, Jun 11, 2017 at 4:18 PM Ravi Kumar Prasad <[email protected]…

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:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

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.

Quoted 19 lines
Quoted 14 lines
Quoted 13 lines

Please help me to debug this problem.
Code for server: https://github.com/ravikp7/node-beagle-boot
Thanks
Ravi

Signature · 5 lines
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-gs... at googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/d/optout.
Signature · 3 lines
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.
#4 lore raw
In reply to Jason Kridner
Quoted 7 lines · Jason Kridner

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

Quoted 43 lines

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

Quoted 15 lines · Ravi Kumar Prasad

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

Quoted 7 lines

--
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

Signature · 2 lines
Regards
Vignesh
#5 lore raw
Quoted 7 lines · Vignesh R' via BeagleBoard GSoC
Quoted 3 lines · Jason Kridner

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

Quoted 8 lines
Quoted 4 lines

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/

Quoted 58 lines

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

Regards
Vignesh

Quoted 43 lines

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

Quoted 15 lines · Ravi Kumar Prasad

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

Quoted 7 lines

--
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

Signature · 7 lines
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.
For more options, visit https://groups.google.com/d/optout.