From: Siew Chin Lim <elly.siew.chin.lim@intel.com>
To: u-boot@lists.denx.de
Subject: [v3 00/16] Enable ARM Trusted Firmware for U-Boot
Date: Thu, 15 Oct 2020 05:29:39 -0700 [thread overview]
Message-ID: <20201015122955.10259-1-elly.siew.chin.lim@intel.com> (raw)
This is the 3rd version of patchset to enable ARM Trusted Firmware
for U-Boot for Intel Stratix10 and Agilex platform.
New U-boot flow with ARM Trusted Firmware (ATF) support:
SPL (EL3) -> ATF-BL31 (EL3) -> U-Boot Proper (EL2) -> Linux (EL1)
SPL loads the u-boot.itb which consist of:
1) u-boot-nodtb.bin (U-Boot Proper image)
2) u-boot.dtb (U-Boot Proper DTB)
3) bl31.bin (ATF-BL31 image)
Patch status:
Have changes: Patch 2, 6, 7, 8, 9, 14, 15, 16
Other patches unchanged.
Detail changelog can find in commit message.
v2->v3:
--------
Patch 2:
- Update u-boot to loads FIT images (kernel.itb) which
includes Linux Image and Linux's DTB.
Patch 6:
- Updated comments
Patch 7:
- Code clean up without functionality change
Patch 8:
- Code clean up without functionality change
Patch 9:
- Print error message and return instead of hang in socfpga_bridges_reset()
when SMC call is failing.
Patch 14:
- This is new patch to switch to use binman to generate FIT.
This patch adds binman node of FIT images (u-boot.itb and
kernel.itb) to u-boot device tree.
Patch 15:
- This is new patch to switch to use binman to generate FIT.
This patch enable FIT image generation using binman.
Patch 16:
- Add CONFIG_SPL_LOAD_FIT_ADDRESS=0x02000000
- Remove board/altera/soc64/fit_spl_atf.sh. Switch to use binman
to generate FIT image.
History:
--------
[v1]: https://patchwork.ozlabs.org/project/uboot/cover/20200817043431.28718-1-chee.hong.ang at intel.com/
[v2]: https://patchwork.ozlabs.org/project/uboot/cover/20201001091614.184612-1-elly.siew.chin.lim at intel.com/
These patchsets have dependency on:
arm: socfpga: soc64: Add timeout waiting for NOC idle ACK
https://lists.denx.de/pipermail/u-boot/2020-August/423029.html
Rename Stratix10 FPGA driver and support Agilex
https://lists.denx.de/pipermail/u-boot/2020-August/422798.html
SoCFPGA mailbox driver fixes and enhancements
https://lists.denx.de/pipermail/u-boot/2020-August/423140.html
arm: socfpga: soc64: Initialize timer in SPL only
https://lists.denx.de/pipermail/u-boot/2020-July/419692.html
arm: socfpga: soc64: Remove PHY interface setup from misc arch init
https://lists.denx.de/pipermail/u-boot/2020-July/419690.html
Enable sysreset support for SoCFPGA SoC64 platforms
https://lists.denx.de/pipermail/u-boot/2020-August/422509.html
arm: socfpga: soc64: Disable CONFIG_PSCI_RESET
https://lists.denx.de/pipermail/u-boot/2020-August/423373.html
Chee Hong Ang (14):
arm: socfpga: Add function for checking description from FIT image
arm: socfpga: soc64: Load FIT image with ATF support
arm: socfpga: soc64: Override 'lowlevel_init' to support ATF
arm: socfpga: Disable "spin-table" method for booting Linux
arm: socfpga: soc64: Add SMC helper function for Intel SOCFPGA
(64bits)
arm: socfpga: soc64: Define SMC function identifiers for PSCI SiP
services
mmc: dwmmc: socfpga: Add ATF support for MMC driver
net: designware: socfpga: Add ATF support for MAC driver
arm: socfpga: soc64: Add ATF support for Reset Manager driver
arm: socfpga: soc64: Add ATF support for FPGA reconfig driver
arm: socfpga: mailbox: Add 'SYSTEM_RESET' PSCI support to
mbox_reset_cold()
arm: socfpga: soc64: SSBL shall not setup stack on OCRAM
arm: socfpga: soc64: Skip handoff data access in SSBL
configs: socfpga: Add defconfig for Agilex and Stratix 10 with ATF
support
Siew Chin Lim (2):
arm: socfpga: dts: soc64: Add binman node of FIT image with ATF
support
arm: socfpga: soc64: Enable FIT image generation using binman
Makefile | 7 +
arch/arm/dts/socfpga_agilex-u-boot.dtsi | 4 +-
arch/arm/dts/socfpga_soc64_fit-u-boot.dtsi | 120 +++++
arch/arm/dts/socfpga_stratix10-u-boot.dtsi | 8 +
arch/arm/dts/socfpga_stratix10_socdk-u-boot.dtsi | 4 +-
arch/arm/mach-socfpga/Kconfig | 4 +-
arch/arm/mach-socfpga/Makefile | 4 +
arch/arm/mach-socfpga/board.c | 12 +-
arch/arm/mach-socfpga/include/mach/smc_api.h | 13 +
arch/arm/mach-socfpga/lowlevel_init_soc64.S | 76 +++
arch/arm/mach-socfpga/mailbox_s10.c | 5 +
arch/arm/mach-socfpga/reset_manager_s10.c | 13 +
arch/arm/mach-socfpga/smc_api.c | 56 +++
arch/arm/mach-socfpga/wrap_pll_config_s10.c | 3 +-
configs/socfpga_agilex_atf_defconfig | 72 +++
configs/socfpga_stratix10_atf_defconfig | 74 +++
drivers/fpga/intel_sdm_mb.c | 139 ++++++
drivers/mmc/socfpga_dw_mmc.c | 17 +
drivers/net/dwmac_socfpga.c | 30 +-
include/configs/socfpga_soc64_common.h | 24 +-
include/linux/intel-smc.h | 573 +++++++++++++++++++++++
21 files changed, 1247 insertions(+), 11 deletions(-)
create mode 100644 arch/arm/dts/socfpga_soc64_fit-u-boot.dtsi
create mode 100644 arch/arm/dts/socfpga_stratix10-u-boot.dtsi
create mode 100644 arch/arm/mach-socfpga/include/mach/smc_api.h
create mode 100644 arch/arm/mach-socfpga/lowlevel_init_soc64.S
create mode 100644 arch/arm/mach-socfpga/smc_api.c
create mode 100644 configs/socfpga_agilex_atf_defconfig
create mode 100644 configs/socfpga_stratix10_atf_defconfig
create mode 100644 include/linux/intel-smc.h
--
2.13.0
next reply other threads:[~2020-10-15 12:29 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-15 12:29 Siew Chin Lim [this message]
2020-10-15 12:29 ` [v3 01/16] arm: socfpga: Add function for checking description from FIT image Siew Chin Lim
2020-10-15 12:29 ` [v3 02/16] arm: socfpga: soc64: Load FIT image with ATF support Siew Chin Lim
2020-11-12 10:20 ` Tan, Ley Foon
2020-10-15 12:29 ` [v3 03/16] arm: socfpga: soc64: Override 'lowlevel_init' to support ATF Siew Chin Lim
2020-10-15 12:29 ` [v3 04/16] arm: socfpga: Disable "spin-table" method for booting Linux Siew Chin Lim
2020-10-15 12:29 ` [v3 05/16] arm: socfpga: soc64: Add SMC helper function for Intel SOCFPGA (64bits) Siew Chin Lim
2020-10-15 12:29 ` [v3 06/16] arm: socfpga: soc64: Define SMC function identifiers for PSCI SiP services Siew Chin Lim
2020-10-15 12:29 ` [v3 07/16] mmc: dwmmc: socfpga: Add ATF support for MMC driver Siew Chin Lim
2020-11-12 10:27 ` Tan, Ley Foon
2020-10-15 12:29 ` [v3 08/16] net: designware: socfpga: Add ATF support for MAC driver Siew Chin Lim
2020-11-12 10:51 ` Tan, Ley Foon
2020-10-15 12:29 ` [v3 09/16] arm: socfpga: soc64: Add ATF support for Reset Manager driver Siew Chin Lim
2020-11-12 11:03 ` Tan, Ley Foon
2020-10-15 12:29 ` [v3 10/16] arm: socfpga: soc64: Add ATF support for FPGA reconfig driver Siew Chin Lim
2020-10-15 12:29 ` [v3 11/16] arm: socfpga: mailbox: Add 'SYSTEM_RESET' PSCI support to mbox_reset_cold() Siew Chin Lim
2020-10-15 12:29 ` [v3 12/16] arm: socfpga: soc64: SSBL shall not setup stack on OCRAM Siew Chin Lim
2020-10-15 12:29 ` [v3 13/16] arm: socfpga: soc64: Skip handoff data access in SSBL Siew Chin Lim
2020-10-15 12:29 ` [v3 14/16] arm: socfpga: dts: soc64: Add binman node of FIT image with ATF support Siew Chin Lim
2020-10-15 15:05 ` Simon Glass
2020-11-13 1:18 ` Tan, Ley Foon
2020-10-15 12:29 ` [v3 15/16] arm: socfpga: soc64: Enable FIT image generation using binman Siew Chin Lim
2020-11-13 3:10 ` Tan, Ley Foon
2020-10-15 12:29 ` [v3 16/16] configs: socfpga: Add defconfig for Agilex and Stratix 10 with ATF support Siew Chin Lim
2020-11-13 3:25 ` Tan, Ley Foon
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=20201015122955.10259-1-elly.siew.chin.lim@intel.com \
--to=elly.siew.chin.lim@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 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.