[meta-swupdate-boards,1/2] rpi-uboot-scr: rename boot.cmd to boot.cmd.in

Message ID 1510674519-233-2-git-send-email-mirza.krak@endian.se
State Accepted
Headers show
Series
  • fixes for raspberrypi3
Related show

Commit Message

Mirza Krak Nov. 14, 2017, 3:48 p.m.
This file was renamed in meta-raspberrypi
43e0169 ("rpi-base.inc: Simplify setting of IMAGE_BOOT_FILES")
and as such we need to update the file name otherwise our changes will
not be applied.

Signed-off-by: Mirza Krak <mirza.krak@endian.se>
---
 recipes-bsp/rpi-uboot-scr/files/boot.cmd    | 5 -----
 recipes-bsp/rpi-uboot-scr/files/boot.cmd.in | 5 +++++
 2 files changed, 5 insertions(+), 5 deletions(-)
 delete mode 100644 recipes-bsp/rpi-uboot-scr/files/boot.cmd
 create mode 100644 recipes-bsp/rpi-uboot-scr/files/boot.cmd.in

Patch

diff --git a/recipes-bsp/rpi-uboot-scr/files/boot.cmd b/recipes-bsp/rpi-uboot-scr/files/boot.cmd
deleted file mode 100644
index 71c8c3e..0000000
--- a/recipes-bsp/rpi-uboot-scr/files/boot.cmd
+++ /dev/null
@@ -1,5 +0,0 @@ 
-saveenv
-fdt addr ${fdt_addr} && fdt get value bootargs /chosen bootargs
-fatload mmc 0:1 ${kernel_addr_r} uImage;
-if env exists rpipart;then setenv bootargs ${bootargs} root=/dev/mmcblk0p${rpipart}; fi
-bootm ${kernel_addr_r} - ${fdt_addr}
diff --git a/recipes-bsp/rpi-uboot-scr/files/boot.cmd.in b/recipes-bsp/rpi-uboot-scr/files/boot.cmd.in
new file mode 100644
index 0000000..71c8c3e
--- /dev/null
+++ b/recipes-bsp/rpi-uboot-scr/files/boot.cmd.in
@@ -0,0 +1,5 @@ 
+saveenv
+fdt addr ${fdt_addr} && fdt get value bootargs /chosen bootargs
+fatload mmc 0:1 ${kernel_addr_r} uImage;
+if env exists rpipart;then setenv bootargs ${bootargs} root=/dev/mmcblk0p${rpipart}; fi
+bootm ${kernel_addr_r} - ${fdt_addr}