mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2024-12-13 13:15:39 +00:00
hikey960: Fix errors in doc
Signed-off-by: Victor Chong <victor.chong@linaro.org> Acked-by: Haojian Zhuang <haojian.zhuang@linaro.org>
This commit is contained in:
parent
97a4943c58
commit
42ba9f29fe
@ -24,7 +24,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/hikey960_v1>`__
|
||||
`link <https://git.linaro.org/uefi/uefi-tools.git>`__
|
||||
|
||||
Build Procedure
|
||||
---------------
|
||||
@ -56,7 +56,7 @@ Build Procedure
|
||||
.. code:: shell
|
||||
|
||||
BUILD_OPTION=DEBUG
|
||||
export AARCH64_TOOLCHAIN=GCC48
|
||||
export AARCH64_TOOLCHAIN=GCC5
|
||||
export UEFI_TOOLS_DIR=${BUILD_PATH}/uefi-tools
|
||||
export EDK2_DIR=${BUILD_PATH}/edk2
|
||||
EDK2_OUTPUT_DIR=${EDK2_DIR}/Build/HiKey960/${BUILD_OPTION}_${AARCH64_TOOLCHAIN}
|
||||
@ -68,14 +68,14 @@ Build Procedure
|
||||
ln -sf ${EDK2_OUTPUT_DIR}/FV/bl1.bin
|
||||
ln -sf ${EDK2_OUTPUT_DIR}/FV/fip.bin
|
||||
ln -sf ${EDK2_OUTPUT_DIR}/FV/BL33_AP_UEFI.fd
|
||||
python gen_loader.py -o l-loader.bin --img_bl1=bl1.bin --img_ns_bl1u=BL33_AP_UEFI.fd
|
||||
python gen_loader_hikey960.py -o l-loader.bin --img_bl1=bl1.bin --img_ns_bl1u=BL33_AP_UEFI.fd
|
||||
|
||||
- Generate partition table.
|
||||
*Make sure that you're using the sgdisk in the l-loader directory.*
|
||||
|
||||
.. code:: shell
|
||||
|
||||
$PTABLE=aosp-32g SECTOR_SIZE=4096 SGDISK=./sgdisk bash -x generate_ptable.sh
|
||||
PTABLE=aosp-32g SECTOR_SIZE=4096 SGDISK=./sgdisk bash -x generate_ptable.sh
|
||||
|
||||
Setup Console
|
||||
-------------
|
||||
@ -99,6 +99,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
|
||||
@ -126,7 +133,7 @@ Boot UEFI in recovery mode
|
||||
|
||||
$vi config
|
||||
# The content of config file
|
||||
./sec_user_xloader.img 0x00020000
|
||||
./sec_usb_xloader.img 0x00020000
|
||||
./sec_uce_boot.img 0x6A908000
|
||||
./l-loader.bin 0x1AC00000
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user