From 02aadebd5f16740687d6a135581712a1719301c9 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 31 May 2008 08:48:06 +0000 Subject: Make ZXBox work on the m:robe 100, and fix the linker script and loader to make it work again on archos. Put Menu on F1 for recorders in order to avoid accidental poweroff on v1. ZXBox on archos is very slow, but that's not different from rockboy which is also included for recorders. (Patch by Marianne Arnold and me). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17666 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/zxbox/archos.lds | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'apps/plugins/zxbox/archos.lds') diff --git a/apps/plugins/zxbox/archos.lds b/apps/plugins/zxbox/archos.lds index 319b9eb626..5b4db7dc3e 100644 --- a/apps/plugins/zxbox/archos.lds +++ b/apps/plugins/zxbox/archos.lds @@ -1,6 +1,6 @@ #include "config.h" -/* linker script for chessbox as an overlay, +/* linker script for zxbox as an overlay, * only used/ necessary for SH-based archos targets */ OUTPUT_FORMAT(elf32-sh) @@ -8,7 +8,7 @@ OUTPUT_FORMAT(elf32-sh) #define DRAMORIG 0x09000000 #define PLUGIN_LENGTH PLUGIN_BUFFER_SIZE -#define OVERLAY_LENGTH 0x80000 +#define OVERLAY_LENGTH 0x48000 #define OVERLAY_ORIGIN (DRAMORIG + (MEMORYSIZE * 0x100000) - PLUGIN_LENGTH - OVERLAY_LENGTH) MEMORY @@ -20,26 +20,23 @@ SECTIONS { .header : { _plugin_start_addr = .; - *(.header) + KEEP(*(.header)) } > OVERLAY_RAM .text : { - *(.text) - *(.text.*) + *(.text*) } > OVERLAY_RAM .rodata : { - *(.rodata) - *(.rodata.*) + *(.rodata*) } > OVERLAY_RAM .data : { - *(.data) + *(.data*) } > OVERLAY_RAM .bss : { - *(.bss) - *(.bss.*) + *(.bss*) *(COMMON) . = ALIGN(0x4); _plugin_end_addr = .; -- cgit v1.2.3