[U-Boot] am335x uboot TFTP via SPL over usb is failing

Ravi Kumar Prasad 7ravikp at gmail.com
Mon Jun 26 11:42:07 UTC 2017


Hi,

I'm developing a node.js usb bootloader server for the am335x (BeagleBone)
platform which can boot it into USB mass storage mode. The server TFTPs SPL
over usb and then TFTPs uboot (configured for ums) via SPL.

The SPL binary gets transferred successfully, but SPL can't TFTP the uboot
binary with the uboot build from latest sources.

The previous versions of u-boot succeed in doing so. The known working
u-boot version was v2014.07 (
https://github.com/u-boot/u-boot/commit/524123a70761110c5cf3ccc5f52f6d4da071b959
).

So, we did a git bisect on uboot to track when it stopped failing to TFTP.
Here's the bisect log https://pastebin.com/hwXJUf3K

Here's outputs of all u-boot https://pastebin.com/t2WNLQsQ

So, first bad commit turns out to be this
https://github.com/u-boot/u-boot/commit/98d2d5e8c473232dc718763dbec284b7349dcc05


Config used for u-boot build : am335x_evm_usbspl_defconfig
Patch for uboot ums : https://pastebin.com/rZ3R3zRs

Here's code for the server https://github.com/ravikp7/node-beagle-boot , it
currently works only on Linux.

I need help in fixing this.

Thanks
Ravi Kumar


More information about the U-Boot mailing list