1. 從Intel網站上下載
Board_Support_Package_Sources_for_Intel_Quark_v1.0.1.7.7z
2. 解壓縮此檔案至~/Quark
3. 解壓縮
grub-legacy...tar.gz、
meta-clanton...tar.gz、
Quark_EDKII...tar.gz、quark_linux...tar.gz、
spi-flash-tools...tar.gz、sysimage...tar.gz
4. 執行
./sysimage.../create_symlink.sh
5. 安裝git、gcc、g++、c++、texinfo等Ubuntu包
6. 到
meta-clanton目錄
7. 執行
setup.sh
8. 執行
source poky/oe-init-build-env yocto_build
9. 執行
bitbake image-full-galileo
10. Image在meta-clanton/yocto_build/tmp/deploy/images/
P.S.
出現找不到
x264_git相關包
更改
meta-clanton/meta-oe/meta-oe/recipes-multimedia/x264/x264_git.bb
---SRCREV="1cff........................................................................."
+++#SRCREV="1cff...................................................................."
+++
SRCREV="ea0ca51e94323318b95bd8b27b7f9438cdcf4d9e"
P.S.
出現找不到
opencv_2.4相關包
更改
meta-clanton/meta-oe/meta-oe/recipes-support/opencv/opencv_2.4.3.bb
meta-clanton/meta-oe/meta-oe/recipes-support/opencv/opencv-samples_2.4.3.bb
---SRC_URI = "${SOURCEFORGE_MIRROR}/opencvlibrary/opencv-unix/${PV}/OpenCV-${PV}.tar.bz2
+++#SRC_URI = "${SOURCEFORGE_MIRROR}/opencvlibrary/opencv-unix/${PV}/OpenCV-${PV}.tar.bz2
+++SRC_URI = "
ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/OpenCV-${PV}.tar.bz2 \
---SRC_URI = "${SOURCEFORGE_MIRROR}/opencvlibrary/opencv-unix/${PV}/OpenCV-${PV}.tar.bz2
+++#SRC_URI = "${SOURCEFORGE_MIRROR}/opencvlibrary/opencv-unix/${PV}/OpenCV-${PV}.tar.bz2
+++SRC_URI = "
ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/OpenCV-${PV}.tar.bz2 \
P.S.
要重建image先
bitbake -c cleanall image-full-galileo
bitbake -c clean image-full-galileo
要重建clanton先
bitbake -c cleanall linux-yocto-clanton
P.S.
menuconfig
bitbake linux-yocto-clanton -c menuconfig
P.S.
Kernel位於meta-clanton/yocto_build/tmp/sysrppts/clanton/usr/src/kernel
P.S.
Build Quark_EDKII產生openssl錯誤
參考
Quark_EDKII/CryptoPkg/Library/OppensslLib/Patch-HOWTO.txt
P.S.
載入module
參考
/etc/modules-load.quark/galileo.conf
P.S.
自動啟動程式
可修改
/etc/profile
參考網址
http://kei-sakaki.jp/2014/04/22/intel-quark-bsp-for-intel-galileo-development-board/
https://www.yoctoproject.org/documentation