eb06a599aa
Binutils 2.39 now warns when a segment has RXW permissions: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=ba951afb99912da01a6e8434126b8fac7aa75107 This causes the following build error: aarch64-buildroot-linux-gnu-ld: bl31.elf has a LOAD segment with RWX permissions. This patch applies the upstream boot/arm-trusted-firmware/v2.6 patch already included with buildroot to solve the problem. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/4749556414 (zynqmp_kria_kv260) https://gitlab.com/buildroot.org/buildroot/-/jobs/4749556417 (zynqmp_zcu102) https://gitlab.com/buildroot.org/buildroot/-/jobs/4749556420 (zynqmp_zcu106) Signed-off-by: Neal Frager <neal.frager@amd.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> |
||
---|---|---|
.. | ||
kria | ||
patches/arm-trusted-firmware | ||
zcu102 | ||
zcu106 | ||
genimage.cfg | ||
post-build.sh | ||
post-image.sh | ||
readme.txt |
****************************************** Xilinx ZCU102 / ZCU106 boards - ZynqMP SoC ****************************************** This document describes the Buildroot support for the ZCU102 and ZCU106 boards by Xilinx, based on the Zynq UltraScale+ MPSoC (aka ZynqMP). It has been tested with the ZCU102 and ZCU106 production boards. Evaluation board features can be found here with the links below. ZCU102: https://www.xilinx.com/products/boards-and-kits/zcu102.html ZCU106: https://www.xilinx.com/products/boards-and-kits/zcu106.html How to build it =============== Configure Buildroot: $ make zynqmp_zcu106_defconfig Compile everything and build the rootfs image: $ make Result of the build ------------------- After building, you should get a tree like this: output/images/ +-- atf-uboot.ub +-- bl31.bin +-- boot.bin +-- boot.vfat +-- Image +-- rootfs.ext2 +-- rootfs.ext4 -> rootfs.ext2 +-- sdcard.img +-- system.dtb -> zynqmp-zcu106-revA.dtb +-- u-boot.itb `-- zynqmp-zcu106-revA.dtb How to write the SD card ======================== WARNING! This will destroy all the card content. Use with care! The sdcard.img file is a complete bootable image ready to be written on the boot medium. To install it, simply copy the image to an SD card: # dd if=output/images/sdcard.img of=/dev/sdX Where 'sdX' is the device node of the SD. Eject the SD card, insert it in the board, and power it up.