Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First amcfoc projects: amcfoc.loader and amcfoc.CM7launcher #521

Merged
merged 2 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.placeholder
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@


LR_IROM1 0x08100000 0x00020000 { ; load region size_region
ER_IROM1 0x08100000 0x00020000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
}

; RX_DESCR 0x30040000 0x00000060 {
; ethram.o(.RxDecripSection)
; }
; TX_DESCR 0x30040060 0x000001A0 {
; ethram.o(.TxDecripSection)
; }
; RX_ARRAY 0x30040200 0x00001800 {
; ethram.o(.RxArraySection)
; }

; banks sram1 and sram2 joined together
RW_IRAM1 0x10000000 0x0003FFC0 {
.ANY (+RW +ZI)
}

; RW_IRAM2 0x10020000 0x00020000 {
; .ANY (+RW +ZI)
; }


}

; RW_IRAM1 0x38000000 0x00010000 { ; RW data
; .ANY (+RW +ZI)
; }
; RW_IRAM2 0x24000000 0x00080000 {
; .ANY (+RW +ZI)
; }



Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

; this scatter file is for the eloader. it uses:
; - 1M of flash
; - ram in banks sram1 and sram2 w/ a memory hole of 64 bytes on top for ipc (shall we make make 256?)
; - the placing of the memory required by the ETH driver (commented out because eloader does not compile the driver)

LR_IROM1 0x08100000 0x00020000 { ; load region size_region

; flash
ER_IROM1 0x08100000 0x00020000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
}

; eth mapping. comment it out if ethram.o is not linked
; RX_DESCR 0x30040000 0x00000060 {
; ethram.o(.RxDecripSection)
; }
; TX_DESCR 0x30040060 0x000001A0 {
; ethram.o(.TxDecripSection)
; }
; RX_ARRAY 0x30040200 0x00001800 {
; ethram.o(.RxArraySection)
; }

; banks sram1 and sram2 joined together w/ a memory hole on top
RW_IRAM1 0x10000000 0x0003FFC0 {
.ANY (+RW +ZI)
}


}

Large diffs are not rendered by default.

Loading