From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sughosh Ganu Date: Fri, 27 Jul 2012 12:48:07 +0530 Subject: [U-Boot] Issue with running commands In-Reply-To: References: Message-ID: <20120727071807.GC2227@Hardy> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue Jul 03, 2012 at 12:54:04AM +0530, Sughosh Ganu wrote: > hi, > While testing on hawkboard with the latest commit, i hit an issue of > commands not being accepted. > > hawkboard > reset > Unknown command '?????' - try 'help' > hawkboard > > > Running git bisect showed that this is caused due to commit 054ea170f271: > cmd_mem: cmp: unify size code paths. Has anyone seen this issue -- i don't > think this is board/arch specific. Worked with my friend during the last week to figure out the issue. That he had a jtag debugger with him actually helped us track down the issue. The issue was that the board was using the wrong version of the nand_read_page function in spl -- we are supposed to use the page read version with oob read first, while the other version was being used. This resulted in corruptions being introduced in the u-boot image that was being copied from the nand. -sughosh