From: Dalon Westergreen <dwesterg@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v6 1/3] SPL: add support to boot from a partition type
Date: Fri, 10 Feb 2017 13:53:52 -0800 [thread overview]
Message-ID: <1486763632.6338.132.camel@gmail.com> (raw)
In-Reply-To: <20170210214338.GC26129@bill-the-cat>
On Fri, 2017-02-10 at 16:43 -0500, Tom Rini wrote:
> On Thu, Feb 09, 2017 at 12:20:02PM -0800, Dalon Westergreen wrote:
>
> >
> > the socfpga bootrom supports mmc booting from either a raw image
> > starting at 0x0, or from a partition of type 0xa2.??This patch
> > adds support for locating the boot image in the first type 0xa2
> > partition found.
> >
> > Assigned a partition number of -1 will cause a search for a
> > partition of type CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_TYPE
> > and use it to find the u-boot image
> >
> > Signed-off-by: Dalon Westergreen <dwesterg@gmail.com>
> [snip]
> >
> > +config SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION_TYPE
> > + hex "Partition Type on the MMC to load U-Boot from"
> > + depends on SPL && SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
> > + default 0xa2
Works for me, only reason i did this was so that it didnt default to
0x0 for other devices.
>
> This default should depend on ARCH_SOCFPGA as well.
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
next prev parent reply other threads:[~2017-02-10 21:53 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-09 20:20 [U-Boot] [PATCH v6 0/3] SPL: Add support to boot a partition type Dalon Westergreen
2017-02-09 20:20 ` [U-Boot] [PATCH v6 1/3] SPL: add support to boot from " Dalon Westergreen
2017-02-10 21:43 ` Tom Rini
2017-02-10 21:53 ` Dalon Westergreen [this message]
2017-02-10 21:59 ` Alexander Graf
2017-02-10 23:38 ` Dalon Westergreen
2017-02-10 22:08 ` Marek Vasut
2017-02-10 22:43 ` Dalon Westergreen
2017-02-09 20:20 ` [U-Boot] [PATCH v6 2/3] SPL: Move SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION to Kconfig Dalon Westergreen
2017-02-10 21:43 ` Tom Rini
2017-02-10 21:51 ` Dalon Westergreen
2017-02-10 21:52 ` Tom Rini
2017-02-09 20:20 ` [U-Boot] [PATCH v6 3/3] SPL: Add board appropriate config for SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION Dalon Westergreen
2017-02-09 20:35 ` [U-Boot] [PATCH v6 0/3] SPL: Add support to boot a partition type 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=1486763632.6338.132.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox