summaryrefslogtreecommitdiff
path: root/docs/plat
diff options
context:
space:
mode:
authordavidcunado-arm <david.cunado@arm.com>2017-07-14 16:37:02 +0100
committerGitHub <noreply@github.com>2017-07-14 16:37:02 +0100
commit8f83003b9c1382ab3f65167895123f76af42cb63 (patch)
treeb75d172893df8eb709c65d402713dc036b048727 /docs/plat
parent37debcc6f97022486168f41b477cb7e0bf2ab0d4 (diff)
parent3b6e88a2b364d136acd28cdd1dea166a3a12a94e (diff)
Merge pull request #1028 from vchong/bl32_optee_support_v2
hikey: Add BL32 (OP-TEE) support v2
Diffstat (limited to 'docs/plat')
-rw-r--r--docs/plat/hikey.rst18
1 files changed, 13 insertions, 5 deletions
diff --git a/docs/plat/hikey.rst b/docs/plat/hikey.rst
index 027e14c7..125941f8 100644
--- a/docs/plat/hikey.rst
+++ b/docs/plat/hikey.rst
@@ -14,6 +14,9 @@ Code Locations
- ARM Trusted Firmware:
`link <https://github.com/ARM-software/arm-trusted-firmware>`__
+- OP-TEE
+ `link <https://github.com/OP-TEE/optee_os>`__
+
- edk2:
`link <https://github.com/96boards-hikey/edk2/tree/testing/hikey960_v2.5>`__
@@ -24,7 +27,7 @@ Code Locations
`link <https://github.com/96boards-hikey/l-loader/tree/testing/hikey960_v1.2>`__
- uefi-tools:
- `link <https://github.com/96boards-hikey/uefi-tools/tree/testing/hikey960_v1>`__
+ `link <https://git.linaro.org/uefi/uefi-tools.git>`__
- atf-fastboot:
`link <https://github.com/96boards-hikey/atf-fastboot/tree/master>`__
@@ -70,13 +73,11 @@ Build Procedure
FASTBOOT_BUILD_OPTION=$(echo ${BUILD_OPTION} | tr '[A-Z]' '[a-z]')
cd ${EDK2_DIR}
# Build UEFI & ARM Trust Firmware
- ${UEFI_TOOLS_DIR}/uefi-build.sh -b ${BUILD_OPTION} -a ../arm-trusted-firmware hikey
+ ${UEFI_TOOLS_DIR}/uefi-build.sh -b ${BUILD_OPTION} -a ../arm-trusted-firmware -s ../optee_os hikey
# Generate l-loader.bin
cd ${BUILD_PATH}/l-loader
ln -sf ${EDK2_OUTPUT_DIR}/FV/bl1.bin
- ln -sf ${EDK2_OUTPUT_DIR}/FV/fip.bin
ln -sf ${BUILD_PATH}/atf-fastboot/build/hikey/${FASTBOOT_BUILD_OPTION}/bl1.bin fastboot.bin
- python gen_loader.py -o l-loader.bin --img_bl1=bl1.bin --img_ns_bl1u=BL33_AP_UEFI.fd
arm-linux-gnueabihf-gcc -c -o start.o start.S
arm-linux-gnueabihf-ld -Bstatic -Tl-loader.lds -Ttext 0xf9800800 start.o -o loader
arm-linux-gnueabihf-objcopy -O binary loader temp
@@ -86,7 +87,7 @@ Build Procedure
.. code:: shell
- $PTABLE=aosp-4g SECTOR_SIZE=512 bash -x generate_ptable.sh
+ PTABLE=aosp-4g SECTOR_SIZE=512 bash -x generate_ptable.sh
Setup Console
-------------
@@ -110,6 +111,13 @@ Setup Console
2004:telnet:0:/dev/ttyUSB0:115200 8DATABITS NONE 1STOPBIT banner
+- Start ser2net
+
+ .. code:: shell
+
+ $sudo killall ser2net
+ $sudo ser2net -u
+
- Open the console.
.. code:: shell