Boot Scripts: all boot scripts replaced by uEnv.txt setup
authorH. Nikolaus Schaller <hns@goldelico.com>
Wed, 20 Jan 2016 11:06:13 +0000 (12:06 +0100)
committernotaz <notasas@gmail.com>
Sun, 14 Aug 2016 13:43:30 +0000 (16:43 +0300)
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Letux/boot-scr/boot-letux-cortex15.txt [deleted file]
Letux/boot-scr/boot-omap5-uevm.txt [deleted file]
Letux/boot-scr/boot-pyra+evm.txt [deleted file]
Letux/boot-scr/boot-pyra+lc15-4.9.txt [deleted file]
Letux/boot-scr/boot-pyra+lc15.txt [deleted file]
Letux/boot-scr/uEnv-letux-cortex15-4.9.txt [new file with mode: 0644]
Letux/boot-scr/uEnv-letux-cortex15.txt [new file with mode: 0644]
Letux/boot-scr/uEnv-omap5-uevm.txt [new file with mode: 0644]
Letux/boot-scr/uEnv-pyra+evm.txt [new file with mode: 0644]
Letux/boot-scr/uEnv-pyra+lc15-4.9.txt [new file with mode: 0644]
Letux/boot-scr/uEnv-pyra+lc15.txt [new file with mode: 0644]

