"Hikey960" 修訂間的差異
(→Build FW) |
|||
行 15: | 行 15: | ||
** lunch hikey960-userdebug | ** lunch hikey960-userdebug | ||
** make -j24 | ** 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. | ||
== FW Programming == | == FW Programming == |
於 2020年5月12日 (二) 17:22 的修訂
目錄
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.
FW Programming
- git clone https://github.com/MediaTek-Labs/mt76x7-uploader
- python ./upload.py -c /dev/ttyUSB0 -f ./out/linkit7697_hdk/freertos_ledcube/freertos_ledcube.bin -t cm4 -p mt7697
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