summaryrefslogtreecommitdiffstats
path: root/meta-raspberrypi/recipes-bsp/rpi-u-boot-scr/files/boot.cmd.in
diff options
context:
space:
mode:
Diffstat (limited to 'meta-raspberrypi/recipes-bsp/rpi-u-boot-scr/files/boot.cmd.in')
-rw-r--r--meta-raspberrypi/recipes-bsp/rpi-u-boot-scr/files/boot.cmd.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-raspberrypi/recipes-bsp/rpi-u-boot-scr/files/boot.cmd.in b/meta-raspberrypi/recipes-bsp/rpi-u-boot-scr/files/boot.cmd.in
new file mode 100644
index 000000000..ad54cd067
--- /dev/null
+++ b/meta-raspberrypi/recipes-bsp/rpi-u-boot-scr/files/boot.cmd.in
@@ -0,0 +1,3 @@
+fdt addr ${fdt_addr} && fdt get value bootargs /chosen bootargs
+fatload mmc 0:1 ${kernel_addr_r} @@KERNEL_IMAGETYPE@@
+@@KERNEL_BOOTCMD@@ ${kernel_addr_r} - ${fdt_addr}
OpenPOWER on IntegriCloud