summaryrefslogtreecommitdiff
path: root/hw/mcu
diff options
context:
space:
mode:
authorYunhao Tian <[email protected]>2021-12-07 22:53:52 +0800
committerYunhao Tian <[email protected]>2021-12-07 22:53:52 +0800
commit75f7fb3d9d267f168bc45fc218e1c443701ff11d (patch)
tree8513512e9702a3fd5dacd97f76eee828167c6ed9 /hw/mcu
parent96979a2c4a43902a3051c678858e788e7ffc8c60 (diff)
Add mksunxi tool to make flashable image
Diffstat (limited to 'hw/mcu')
-rw-r--r--hw/mcu/allwinner/f1c100s/f1c100s.ld19
1 files changed, 9 insertions, 10 deletions
diff --git a/hw/mcu/allwinner/f1c100s/f1c100s.ld b/hw/mcu/allwinner/f1c100s/f1c100s.ld
index a261618e5..43c353bbd 100644
--- a/hw/mcu/allwinner/f1c100s/f1c100s.ld
+++ b/hw/mcu/allwinner/f1c100s/f1c100s.ld
@@ -21,15 +21,15 @@ SECTIONS
PROVIDE(__bootloader_start = .);
PROVIDE(__image_start = .);
PROVIDE(__text_start = .);
- */machine/start.o (.text)
- */lib/memcpy.o (.text)
- */lib/memset.o (.text)
- */machine/sys-uart.o (.text)
- */machine/sys-clock.o (.text)
- */machine/sys-dram.o (.text)
- */machine/sys-mmu.o (.text)
- */machine/sys-spi-flash.o (.text)
- */machine/sys-copyself.o (.text)
+ _build/*/obj/hw/mcu/allwinner/*/machine/start_asm.o (.text)
+ _build/*/obj/hw/mcu/allwinner/*/lib/memcpy_asm.o (.text)
+ _build/*/obj/hw/mcu/allwinner/*/lib/memset_asm.o (.text)
+ _build/*/obj/hw/mcu/allwinner/*/machine/sys-uart.o (.text*)
+ _build/*/obj/hw/mcu/allwinner/*/machine/sys-clock.o (.text*)
+ _build/*/obj/hw/mcu/allwinner/*/machine/sys-dram.o (.text*)
+ _build/*/obj/hw/mcu/allwinner/*/machine/sys-mmu.o (.text*)
+ _build/*/obj/hw/mcu/allwinner/*/machine/sys-spi-flash.o (.text*)
+ _build/*/obj/hw/mcu/allwinner/*/machine/sys-copyself.o (.text*)
PROVIDE(__bootloader_end = .);
} > ram
@@ -37,7 +37,6 @@ SECTIONS
.text :
{
- */main.o (.text)
*(.text*)
*(.glue*)
*(.note.gnu.build-id)