From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 4 Dec 2013 06:57:08 -0500 Subject: [U-Boot] Fwd: [PATCH v4] arm: omap3: Add SPL support to cm_t35 In-Reply-To: <529F1428.7050804@denx.de> References: <1384501860-16881-1-git-send-email-sr@denx.de> <5288BBAC.2020307@compulab.co.il> <5295BF6C.20902@compulab.co.il> <5295C3F8.50101@denx.de> <529E01B7.4070402@compulab.co.il> <529F1428.7050804@denx.de> Message-ID: <20131204115708.GM420@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Dec 04, 2013 at 12:38:16PM +0100, Stefan Roese wrote: > Hi Nikita! > > (Added Pekon to Cc) > > On 03.12.2013 17:07, Nikita Kiryanov wrote: > > Hi Stefan, > > > > On 11/27/2013 12:05 PM, Stefan Roese wrote: > >> Hi Nikita! > >> > >> On 27.11.2013 10:46, Nikita Kiryanov wrote: > >>> I compiled SPL with your patch and it does boot U-Boot from an SD card. > >>> U-Boot functionality seems to be intact too. > >>> However, I was unable to install it on the NAND flash. When booting > >>> from NAND, SPL does start (the SPL header is displayed), but it fails to > >>> load U-Boot with the following errors: > >>> > >>> Error: Bad compare! failed > >>> > >>> I used similar commands as the ones I use to install X-Loader: > >>> CM-T3x # mmc rescan && fatload mmc 0 80a00000 mlo && nandecc hw && nand > >>> erase.chip && nand scrub.chip -y && nand write 80a00000 0 30000 > >>> CM-T3x # fatload mmc 0 80a00000 u-boot.img && nandecc sw && nand erase > >>> 80000 60000 && nand write 80a00000 80000 60000 OK, but why the nandecc switching around? On omap3_beagle _now_ (and for a year or two, but a change from long ago) we do nandecc hw for MLO and U-Boot and get the same 1bit ECC scheme the kernel uses too. I bet the problem is that SPL is loading and expecting the HW scheme, but you wrote in the SW scheme... -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: