Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
df0b5a4b
Unverified
Commit
df0b5a4b
authored
6 years ago
by
danh-arm
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1487 from hzhuang1/tbb_bl1
hikey: include TBB in BL1
parents
ba0248b5
99eb5ae8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
plat/hisilicon/hikey/include/hikey_layout.h
+5
-5
plat/hisilicon/hikey/include/hikey_layout.h
plat/hisilicon/hikey/platform.mk
+6
-2
plat/hisilicon/hikey/platform.mk
with
11 additions
and
7 deletions
+11
-7
plat/hisilicon/hikey/include/hikey_layout.h
View file @
df0b5a4b
...
...
@@ -31,20 +31,20 @@
* + loader +
* ++++++++++ 0xF980_1000
* + BL1_RO +
* ++++++++++ 0xF981_
0
000
* ++++++++++ 0xF981_
8
000
* + BL1_RW +
* ++++++++++ 0xF989_8000
*/
#define BL1_RO_BASE (XG2RAM0_BASE + BL1_XG2RAM0_OFFSET)
#define BL1_RO_LIMIT (XG2RAM0_BASE + 0x1
0
000)
#define BL1_RW_BASE (BL1_RO_LIMIT)
/* 0xf981_
0
000 */
#define BL1_RW_SIZE (0x0008
8
000)
#define BL1_RO_LIMIT (XG2RAM0_BASE + 0x1
8
000)
#define BL1_RW_BASE (BL1_RO_LIMIT)
/* 0xf981_
8
000 */
#define BL1_RW_SIZE (0x0008
0
000)
#define BL1_RW_LIMIT (0xF9898000)
/*
* Non-Secure BL1U specific defines.
*/
#define NS_BL1U_BASE (0xf98
1
8000)
#define NS_BL1U_BASE (0xf98
2
8000)
#define NS_BL1U_SIZE (0x00010000)
#define NS_BL1U_LIMIT (NS_BL1U_BASE + NS_BL1U_SIZE)
...
...
This diff is collapsed.
Click to expand it.
plat/hisilicon/hikey/platform.mk
View file @
df0b5a4b
...
...
@@ -134,6 +134,11 @@ AUTH_SOURCES := drivers/auth/auth_mod.c \
drivers/auth/img_parser_mod.c
\
drivers/auth/tbbr/tbbr_cot.c
BL1_SOURCES
+=
${AUTH_SOURCES}
\
plat/common/tbbr/plat_tbbr.c
\
plat/hisilicon/hikey/hikey_tbbr.c
\
plat/hisilicon/hikey/hikey_rotpk.S
BL2_SOURCES
+=
${AUTH_SOURCES}
\
plat/common/tbbr/plat_tbbr.c
\
plat/hisilicon/hikey/hikey_tbbr.c
\
...
...
@@ -143,6 +148,7 @@ ROT_KEY = $(BUILD_PLAT)/rot_key.pem
ROTPK_HASH
=
$(BUILD_PLAT)
/rotpk_sha256.bin
$(eval
$(call
add_define_val,ROTPK_HASH,
'"$(ROTPK_HASH)"'
))
$(BUILD_PLAT)/bl1/hikey_rotpk.o
:
$(ROTPK_HASH)
$(BUILD_PLAT)/bl2/hikey_rotpk.o
:
$(ROTPK_HASH)
certificates
:
$(ROT_KEY)
...
...
@@ -154,8 +160,6 @@ $(ROTPK_HASH): $(ROT_KEY)
@
echo
" OPENSSL
$@
"
$(Q)
openssl rsa
-in
$<
-pubout
-outform
DER 2>/dev/null |
\
openssl dgst
-sha256
-binary
>
$@
2>/dev/null
override
BL1_SOURCES
=
endif
# Enable workarounds for selected Cortex-A53 errata.
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help