summaryrefslogtreecommitdiff
path: root/firmware/target/mips/ingenic_x1000/spl.lds
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-05-11 13:28:43 +0100
committerAidan MacDonald <amachronic@protonmail.com>2021-05-12 10:35:20 +0000
commit3f26fcf34001197ed267fa1ad549095aae49c88e (patch)
treec81ab3298a349d1156e905d467492b603236f74d /firmware/target/mips/ingenic_x1000/spl.lds
parentcc22df198d0ccb64dfdfe0c2f247f7d86b7fd750 (diff)
downloadrockbox-3f26fcf34001197ed267fa1ad549095aae49c88e.tar.gz
rockbox-3f26fcf34001197ed267fa1ad549095aae49c88e.zip
FiiO M3K: New bootloaderbootloader_fiiom3k_v1
SPL and UCL-compressed bootloader are now packed into one output, bootloader.m3k, eliminating the separate SPL build phase. The Rockbox bootloader now has a recovery menu, accessible by holding VOL+ when booting, that lets you back up, restore, and update the bootloader from the device. Change-Id: I642c6e5fb83587a013ab2fbfd1adab439561ced2
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/spl.lds')
-rw-r--r--firmware/target/mips/ingenic_x1000/spl.lds9
1 files changed, 6 insertions, 3 deletions
diff --git a/firmware/target/mips/ingenic_x1000/spl.lds b/firmware/target/mips/ingenic_x1000/spl.lds
index 36ae8c34d1..e932bd9c2e 100644
--- a/firmware/target/mips/ingenic_x1000/spl.lds
+++ b/firmware/target/mips/ingenic_x1000/spl.lds
@@ -3,8 +3,8 @@
3 3
4OUTPUT_FORMAT("elf32-littlemips") 4OUTPUT_FORMAT("elf32-littlemips")
5OUTPUT_ARCH(MIPS) 5OUTPUT_ARCH(MIPS)
6ENTRY(_start) 6ENTRY(_spl_start)
7STARTUP(target/mips/ingenic_x1000/crt0.o) 7STARTUP(target/mips/ingenic_x1000/spl-start.o)
8 8
9MEMORY { 9MEMORY {
10 /* First 4k of TCSM is used by mask ROM for stack + variables, 10 /* First 4k of TCSM is used by mask ROM for stack + variables,
@@ -15,9 +15,12 @@ MEMORY {
15 15
16SECTIONS 16SECTIONS
17{ 17{
18 /* Mask ROM variables, addresses found by disassembly */
19 boot_sel = X1000_TCSM_BASE + 0x1ec;
20
18 .text : 21 .text :
19 { 22 {
20 *(.init.text); 23 *(.init.spl);
21 *(.text*); 24 *(.text*);
22 *(.icode*); 25 *(.icode*);
23 } > TCSM 26 } > TCSM