Huang Xin 355064455b | ||
---|---|---|
doc/MT8516 | ||
meta | ||
prebuilt | ||
src | ||
tool | ||
.gitignore | ||
README.md |
README.md
prepare
- prepare ubuntu 16.04 for build project
- sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat xterm g++ libstdc++6 lib32stdc++6
libpulse-dev libevent-dev ninja-build rpm2cpio libsdl1.2-dev zip - sudo ln -s /bin/bash /usr/bin/sh
- cp tool/gn /bin ; chmod 777 /bin/gn
- Download the donwloads directory instead of slow downloads at compile time
build
- cd mt8516_avs_share
- export TEMPLATECONF=${PWD}/meta/base/conf/mt8516/aud8516p1v2-consys-slc-128
- source meta/poky/oe-init-build-env
- bitbake mtk-image-aud-8516
other build cmd:
bitbake -c cleanall lk && bitbake lk -f
bitbake -c cleanall linux-mtk-extension && bitbake linux-mtk-extension -f
update
use adb to update image
-
cd build/tmp/deploy/images/aud8516p1v2-consys-slc-128
-
adb push update.zip /tmp/ && adb shell /bin/upgrade_app /tmp/update.zip
burn
use usb burn all image
-
cd build/tmp/deploy/images/aud8516p1v2-consys-slc-128
-
sudo python flashimage.py -t
-
press v- key and plugin usb