From fa0b52831c74db07ad22f00f78df3e7a26b5aff8 Mon Sep 17 00:00:00 2001 From: Swagath Gadde Date: Wed, 10 Jul 2019 18:13:10 +0530 Subject: u-boot-zynq-scr: Add pxeboot support in u-boot-scr This patch adds pxeboot support for versal platform by adding default config file in pxelinux.cfg directory with below minimal mandatory information forbooting. label - begin a label definition. labels continue until a command not recognized as a label command is seen, or EOF is reached. kernel - if this label is chosen, use tftp to retrieve the kernel at . 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 - 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 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 Signed-off-by: Manjukumar Matha --- meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb index d2eedd58..584089ae 100644 --- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb +++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr.bb @@ -24,11 +24,11 @@ KERNEL_BOOTCMD_zynq ?= "bootm" KERNEL_BOOTCMD_versal ?= "booti" BOOTMODE ?= "sd" -BOOTMODE_versal ?= "qspi" SRC_URI = " \ file://boot.cmd.sd.zynq \ file://boot.cmd.sd.zynqmp \ + file://boot.cmd.sd.versal \ file://boot.cmd.qspi.versal \ file://pxeboot.pxe \ " -- cgit v1.2.3-54-g00ecf