aboutsummaryrefslogtreecommitdiff
path: root/board/zynq
Commit message (Collapse)AuthorAgeFilesLines
* boards/zynq: use genimage to generate a bootable SD card imageGravatar Peter Korsgaard2017-12-113-7/+34
| | | | | | | [Run-time tested on ZedBoard, build-tested on the other boards] [Peter: also add host-dosfstools / host-mtools to make vfat images] Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boards/zynq: rename the DTB to be loaded by U-BootGravatar Luca Ceresoli2017-12-111-0/+11
| | | | | | | | | | | | | | | | | | | We are about to introduce genimage support for the Zynq boards. For all of them U-Boot loads the DTB from a file named "devicetree.dtb" so we need to rename it on the SD card image. We could use genimage itself to rename files while creating the image. But this would require a different genimage.cfg for each board, leading to duplicate code. Instead let's create a "devicetree.dtb" symlink pointing to the dtb listed in the configuration. Currently all the Zynq-based boards have only one DTS configured, but if one had two or more of them, the symlink would point to the first one. [Peter: only create symlink if dtb option is available] Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* zynq: document how to use custom ps7_init filesGravatar Masahiro Yamada2016-10-091-7/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since U-Boot supported SPL for Zynq boards at v2014.04 release, it became much easier to build a system. At that time, however, users still needed to manually copy ps7_init.c/h to the U-Boot source tree to generate a working SPL image because ps7_init.c/h output from Xilinx tools are not compatible with GPL. Later, the license problem was solved when Xilinx tools became able to output the GPL-compatible variants (ps7_init_gpl.c/h) as well. U-Boot v2015.07 or later includes ps7_init_gpl.c/h for major Zynq boards so that users can build a boot image straight away. Now Buildroot supports 3 boards (Zedboard, MicroZed, ZC706) without any manual intervention. This is a good thing itself, but commit b9cd72cdbfe3 ("zynq_zc706: bump U-Boot to xilinx-v2016.2") entirely dropped the information about custom ps7_init files. This commit provides up-to-date guidance for how to customize the ps7_init files. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> Acked-by: Alistair Francis <alistair.francis@xilinx.com> [Thomas: rewording and formatting tweaks.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* zynq: enable BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIGGravatar Masahiro Yamada2016-08-291-2/+2
| | | | | | | | The recent U-Boot adopts Kconfig for its configuration system. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* zynq: unify readme.txt for all Zynq boardsGravatar Masahiro Yamada2016-07-301-0/+52
The readme.txt for the three boards are almost the same, so merge them into board/zynq/readme.txt. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>