"Hikey960" 修訂間的差異
(→Build FW) |
(→FW Programming) |
||
行 23: | 行 23: | ||
*Turn OFF switch 3 and power cycle the board. | *Turn OFF switch 3 and power cycle the board. | ||
− | == | + | == Flashing images == |
− | * | + | *Enter fastboot mode by turning ON switch 3. |
− | * | + | *Flash images by running the following commands: |
+ | ** fastboot flash boot out/target/product/hikey960/boot.img | ||
+ | *Turn OFF switch 3 and power cycle the board. | ||
== module ON or OFF feature option == | == module ON or OFF feature option == |
於 2020年5月12日 (二) 17:23 的修訂
目錄
Pin definition
Build FW
- Download the Android source tree:
- repo init -u https://android.googlesource.com/platform/manifest -b master
- repo sync -j8
- Build:
- . ./build/envsetup.sh
- lunch hikey960-userdebug
- make -j24
Installing initial images
- Select fastboot mode by turning ON switch 3 (for details, refer to the HiKey 960 Getting Started guide).
- Power the board.
- Flash initial images:
- cd device/linaro/hikey/installer/hikey960
- Turn OFF switch 3 and power cycle the board.
Flashing images
- Enter fastboot mode by turning ON switch 3.
- Flash images by running the following commands:
- fastboot flash boot out/target/product/hikey960/boot.img
- Turn OFF switch 3 and power cycle the board.
module ON or OFF feature option
- Edit inc/hal_feature_config.h in each example code
Note
- Disable ICMP for enable ping
- sysctl -w net.ipv4.icmp_echo_ignore_all=0