update(system): Fixup front board rndis doesn't work.

This commit is contained in:
kangjun
2024-06-18 23:35:25 +08:00
parent d0d09ae563
commit db0777c83d
12 changed files with 17931 additions and 78 deletions

View File

@@ -0,0 +1,38 @@
OUTPUT_FORMAT("elf64-littleriscv", "elf64-littleriscv", "elf64-littleriscv")
OUTPUT_ARCH("riscv")
ENTRY(_start)
SECTIONS
{
. = BOOT0ADDR;
. = ALIGN(4);
.head :
{
main/boot0_head.o (.rodata)
}
. = ALIGN(1);
.text :
{
CPUDIR/boot0_entry.o (.text)
*(.text)
}
. = ALIGN(16);
.rodata : { *(.rodata) }
. = ALIGN(16);
.data : { *(.data) }
. = ALIGN(4);
.bss :
{
__bss_start = .;
*(.bss)
}
. = ALIGN(4);
__bss_end = .;
_end = .;
ASSERT(. <= (BOOT0ADDR + BOOT0SIZE), "boot0 image has exceeded its limit.")
}

View File

@@ -0,0 +1,37 @@
OUTPUT_FORMAT("elf64-littleriscv", "elf64-littleriscv", "elf64-littleriscv")
OUTPUT_ARCH(riscv)
ENTRY(_start)
SECTIONS
{
. = FES1ADDR;
. = ALIGN(4);
.head :
{
main/fes1_head.o (.rodata)
}
.text :
{
CPUDIR/fes1_entry.o (.text)
*(.text)
}
. = ALIGN(16);
.rodata : { *(.rodata) }
. = ALIGN(16);
.data : { *(.data) }
. = ALIGN(4);
.bss :
{
fes1_res_addr = .;
__bss_start = .;
*(.bss)
}
. = ALIGN(4);
__bss_end = .;
_end = .;
}

View File

@@ -0,0 +1,30 @@
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
OUTPUT_ARCH(arm)
ENTRY(_start)
SECTIONS
{
. = 0x28000;
. = ALIGN(4);
.head :
{
main/fes1_head.o (.rodata)
}
.text :
{
/home/kangjun/work/allwinner/v851/gitea/sl100_sdk/lichee/brandy-2.0/spl/arch/arm/cpu/armv7/fes1_entry.o (.text)
*(.text)
}
. = ALIGN(16);
.rodata : { *(.rodata) }
. = ALIGN(16);
.data : { *(.data) }
. = ALIGN(4);
.bss :
{
__bss_start = .;
*(.bss)
}
. = ALIGN(4);
__bss_end = .;
_end = .;
}

View File

@@ -0,0 +1,33 @@
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
OUTPUT_ARCH(arm)
ENTRY(_start)
SECTIONS
{
. = 0x20000;
. = ALIGN(4);
.head :
{
main/boot0_head.o (.rodata)
}
. = ALIGN(1);
.text :
{
/home/kangjun/work/allwinner/v851/gitea/sl100_sdk/lichee/brandy-2.0/spl/arch/arm/cpu/armv7/boot0_entry.o (.text)
/home/kangjun/work/allwinner/v851/gitea/sl100_sdk/lichee/brandy-2.0/spl/solution/libsolution.o (.text)
*(.text)
}
. = ALIGN(16);
.rodata : { *(.rodata) }
. = ALIGN(16);
.data : { *(.data) }
. = ALIGN(4);
.bss :
{
__bss_start = .;
*(.bss)
}
. = ALIGN(4);
__bss_end = .;
_end = .;
ASSERT(. <= (0x20000 + 0x10000), "boot0 image has exceeded its limit.")
}