mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
a0a92928dbbfa17e054208c6156e65b70ac5380b
AMD has created a new segmented configuration for Versal products. It splits the Vivado hardware design into two PDI files, one containing the minimal required configuration for the DDR and booting the processors, and a second PDI file which contains the rest of the FPGA design and can be loaded at run-time via U-boot or Linux. The file names generated when using the Vivado Segmented Configuration are as follows: <design>_boot.pdi - Minimal DDR and PS config for booting <design>_pld.pdi - Remainder of FPGA design to be loaded at run-time Since two PDI files will be included in the XSA file when using Segmented Configuration, the xilinx-prebuilt package needs to be updated to support this feature. For Buildroot purposes, the <design>_boot.pdi is the file that needs to be included in the boot.bin for booting the processors, so this patch checks for a file named *boot*.pdi which will indicate that Segmented Configuration is being used and will make sure to use the <design>_boot.pdi file and not the <design>_pld.pdi file when generating the boot.bin image. If no pdi files contain the word "boot" in the filename, it can be assumed that Segmented Configuration is not being used, so the single file *.pdi method is the appropriate one for this case, and this patch is thus backwards compatible with prior designs not using Segmented Configuration. Also, Segmented Configuration is going to become the default mode for Versal products, so the xilinx-prebuilt github location will also soon have two PDI files for each board. For this reason, this patch is also handling Segmented Configuration for files downloaded from the xilinx-prebuilt repo. For further information about the AMD Segmented Configuration, please see the github tutorial below. https://github.com/Xilinx/Vivado-Design-Tutorials/tree/2024.2/Versal/Boot_and_Config/Segmented_Configuration Signed-off-by: Neal Frager <neal.frager@amd.com> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
…
…
…
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation. The documentation can be found in docs/manual. You can generate a text document with 'make manual-text' and read output/docs/manual/manual.text. Online documentation can be found at http://buildroot.org/docs.html To build and use the buildroot stuff, do the following: 1) run 'make menuconfig' 2) select the target architecture and the packages you wish to compile 3) run 'make' 4) wait while it compiles 5) find the kernel, bootloader, root filesystem, etc. in output/images You do not need to be root to build or run buildroot. Have fun! Buildroot comes with a basic configuration for a number of boards. Run 'make list-defconfigs' to view the list of provided configurations. Please feed suggestions, bug reports, insults, and bribes back to the buildroot mailing list: buildroot@buildroot.org You can also find us on #buildroot on OFTC IRC. If you would like to contribute patches, please read https://buildroot.org/manual.html#submitting-patches
Description
Languages
Makefile
62.5%
Python
19%
C
8.5%
Shell
6.1%
PHP
1.4%
Other
2.1%