xilinx: Add support for DTB reselection
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 2 repliesIn review
Changes in v2 from the cover letter
- 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
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | xilinx: fru: Replace spaces with \0 in detected nameboard/ | +5 | 0 replies | |
| 2/10 | xilinx: Use variable for passing board_nameboard/ | +4 | 0 replies | |
| 3/10 | xilinx: common: Change board_info[] handlingboard/ | +6 | 0 replies | |
| 4/10 | xilinx: common: Free allocated structureboard/ | +7 | 0 replies | |
| 5/10 | xilinx: Add support for generic board detectionboard/ | +31 | 0 replies | |
| 6/10 | xilinx: zynqmp: Check that DT is 64bit alignedboard/ | +3 | 0 replies | |
| 7/10 | Makefile: Align fit-dtb.blob and u-boot.itb by 64bitsMakefile | +3 | 1 reply | |
| 8/10 | arm64: dts: Make sure that all DTBs are 64bit alignedarch/ | +1 | 0 replies | |
| 9/10 | xilinx: zynqmp: Generate different u-boot.itb for MULTI_DTB_FITarch/ | +47 | 0 replies | |
| 10/10 | xilinx: common: Enabling generic function for DT reselectionarch/ board/ | +81 | 0 replies |
Reviews trailers per patch
1 of 10 patches has a Reviewed-by or Acked-by.
| Patch | Andre Przywara |
|---|---|
| 1/10 | |
| 2/10 | |
| 3/10 | |
| 4/10 | |
| 5/10 | |
| 6/10 | |
| 7/10 | R-b |
| 8/10 | |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/10] xilinx: Add support for DTB reselection
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(-)
Signature · 1 line
2.33.0