]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
omap3_beagle: enable the use of a plain text file
authorAlexander Holler <holler@ahsoftware.de>
Mon, 18 Apr 2011 21:25:13 +0000 (17:25 -0400)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 27 Apr 2011 17:38:06 +0000 (19:38 +0200)
commitcf073e49bc3502be1b48a0e3faf0cde9edbb89db
treef6802df1944ab9f1dbd5e354ae05c77b2f18706c
parent70d8c9446fe1d99dd4148dc39ceb5dc6ce39a934
omap3_beagle: enable the use of a plain text file

Using the new env import command it is possible to use plain text files instead
of script-images. Plain text files are much easier to handle.

E.g. If your boot.scr contains the following:
-----------------------------------
setenv dvimode 1024x768-16@60
run loaduimage
run mmcboot
-----------------------------------
you could create a file named uEnv.txt and use that instead of boot.scr:
-----------------------------------
dvimode=1024x768-16@60
uenvcmd=run loaduimage; run mmcboot
-----------------------------------
The variable uenvcmd (if existent) will be executed (using run) after uEnv.txt
was loaded. If uenvcmd doesn't exist the default boot sequence will be started,
therefore you could just use
-----------------------------------
dvimode=1024x768-16@60
-----------------------------------
as uEnv.txt because loaduimage and mmcboot is part of the default boot sequence

Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
include/configs/omap3_beagle.h