[U-Boot] am335x uboot TFTP via SPL over usb is failing
Vignesh R
vigneshr at ti.com
Tue Jun 27 04:54:16 UTC 2017
Hi,
On Monday 26 June 2017 05:12 PM, Ravi Kumar Prasad wrote:
> 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.
>
For USB RNDIS boot, I had to add few configs. Here is the patch that I
submitted to U-Boot list. Let me know if this helps:
https://patchwork.ozlabs.org/patch/748877/
--
Regards
Vignesh
More information about the U-Boot
mailing list