개요

C2758 프로세서를 위한 BSP를 빌드하기 위하여 Yocto 프로젝트를 사용한다.

프로젝트 빌드

환경

OS : Ubuntu 12.04.3 LTS 32bit

의존 패키지 설치

$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
  build-essential chrpath libsdl1.2-dev xterm

파일 다운로드

$ wget http://www.yoctoproject.org/downloads/yocto-1.4.2/poky-dylan-9.0.2.tar.bz2
$ wget http://downloads.yoctoproject.org/releases/yocto/yocto-1.4.2/machines/mohonpeak/meta-mohonpeak-dylan-9.0.2.tar.bz2
$ wget http://downloads.yoctoproject.org/releases/yocto/yocto-1.4.2/machines/mohonpeak/meta-mohonpeak-build-conf-dylan-9.0.2.tar.bz2

빌드

$ tar xjf poky-dylan-9.0.2.tar.bz2
$ meta-mohonpeak-build-conf-dylan-9.0.2.tar.bz2 
$ meta-mohonpeak-dylan-9.0.2.tar.bz2
$ cp -rf meta-mohonpeak-dylan-9.0.2/meta-intel poky-dylan-9.0.2/
$ cd poky-dylan-9.0.2/
$ source oe-init-build-env
$ cp meta-mohonpeak-build-conf-dylan-9.0.2/mohonpeak64/local.conf poky-dylan-9.0.2/build/conf
$ cp meta-mohonpeak-build-conf-dylan-9.0.2/mohonpeak64/bblayers.conf poky-dylan-9.0.2/build/conf
$ vi poky-dylan-9.0.2/build/conf/bblayers.conf

bblayers.conf에 디렉토리 위치를 수정해준다.

$ cd poky-dylan-9.0.2/build
$ bitbake -k core-image-sato

참고