Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
a747b08e
Commit
a747b08e
authored
Sep 13, 2017
by
davidcunado-arm
Committed by
GitHub
Sep 13, 2017
Browse files
Merge pull request #1097 from davidcunado-arm/dc/reset_bl31
plat/arm: Fix BL31_BASE when RESET_TO_BL31=1
parents
50915b89
fd5763ea
Changes
2
Show whitespace changes
Inline
Side-by-side
docs/user-guide.rst
View file @
a747b08e
...
...
@@ -1593,15 +1593,15 @@ with 8 CPUs using the AArch64 build of ARM Trusted Firmware.
-C cluster0.NUM_CORES=4 \
-C cluster1.NUM_CORES=4 \
-C cache_state_modelled=1 \
-C cluster0.cpu0.RVBAR=0x0402
3
000 \
-C cluster0.cpu1.RVBAR=0x0402
3
000 \
-C cluster0.cpu2.RVBAR=0x0402
3
000 \
-C cluster0.cpu3.RVBAR=0x0402
3
000 \
-C cluster1.cpu0.RVBAR=0x0402
3
000 \
-C cluster1.cpu1.RVBAR=0x0402
3
000 \
-C cluster1.cpu2.RVBAR=0x0402
3
000 \
-C cluster1.cpu3.RVBAR=0x0402
3
000 \
--data cluster0.cpu0="<path-to>/<bl31-binary>"@0x0402
3
000 \
-C cluster0.cpu0.RVBAR=0x0402
0
000 \
-C cluster0.cpu1.RVBAR=0x0402
0
000 \
-C cluster0.cpu2.RVBAR=0x0402
0
000 \
-C cluster0.cpu3.RVBAR=0x0402
0
000 \
-C cluster1.cpu0.RVBAR=0x0402
0
000 \
-C cluster1.cpu1.RVBAR=0x0402
0
000 \
-C cluster1.cpu2.RVBAR=0x0402
0
000 \
-C cluster1.cpu3.RVBAR=0x0402
0
000 \
--data cluster0.cpu0="<path-to>/<bl31-binary>"@0x0402
0
000 \
--data cluster0.cpu0="<path-to>/<bl32-binary>"@0x04001000 \
--data cluster0.cpu0="<path-to>/<bl33-binary>"@0x88000000 \
--data cluster0.cpu0="<path-to>/<fdt>"@0x82000000 \
...
...
@@ -1678,15 +1678,15 @@ boot Linux with 8 CPUs using the AArch64 build of ARM Trusted Firmware.
-C bp.secure_memory=1 \
-C bp.tzc_400.diagnostics=1 \
-C cache_state_modelled=1 \
-C cluster0.cpu0.RVBARADDR=0x0402
3
000 \
-C cluster0.cpu1.RVBARADDR=0x0402
3
000 \
-C cluster0.cpu2.RVBARADDR=0x0402
3
000 \
-C cluster0.cpu3.RVBARADDR=0x0402
3
000 \
-C cluster1.cpu0.RVBARADDR=0x0402
3
000 \
-C cluster1.cpu1.RVBARADDR=0x0402
3
000 \
-C cluster1.cpu2.RVBARADDR=0x0402
3
000 \
-C cluster1.cpu3.RVBARADDR=0x0402
3
000 \
--data cluster0.cpu0="<path-to>/<bl31-binary>"@0x0402
3
000 \
-C cluster0.cpu0.RVBARADDR=0x0402
0
000 \
-C cluster0.cpu1.RVBARADDR=0x0402
0
000 \
-C cluster0.cpu2.RVBARADDR=0x0402
0
000 \
-C cluster0.cpu3.RVBARADDR=0x0402
0
000 \
-C cluster1.cpu0.RVBARADDR=0x0402
0
000 \
-C cluster1.cpu1.RVBARADDR=0x0402
0
000 \
-C cluster1.cpu2.RVBARADDR=0x0402
0
000 \
-C cluster1.cpu3.RVBARADDR=0x0402
0
000 \
--data cluster0.cpu0="<path-to>/<bl31-binary>"@0x0402
0
000 \
--data cluster0.cpu0="<path-to>/<bl32-binary>"@0x04001000 \
--data cluster0.cpu0="<path-to>/<bl33-binary>"@0x88000000 \
--data cluster0.cpu0="<path-to>/<fdt>"@0x82000000 \
...
...
include/plat/arm/common/arm_def.h
View file @
a747b08e
...
...
@@ -292,6 +292,13 @@
#define BL31_BASE ARM_AP_TZC_DRAM1_BASE
#define BL31_LIMIT (ARM_AP_TZC_DRAM1_BASE + \
PLAT_ARM_MAX_BL31_SIZE)
#elif (RESET_TO_BL31)
/*
* Put BL31_BASE in the middle of the Trusted SRAM.
*/
#define BL31_BASE (ARM_TRUSTED_SRAM_BASE + \
(PLAT_ARM_TRUSTED_SRAM_SIZE >> 1))
#define BL31_LIMIT (ARM_BL_RAM_BASE + ARM_BL_RAM_SIZE)
#else
/*
* Put BL31 at the top of the Trusted SRAM.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment