From: Dalon L Westergreen <dalon.westergreen@linux.intel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/3] add optional hex output of u-boot-spl
Date: Mon, 10 Sep 2018 11:18:50 -0700 [thread overview]
Message-ID: <79e0fdbe5ff58d404b0780ba2ea31e0975a28738.camel@linux.intel.com> (raw)
In-Reply-To: <8a6239fb-1f8f-5980-2499-9e32e5c37776@gmail.com>
On Mon, 2018-09-10 at 20:06 +0200, Simon Goldschmidt wrote:
> On 10.09.2018 19:28, Dalon Westergreen wrote:
> This patch set adds a possible hex output of the
> u-boot-spl elf and enables said output for the
> Intel Stratix10 device. Stratix10 requires a hex
> output of the elf for creating the secure device manager
> configuration bitstream.
>
> I don't use Stratix10 but Cyclone5, but as I need a .hex to boot from
> FPGA, I want to know how to solve this best.
>
> So to understand this, again a question: is this the only way to boot
> Stratix10? Or one of the possible boot methods?
> Because reading "Intel® Stratix® 10 SoC FPGA Boot User Guide", it seems
> like you would need the hex for "FPGA Configuration First Mode", but not
> for "HPS Boot First Mode"?
Stratix 10 always requires this for boot. The configuration method in s10 is
very different. The
SDM, which is a security processor, copies the u-boot-spl data to the S10 HPS
onchip memory.
After this is done, the SDM releases the hps from reset. This is regardless of
the HPS boot media,
which could be SDMMC, etc, etc.
>
> If so, it would make Stratix10 and Cyclone5 more alike and a
> configuration option (like "Boot from FPGA") could be used to control
> CONFIG_OF_EMBED and enable creating the hex file for SPL.
I looked into how i could enable CONFIG_OF_EMBED only for the SPL
build and found no easy way. It was suggested to add something
like CONFIG_SPL_OF_EMBED but it still seemed this would require
touching a bunch of code. In the end, i really see no reason
in socfpga to have the devicetree separated from u-boot / spl.
>
> I *am* working on fixing the "boot from FPGA" case for Cyclone5, so I'd
> appreaciate it if we could share as much as possible between those
> sub-architectures.
>
What difficulties are you having?
>
> Simon
>
>
> Dalon Westergreen (3):
> common: add spl/u-boot-spl.hex target
> arm: socfpga: stratix10: add CONFIG_SPL_TARGET
> arm; socfpga: stratix10: Add CONFIG_OF_EMBED
>
> Makefile | 5 +++++
> configs/socfpga_stratix10_defconfig | 1 +
> include/configs/socfpga_stratix10_socdk.h | 3 ++-
> 3 files changed, 8 insertions(+), 1 deletion(-)
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
>
next prev parent reply other threads:[~2018-09-10 18:18 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-10 17:28 [U-Boot] [PATCH 0/3] add optional hex output of u-boot-spl Dalon Westergreen
2018-09-10 17:28 ` [U-Boot] [PATCH 1/3] common: add spl/u-boot-spl.hex target Dalon Westergreen
2018-09-11 9:37 ` Marek Vasut
2018-09-10 17:28 ` [U-Boot] [PATCH 2/3] arm: socfpga: stratix10: add CONFIG_SPL_TARGET Dalon Westergreen
2018-09-11 9:37 ` Marek Vasut
2018-09-10 17:28 ` [U-Boot] [PATCH 3/3] arm; socfpga: stratix10: Add CONFIG_OF_EMBED Dalon Westergreen
2018-09-10 18:14 ` Simon Goldschmidt
2018-09-10 18:21 ` Dalon L Westergreen
2018-09-10 19:05 ` Simon Goldschmidt
2018-09-11 21:55 ` Marek Vasut
2018-09-11 23:55 ` Dalon L Westergreen
2018-09-12 0:03 ` Marek Vasut
2018-09-12 0:05 ` Dalon L Westergreen
2018-09-12 0:07 ` Marek Vasut
2018-09-12 4:36 ` Simon Goldschmidt
2018-09-12 8:41 ` Marek Vasut
2018-09-12 8:49 ` Simon Goldschmidt
2018-09-10 18:06 ` [U-Boot] [PATCH 0/3] add optional hex output of u-boot-spl Simon Goldschmidt
2018-09-10 18:18 ` Dalon L Westergreen [this message]
2018-09-10 18:26 ` Simon Goldschmidt
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=79e0fdbe5ff58d404b0780ba2ea31e0975a28738.camel@linux.intel.com \
--to=dalon.westergreen@linux.intel.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