"Hikey960" 修訂間的差異
行 5: | 行 5: | ||
[[file:Hikey960-pin-def.jpg]] | [[file:Hikey960-pin-def.jpg]] | ||
− | |||
− | |||
== Build FW == | == Build FW == | ||
− | * ./build.sh | + | |
− | * | + | * 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 | ||
+ | |||
== FW Programming == | == FW Programming == | ||
* git clone https://github.com/MediaTek-Labs/mt76x7-uploader | * git clone https://github.com/MediaTek-Labs/mt76x7-uploader |
於 2020年5月12日 (二) 17:18 的修訂
目錄
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
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