From: Michal Simek <michal.simek@xilinx.com>
To: andre.przywara@arm.com, u-boot@lists.denx.de, git@xilinx.com
Cc: "Ashok Reddy Soma" <ashok.reddy.soma@xilinx.com>,
"Bin Meng" <bmeng.cn@gmail.com>,
"Chee Hong Ang" <chee.hong.ang@intel.com>,
"Fabio Estevam" <festevam@denx.de>, "Heiko Schocher" <hs@denx.de>,
"Ibai Erkiaga" <ibai.erkiaga-elorza@xilinx.com>,
"Jagan Teki" <jagan@amarulasolutions.com>,
"Kever Yang" <kever.yang@rock-chips.com>,
"Konstantin Porotchkin" <kostap@marvell.com>,
"Lokesh Vutla" <lokeshvutla@ti.com>,
"Marek Behún" <marek.behun@nic.cz>,
"Michal Simek" <monstr@monstr.eu>, "Pali Rohár" <pali@kernel.org>,
"Peter Robinson" <pbrobinson@gmail.com>,
"Priyanka Jain" <priyanka.jain@nxp.com>,
"Simon Glass" <sjg@chromium.org>,
"T Karthik Reddy" <t.karthik.reddy@xilinx.com>,
"Tim Harvey" <tharvey@gateworks.com>
Subject: [PATCH 00/10] xilinx: Add support for DTB reselection
Date: Mon, 23 Aug 2021 09:37:47 +0200 [thread overview]
Message-ID: <cover.1629704273.git.michal.simek@xilinx.com> (raw)
Hi,
this series add support for board or board+cc runtime DT selection. EEPROM
memory is read and based on that decoded if this is legacy/fru based format
and proper DTB is used. There is a need to have all DTBs 64bit aligned. If
you don't have it you will end up in exception. But one patch in this
series is trying to detect it and panic before you reach it to let you know
what's wrong.
Enforcing mkimage/dtb alignment is done based on CONFIG_PHYS_64BIT and
affects all 64bit systems but it is also not wrong for them to be properly
aligned.
Thanks,
Michal
Changes in v2:
- Update subject and commit message
- Enable 64bit alignment for all - reported by Andre
- Update subject and commit message
- Enable it for all (not just 64bit systems)
- Update if condition for MULTI_DTB
- call fru_capture in non DEBUG mode
- Show detected name as standard message to see what has been chosen
Michal Simek (10):
xilinx: fru: Replace spaces with \0 in detected name
xilinx: Use variable for passing board_name
xilinx: common: Change board_info[] handling
xilinx: common: Free allocated structure
xilinx: Add support for generic board detection
xilinx: zynqmp: Check that DT is 64bit aligned
Makefile: Align fit-dtb.blob and u-boot.itb by 64bits
arm64: dts: Make sure that all DTBs are 64bit aligned
xilinx: zynqmp: Generate different u-boot.itb for MULTI_DTB_FIT
xilinx: common: Enabling generic function for DT reselection
Makefile | 3 +
arch/arm/dts/Makefile | 2 +-
arch/arm/dts/zynqmp-sm-k26-revA.dts | 3 +
arch/arm/mach-zynqmp/mkimage_fit_atf.sh | 47 +++++++
board/xilinx/common/board.c | 158 +++++++++++++++++++-----
board/xilinx/zynqmp/zynqmp.c | 3 +
6 files changed, 186 insertions(+), 30 deletions(-)
--
2.33.0
next reply other threads:[~2021-08-23 7:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-23 7:37 Michal Simek [this message]
2021-08-23 7:37 ` [PATCH 01/10] xilinx: fru: Replace spaces with \0 in detected name Michal Simek
2021-08-23 7:37 ` [PATCH 02/10] xilinx: Use variable for passing board_name Michal Simek
2021-08-23 7:37 ` [PATCH 03/10] xilinx: common: Change board_info[] handling Michal Simek
2021-08-23 7:37 ` [PATCH 04/10] xilinx: common: Free allocated structure Michal Simek
2021-08-23 7:37 ` [PATCH 05/10] xilinx: Add support for generic board detection Michal Simek
2021-08-23 7:37 ` [PATCH 06/10] xilinx: zynqmp: Check that DT is 64bit aligned Michal Simek
2021-08-23 7:37 ` [PATCH 07/10] Makefile: Align fit-dtb.blob and u-boot.itb by 64bits Michal Simek
2021-08-23 11:19 ` Andre Przywara
2021-08-23 7:37 ` [PATCH 08/10] arm64: dts: Make sure that all DTBs are 64bit aligned Michal Simek
2021-08-23 7:37 ` [PATCH 09/10] xilinx: zynqmp: Generate different u-boot.itb for MULTI_DTB_FIT Michal Simek
2021-08-23 7:37 ` [PATCH 10/10] xilinx: common: Enabling generic function for DT reselection Michal Simek
2021-08-27 8:09 ` [PATCH 00/10] xilinx: Add support for DTB reselection Michal Simek
-- strict thread matches above, loose matches on Subject: below --
2021-08-19 11:19 Michal Simek
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=cover.1629704273.git.michal.simek@xilinx.com \
--to=michal.simek@xilinx.com \
--cc=andre.przywara@arm.com \
--cc=ashok.reddy.soma@xilinx.com \
--cc=bmeng.cn@gmail.com \
--cc=chee.hong.ang@intel.com \
--cc=festevam@denx.de \
--cc=git@xilinx.com \
--cc=hs@denx.de \
--cc=ibai.erkiaga-elorza@xilinx.com \
--cc=jagan@amarulasolutions.com \
--cc=kever.yang@rock-chips.com \
--cc=kostap@marvell.com \
--cc=lokeshvutla@ti.com \
--cc=marek.behun@nic.cz \
--cc=monstr@monstr.eu \
--cc=pali@kernel.org \
--cc=pbrobinson@gmail.com \
--cc=priyanka.jain@nxp.com \
--cc=sjg@chromium.org \
--cc=t.karthik.reddy@xilinx.com \
--cc=tharvey@gateworks.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