From mboxrd@z Thu Jan 1 00:00:00 1970 From: Troy Kisky Date: Mon, 21 Sep 2015 14:01:09 -0700 Subject: [U-Boot] [PATCH] imximage: fix commands other than write_data In-Reply-To: <55FE757E.5030304@denx.de> References: <1442279191-6615-1-git-send-email-troy.kisky@boundarydevices.com> <55FE757E.5030304@denx.de> Message-ID: <56007015.9040304@boundarydevices.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 9/20/2015 1:59 AM, Stefano Babic wrote: > Hi Troy, > > On 15/09/2015 03:06, Troy Kisky wrote: >> When CHECK_BITS_SET was added, they forgot to add >> a new command table, and instead overwrote the >> previous table. >> >> Signed-off-by: Troy Kisky >> >> --- >> > > This patch breaks building boards with SPL: > arm: + mx6sabresd_spl > +Error: Image corrupt DCD size 536870911 exceed maximum 220 > +make[2]: *** [SPL] Error 1 > +make[1]: *** [SPL] Error 2 > +make: *** [sub-make] Error 2 Looks like the error check is wrong. So previously, it was probably writing 0 to address 0. I'll send a patch. Troy