이전의 내용은 raspberry pi 용이라
다시 검색해서 라즈베리 파이 2용으로 변경
AMD 4850e 듀얼 코어로 bitbake를 통해 빌드하는데
자동으로 멀티코어 빌드를 시도하는 것으로 보인다.
$ bitbake rpi-basic-image Parsing recipes: 100% |#########################################| Time: 00:02:04 Parsing of 904 .bb files complete (0 cached, 904 parsed). 1319 targets, 47 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.27.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-15.04" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "raspberrypi2" DISTRO = "poky" DISTRO_VERSION = "1.8+snapshot-20150815" TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard vfpv4 cortexa7" TARGET_FPU = "vfp-vfpv4-neon" meta meta-yocto meta-yocto-bsp = "master:07cbc407d84f2f8f5fee430902039aa7cef65db4" meta-raspberrypi = "master:17dad9328b100beda1cf870c9075e509b5cbfa90" NOTE: Preparing RunQueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks Currently 2 running tasks (76 of 2001): 0: pkgconfig-native-0.28+gitAUTOINC+40342dd0ea-r0 do_configure (pid 10059) 1: gmp-native-6.0.0-r0 do_compile (pid 18235) |
빌드할게 2001개란다.. ㄷㄷㄷ 어느세월에 한대?
2015. 08. 15. (토) 17:24:55 KST
2015. 08. 15. (토) 21:39:00 KST
구린 녀석이긴 하지만 5시간 만에 끝!
$ date;bitbake rpi-basic-image;date 2015. 08. 15. (토) 17:24:55 KST Parsing recipes: 100% |#########################################| Time: 00:03:00 Parsing of 904 .bb files complete (0 cached, 904 parsed). 1319 targets, 61 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.27.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-15.04" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "raspberrypi2" DISTRO = "poky" DISTRO_VERSION = "1.8+snapshot-20150815" TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard vfpv4 cortexa7" TARGET_FPU = "vfp-vfpv4-neon" meta meta-yocto meta-yocto-bsp = "master:07cbc407d84f2f8f5fee430902039aa7cef65db4" meta-raspberrypi = "master:17dad9328b100beda1cf870c9075e509b5cbfa90" NOTE: Preparing RunQueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks WARNING: Failed to fetch URL ftp://invisible-island.net/ncurses/current/ncurses-5.9-20150329.tgz, attempting MIRRORS if available NOTE: Tasks Summary: Attempted 2001 tasks of which 10 didn't need to be rerun and all succeeded. Summary: There was 1 WARNING message shown. 2015. 08. 15. (토) 21:39:00 KST |
빌드 하고 나니 소스 크기가 ㄷㄷㄷ
~/src/yoctoProject/raspberryPiBuild$ du -h
23G .
빌드한 이미지는 아래의 경로에 존재한다.
raspberryPiBuild/tmp/deploy/images/raspberrypi2
~/src/yoctoProject/raspberryPiBuild/tmp/deploy/images/raspberrypi2$ ls -al
total 230864
drwxr-xr-x 3 minimonk minimonk 4096 8월 15 21:38 .
drwxrwxr-x 3 minimonk minimonk 4096 8월 15 20:49 ..
drwxr-xr-x 2 minimonk minimonk 4096 8월 15 21:27 bcm2835-bootfiles
lrwxrwxrwx 1 minimonk minimonk 93 8월 15 21:27 Image -> Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-raspberrypi2-20150815082804.bin
-rw-r--r-- 2 minimonk minimonk 4423 8월 15 21:27 Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-bcm2708-rpi-b-20150815082804.dtb
-rw-r--r-- 2 minimonk minimonk 4702 8월 15 21:27 Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-bcm2708-rpi-b-plus-20150815082804.dtb
-rw-r--r-- 2 minimonk minimonk 5690 8월 15 21:27 Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-bcm2709-rpi-2-b-20150815082804.dtb
-rw-r--r-- 2 minimonk minimonk 409 8월 15 21:27 Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-ds1307-rtc-overlay-20150815082804.dtb
-rw-r--r-- 2 minimonk minimonk 779 8월 15 21:27 Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-hifiberry-amp-overlay-20150815082804.dtb
-rw-r--r-- 2 minimonk minimonk 655 8월 15 21:27 Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-hifiberry-dac-overlay-20150815082804.dtb
-rw-r--r-- 2 minimonk minimonk 783 8월 15 21:27 Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-hifiberry-dacplus-overlay-20150815082804.dtb
-rw-r--r-- 2 minimonk minimonk 783 8월 15 21:27 Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-hifiberry-digi-overlay-20150815082804.dtb
-rw-r--r-- 2 minimonk minimonk 775 8월 15 21:27 Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-iqaudio-dac-overlay-20150815082804.dtb
-rw-r--r-- 2 minimonk minimonk 775 8월 15 21:27 Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-iqaudio-dacplus-overlay-20150815082804.dtb
-rw-r--r-- 2 minimonk minimonk 1428 8월 15 21:27 Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-lirc-rpi-overlay-20150815082804.dtb
-rw-r--r-- 2 minimonk minimonk 405 8월 15 21:27 Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-pcf8523-rtc-overlay-20150815082804.dtb
-rw-r--r-- 2 minimonk minimonk 1003 8월 15 21:27 Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-pps-gpio-overlay-20150815082804.dtb
-rw-r--r-- 2 minimonk minimonk 8607076 8월 15 21:27 Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-raspberrypi2-20150815082804.bin
-rw-r--r-- 2 minimonk minimonk 1124 8월 15 21:27 Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-w1-gpio-overlay-20150815082804.dtb
-rw-r--r-- 2 minimonk minimonk 1291 8월 15 21:27 Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-w1-gpio-pullup-overlay-20150815082804.dtb
lrwxrwxrwx 1 minimonk minimonk 94 8월 15 21:27 Image-bcm2708-rpi-b.dtb -> Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-bcm2708-rpi-b-20150815082804.dtb
lrwxrwxrwx 1 minimonk minimonk 99 8월 15 21:27 Image-bcm2708-rpi-b-plus.dtb -> Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-bcm2708-rpi-b-plus-20150815082804.dtb
lrwxrwxrwx 1 minimonk minimonk 96 8월 15 21:27 Image-bcm2709-rpi-2-b.dtb -> Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-bcm2709-rpi-2-b-20150815082804.dtb
lrwxrwxrwx 1 minimonk minimonk 99 8월 15 21:27 Image-ds1307-rtc-overlay.dtb -> Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-ds1307-rtc-overlay-20150815082804.dtb
lrwxrwxrwx 1 minimonk minimonk 102 8월 15 21:27 Image-hifiberry-amp-overlay.dtb -> Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-hifiberry-amp-overlay-20150815082804.dtb
lrwxrwxrwx 1 minimonk minimonk 102 8월 15 21:27 Image-hifiberry-dac-overlay.dtb -> Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-hifiberry-dac-overlay-20150815082804.dtb
lrwxrwxrwx 1 minimonk minimonk 106 8월 15 21:27 Image-hifiberry-dacplus-overlay.dtb -> Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-hifiberry-dacplus-overlay-20150815082804.dtb
lrwxrwxrwx 1 minimonk minimonk 103 8월 15 21:27 Image-hifiberry-digi-overlay.dtb -> Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-hifiberry-digi-overlay-20150815082804.dtb
lrwxrwxrwx 1 minimonk minimonk 100 8월 15 21:27 Image-iqaudio-dac-overlay.dtb -> Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-iqaudio-dac-overlay-20150815082804.dtb
lrwxrwxrwx 1 minimonk minimonk 104 8월 15 21:27 Image-iqaudio-dacplus-overlay.dtb -> Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-iqaudio-dacplus-overlay-20150815082804.dtb
lrwxrwxrwx 1 minimonk minimonk 97 8월 15 21:27 Image-lirc-rpi-overlay.dtb -> Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-lirc-rpi-overlay-20150815082804.dtb
lrwxrwxrwx 1 minimonk minimonk 100 8월 15 21:27 Image-pcf8523-rtc-overlay.dtb -> Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-pcf8523-rtc-overlay-20150815082804.dtb
lrwxrwxrwx 1 minimonk minimonk 97 8월 15 21:27 Image-pps-gpio-overlay.dtb -> Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-pps-gpio-overlay-20150815082804.dtb
lrwxrwxrwx 1 minimonk minimonk 93 8월 15 21:27 Image-raspberrypi2.bin -> Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-raspberrypi2-20150815082804.bin
lrwxrwxrwx 1 minimonk minimonk 96 8월 15 21:27 Image-w1-gpio-overlay.dtb -> Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-w1-gpio-overlay-20150815082804.dtb
lrwxrwxrwx 1 minimonk minimonk 103 8월 15 21:27 Image-w1-gpio-pullup-overlay.dtb -> Image--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-w1-gpio-pullup-overlay-20150815082804.dtb
-rw-rw-r-- 2 minimonk minimonk 15182232 8월 15 21:27 modules--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-raspberrypi2-20150815082804.tgz
lrwxrwxrwx 1 minimonk minimonk 95 8월 15 21:27 modules-raspberrypi2.tgz -> modules--3.18.11+gitd64fa8121fca9883d6fb14ca06d2abf66496195e-r0-raspberrypi2-20150815082804.tgz
-rw-r--r-- 2 minimonk minimonk 294 8월 15 21:36 README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
-rw-r--r-- 1 minimonk minimonk 83886080 8월 15 21:38 rpi-basic-image-raspberrypi2-20150815082804.rootfs.ext3
-rw-r--r-- 1 minimonk minimonk 125354 8월 15 21:38 rpi-basic-image-raspberrypi2-20150815082804.rootfs.manifest
-rw-r--r-- 1 minimonk minimonk 130023424 8월 15 21:38 rpi-basic-image-raspberrypi2-20150815082804.rootfs.rpi-sdimg
-rw-r--r-- 1 minimonk minimonk 19595724 8월 15 21:38 rpi-basic-image-raspberrypi2-20150815082804.rootfs.tar.bz2
lrwxrwxrwx 1 minimonk minimonk 55 8월 15 21:38 rpi-basic-image-raspberrypi2.ext3 -> rpi-basic-image-raspberrypi2-20150815082804.rootfs.ext3
lrwxrwxrwx 1 minimonk minimonk 59 8월 15 21:38 rpi-basic-image-raspberrypi2.manifest -> rpi-basic-image-raspberrypi2-20150815082804.rootfs.manifest
lrwxrwxrwx 1 minimonk minimonk 60 8월 15 21:38 rpi-basic-image-raspberrypi2.rpi-sdimg -> rpi-basic-image-raspberrypi2-20150815082804.rootfs.rpi-sdimg
lrwxrwxrwx 1 minimonk minimonk 58 8월 15 21:38 rpi-basic-image-raspberrypi2.tar.bz2 -> rpi-basic-image-raspberrypi2-20150815082804.rootfs.tar.bz2
[링크 : http://www.cnx-software.com/2015/02/27/yocto-project-raspberry-pi-2-board-minimal-image/]
--
$ bitbake Nothing to do. Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information. $ bitbake world NOTE: Resolving any missing task queue dependencies ERROR: Nothing PROVIDES 'libav' (but /home/minimonk/src/yoctoProject/meta-raspberrypi/recipes-multimedia/omxplayer/omxplayer_git.bb DEPENDS on or otherwise requires it) ERROR: libav was skipped: because it has a restricted license not whitelisted in LICENSE_FLAGS_WHITELIST ERROR: Required build target 'omxplayer' has no buildable providers. Missing or unbuildable dependency chain was: ['omxplayer', 'libav'] Summary: There were 2 ERROR messages shown, returning a non-zero exit code. 3.A. omxplayer ============== omxplayer depends on libav which has a commercial license. So in order to be able to compile omxplayer you will need to whiteflag the commercial license adding to you local.conf: LICENSE_FLAGS_WHITELIST = "commercial" |
$ bitbake --help Usage: bitbake [options] [recipename/target recipe:do_task ...] Executes the specified task (default is 'build') for a given set of target recipes (.bb files). It is assumed there is a conf/bblayers.conf available in cwd or in BBPATH which will provide the layer, BBFILES and other configuration information. Options: --version show program's version number and exit -h, --help show this help message and exit -b BUILDFILE, --buildfile=BUILDFILE Execute tasks from a specific .bb recipe directly. WARNING: Does not handle any dependencies from other recipes. -k, --continue Continue as much as possible after an error. While the target that failed and anything depending on it cannot be built, as much as possible will be built before stopping. -a, --tryaltconfigs Continue with builds by trying to use alternative providers where possible. -f, --force Force the specified targets/task to run (invalidating any existing stamp file). -c CMD, --cmd=CMD Specify the task to execute. The exact options available depend on the metadata. Some examples might be 'compile' or 'populate_sysroot' or 'listtasks' may give a list of the tasks available. -C INVALIDATE_STAMP, --clear-stamp=INVALIDATE_STAMP Invalidate the stamp for the specified task such as 'compile' and then run the default task for the specified target(s). -r PREFILE, --read=PREFILE Read the specified file before bitbake.conf. -R POSTFILE, --postread=POSTFILE Read the specified file after bitbake.conf. -v, --verbose Output more log message data to the terminal. -D, --debug Increase the debug level. You can specify this more than once. -n, --dry-run Don't execute, just go through the motions. -S SIGNATURE_HANDLER, --dump-signatures=SIGNATURE_HANDLER Dump out the signature construction information, with no task execution. The SIGNATURE_HANDLER parameter is passed to the handler. Two common values are none and printdiff but the handler may define more/less. none means only dump the signature, printdiff means compare the dumped signature with the cached one. -p, --parse-only Quit after parsing the BB recipes. -s, --show-versions Show current and preferred versions of all recipes. -e, --environment Show the global or per-recipe environment complete with information about where variables were set/changed. -g, --graphviz Save dependency tree information for the specified targets in the dot syntax. -I EXTRA_ASSUME_PROVIDED, --ignore-deps=EXTRA_ASSUME_PROVIDED Assume these dependencies don't exist and are already provided (equivalent to ASSUME_PROVIDED). Useful to make dependency graphs more appealing -l DEBUG_DOMAINS, --log-domains=DEBUG_DOMAINS Show debug logging for the specified logging domains -P, --profile Profile the command and save reports. -u UI, --ui=UI The user interface to use (e.g. knotty, hob, depexp). -t SERVERTYPE, --servertype=SERVERTYPE Choose which server to use, process or xmlrpc. --token=XMLRPCTOKEN Specify the connection token to be used when connecting to a remote server. --revisions-changed Set the exit code depending on whether upstream floating revisions have changed or not. --server-only Run bitbake without a UI, only starting a server (cooker) process. -B BIND, --bind=BIND The name/address for the bitbake server to bind to. --no-setscene Do not run any setscene tasks. sstate will be ignored and everything needed, built. --remote-server=REMOTE_SERVER Connect to the specified server. -m, --kill-server Terminate the remote server. --observe-only Connect to a server as an observing-only client. --status-only Check the status of the remote bitbake server. -w WRITEEVENTLOG, --write-log=WRITEEVENTLOG Writes the event log of the build to a bitbake event json file. Use '' (empty string) to assign the name automatically. |
'embeded > raspberry pi' 카테고리의 다른 글
라즈베리 부트 시퀀스 (0) | 2015.08.17 |
---|---|
라즈베리 파이 uboot (0) | 2015.08.16 |
라즈베리 파이 카메라 케이블 교체용... (0) | 2015.08.14 |
라즈베리 파이 화상 키보드 (2) | 2015.08.14 |
라즈베리 파이에 multiseat .. ? (0) | 2015.08.13 |