From: Dalon Westergreen <dwesterg@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] arm: socfpga: Enable abort for DE-nano-SoC SPL uboot load from MMC
Date: Sun, 05 Mar 2017 09:36:05 -0800 [thread overview]
Message-ID: <1488735365.16517.90.camel@gmail.com> (raw)
In-Reply-To: <dc23e135-dafe-7310-9a1d-0900a160f174@denx.de>
On Sun, 2017-03-05 at 18:16 +0100, Marek Vasut wrote:
> On 03/05/2017 01:54 PM, Frank Kunz wrote:
> >
> > This allows the SPL to scan the MMC for a valid uboot image on a second
> > sector location defined by CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR when
> > the default location "CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR + first
> > partition offset" does not contain a valid uboot image.
> >
> > Signed-off-by: Frank Kunz <mailinglists@kunz-im-inter.net>
> > ---
> > :100644 100644 dd5933d43c... bd3e83ddea... M include/configs/socfpga_
> > de0_nano_soc.h
> > include/configs/socfpga_de0_nano_soc.h | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/include/configs/socfpga_de0_nano_soc.h
> > b/include/configs/socfpga_de0_nano_soc.h
> > index dd5933d43c..bd3e83ddea 100644
> > --- a/include/configs/socfpga_de0_nano_soc.h
> > +++ b/include/configs/socfpga_de0_nano_soc.h
> > @@ -12,6 +12,8 @@
> > #define CONFIG_FAT_WRITE
> > #define CONFIG_HW_WATCHDOG
> >
> > +#define CONFIG_SPL_ABORT_ON_RAW_IMAGE
> > +
> > /* Memory configurations */
> > #define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB */
> >
> >
> This looks like a horrid hack , didn't Dalon add support into U-Boot SPL
> to scan all partitions for the final u-boot image ?
I did. The 0xA2 partition can be located on any partition number now. I
believe Frank places the SPL image at a 64KB offset from the start of the
sdcard to skip the MBR/GPT. But per our previous debate, it is not my
favored implementation as it relies on the bootrom to load the SPL once.
Also, i mentioned before that i would like to hold off on this patch set and
let Ley Foon et al finish the A10 stuff.
--dalon
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/listinfo/u-boot
next prev parent reply other threads:[~2017-03-05 17:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-05 12:54 [U-Boot] [PATCH 0/2] arm: socfpga: Enable EFI support for DE0-nano-SoC disto boot Frank Kunz
2017-03-05 12:54 ` [U-Boot] [PATCH 1/2] arm: socfpga: Enable abort for DE-nano-SoC SPL uboot load from MMC Frank Kunz
2017-03-05 17:16 ` Marek Vasut
2017-03-05 17:36 ` Dalon Westergreen [this message]
2017-03-05 17:46 ` Marek Vasut
2017-03-05 18:45 ` Frank Kunz
2017-03-05 12:54 ` [U-Boot] [PATCH 2/2] arm: socfpga: Enable part command and EFI partition support for DE0-nano-SoC Frank Kunz
2017-03-05 17:17 ` Marek Vasut
2017-03-05 18:37 ` Frank Kunz
2017-03-07 2:38 ` Marek Vasut
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=1488735365.16517.90.camel@gmail.com \
--to=dwesterg@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.