From: H. Nikolaus Schaller Date: Tue, 15 Dec 2015 06:57:43 +0000 (+0100) Subject: Letux: added more bootscript variants X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b3efc46e510b6a8322fce3705afae92211dad84;p=pandora-u-boot.git Letux: added more bootscript variants Signed-off-by: H. Nikolaus Schaller --- diff --git a/Letux/boot-scr/boot-letux-cortex15.txt b/Letux/boot-scr/boot-letux-cortex15.txt index 6b93d7ae5f8..6393506d32d 100644 --- a/Letux/boot-scr/boot-letux-cortex15.txt +++ b/Letux/boot-scr/boot-letux-cortex15.txt @@ -1,4 +1,4 @@ -setenv fdtfile omap5-letux-cortex15+pyra.dtb +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 diff --git a/Letux/boot-scr/boot-omap5-uevm.txt b/Letux/boot-scr/boot-omap5-uevm.txt index c51508d52b8..962d7207365 100644 --- a/Letux/boot-scr/boot-omap5-uevm.txt +++ b/Letux/boot-scr/boot-omap5-uevm.txt @@ -1,4 +1,4 @@ -setenv devicetree omap5-pyra +setenv devicetree omap5-uevm 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 diff --git a/Letux/boot-scr/boot-pyra+evm.txt b/Letux/boot-scr/boot-pyra+evm.txt new file mode 100644 index 00000000000..4e757cd8a03 --- /dev/null +++ b/Letux/boot-scr/boot-pyra+evm.txt @@ -0,0 +1,24 @@ +setenv fdtfile arch/arm/boot/dts/omap5-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) +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 new file mode 100644 index 00000000000..0e1275b61dc --- /dev/null +++ b/Letux/boot-scr/boot-pyra+lc15-4.9.txt @@ -0,0 +1,24 @@ +setenv fdtfile omap5-letux-cortex15-v4.9+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) +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.txt b/Letux/boot-scr/boot-pyra+lc15.txt similarity index 100% rename from Letux/boot-scr/boot-pyra.txt rename to Letux/boot-scr/boot-pyra+lc15.txt