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 = .;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user