[U-Boot] Fwd: [PATCH v4] arm: omap3: Add SPL support to cm_t35

Tom Rini trini at ti.com
Wed Dec 4 12:57:08 CET 2013


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: <http://lists.denx.de/pipermail/u-boot/attachments/20131204/fb205ebf/attachment.pgp>


More information about the U-Boot mailing list