Skip to content

Commit

Permalink
rt: build: update linker script to reflect correct SRAM size
Browse files Browse the repository at this point in the history
- description:
  - change the SRAM length from `32K` to `128K`. this adjustment aligns with the specifications outlined in the memory mapping documentation
- reference:
  - Module      Address                      Size
  - SRAM A1     0x0002 0000---0x0002 7FFF    32KB
  - DSP0 IRAM   0x0002 8000---0x0003 7FFF    64KB (The local sram is switched to system boot)
  - DSP0 DRAM0  0x0003 8000---0x0003 FFFF    32KB (The local sram is switched to system boot)
  - DSP0 DRAM1  0x0004 0000---0x0004 7FFF    32KB (The local sram is switched to system boot)

Signed-off-by: seven <[email protected]>
  • Loading branch information
sevetis committed Oct 5, 2024
1 parent 4a80e33 commit a38b68a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allwinner-rt/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const LINKER_ALLWINNER_D1: &[u8] = b"
OUTPUT_ARCH(riscv)
ENTRY(head_jump)
MEMORY {
SRAM : ORIGIN = 0x00020000, LENGTH = 32K
SRAM : ORIGIN = 0x00020000, LENGTH = 128K
}
SECTIONS {
.head : {
Expand Down

0 comments on commit a38b68a

Please sign in to comment.