-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
59 additions
and
63 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
# Copyright(C) 2020 Hex Five Security, Inc. - All Rights Reserved | ||
|
||
# MultiZone reserved memory: 8K @0x40400000, 6K @0x80000000 | ||
# MultiZone reserved: 8K @0x40400000, 4K @0x08000000, 2K @0x80000000 | ||
|
||
Tick = 10 # ms | ||
|
||
Zone = 1 | ||
irq = 19 # DMA (Mockup) | ||
plic = 17 # UART | ||
base = 0x40402800; size = 30K; rwx = rx # FLASH | ||
base = 0x80001800; size = 4K; rwx = rw # RAM | ||
base = 0x40408000; size = 32K; rwx = rx # FLASH | ||
base = 0x80003000; size = 4K; rwx = rw # RAM | ||
base = 0x20000000; size = 0x100; rwx = rw # UART | ||
|
||
Zone = 2 | ||
irq = 20, 21, 22 # BTN0 BTN1 BTN2 (CLINT) | ||
base = 0x4040A000; size = 8K; rwx = rx # FLASH | ||
base = 0x80002800; size = 2K; rwx = rw # RAM | ||
base = 0x40406000; size = 8K; rwx = rx # FLASH | ||
base = 0x80002000; size = 4K; rwx = rw # RAM | ||
base = 0x20005000; size = 0x100; rwx = rw # PWM LED | ||
base = 0x20002000; size = 0x100; rwx = rw # GPIO | ||
|
||
Zone = 3 | ||
base = 0x4040C000; size = 8K; rwx = rx # FLASH | ||
base = 0x80003000; size = 3K; rwx = rw # RAM | ||
base = 0x40404000; size = 8K; rwx = rx # FLASH | ||
base = 0x80001000; size = 4K; rwx = rw # RAM | ||
base = 0x20002000; size = 0x100; rwx = rw # GPIO | ||
|
||
Zone = 4 | ||
base = 0x4040E000; size = 8K; rwx = rx # FLASH | ||
base = 0x80003C00; size = 1K; rwx = rw # RAM | ||
base = 0x40403000; size = 4K; rwx = rx # FLASH | ||
base = 0x80000800; size = 2K; rwx = rw # RAM |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
# Copyright(C) 2020 Hex Five Security, Inc. - All Rights Reserved | ||
|
||
# MultiZone reserved memory: 8K @0x20010000, 6K @0x80000000 | ||
# MultiZone reserved: 8K @0x20010000, 4K @0x08000000, 2K @0x80000000 | ||
|
||
Tick = 10 # ms | ||
|
||
Zone = 1 | ||
irq = 19 # DMA (Mockup) | ||
plic = 3 # UART | ||
base = 0x20012800; size = 30K; rwx = rx # FLASH | ||
base = 0x80001800; size = 4K; rwx = rw # RAM | ||
base = 0x20018000; size = 32K; rwx = rx # FLASH | ||
base = 0x80003000; size = 4K; rwx = rw # RAM | ||
base = 0x10013000; size = 0x100; rwx = rw # UART | ||
|
||
Zone = 2 | ||
#irq = 20, 21, 22 # BTN0 BTN1 BTN2 (CLINT) | ||
base = 0x2001A000; size = 8K; rwx = rx # FLASH | ||
base = 0x80002800; size = 2K; rwx = rw # RAM | ||
base = 0x20016000; size = 8K; rwx = rx # FLASH | ||
base = 0x80002000; size = 4K; rwx = rw # RAM | ||
base = 0x10025000; size = 0x100; rwx = rw # PWM LED | ||
base = 0x10012000; size = 0x100; rwx = rw # GPIO | ||
|
||
Zone = 3 | ||
base = 0x2001C000; size = 8K; rwx = rx # FLASH | ||
base = 0x80003000; size = 3K; rwx = rw # RAM | ||
base = 0x20014000; size = 8K; rwx = rx # FLASH | ||
base = 0x80001000; size = 4K; rwx = rw # RAM | ||
base = 0x10012000; size = 0x100; rwx = rw # GPIO | ||
|
||
Zone = 4 | ||
base = 0x2001E000; size = 8K; rwx = rx # FLASH | ||
base = 0x80003C00; size = 1K; rwx = rw # RAM | ||
base = 0x20013000; size = 4K; rwx = rx # FLASH | ||
base = 0x80000800; size = 2K; rwx = rw # RAM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
/* Copyright(C) 2020 Hex Five Security, Inc. - All Rights Reserved */ | ||
|
||
flash = 0x40400000; | ||
itim = 0x08000000; /* 16K */ | ||
dtim = 0x80000800; /* 64K */ | ||
itim = 0x01800000; /* 16K */ | ||
dtim = 0x80000200; /* 64K */ | ||
|
||
/* Note: | ||
dtim start value increased +2K to make room for the larger 8K rv64 kernel | ||
while allowing for unchanged dtim/ram offsets in the zones linker sripts | ||
that fit the smaller 6K rv32 kernel and the DTIM 16K size limit imposed | ||
by the FE310 | ||
*/ | ||
/* Note: dtim start value increased by +512B to offest the larger rv64 kernel | ||
without changing dtim offests in the zones' linker sripts */ |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
# Copyright(C) 2020 Hex Five Security, Inc. - All Rights Reserved | ||
|
||
# MultiZone reserved memory: 8K @0x40400000, 8K @0x80000000 | ||
# MultiZone reserved: 8K @0x40400000, 4K @0x01800000, 2.5K @0x80000000 | ||
|
||
Tick = 10 # ms | ||
|
||
Zone = 1 | ||
irq = 19 # DMA (Mockup) | ||
plic = 17 # UART | ||
base = 0x40402800; size = 30K; rwx = rx # FLASH | ||
base = 0x80002000; size = 4K; rwx = rw # RAM | ||
base = 0x40408000; size = 32K; rwx = rx # FLASH | ||
base = 0x80003200; size = 4K; rwx = rw # RAM | ||
base = 0x20000000; size = 0x100; rwx = rw # UART | ||
|
||
Zone = 2 | ||
irq = 20, 21, 22 # BTN0 BTN1 BTN2 (CLINT) | ||
base = 0x4040A000; size = 8K; rwx = rx # FLASH | ||
base = 0x80003000; size = 2K; rwx = rw # RAM | ||
base = 0x40406000; size = 8K; rwx = rx # FLASH | ||
base = 0x80002200; size = 4K; rwx = rw # RAM | ||
base = 0x20005000; size = 0x100; rwx = rw # PWM LED | ||
base = 0x20002000; size = 0x100; rwx = rw # GPIO | ||
|
||
Zone = 3 | ||
base = 0x4040C000; size = 8K; rwx = rx # FLASH | ||
base = 0x80003800; size = 3K; rwx = rw # RAM | ||
base = 0x40404000; size = 8K; rwx = rx # FLASH | ||
base = 0x80001200; size = 4K; rwx = rw # RAM | ||
base = 0x20002000; size = 0x100; rwx = rw # GPIO | ||
|
||
Zone = 4 | ||
base = 0x4040E000; size = 8K; rwx = rx # FLASH | ||
base = 0x80004400; size = 1K; rwx = rw # RAM | ||
base = 0x40403000; size = 4K; rwx = rx # FLASH | ||
base = 0x80000A00; size = 2K; rwx = rw # RAM |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
# Copyright(C) 2020 Hex Five Security, Inc. - All Rights Reserved | ||
|
||
# MultiZone reserved memory: 8K @0x20400000, 6K @0x80000000 | ||
# MultiZone reserved: 8K @0x20400000, 4K @0x08000000, 2K @0x80000000 | ||
|
||
Tick = 10 # ms | ||
|
||
Zone = 1 | ||
irq = 19 # DMA (Mockup) | ||
plic = 3 # UART | ||
base = 0x20402800; size = 30K; rwx = rx # FLASH | ||
base = 0x80001800; size = 4K; rwx = rw # RAM | ||
base = 0x20408000; size = 32K; rwx = rx # FLASH | ||
base = 0x80003000; size = 4K; rwx = rw # RAM | ||
base = 0x10013000; size = 0x100; rwx = rw # UART | ||
|
||
Zone = 2 | ||
irq = 16, 17, 18 # BTN0 BTN1 BTN2 (CLINT) | ||
base = 0x2040A000; size = 8K; rwx = rx # FLASH | ||
base = 0x80002800; size = 2K; rwx = rw # RAM | ||
base = 0x20406000; size = 8K; rwx = rx # FLASH | ||
base = 0x80002000; size = 4K; rwx = rw # RAM | ||
base = 0x10025000; size = 0x100; rwx = rw # PWM LED | ||
base = 0x10012000; size = 0x100; rwx = rw # GPIO | ||
|
||
Zone = 3 | ||
base = 0x2040C000; size = 8K; rwx = rx # FLASH | ||
base = 0x80003000; size = 3K; rwx = rw # RAM | ||
base = 0x20404000; size = 8K; rwx = rx # FLASH | ||
base = 0x80001000; size = 4K; rwx = rw # RAM | ||
base = 0x10012000; size = 0x100; rwx = rw # GPIO | ||
|
||
Zone = 4 | ||
base = 0x2040E000; size = 8K; rwx = rx # FLASH | ||
base = 0x80003C00; size = 1K; rwx = rw # RAM | ||
base = 0x20403000; size = 4K; rwx = rx # FLASH | ||
base = 0x80000800; size = 2K; rwx = rw # RAM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters