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 , and enter git URL for Linux kernel.
For example: To use https://github.com/Xilinx/linux-xlnx, enter:
git://github.com/Xilinx/linux-xlnx.git;protocol=httpsFor U-Boot, select and enter git URL for U-Boot. For example:
git://github.com/Xilinx/u-boot-xlnx.git;protocol=httpsOnce 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 keyOnce 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.
- 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
masteras 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.