summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}