public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Fwd: [PATCH v4] arm: omap3: Add SPL support to cm_t35
Date: Wed, 4 Dec 2013 06:57:08 -0500	[thread overview]
Message-ID: <20131204115708.GM420@bill-the-cat> (raw)
In-Reply-To: <529F1428.7050804@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: <http://lists.denx.de/pipermail/u-boot/attachments/20131204/fb205ebf/attachment.pgp>

  reply	other threads:[~2013-12-04 11:57 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-14  8:54 [U-Boot] [PATCH 1/3] arm: spl: Fix SPL booting for OMAP3 Stefan Roese
2013-06-14  8:55 ` [U-Boot] [PATCH 2/3] arm: omap3: spl: Fix problem with 8bit NAND devices Stefan Roese
2013-07-30 13:25   ` [U-Boot] [U-Boot, " Tom Rini
2013-06-14  8:55 ` [U-Boot] [PATCH 3/3] arm: omap3: Add SPL support to cm_t35 Stefan Roese
2013-06-17 11:53   ` Igor Grinberg
2013-06-17 12:38     ` Tom Rini
2013-06-17 13:38       ` Igor Grinberg
2013-06-17 13:52         ` Stefan Roese
2013-06-17 14:03   ` [U-Boot] [PATCH v2 " Stefan Roese
2013-06-18  6:14     ` Nikita Kiryanov
2013-07-30 10:52   ` [U-Boot] [PATCH v3 " Stefan Roese
2013-07-30 12:10     ` Albert ARIBAUD
2013-07-30 12:14       ` Stefan Roese
2013-11-15  7:51   ` [U-Boot] [PATCH v4] " Stefan Roese
     [not found]     ` <5288BBAC.2020307@compulab.co.il>
     [not found]       ` <5295BF6C.20902@compulab.co.il>
     [not found]         ` <5295C3F8.50101@denx.de>
     [not found]           ` <529E01B7.4070402@compulab.co.il>
2013-12-04 11:38             ` [U-Boot] Fwd: " Stefan Roese
2013-12-04 11:57               ` Tom Rini [this message]
2013-12-04 12:02                 ` Stefan Roese
2013-12-04 12:15               ` Gupta, Pekon
2013-12-04 12:38                 ` Stefan Roese
2013-06-20 16:42 ` [U-Boot] [PATCH 1/3] arm: spl: Fix SPL booting for OMAP3 Albert ARIBAUD
2013-06-20 17:01   ` Stefan Roese
2013-06-20 17:51     ` Albert ARIBAUD
2013-06-20 18:28       ` Stefan Roese
2013-06-20 19:18         ` Albert ARIBAUD
2013-06-21  2:13 ` [U-Boot] [PATCH v2 " Stefan Roese
2013-06-21  8:57   ` Albert ARIBAUD
2013-06-21  9:10 ` [U-Boot] [PATCH v3 " Stefan Roese
2013-06-21 10:30   ` Albert ARIBAUD
2013-06-21 10:39     ` Stefan Roese
2013-06-21 10:42 ` [U-Boot] [PATCH v4 " Stefan Roese
2013-06-21 11:02   ` Albert ARIBAUD
2013-06-25  7:14 ` [U-Boot] [PATCH v5 " Stefan Roese
2013-06-27  8:27   ` Albert ARIBAUD
2013-07-03 19:47     ` Tom Rini
2013-07-04 11:58       ` Albert ARIBAUD
2013-07-15 14:33 ` [U-Boot] [PATCH " Tom Rini
2013-07-16  6:24   ` Stefan Roese
2013-07-16 14:36     ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131204115708.GM420@bill-the-cat \
    --to=trini@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox