aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Elshuber <martin.elshuber@theobroma-systems.com>2017-10-05 20:17:15 +0200
committerKlaus Goger <klaus.goger@theobroma-systems.com>2017-11-24 11:56:10 +0100
commit9e90dd1ce5d83d4fde3b710bea0b2d1622c581bb (patch)
treee74bd47998eeb86a548376f14714c093709fa562
parent9cb6ca221b9b3273ddc5d72f97a7f69cd80f8e9a (diff)
boot: use correct ramdisk load address
initrd files should be loaded to ramdisk_addr_r instead of load_addr
-rw-r--r--boot-script/boot/boot.cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot-script/boot/boot.cmd b/boot-script/boot/boot.cmd
index ab0fd32..d633b8a 100644
--- a/boot-script/boot/boot.cmd
+++ b/boot-script/boot/boot.cmd
@@ -61,7 +61,7 @@ done
load ${devtype} ${devnum} ${kernel_addr_r} ${load_path}/${kernelfile}
-if load ${devtype} ${devnum} ${load_addr} ${load_path}/${initrdfile}; then
+if load ${devtype} ${devnum} ${ramdisk_addr_r} ${load_path}/${initrdfile}; then
booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
else
echo "Start Kernel without initrd"