All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v7 15/19] nand: mxc: Switch NAND SPL to generic SPL
Date: Fri, 22 Feb 2013 22:31:13 +0100 (CET)	[thread overview]
Message-ID: <1086912874.67899.1361568673387.JavaMail.root@advansee.com> (raw)
In-Reply-To: <581965450.67890.1361568477498.JavaMail.root@advansee.com>

On Friday, February 22, 2013 10:27:57 PM, Beno?t Th?baudeau wrote:
> Hi Troy,
> 
> On Friday, February 22, 2013 10:30:21 PM, Troy Kisky wrote:
> > On 2/22/2013 2:13 PM, Beno?t Th?baudeau wrote:
> > > Hi Fabio,
> > >
> > > On Friday, February 22, 2013 10:06:42 PM, Fabio Estevam wrote:
> > >> Hi Beno?t,
> > >>
> > >> On Fri, Feb 22, 2013 at 5:09 PM, Beno?t Th?baudeau
> > >> <benoit.thebaudeau@advansee.com> wrote:
> > >>
> > >>> It looks very much like the issue that Marek had on i.MX53 (which
> > >>> self-resolved
> > >>> for an unknown reason).
> > >>>
> > >>> Try to enable the debug trace to see if anything else is printed after
> > >>> display_dram_config(). I would especially be interested in:
> > >>>          debug("relocation Offset is: %08lx\n", gd->reloc_off);
> > >>>          debug("monitor flash len: %08lX\n", monitor_flash_len);
> > >> Here is the output:
> > >>
> > >> U-Boot 2013.01 (Feb 22 2013 - 18:00:50)
> > >>
> > >> U-Boot code: 87F00000 -> 87F2C184  BSS: -> 87F311B4
> > >> CPU:   Freescale i.MX31 rev 2.0 at 532 MHz.
> > >> Reset cause: POR
> > >> Board: MX31PDK
> > >> monitor len: 000311B4
> > >> ramsize: 08000000
> > >> TLB table from 87ff0000 to 87ff4000
> > >> Top of RAM usable for U-Boot at: 87ff0000
> > >> Reserving 196k for U-Boot at: 87fbe000
> > >> Reserving 640k for malloc() at: 87f1e000
> > >> Reserving 32 Bytes for Board Info at: 87f1dfe0
> > >> Reserving 128 Bytes for Global Data at: 87f1df60
> > >> New Stack Pointer is: 87f1df50
> > >> RAM Configuration:
> > >> Bank #0: 80000000 128 MiB
> > >> relocation Offset is: 000be000
> > > CONFIG_SYS_TEXT_BASE seems fine according to this trace. But anyway, can
> > > you
> > > test with this change in mx31pdk.h?
> > > #define CONFIG_SPL_TEXT_BASE	0x84000000
> > > #define CONFIG_SYS_TEXT_BASE	0x83000000
> > >
> > > Can you try to revert 10/19, only for arm1136/start.S (1 line to
> > > restore)?
> > > There
> > > is an issue in this patch that I have already fixed in my v8.
> > >
> > > Best regards,
> > > Beno?t
> > > _______________________________________________
> > >
> > How about changing
> > 
> > #define CONFIG_SYS_NAND_U_BOOT_SIZE   0x30000
> > #define CONFIG_SYS_NAND_U_BOOT_SIZE   0x32000
> > 
> > is see monitor len: 311B4 above is over 0x30000
> > 
> > 
> > Please excuse me if they are unrelated.
> 
> That could be it. Thanks! Fabio, please try.

But Fabio, how have you been able to program u-boot-with-spl.bin if it overlaps
the next MTD partition, unless you destroyed what follows or
CONFIG_SYS_NAND_U_BOOT_SIZE does not match your NAND images layout?

Best regards,
Beno?t

  reply	other threads:[~2013-02-22 21:31 UTC|newest]

