From: Max Krummenacher <max.oss.09@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] mx6: synchronize SPL to u-boot offset
Date: Sat, 15 Oct 2016 21:17:12 +0200 [thread overview]
Message-ID: <1476559032.2434.16.camel@gmail.com> (raw)
In-Reply-To: <68cb91d2-ef94-a3da-18d2-eda977bc617a@denx.de>
Hi Marak
> > --- a/include/configs/imx6_spl.h
> > +++ b/include/configs/imx6_spl.h
> > @@ -23,6 +23,8 @@
> > * which consists of a 4K header in front of us that contains
> > the IVT, DCD
> > * and some padding thus 'our' max size is really 0x00908000 -
> > 0x00918000
> > * or 64KB
> > + * - Padding between start of SPL(with IVT...) and U-Boot is
> > 68KB, SPL starts
> > + * at 1KB, U-Boot at 69kB into the storage media.
> > */
> > #define CONFIG_SYS_THUMB_BUILD
> > #define CONFIG_SPL_LDSCRIPT "arch/arm/cpu/armv7/omap
> > -common/u-boot-spl.lds"
> > @@ -38,6 +40,7 @@
> > /* MMC support */
> > #if defined(CONFIG_SPL_MMC_SUPPORT)
> > #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 138 /*
> > offset 69KB */
> > +#define CONFIG_SPL_PAD_TO 0x11000 /* offset
> > 68KB */
>
> Does this mess up boards which can boot from both SD and other boot
> media (NAND, SPI NOR, PNOR...) ?
Good point.
CONFIG_SPL_PAD_TO is used to create the combined SPL/U-Boot binary.
While I have not found any use of this by any config which includes
imx6_spl.h it might hinder future boards.
So it's probably best to define CONFIG_SPL_PAD_TO in the individual
board configs and skip this patch.
Max
next prev parent reply other threads:[~2016-10-15 19:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-15 17:10 [U-Boot] [PATCH 1/3] spl: mmc: fix switch statement Max Krummenacher
2016-10-15 17:10 ` [U-Boot] [PATCH 2/3] imx: make ipu's di configurable Max Krummenacher
2016-10-15 17:10 ` [U-Boot] [PATCH 3/3] mx6: synchronize SPL to u-boot offset Max Krummenacher
2016-10-15 17:30 ` Marek Vasut
2016-10-15 19:17 ` Max Krummenacher [this message]
2016-10-15 19:27 ` Marek Vasut
2016-10-17 12:28 ` Max Krummenacher
2016-10-17 12:45 ` Marek Vasut
2016-10-17 15:24 ` Max Krummenacher
2016-10-15 17:29 ` [U-Boot] [PATCH 1/3] spl: mmc: fix switch statement Marek Vasut
2016-10-15 19:18 ` Max Krummenacher
2016-10-15 19:31 ` Marek Vasut
2016-10-16 11:49 ` 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=1476559032.2434.16.camel@gmail.com \
--to=max.oss.09@gmail.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.