boot-scr: adjust names to what the default boot script for omap5 is using
authorH. Nikolaus Schaller <hns@goldelico.com>
Sat, 12 Dec 2015 21:57:00 +0000 (22:57 +0100)
committernotaz <notasas@gmail.com>
Sun, 14 Aug 2016 13:07:57 +0000 (16:07 +0300)
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Letux/boot-scr/boot-letux-cortex15.txt
Letux/boot-scr/boot-pyra.txt

index b0b2b69..6b93d7a 100644 (file)
@@ -1,5 +1,5 @@
-setenv devicetree omap5-letux-cortex15+pyra
-setenv mmc 0           # mmc number as seen by u-boot where it looks for kernel
+setenv fdtfile omap5-letux-cortex15+pyra.dtb
+setenv mmcdev 0                # mmc number as seen by u-boot where it looks for kernel
 setenv kernelmmc 0     # mmc number as seen by kernel
 setenv defaultdisplay   lcd
 setenv PARTITION 1     # partition where kernel is found (simulates the partition selection mechanism of the GTA04)
@@ -9,13 +9,13 @@ setenv PARTITIONTYPE FAT
 setenv mmcargs 'setenv bootargs elevator=noop console=ttyO2,115200n8 root=/dev/mmcblk${kernelmmc}p2 rw rootwait earlyprintk fixrtc'
 
 # load device tree and kernel binary
-fatload mmc ${mmc}:${PARTITION} 0x825f0000 ${devicetree}.dtb
-fatload mmc ${mmc}:${PARTITION} 0x80300000 uImage
+fatload mmc ${mmcdev}:${PARTITION} 0x825f0000 ${devicetree}
+fatload mmc ${mmcdev}:${PARTITION} 0x80300000 uImage
 
 run mmcargs
 
 # allow to overwrite boot args (incl. kernelmmc)
-if fatload mmc ${mmc}:${PARTITION} 0x81300000 bootargs.scr
+if fatload mmc ${mmcdev}:${PARTITION} 0x81300000 bootargs.scr
 then
        source 0x81300000
 fi
index f6f071f..7ce5bd4 100644 (file)
@@ -1,5 +1,5 @@
-setenv devicetree omap5-letux-cortex15+pyra
-setenv mmc 0           # mmc number as seen by u-boot where it looks for kernel
+setenv fdtfile omap5-letux-cortex15+pyra
+setenv mmcdev 0                # mmc number as seen by u-boot where it looks for kernel
 setenv kernelmmc 1     # mmc number as seen by kernel
 setenv defaultdisplay   lcd
 setenv PARTITION 1     # partition where kernel is found (simulates the partition selection mechanism of the GTA04)
@@ -9,13 +9,13 @@ setenv PARTITIONTYPE FAT
 setenv mmcargs 'setenv bootargs elevator=noop console=ttyO2,115200n8 root=/dev/mmcblk${kernelmmc}p2 rw rootwait earlyprintk fixrtc'
 
 # load device tree and kernel binary
-fatload mmc ${mmc}:${PARTITION} 0x825f0000 ${devicetree}.dtb
-fatload mmc ${mmc}:${PARTITION} 0x80300000 uImage
+fatload mmc ${mmcdev}:${PARTITION} 0x825f0000 ${fdtfile}
+fatload mmc ${mmcdev}:${PARTITION} 0x80300000 uImage
 
 run mmcargs
 
 # allow to overwrite boot args (incl. kernelmmc)
-if fatload mmc ${mmc}:${PARTITION} 0x81300000 bootargs.scr
+if fatload mmc ${mmcdev}:${PARTITION} 0x81300000 bootargs.scr
 then
        source 0x81300000
 fi