aboutsummaryrefslogtreecommitdiff
path: root/board/zynqmp
Commit message (Collapse)AuthorAgeFilesLines
* board/zynqmp/post-image.sh: support dots in DTS file namesGravatar Francois Beerten2018-10-261-1/+1
| | | | | | | | | Some ZynqMP device trees in the kernel have a dot in their name, for example "zynqmp-zcu102-rev1.0". The post image script left out the part after the dot and created an invalid symlink. Signed-off-by: Francois Beerten <fbeerten.git@colabti.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* uboot: zynqmp: allow to use custom psu_init filesGravatar Luca Ceresoli2018-07-281-0/+175
| | | | | | | | | | | | | | | | | | | | | | U-Boot SPL configures pinmuxes, clocks and other low-level devices. On the Xilinx ZynqMP SoCs the code to do this resides in a file called psu_init_gpl.c which is initially generated by the Xilinx development tools. Add an option to pass these files from the outside (e.g. in the board files). For this to work properly, a patch to U-Boot is needed. However this patch must be applied by each defconfig using BR2_TARGET_UBOOT_ZYNQMP_PSU_INIT_DIR. If it were in boot/uboot/ to be applied unconditionally, it would break the build for configs using a U-Boot version where the patch is already applied. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Cc: Joel Carlson <joelsoncarl@gmail.com> Reviewed-by: Joel Carlson <JoelsonCarl@gmail.com> Tested-by: Joel Carlson <JoelsonCarl@gmail.com> [Thomas: add comment about U-Boot version requirements to use this option.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* configs/zynqmp_zcu106_defconfig: add Xilinx ZCU106 board (ZynqMP SoC)Gravatar Luca Ceresoli2018-07-285-0/+258
| | | | | | | | | | This adds support the Xilinx ZCU106 development board. [Tested on the ES2 (Engineering Sample 2) version of the board] Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Cc: Joel Carlson <joelsoncarl@gmail.com> Tested-by: Joel Carlson <JoelsonCarl@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* uboot: zynqmp: generate SPL image with PMUFW binaryGravatar Luca Ceresoli2018-07-281-0/+68
In order to boot on the Xilinx ZynqMP SoCs, U-Boot SPL requires a recent PMU firmware loaded. Instruct U-Boot to add pmufw.bin to the boot.bin file together with U-Boot SPL, and the boot ROM will load both. For this to work properly, a patch to U-Boot is needed. However this patch must be applied by each defconfig that wishes to use BR2_TARGET_UBOOT_ZYNQMP_PMUFW. If it were in boot/uboot/ to be applied unconditionally, it would break the build for configs using a U-Boot version higher than 2018.7-rc1 where the patch is already applied. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Cc: Joel Carlson <joelsoncarl@gmail.com> Reviewed-by: Joel Carlson <JoelsonCarl@gmail.com> Tested-by: Joel Carlson <JoelsonCarl@gmail.com> [Thomas: - indicate that this feature requires U-Boot 2018.07, since commit c7df098a71e05dc81cee818747759e8060b59626 is needed. - define UBOOT_ZYNQMP_KCONFIG_PMUFW only once, and instead use a variable named UBOOT_ZYNQMP_PMUFW_PATH to store the path to the PMU firmware] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>