Thread overview: 89+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-15 20:54 [U-Boot] [PATCH v7 01/19] nand: mxc: Prepare to add support for i.MX5 Benoît Thébaudeau
2013-02-15 20:54 ` [U-Boot] [PATCH v7 02/19] nand: mxc: Add " Benoît Thébaudeau
2013-02-26 15:33   ` Fabio Estevam
2013-02-26 16:08     ` Benoît Thébaudeau
2013-02-26 16:35       ` Fabio Estevam
2013-02-26 16:49         ` Benoît Thébaudeau
2013-02-26 17:03           ` Fabio Estevam
2013-02-26 17:08             ` Benoît Thébaudeau
2013-02-15 20:54 ` [U-Boot] [PATCH v7 03/19] imx: mx5: lowlevel_init: Simplify code Benoît Thébaudeau
2013-02-15 20:54 ` [U-Boot] [PATCH v7 04/19] imx: mx53ard: Add support for NAND Flash Benoît Thébaudeau
2013-02-26 13:22   ` Fabio Estevam
2013-02-26 13:35     ` Fabio Estevam
2013-02-26 14:21       ` Fabio Estevam
2013-02-26 16:53         ` Benoît Thébaudeau
2013-02-26 17:33           ` Fabio Estevam
2013-02-15 20:54 ` [U-Boot] [PATCH v7 05/19] nand: mxc: Fix debug trace in mxc_nand_read_oob_syndrome() Benoît Thébaudeau
2013-02-15 20:54 ` [U-Boot] [PATCH v7 06/19] nand: mxc: Use appropriate page number in syndrome functions Benoît Thébaudeau
2013-02-19  0:30   ` Scott Wood
2013-02-19 11:31     ` Benoît Thébaudeau
2013-02-15 20:54 ` [U-Boot] [PATCH v7 07/19] arm: start.S: Fix _TEXT_BASE for SPL Benoît Thébaudeau
2013-02-15 20:54 ` [U-Boot] [PATCH v7 08/19] arm: relocate_code() is no longer noreturn Benoît Thébaudeau
2013-02-15 20:54 ` [U-Boot] [PATCH v7 09/19] arm1136: Remove redundant relocate_code() return Benoît Thébaudeau
2013-02-15 20:54 ` [U-Boot] [PATCH v7 10/19] arm: relocate_code(): Remove useless relocation offset computation Benoît Thébaudeau
2013-02-15 20:54 ` [U-Boot] [PATCH v7 11/19] arm: relocate_code(): Use __image_copy_end for end of relocation Benoît Thébaudeau
2013-02-16 18:47   ` Albert ARIBAUD
2013-02-16 19:54     ` Benoît Thébaudeau
2013-02-17 14:30       ` Albert ARIBAUD
2013-02-15 20:54 ` [U-Boot] [PATCH v7 12/19] arm: crt0.S: Remove bogus .globl Benoît Thébaudeau
2013-02-15 20:54 ` [U-Boot] [PATCH v7 13/19] Makefile: u-boot-with-spl.bin: Fix SPL padding Benoît Thébaudeau
2013-02-17 16:16   ` Benoît Thébaudeau
2013-02-18 12:28     ` Benoît Thébaudeau
2013-02-18 17:58       ` Scott Wood
2013-02-18 16:50     ` Tom Rini
2013-02-18 17:26       ` Benoît Thébaudeau
2013-02-18 17:27         ` Tom Rini
2013-02-18 18:00           ` Benoît Thébaudeau
2013-02-18 18:02             ` Scott Wood
2013-02-18 18:22               ` Benoît Thébaudeau
2013-02-18 18:24                 ` Scott Wood
2013-02-18 18:52                   ` Benoît Thébaudeau
2013-02-18 19:11                     ` Scott Wood
2013-02-18 19:30                       ` Benoît Thébaudeau
2013-02-22 17:36                         ` Fabio Estevam
2013-02-22 18:05                           ` Benoît Thébaudeau
2013-02-18 19:37     ` Scott Wood
2013-02-18 19:52       ` Benoît Thébaudeau
2013-02-18 19:47         ` Scott Wood
2013-02-18 20:01           ` Benoît Thébaudeau
2013-02-18 20:06             ` Scott Wood
2013-02-18 20:16               ` Benoît Thébaudeau
2013-02-15 20:54 ` [U-Boot] [PATCH v7 14/19] imx: Fix automatic make targets for imx images Benoît Thébaudeau
2013-02-15 20:54 ` [U-Boot] [PATCH v7 15/19] nand: mxc: Switch NAND SPL to generic SPL Benoît Thébaudeau
2013-02-22 19:14   ` Fabio Estevam
2013-02-22 19:30     ` Fabio Estevam
2013-02-22 20:09       ` Benoît Thébaudeau
2013-02-22 20:55         ` Troy Kisky
2013-02-22 21:07           ` Fabio Estevam
2013-02-22 23:09           ` Marek Vasut
2013-02-22 21:06         ` Fabio Estevam
2013-02-22 21:13           ` Benoît Thébaudeau
2013-02-22 21:26             ` Fabio Estevam
2013-02-22 21:24               ` Benoît Thébaudeau
2013-02-22 21:30             ` Troy Kisky
2013-02-22 21:27               ` Benoît Thébaudeau
2013-02-22 21:31                 ` Benoît Thébaudeau [this message]
2013-02-22 21:40                   ` Benoît Thébaudeau
2013-02-22 21:53                   ` Fabio Estevam
2013-02-22 21:51               ` Fabio Estevam
2013-02-22 22:02                 ` Fabio Estevam
2013-02-22 22:03                   ` Fabio Estevam
2013-02-22 22:08                     ` Fabio Estevam
2013-02-22 22:42                       ` Benoît Thébaudeau
2013-02-22 22:56                         ` Fabio Estevam
2013-02-22 23:11                           ` Marek Vasut
2013-02-22 23:12                             ` Benoît Thébaudeau
2013-02-22 23:56                               ` Marek Vasut
2013-02-23  0:55                                 ` Benoît Thébaudeau
2013-02-15 20:54 ` [U-Boot] [PATCH v7 16/19] arm926ejs: Remove deprecated and now unused NAND SPL Benoît Thébaudeau
2013-02-17 15:51   ` Benoît Thébaudeau
2013-02-17 16:04     ` Albert ARIBAUD
2013-02-17 16:08       ` Albert ARIBAUD
2013-02-17 16:25         ` Benoît Thébaudeau
2013-02-18 12:24           ` Benoît Thébaudeau
2013-02-18 16:40     ` Tom Rini
2013-02-18 20:39       ` Benoît Thébaudeau
2013-02-18 20:56         ` Tom Rini
2013-02-15 20:54 ` [U-Boot] [PATCH v7 17/19] arm: Remove unused relocate_code() parameters Benoît Thébaudeau
2013-02-15 20:54 ` [U-Boot] [PATCH v7 18/19] imx: Add u-boot-with-spl.imx make target Benoît Thébaudeau
2013-02-15 20:54 ` [U-Boot] [PATCH v7 19/19] imx: Add u-boot-with-nand-spl.imx " Benoît Thébaudeau

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=1086912874.67899.1361568673387.JavaMail.root@advansee.com \
    --to=benoit.thebaudeau@advansee.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.