diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-06-26 00:35:37 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2014-06-26 00:35:37 +0200 |
commit | 085738b9a5b46aa3d9f0e4b4340446373d697f25 (patch) | |
tree | c08445c363b35df5ae290dfb7b060b4711e43135 /boot-scr/boot.txt | |
parent | dd9c6a9398ad5cbc67983c3356f834da5f61dcb8 (diff) | |
download | bootable_bootloader_goldelico_gta04-ca495487de5451a4c8e8c487e35be0f68b6ea6c8.zip bootable_bootloader_goldelico_gta04-ca495487de5451a4c8e8c487e35be0f68b6ea6c8.tar.gz bootable_bootloader_goldelico_gta04-ca495487de5451a4c8e8c487e35be0f68b6ea6c8.tar.bz2 |
Continuous splash screenreplicant-4.2-0002
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'boot-scr/boot.txt')
-rw-r--r-- | boot-scr/boot.txt | 37 |
1 files changed, 9 insertions, 28 deletions
diff --git a/boot-scr/boot.txt b/boot-scr/boot.txt index f972e5c..00fb73f 100644 --- a/boot-scr/boot.txt +++ b/boot-scr/boot.txt @@ -1,6 +1,6 @@ setenv kerneladdr 0x82000000 setenv splashzipaddr 0x80400000 -setenv splashaddr 0x80800000 +setenv splashaddr 0x86000000 setenv bootargs mpurate=${mpurate} mux=${mux} echo "Replicant GTA04" @@ -12,9 +12,8 @@ if mmc rescan 0 then # Load splash - if fatload mmc 0 ${splashzipaddr} splash.rgb16z + if fatload mmc 0 ${splashaddr} splash.rgb16 then - unzip ${splashzipaddr} ${splashaddr} if lcm init then lcm power 2 @@ -23,8 +22,10 @@ then lcm backlight 255 fi else - if fatload mmc 0 ${splashaddr} splash + if fatload mmc 0 ${splashzipaddr} splash.rgb16z then + unzip ${splashzipaddr} ${splashaddr} + if lcm init then lcm power 2 @@ -44,28 +45,18 @@ then if fatload mmc 0 ${kerneladdr} recovery.img then status set 2 - - lcm backlight 0 - lcm power 0 - lcm off - bootm ${kerneladdr} else - echo "Loading recovery kernel failed" status set 19 + echo "Loading recovery kernel failed" if fatload mmc 0 ${kerneladdr} boot.img then status set 11 - - lcm backlight 0 - lcm power 0 - lcm off - bootm ${kerneladdr} else - echo "Loading recovery kernel failed" status set 9 + echo "Loading recovery kernel failed" fi fi fi @@ -75,28 +66,18 @@ then if fatload mmc 0 ${kerneladdr} boot.img then status set 10 - - lcm backlight 0 - lcm power 0 - lcm off - bootm ${kerneladdr} else - echo "Loading kernel failed" status set B + echo "Loading kernel failed" if fatload mmc 0 ${kerneladdr} recovery.img then status set A - - lcm backlight 0 - lcm power 0 - lcm off - bootm ${kerneladdr} else - echo "Loading recovery kernel failed" status set 9 + echo "Loading recovery kernel failed" fi fi else |