Re: [U-Boot] [PATCH RESEND] tools/imximage: set DCD pointer to NULL when its length is 0

2015-08-03 Thread Stefano Babic
Hi Baruch, On 02/08/2015 20:45, Baruch Siach wrote: Hi Stefano, On Wed, Jul 15, 2015 at 09:13:33AM +0200, Stefano Babic wrote: On 14/07/2015 21:05, Baruch Siach wrote: On Thu, Jul 09, 2015 at 06:04:17PM +0200, Stefano Babic wrote: On 09/07/2015 17:19, Baruch Siach wrote: When dcd_len is 0

Re: [U-Boot] [PATCH RESEND] tools/imximage: set DCD pointer to NULL when its length is 0

2015-08-02 Thread Baruch Siach
Hi Stefano, On Wed, Jul 15, 2015 at 09:13:33AM +0200, Stefano Babic wrote: On 14/07/2015 21:05, Baruch Siach wrote: On Thu, Jul 09, 2015 at 06:04:17PM +0200, Stefano Babic wrote: On 09/07/2015 17:19, Baruch Siach wrote: When dcd_len is 0 the Write Data command that the set_dcd_rst_v2()

Re: [U-Boot] [PATCH RESEND] tools/imximage: set DCD pointer to NULL when its length is 0

2015-07-15 Thread Stefano Babic
On 14/07/2015 21:05, Baruch Siach wrote: Hi Stefano, On Thu, Jul 09, 2015 at 06:04:17PM +0200, Stefano Babic wrote: On 09/07/2015 17:19, Baruch Siach wrote: When dcd_len is 0 the Write Data command that the set_dcd_rst_v2() routine generates is empty. This causes HAB to complain that the

Re: [U-Boot] [PATCH RESEND] tools/imximage: set DCD pointer to NULL when its length is 0

2015-07-14 Thread Baruch Siach
Hi Stefano, On Thu, Jul 09, 2015 at 06:04:17PM +0200, Stefano Babic wrote: On 09/07/2015 17:19, Baruch Siach wrote: When dcd_len is 0 the Write Data command that the set_dcd_rst_v2() routine generates is empty. This causes HAB to complain that the command is invalid. - HAB Event

[U-Boot] [PATCH RESEND] tools/imximage: set DCD pointer to NULL when its length is 0

2015-07-09 Thread Baruch Siach
When dcd_len is 0 the Write Data command that the set_dcd_rst_v2() routine generates is empty. This causes HAB to complain that the command is invalid. - HAB Event 1 - event data: 0xdb 0x00 0x0c 0x41 0x33 0x06 0xc0 0x00 0xcc 0x00 0x04 0x04 To fix this set

Re: [U-Boot] [PATCH RESEND] tools/imximage: set DCD pointer to NULL when its length is 0

2015-07-09 Thread Stefano Babic
Hi Baruch, On 09/07/2015 17:19, Baruch Siach wrote: When dcd_len is 0 the Write Data command that the set_dcd_rst_v2() routine generates is empty. This causes HAB to complain that the command is invalid. - HAB Event 1 - event data: 0xdb 0x00 0x0c 0x41 0x33