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

Ravi Kumar Prasad 7ravikp at gmail.com
Mon Jul 24 13:59:28 UTC 2017


Hi Jason,
Have a look at this thread, and help us find a solution.

Thanks

On Mon, Jul 3, 2017 at 5:53 PM, Ravi Kumar Prasad <7ravikp at gmail.com> wrote:

> Hi, Michael
> Please cc the your findings of second bisect here, so that someone can
> help further.
>
> On Mon, Jun 26, 2017 at 5:12 PM, Ravi Kumar Prasad <7ravikp at gmail.com>
> 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.
>>
>> Thanks
>> Ravi Kumar
>>
>>
>


More information about the U-Boot mailing list