[PATCH 00/10] xilinx: Add support for DTB reselection
Michal Simek
monstr at monstr.eu
Fri Aug 27 10:09:30 CEST 2021
po 23. 8. 2021 v 9:37 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> 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
>
This should have v2 in subject but it has changes in v2.
Simon: Can we extend patman to capture this configuration where you
have changes for newer revision then revision of the whole series?
Anyway applied to my tree.
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs
More information about the U-Boot
mailing list