From 2899122c3eacfeca7725fa535c412354970592df Mon Sep 17 00:00:00 2001 From: "H. Nikolaus Schaller" Date: Sun, 25 Oct 2015 17:43:20 +0100 Subject: [PATCH] add bootscript source for omap5-uevm Signed-off-by: H. Nikolaus Schaller --- Letux/boot-scr/boot-omap5-uevm.txt | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Letux/boot-scr/boot-omap5-uevm.txt diff --git a/Letux/boot-scr/boot-omap5-uevm.txt b/Letux/boot-scr/boot-omap5-uevm.txt new file mode 100644 index 00000000000..c51508d52b8 --- /dev/null +++ b/Letux/boot-scr/boot-omap5-uevm.txt @@ -0,0 +1,24 @@ +setenv devicetree omap5-pyra +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 ${devicetree}.dtb +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 -- 2.47.2