Hikey960:修訂間差異
出自flip the world
| 第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

