update(system): Fixup front board rndis doesn't work.
This commit is contained in:
38
lichee/brandy-2.0/spl/arch/riscv/cpu/riscv64/boot0.lds
Executable file
38
lichee/brandy-2.0/spl/arch/riscv/cpu/riscv64/boot0.lds
Executable 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.")
|
||||
}
|
||||
|
||||
|
||||
|
||||
37
lichee/brandy-2.0/spl/arch/riscv/cpu/riscv64/fes1.lds
Executable file
37
lichee/brandy-2.0/spl/arch/riscv/cpu/riscv64/fes1.lds
Executable 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 = .;
|
||||
}
|
||||
|
||||
|
||||
|
||||
30
lichee/brandy-2.0/spl/fes/fes1.lds
Normal file
30
lichee/brandy-2.0/spl/fes/fes1.lds
Normal 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 = .;
|
||||
}
|
||||
33
lichee/brandy-2.0/spl/nboot/boot0.lds
Normal file
33
lichee/brandy-2.0/spl/nboot/boot0.lds
Normal 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.")
|
||||
}
|
||||
Reference in New Issue
Block a user