summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb
Commit message (Collapse)AuthorAgeFilesLines
* u-boot-zynq-scr: Add pxeboot support in u-boot-scrSwagath Gadde2019-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds pxeboot support for versal platform by adding default config file in pxelinux.cfg directory with below minimal mandatory information forbooting. label <name> - begin a label definition. labels continue until a command not recognized as a label command is seen, or EOF is reached. kernel <path> - if this label is chosen, use tftp to retrieve the kernel at <path>. it will be stored at the address indicated in the kernel_addr_r environment variable, and that address will be passed to bootm to boot this kernel. fdt <path> - if this label is chosen, it will load dtb at fdt_addr and that location of a fdt_addr will be passed to bootm when booting a kernel. Generally after u-boot bootup in jtag mode after autoboot time it scans usb and then ethernet and checks for pxelinux.cfg directory with default config file, if found it will load and boot linux. Steps to test: 1.acquire the board 2.in systest point the tftpd <path> 3.open serial terminal and connect com0 4.load the pdi from xsdb 5.stop at uboot promt and set serverip 6.dhcp 7.pxe get 8.pxe boot Signed-off-by: Swagath Gadde <swagathg@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
* u-boot-zynq-scr.bb: Recipe to create u-boot.scr for Xilinx devicesManjukumar Matha2019-08-151-0/+81
Xilinx u-boot supports distrocmd, this required u-boot.scr from distro to provide the required default boot instead of scanning through the list of available boot devices. This patch enables SD boot mode by default for ZU+ and Versal devices. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>