public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V2 6/6] arm: mx5: Add support for DENX M53EVK
Date: Thu, 25 Apr 2013 15:36:25 +0200	[thread overview]
Message-ID: <201304251536.25699.marex@denx.de> (raw)
In-Reply-To: <5178D93B.9040104@denx.de>

Dear Stefano Babic,

> On 24/04/2013 20:52, Marek Vasut wrote:
> >> But you forget that a single image can be saved on multiple storage:
> >> u-boot.imx can be stored on SD or NOR or SPI-NOR, and that is the reason
> >> for having SOC-specific extension.
> >> 
> >> I agree with Benoit: at the moment, only people working with i.MX know
> >> that u-boot.im runs on SD. The third solution proposed by Benoit has the
> >> drawback that probably not all boards need u-boot.imx (a board without
> >> SD for example). At least we need an update of the README, but I think
> >> it is not bad to have a new entry in boards.cfg.
> >> 
> >> Apart of that and not related to this patch, if we in future use SPL
> >> also for booting from SD, we can get a single way to boot from different
> >> storage. TI based SOCs already do this: same SPL, it checks from SD and
> >> NAND.
> > 
> > Ok, I fail to grasp what is wanted from me. Shall I rework the patch
> > somehow? How? Do we want m53evk_sd and m53evk_nand targets ?
> 
> At least add documentation in the README. It is only your choice if you
> will add two different targets to boards.cfg

I'd prefer not to do that. We're currently booting from NAND and SD, so we use 
u-boot.imx resp. u-boot-with-nand-spl.imx there. But using the BOOT_FROM "nand" 
in the imximage.cfg is indeed wrong. We should focus on fixing that.

We can now pre-process the imximage.cfg with CPP, so why don't we just replace 
BOOT_FROM "foobar" with BOOT_OFFSET CONFIG_IMX_BOOT_OFFSET as mentioned by 
someone in the thread already and setup the offset either in board config file 
or boards.cfg and even have some default value?

Best regards,
Marek Vasut

  reply	other threads:[~2013-04-25 13:36 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-21 15:52 [U-Boot] [PATCH V2 1/6] imx: Align the imximage header and payload to multiples of 4k Marek Vasut
2013-04-21 15:52 ` [U-Boot] [PATCH V2 2/6] nand: Add SPL_NAND support to mxc_nand_spl Marek Vasut
2013-04-22 22:57   ` Scott Wood
2013-04-21 15:52 ` [U-Boot] [PATCH V2 3/6] arm: imx: Pack u-boot.bin into uImage for SPL Marek Vasut
2013-04-21 15:52 ` [U-Boot] [PATCH 4/6] arm: mx5: Add SPL support code to MX5 Marek Vasut
2013-04-21 15:52 ` [U-Boot] [PATCH 5/6] arm: mx5: Add NAND clock handling Marek Vasut
2013-04-21 15:52 ` [U-Boot] [PATCH V2 6/6] arm: mx5: Add support for DENX M53EVK Marek Vasut
2013-04-21 17:16   ` Benoît Thébaudeau
2013-04-21 19:12     ` Marek Vasut
2013-04-21 19:46       ` Benoît Thébaudeau
2013-04-21 20:29         ` Marek Vasut
2013-04-24  7:39           ` Stefano Babic
2013-04-24 10:59             ` Benoît Thébaudeau
2013-04-25  7:31               ` Stefano Babic
2013-04-25  8:38                 ` Stefan Roese
2013-04-25 12:31                   ` Stefano Babic
2013-04-25 12:38                   ` Marek Vasut
2013-04-25 12:48                     ` Stefan Roese
2013-04-25 12:49                       ` Benoît Thébaudeau
2013-04-25 13:02                         ` Stefano Babic
2013-04-25 13:16                           ` Benoît Thébaudeau
2013-04-25 13:31                             ` Stefano Babic
2013-04-25 13:46                         ` Stefan Roese
2013-04-25 14:12                           ` Marek Vasut
2013-04-25 13:00                       ` Stefano Babic
2013-04-24 18:52             ` Marek Vasut
2013-04-25  7:20               ` Stefano Babic
2013-04-25 13:36                 ` Marek Vasut [this message]
2013-04-25 14:45                   ` Stefano Babic
2013-04-25 14:54                     ` Marek Vasut
2013-04-24 19:04   ` Fabio Estevam
2013-04-24 21:32     ` Marek Vasut
2013-04-24 21:44       ` Otavio Salvador
2013-04-25  0:55       ` Fabio Estevam
2013-04-25 20:12         ` Marek Vasut
2013-05-05 15:59 ` [U-Boot] [PATCH V2 1/6] imx: Align the imximage header and payload to multiples of 4k Stefano Babic

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=201304251536.25699.marex@denx.de \
    --to=marex@denx.de \
    --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