From 23baf43b62dd68092455ff16dd7039725ee543b8 Mon Sep 17 00:00:00 2001 From: "H. Nikolaus Schaller" Date: Wed, 23 Dec 2015 13:43:38 +0100 Subject: [PATCH] Letux: bootscr: fixed boot scripts for OMAP5EVM and Pyra Signed-off-by: H. Nikolaus Schaller --- Letux/boot-scr/boot-omap5-uevm.txt | 2 +- Letux/boot-scr/boot-pyra+evm.txt | 4 ++-- Letux/boot-scr/boot-pyra+lc15.txt | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Letux/boot-scr/boot-omap5-uevm.txt b/Letux/boot-scr/boot-omap5-uevm.txt index 8364aa3f1eb..b13455416dd 100644 --- a/Letux/boot-scr/boot-omap5-uevm.txt +++ b/Letux/boot-scr/boot-omap5-uevm.txt @@ -1,7 +1,7 @@ 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 0 # mmc number as seen by 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 diff --git a/Letux/boot-scr/boot-pyra+evm.txt b/Letux/boot-scr/boot-pyra+evm.txt index 79cd044100a..8cd1b85383e 100644 --- a/Letux/boot-scr/boot-pyra+evm.txt +++ b/Letux/boot-scr/boot-pyra+evm.txt @@ -1,7 +1,7 @@ echo boot.scr for Pyra+EVM -setenv fdtfile arch/arm/boot/dts/omap5-pyra.dtb +setenv fdtfile omap5-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 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 diff --git a/Letux/boot-scr/boot-pyra+lc15.txt b/Letux/boot-scr/boot-pyra+lc15.txt index 596f1ffc323..1b13a92e0ee 100644 --- a/Letux/boot-scr/boot-pyra+lc15.txt +++ b/Letux/boot-scr/boot-pyra+lc15.txt @@ -10,16 +10,20 @@ 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 +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 -- 2.39.5