Re: [U-Boot] [PATCH v2] usb: dfu: make nand upload working

2013-11-11 Thread Marek Vasut
Dear Bo Shen, > Hi Heiko, > > On 11/11/2013 02:46 PM, Heiko Schocher wrote: > > Hello Lukasz, > > > > Am 08.11.2013 16:41, schrieb Lukasz Majewski: > >> Hi Bo, > >> > >>> Nowhere pass a value to len, which always 0, make no transfer which > >>> cause uploading failed. > >>> > >>> This patch ma

Re: [U-Boot] [PATCH v2] usb: dfu: make nand upload working

2013-11-11 Thread Bo Shen
Hi Heiko, On 11/11/2013 02:46 PM, Heiko Schocher wrote: Hello Lukasz, Am 08.11.2013 16:41, schrieb Lukasz Majewski: Hi Bo, Nowhere pass a value to len, which always 0, make no transfer which cause uploading failed. This patch make nand upload working. However it needs enough malloc buffer t

Re: [U-Boot] [PATCH v2] usb: dfu: make nand upload working

2013-11-10 Thread Heiko Schocher
Hello Lukasz, Am 08.11.2013 16:41, schrieb Lukasz Majewski: Hi Bo, Nowhere pass a value to len, which always 0, make no transfer which cause uploading failed. This patch make nand upload working. However it needs enough malloc buffer to store read data, that means the buffer at least equal to

Re: [U-Boot] [PATCH v2] usb: dfu: make nand upload working

2013-11-08 Thread Marek Vasut
Dear Bo Shen, > Nowhere pass a value to len, which always 0, make no transfer which > cause uploading failed. > > This patch make nand upload working. However it needs enough malloc > buffer to store read data, that means the buffer at least equal to > the upload partition size, or else it doesn'

Re: [U-Boot] [PATCH v2] usb: dfu: make nand upload working

2013-11-08 Thread Lukasz Majewski
Hi Bo, > Nowhere pass a value to len, which always 0, make no transfer which > cause uploading failed. > > This patch make nand upload working. However it needs enough malloc > buffer to store read data, that means the buffer at least equal to > the upload partition size, or else it doesn't work.

Re: [U-Boot] [PATCH v2] usb: dfu: make nand upload working

2013-11-08 Thread Heiko Schocher
Hello Bo, Am 07.11.2013 07:29, schrieb Bo Shen: Nowhere pass a value to len, which always 0, make no transfer which cause uploading failed. This patch make nand upload working. However it needs enough malloc buffer to store read data, that means the buffer at least equal to the upload partition

[U-Boot] [PATCH v2] usb: dfu: make nand upload working

2013-11-06 Thread Bo Shen
Nowhere pass a value to len, which always 0, make no transfer which cause uploading failed. This patch make nand upload working. However it needs enough malloc buffer to store read data, that means the buffer at least equal to the upload partition size, or else it doesn't work. Signed-off-by: Bo