"Hikey960" 修訂間的差異

出自 flip the world
前往: 導覽搜尋
(Build FW)
(FW Programming)
行 23: 行 23:
 
*Turn OFF switch 3 and power cycle the board.
 
*Turn OFF switch 3 and power cycle the board.
  
== FW Programming ==
+
== Flashing images ==
* git clone https://github.com/MediaTek-Labs/mt76x7-uploader
+
*Enter fastboot mode by turning ON switch 3.
* python ./upload.py -c /dev/ttyUSB0 -f ./out/linkit7697_hdk/freertos_ledcube/freertos_ledcube.bin -t cm4 -p mt7697
+
*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 的修訂

Hikey960 Front Hikey960 Back

Pin definition

Hikey960-pin-def.jpg

Build FW

  • 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

Reference