poky-image-minimal - A small image, just enough to allow a device to boot,
poky-image-base - console only image with full support of target device hardware,
poky-image-core - X11 image with simple apps like terminal, editor and file manager
poky-image-sato - X11 image with Sato theme and Pimlico applications. Also contains terminal, editor and file manager.
poky-image-sdk - X11 image like poky-image-sato but also include native toolchain and libraries needed to build applications on the device itself. Also includes testing and PRofiling tools and debug symbols.
meta-toolchain - This generates a tarball containing a standalone toolchain which can be used externally to Poky. It is self contained and unpacks to the /usr/local/poky directory. It also contains a copy of QEMU and the scripts neccessary to run poky QEMU images.
meta-toolchain-sdk - This includes everything in meta-toolchain but also includes development headers and libraries forming a complete standalone SDK.See the Developing using the Poky SDK and Developing using the Anjuta Plugin sections for more information. 我因為要首先調試硬件和驅動,所以暫時編譯了minimal。
5、在build目錄下輸入:bitbake poky-image-minimal6、在linux下會出現mmap: Permission denied錯誤,解決辦法是輸入suecho 4096 > /proc/sys/vm/mmap_min_addr7、提示你沒有安裝psyco的話,在Linux里只要sudo apt-get install python-psyco 就可以了。8、在整個image編譯完成后,如果修改了某個包的代碼,要重新編譯整個image,可以刪除build/tmp/stamps里面相應的文件,然后重新bitbake <image-name> 即可。比如我要重新編譯linux-openmoko-2.6.22.5-moko11+svnr3238-r15這個包,就可以刪除linux-openmoko-2.6.22.5-moko11+svnr3238-r15.do_compile這個文件,如果想要讓其重新打patch,可以刪去linux-openmoko-2.6.22.5-moko11+svnr3238-r15.do_prepatch,甚至刪去所有以linux-openmoko-2.6.22.5-moko11+svnr3238-r15開頭的文件,bitbake就會重新來一遍(包括解包)9、如果只需要重新編譯某個包,而不需要重新生成一遍image,可以對其進行單獨的編譯,比如如果要編譯修改后的內核,可以輸入:bitbake virtual/kernel -c compile -f (-c 指定了要執行什么命令,-f則表示不管stamps里的標志強制執行)新聞熱點
疑難解答