From f3d5700df79adf73b22f1961f4bf10fda0084444 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Wed, 3 Sep 2008 12:47:45 +0000 Subject: [PATCH] ... but still be compatible with OF.. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18396 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/mips/ingenic_jz47xx/crt0.S | 5 +++++ utils/jz4740_tools/jz4740_usbtool.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; }