Use the following steps to configure UBOOT/Kernel
out-of-tree build.
- Change into the root directory of your PetaLinux
project.
$ cd <plnx-proj-root>
- Launch the top level system configuration menu.
$ petalinux-config
- Select Linux Components
Selection sub-menu.
- For kernel, select
( ) linux-xlnx
(X) remote
( ) ext-local-src
. - For U-Boot, select
( ) u-boot-xlnx
(X) remote
( ) ext-local-src
.
- For kernel, select
- For kernel, select
For example: To use https://github.com/Xilinx/linux-xlnx, enter:
git://github.com/Xilinx/linux-xlnx.git;protocol=https
For U-Boot, select
and enter git URL for U-Boot. For example:git://github.com/Xilinx/u-boot-xlnx.git;protocol=https
Once a remote git link is provided, you must provide any of the following values for "git TAG/Commit ID" selection, otherwise an error message is expected.
You have to set any of the following values to this setting, otherwise an error message appears.
- To point to HEAD of repository of the currently checked
out branch:
${AUTOREV}
- To point to any tag:
tag/mytag
- To point to any commit
id:
commit id sha key
Once you select git Tag/Commit ID, you can see a prompt to enter a string value as shown in the following figure. Enter any of the above set values.
, and enter git URL for Linux kernel. - To point to HEAD of repository of the currently checked
out branch:
- To specify BRANCH to
kernel/u-boot/arm-trusted-firmware, select Remote settings (Optional).
For example: To specify the master branch, type
master
as shown in the following figure:
- To specify LICENSE checksum to
kernel/u-boot/arm-trusted-firmware, select Remote settings (Optional).
For example: To specify file://license.rst;md5=e927e02bca647e14efd87e9e914b2443, enter the string value as shown in the following figure:
- Exit the menu, and save your settings.