diff --git a/Letux/boot-scr/boot-letux-cortex15.txt b/Letux/boot-scr/boot-letux-cortex15.txt
deleted file mode 100644 (file)
index 657febf..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-echo boot.scr for LC15 standalone
-setenv fdtfile omap5-letux-cortex15.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)
-setenv PARTITIONTYPE FAT
-
-# set default
-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 ${mmcdev}:${PARTITION} 0x825f0000 ${fdtfile}
-fatload mmc ${mmcdev}:${PARTITION} 0x80300000 uImage
-
-run mmcargs
-
-# allow to overwrite boot args (incl. kernelmmc)
-if fatload mmc ${mmcdev}:${PARTITION} 0x81300000 bootargs.scr
-then
-       source 0x81300000
-fi
-
-setenv fdt_high 0x84000000
-bootm 0x80300000 - 0x825f0000
diff --git a/Letux/boot-scr/boot-omap5-uevm.txt b/Letux/boot-scr/boot-omap5-uevm.txt
deleted file mode 100644 (file)
index b134554..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-echo boot.scr for OMAP5432 EVM
-setenv fdtfile omap5-uevm.dtb
-setenv mmc 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)
-setenv PARTITIONTYPE FAT
-
-# set default
-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 ${fdtfile}
-fatload mmc ${mmc}:${PARTITION} 0x80300000 uImage
-
-run mmcargs
-
-# allow to overwrite boot args (incl. kernelmmc)
-if fatload mmc ${mmc}:${PARTITION} 0x81300000 bootargs.scr
-then
-       source 0x81300000
-fi
-
-setenv fdt_high 0x84000000
-bootm 0x80300000 - 0x825f0000
diff --git a/Letux/boot-scr/boot-pyra+evm.txt b/Letux/boot-scr/boot-pyra+evm.txt
deleted file mode 100644 (file)
index 8cd1b85..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-echo boot.scr for Pyra+EVM
-setenv fdtfile omap5-pyra.dtb
-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)
-setenv PARTITIONTYPE FAT
-
-# set default
-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 ${mmcdev}:${PARTITION} 0x825f0000 ${fdtfile}
-fatload mmc ${mmcdev}:${PARTITION} 0x80300000 uImage
-
-run mmcargs
-
-# allow to overwrite boot args (incl. kernelmmc)
-if fatload mmc ${mmcdev}:${PARTITION} 0x81300000 bootargs.scr
-then
-       source 0x81300000
-fi
-
-setenv fdt_high 0x84000000
-bootm 0x80300000 - 0x825f0000
diff --git a/Letux/boot-scr/boot-pyra+lc15-4.9.txt b/Letux/boot-scr/boot-pyra+lc15-4.9.txt
deleted file mode 100644 (file)
index e3a8f4b..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-echo boot.scr for Pyra+LC15 V4.9
-setenv fdtfile omap5-letux-cortex15-v4.9+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)
-setenv PARTITIONTYPE FAT
-
-# set default
-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 ${mmcdev}:${PARTITION} 0x825f0000 ${fdtfile}
-fatload mmc ${mmcdev}:${PARTITION} 0x80300000 uImage
-
-run mmcargs
-
-# allow to overwrite boot args (incl. kernelmmc)
-if fatload mmc ${mmcdev}:${PARTITION} 0x81300000 bootargs.scr
-then
-       source 0x81300000
-fi
-
-setenv fdt_high 0x84000000
-bootm 0x80300000 - 0x825f0000
diff --git a/Letux/boot-scr/boot-pyra+lc15.txt b/Letux/boot-scr/boot-pyra+lc15.txt
deleted file mode 100644 (file)
index 1b13a92..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-echo boot.scr for Pyra+LC15
-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)
-setenv PARTITIONTYPE FAT
-
-# set default
-setenv mmcargs 'setenv bootargs elevator=noop console=ttyO2,115200n8 root=/dev/mmcblk${kernelmmc}p2 rw rootwait earlyprintk fixrtc'
-
-# load device tree and kernel binary
-echo ${fdtfile} to 0x825f0000
-fatload mmc ${mmcdev}:${PARTITION} 0x825f0000 ${fdtfile}
-echo uImage to 0x80300000
-fatload mmc ${mmcdev}:${PARTITION} 0x80300000 uImage
-
-run mmcargs
-
-# allow to overwrite boot args (incl. kernelmmc)
-echo bootargs.scr to 0x81300000
-if fatload mmc ${mmcdev}:${PARTITION} 0x81300000 bootargs.scr
-then
-       source 0x81300000
-fi
-fatload mmc ${mmcdev}:${PARTITION} 0x80300000 uImage
-
-setenv fdt_high 0x84000000
-bootm 0x80300000 - 0x825f0000
diff --git a/Letux/boot-scr/uEnv-letux-cortex15-4.9.txt b/Letux/boot-scr/uEnv-letux-cortex15-4.9.txt
new file mode 100644 (file)
index 0000000..c76b3cf
--- /dev/null
@@ -0,0 +1,4 @@
+fdtfile=omap5-letux-cortex15-v4.9.dtb
+
+bootfile=uImage
+bootfilecmd=bootm
diff --git a/Letux/boot-scr/uEnv-letux-cortex15.txt b/Letux/boot-scr/uEnv-letux-cortex15.txt
new file mode 100644 (file)
index 0000000..cbf793d
--- /dev/null
@@ -0,0 +1,4 @@
+fdtfile=omap5-letux-cortex15.dtb
+
+bootfile=uImage
+bootfilecmd=bootm
diff --git a/Letux/boot-scr/uEnv-omap5-uevm.txt b/Letux/boot-scr/uEnv-omap5-uevm.txt
new file mode 100644 (file)
index 0000000..d0b220f
--- /dev/null
@@ -0,0 +1,4 @@
+fdtfile=omap5-uevm.dtb
+
+bootfile=uImage
+bootfilecmd=bootm
diff --git a/Letux/boot-scr/uEnv-pyra+evm.txt b/Letux/boot-scr/uEnv-pyra+evm.txt
new file mode 100644 (file)
index 0000000..a9d0fc7
--- /dev/null
@@ -0,0 +1,4 @@
+fdtfile=omap5-pyra.dtb
+
+bootfile=uImage
+bootfilecmd=bootm
diff --git a/Letux/boot-scr/uEnv-pyra+lc15-4.9.txt b/Letux/boot-scr/uEnv-pyra+lc15-4.9.txt
new file mode 100644 (file)
index 0000000..07a0d8c
--- /dev/null
@@ -0,0 +1,4 @@
+fdtfile=omap5-letux-cortex15-v4.9+pyra.dtb
+
+bootfile=uImage
+bootfilecmd=bootm
diff --git a/Letux/boot-scr/uEnv-pyra+lc15.txt b/Letux/boot-scr/uEnv-pyra+lc15.txt
new file mode 100644 (file)
index 0000000..9cb8422
--- /dev/null
@@ -0,0 +1,4 @@
+fdtfile=omap5-letux-cortex15+pyra.dtb
+
+bootfile=uImage
+bootfilecmd=bootm