diff options
author | Enric Balletbo i Serra <eballetbo@iseebcn.com> | 2012-04-25 02:33:50 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-05-15 08:31:40 +0200 |
commit | 1b8ec016cd8865c2efe089c043caf8c4f084f1fc (patch) | |
tree | ef88ebd2b9a00dac0c13d4255caf94dadc53cc8c /lib/fdtdec.c | |
parent | b8cb5194f004429af13a2c616bef923b70ca1b9e (diff) | |
download | u-boot-imx-1b8ec016cd8865c2efe089c043caf8c4f084f1fc.zip u-boot-imx-1b8ec016cd8865c2efe089c043caf8c4f084f1fc.tar.gz u-boot-imx-1b8ec016cd8865c2efe089c043caf8c4f084f1fc.tar.bz2 |
igep00x0: enable the use of a plain text file
Based on commit cf073e49bc3502be1b48a0e3faf0cde9edbb89db for beagleboard
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: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'lib/fdtdec.c')
0 files changed, 0 insertions, 0 deletions