
On 10/13/2012 08:52 PM, Marek Vasut wrote:
Dear xiangfu liu,
Hi Marek
On Sat, Oct 13, 2012 at 8:23 PM, Marek Vasut marex@denx.de wrote:
Dear xiangfu liu,
> Hi Marek > > This file was wrote by Ingenic people. I don't have time to convert it > to C(I am not very good in mips assembler). the .S file implement > basic USB stack.
We already do have an USB stack.
This usbboot.S implement a very base usb-client protocol and it implement a jz4740 hardware feature.
We have that too -- see drivers/usb/gadget/
Hi Marek
I will look into this issue later, try to integrate this jz4740 feature with u-boot usb structure. but I am not sure that if I can finish this fast. wait my patches on jz4740 software usb boot. :)
(jz4740 have a hard-code rom inside cpu. that have the same feature, they named it 'boot from usb'). so this usbboot.S is for implement the same feature in a software way.
Won't DFU work then?
I know this DFU. but it will different with the hardware-feature.
Thanks again for feedback. Xiangfu