Files
retroSoC/app/ports/rtthread/linker.ld
T
maksyuki 0e36b6a82f feat: introduce RV64 support and related tooling for HP workloads
- Added build_hp_rtthread.py for building the RT-Thread kernel with RV64 support.
- Updated build_hp_smoke.py to target RV64 architecture and modified output filenames.
- Modified generate_vexiiriscv.py to reflect RV64 configuration and memory management.
- Created hp_tools.py for shared utilities related to RV64 builds.
- Enhanced package_hp_boot.py to package RV64 workloads and updated versioning.
- Implemented run_hp_sim.py for executing and validating HP workloads with specific markers.
- Developed setup_hp_rtthread.py for installing RT-Thread source and environment setup.
- Updated GenerateRetroSocHp.scala to generate RV64 application cores.
- Enhanced tests for HP boot bundles, platform specifications, and tool utilities to accommodate RV64 changes.
- Adjusted test cases to validate new workload types and ensure compatibility with RV64 architecture.
2026-09-26 15:47:26 +08:00

17 lines
650 B
Plaintext

OUTPUT_ARCH(riscv)
ENTRY(_start)
MEMORY { RAM (rwx) : ORIGIN = 0x38000000, LENGTH = 512K }
PHDRS { text PT_LOAD FLAGS(5); data PT_LOAD FLAGS(6); }
SECTIONS {
.text : { KEEP(*(.text.start)) *(.text*) *(.rodata*) } > RAM :text
.data : { . = ALIGN(16); __global_pointer$ = . + 0x800; *(.sdata*) *(.data*) } > RAM :data
.bss (NOLOAD) : {
. = ALIGN(16); __bss_start = .;
*(.sbss*) *(.bss*) *(COMMON)
. = ALIGN(16); __bss_end = .;
} > RAM
.stack (NOLOAD) : { . = ALIGN(16); . += 8192; __rt_rvstack = .; } > RAM
/DISCARD/ : { *(.eh_frame*) *(.comment*) }
ASSERT(. <= ORIGIN(RAM) + LENGTH(RAM), "RT-Thread exceeds HP RAM budget")
}