summaryrefslogtreecommitdiffstats
path: root/boot-scr/boot.txt
diff options
context:
space:
mode:
Diffstat (limited to 'boot-scr/boot.txt')
-rw-r--r--boot-scr/boot.txt37
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