Terminologies• BitBake is a build engine that follows recipesin a specific format in order to perform sets oftasks. BitBak...
What is the goal ?• IMAGE– Defines• Create boot image (Uboot, MLO, env)• Create filesystem with some specific functionalit...
Yocto umbrella• http://git.yoctoproject.org/cgit/cgit.cgi/• TI package is building a “Yocto-compatible”Arago framework
TI Setup• git clone git://arago-project.org/git/projects/oe-layersetup.git• Usual git proxy setup– vi ~/proxy-config• exec...
Basic build• cd arago• ./oe-layertool-setup.sh -f configs/amsdk/amsdk-05.07.00.00-config.txt (#only if you want to be onla...
Typical steps to add functionality• Ex, Qt5• specify sub-packages of qt5– conf/local.conf• IMAGE_INSTALL_append = " qtbase...
Example – Graphics package – How toinclude in MACHINE IMAGE• Specify version of Graphics SDK that goes intoAM-SDK image– s...
Temporary outputs (Yocto base)• In-work packages are stored at,– poky/build/tmp/work/beaglebone-poky-linux-gnueabi/– For e...
Example - Graphics SDK PackageDefinition• User space binary– sources/meta-ti/recipes-graphics/libgles• libgles-omap3_4.09....
Commands in .bb file• do_configure()• do_compile()• do_install()
Further reference• http://www.yoctoproject.org/docs/1.4/ref-manual/ref-manual.html• https://wiki.yoctoproject.org/wiki/How...
Yocto usage for Graphics SDK on AM335x
Upcoming SlideShare
Loading in …5
×

Yocto usage for Graphics SDK on AM335x

4,340 views

Published on

Yocto usage for Graphics SDK on AM335x, Beaglebone, AM platforms

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
4,340
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Yocto usage for Graphics SDK on AM335x

  1. 1. Terminologies• BitBake is a build engine that follows recipesin a specific format in order to perform sets oftasks. BitBake is a core component of theYocto Project.• A Python framework
  2. 2. What is the goal ?• IMAGE– Defines• Create boot image (Uboot, MLO, env)• Create filesystem with some specific functionality (ex, SGX)• MACHINE– For a specific platform• Targeting what distribution– Poky ?– Arago ?– Angstrom ?
  3. 3. Yocto umbrella• http://git.yoctoproject.org/cgit/cgit.cgi/• TI package is building a “Yocto-compatible”Arago framework
  4. 4. TI Setup• git clone git://arago-project.org/git/projects/oe-layersetup.git• Usual git proxy setup– vi ~/proxy-config• exec /usr/bin/corkscrew <your proxy> 80 $*– git config --global core.gitProxy ~/proxy-config
  5. 5. Basic build• cd arago• ./oe-layertool-setup.sh -f configs/amsdk/amsdk-05.07.00.00-config.txt (#only if you want to be onlatest bitbake tree, otherwise skip this step)• cd build• . conf/setenv• export PATH=/opt/toolchain/arago-07262012_2011_09/arago-2011.09/armv7a/bin:$PATH• vi conf/local.conf (to edit #of threads/parallel)• MACHINE=am335x-evm bitbake tisdk-rootfs-image
  6. 6. Typical steps to add functionality• Ex, Qt5• specify sub-packages of qt5– conf/local.conf• IMAGE_INSTALL_append = " qtbase qtbase-tools qtbase-plugins qtbase-fonts“• Specify qt5 layer (meta-qt5 downloaded fromseparate git)– conf/bblayers.conf• /home1/prabu/arago1/arago/sources/meta-qt5• MACHINE=am335x-evm• bitbake tisdk-rootfs-image
  7. 7. Example – Graphics package – How toinclude in MACHINE IMAGE• Specify version of Graphics SDK that goes intoAM-SDK image– sources/meta-arago/meta-arago-distro/conf/distro/arago.conf• Ex 4.09.00.01• Specify sub-packages of Graphics SDK– sources/meta-arago/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb• Ex, which demos
  8. 8. Temporary outputs (Yocto base)• In-work packages are stored at,– poky/build/tmp/work/beaglebone-poky-linux-gnueabi/– For example, libgles-omap3-4.09.00.01-r35/packages-split
  9. 9. Example - Graphics SDK PackageDefinition• User space binary– sources/meta-ti/recipes-graphics/libgles• libgles-omap3_4.09.00.01.bb• Kernel module– sources/meta-ti/recipes-bsp/powervr-drivers• omap3-sgx-modules_4.09.00.01.bb
  10. 10. Commands in .bb file• do_configure()• do_compile()• do_install()
  11. 11. Further reference• http://www.yoctoproject.org/docs/1.4/ref-manual/ref-manual.html• https://wiki.yoctoproject.org/wiki/How_do_I

×