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
d3b1bfc1
Commit
d3b1bfc1
authored
Feb 18, 2020
by
Mark Dykes
Committed by
TrustedFirmware Code Review
Feb 18, 2020
Browse files
Merge "FVP: Fix BL31 load address and image size for RESET_TO_BL31=1" into integration
parents
98ab1805
6227cca9
Changes
2
Show whitespace changes
Inline
Side-by-side
docs/plat/arm/fvp/index.rst
View file @
d3b1bfc1
...
...
@@ -277,15 +277,15 @@ And the FVP binary can be run with the following command:
-
C
cluster0
.
NUM_CORES
=
4
\
-
C
cluster1
.
NUM_CORES
=
4
\
-
C
cache_state_modelled
=
1
\
-
C
cluster0
.
cpu0
.
RVBAR
=
0x040
2
0000
\
-
C
cluster0
.
cpu1
.
RVBAR
=
0x040
2
0000
\
-
C
cluster0
.
cpu2
.
RVBAR
=
0x040
2
0000
\
-
C
cluster0
.
cpu3
.
RVBAR
=
0x040
2
0000
\
-
C
cluster1
.
cpu0
.
RVBAR
=
0x040
2
0000
\
-
C
cluster1
.
cpu1
.
RVBAR
=
0x040
2
0000
\
-
C
cluster1
.
cpu2
.
RVBAR
=
0x040
2
0000
\
-
C
cluster1
.
cpu3
.
RVBAR
=
0x040
2
0000
\
--
data
cluster0
.
cpu0
=
"<path-to>/bl31.bin"
@
0x040
2
0000
\
-
C
cluster0
.
cpu0
.
RVBAR
=
0x0400
1
000
\
-
C
cluster0
.
cpu1
.
RVBAR
=
0x0400
1
000
\
-
C
cluster0
.
cpu2
.
RVBAR
=
0x0400
1
000
\
-
C
cluster0
.
cpu3
.
RVBAR
=
0x0400
1
000
\
-
C
cluster1
.
cpu0
.
RVBAR
=
0x0400
1
000
\
-
C
cluster1
.
cpu1
.
RVBAR
=
0x0400
1
000
\
-
C
cluster1
.
cpu2
.
RVBAR
=
0x0400
1
000
\
-
C
cluster1
.
cpu3
.
RVBAR
=
0x0400
1
000
\
--
data
cluster0
.
cpu0
=
"<path-to>/bl31.bin"
@
0x0400
1
000
\
--
data
cluster0
.
cpu0
=
"<path-to>/<patched-fdt>"
@
0x82000000
\
--
data
cluster0
.
cpu0
=
"<path-to>/<kernel-binary>"
@
0x80080000
\
--
data
cluster0
.
cpu0
=
"<path-to>/<ramdisk.img>"
@
0x84000000
...
...
plat/arm/board/fvp/include/platform_def.h
View file @
d3b1bfc1
...
...
@@ -116,12 +116,18 @@
# define PLAT_ARM_MAX_BL2_SIZE (UL(0x11000) - FVP_BL2_ROMLIB_OPTIMIZATION)
#endif
#if RESET_TO_BL31
/* Size of Trusted SRAM - the first 4KB of shared memory */
#define PLAT_ARM_MAX_BL31_SIZE (PLAT_ARM_TRUSTED_SRAM_SIZE - \
ARM_SHARED_RAM_SIZE)
#else
/*
* Since BL31 NOBITS overlays BL2 and BL1-RW, PLAT_ARM_MAX_BL31_SIZE is
* calculated using the current BL31 PROGBITS debug size plus the sizes of
* BL2 and BL1-RW
*/
#define PLAT_ARM_MAX_BL31_SIZE UL(0x3B000)
#endif
/* RESET_TO_BL31 */
#ifndef __aarch64__
/*
...
...
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