From c113d691a9bd388f4c00d998db155b70cdc02a96 Mon Sep 17 00:00:00 2001 From: Felix Schneider Date: Tue, 13 Apr 2021 17:07:24 +0200 Subject: [PATCH] Added the PRE_BOOTENV variable to the zynqmp boot.cmd template --- .../recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.sd.zynqmp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.sd.zynqmp b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.sd.zynqmp index 43062ce8f..d89d5e344 100644 --- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.sd.zynqmp +++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-zynq-scr/boot.cmd.sd.zynqmp @@ -1,3 +1,5 @@ +@@PRE_BOOTENV@@ + setenv sdbootdev @@SDBOOTDEV@@ setenv bootargs $bootargs root=/dev/mmcblk${sdbootdev}p2 rw rootwait earlycon clk_ignore_unused setenv bootargs $bootargs root=/dev/mmcblk0p2 rw rootwait earlycon clk_ignore_unused