From: Quanyang Wang <quanyang.w...@windriver.com> In the commit 996ca36db0e5 ("arm64: zynqmp: adjust qspi flash partition"), I adjust the partition "qspi-rootfs" to cover the address 0x1e00000. But this address is used to store the parameters for u-boot v2019.2 by default. Erase this partition will corrupt parameters data. So split "qspi-rootfs" partition into "qspi-rootfs", "qspi-uboot-parameters" and "qspi-test" to avoid this.
Signed-off-by: Quanyang Wang <quanyang.w...@windriver.com> --- arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dts | 6 +++--- arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dts index 5afa2d4e1520..77d4688b6443 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dts @@ -37,9 +37,9 @@ board_revision: board-revision@e0 { &qspi { flash@0 { - partition@800000 { /* There are mt25qu512a x2 at rev1.0 board */ - label = "qspi-rootfs"; - reg = <0x800000 0x7800000>; + partition2000000 { /* There are mt25qu512a x2 at rev1.0 board */ + label = "qspi-test"; + reg = <0x2000000 0x6000000>; }; }; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index 82a61846ea9c..63f0a8260f01 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -984,7 +984,11 @@ partition@200000 { /* for testing purpose */ }; partition@800000 { /* for testing purpose */ label = "qspi-rootfs"; - reg = <0x800000 0x1800000>; + reg = <0x800000 0x1600000>; + }; + partition@1e00000 { /* NOTE! Don't modify this partition */ + label = "qspi-uboot-parameters"; + reg = <0x1e00000 0x200000>; }; }; }; -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10607): https://lists.yoctoproject.org/g/linux-yocto/message/10607 Mute This Topic: https://lists.yoctoproject.org/mt/86786797/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-