summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-09-03 12:47:45 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-09-03 12:47:45 +0000
commitf3d5700df79adf73b22f1961f4bf10fda0084444 (patch)
treeb4c2990b1af9882a76afd940f95c976d8dd85642
parentaefbd6301a11367727b7dc265f5aaccbbaac2a3f (diff)
downloadrockbox-f3d5700df79adf73b22f1961f4bf10fda0084444.tar.gz
rockbox-f3d5700df79adf73b22f1961f4bf10fda0084444.tar.bz2
rockbox-f3d5700df79adf73b22f1961f4bf10fda0084444.zip
... but still be compatible with OF..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18396 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/mips/ingenic_jz47xx/crt0.S5
-rw-r--r--utils/jz4740_tools/jz4740_usbtool.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/crt0.S b/firmware/target/mips/ingenic_jz47xx/crt0.S
index baef085845..97e01d8566 100644
--- a/firmware/target/mips/ingenic_jz47xx/crt0.S
+++ b/firmware/target/mips/ingenic_jz47xx/crt0.S
@@ -48,6 +48,11 @@
.section .init.text
.set noreorder
.set noat
+
+#ifdef BOOTLOADER
+ .word 0 /* Unknown */
+ .word 0 /* Filesize */
+#endif
_start:
la ra, _start
diff --git a/utils/jz4740_tools/jz4740_usbtool.c b/utils/jz4740_tools/jz4740_usbtool.c
index da60c803c1..74372aa632 100644
--- a/utils/jz4740_tools/jz4740_usbtool.c
+++ b/utils/jz4740_tools/jz4740_usbtool.c
@@ -530,7 +530,7 @@ int send_rockbox(usb_dev_handle *dh)
_GET_CPU;
_FLUSH;
_GET_CPU;
- _STAGE2(0x080004000);
+ _STAGE2(0x080004008);
fprintf(stderr, "[INFO] Done!\n");
return 0;
}