[meta-freescale] iMX53 Query

Tejas Shah tpshah1 at asu.edu
Tue Dec 4 10:09:19 PST 2012


Hello,

I am new to Yocto Project and need some help with Yocto Project. I am
suppose to create a BSP layer for iMX53 and to be able to build it using
bitbake and emulate it using QEMU. To start with, I did read Yocto Project
Quick Start Guide to familiarize myself with Yocto Project. I was able to
build images for example machines using bitbake and emulate in QEMU.
Furthermore, I read the Development manual and BSP layer guide to make
myself familiarize with how to create BSP layer. Now that I had some
knowledge of layers, I created my own layer(meta-iMX53) and used the same
layer.conf as other layers but need to make some changes in machine
configuration file (iMX53.conf) for building the image. For machine
configuration file, I used beagleboard.conf as my start point and made some
changes, but need help with other changes that will be required.
Here is the iMX5.conf file.

#@TYPE: Machine
#@NAME: iMX53 machine


PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
XSERVER ?= "xserver-xorg \
           xf86-input-evdev \
           xf86-input-mouse \
           xf86-video-omapfb \
           xf86-input-keyboard"

# Ship all kernel modules by default
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"

# Uncomment the following line to enable the hard floating point abi. Note
that
# this breaks some binary libraries and 3D (neither of which ship with
# meta-yocto). For maximum compatibility, leave this disabled.
#DEFAULTTUNE ?= "cortexa8hf-neon"
*include conf/machine/include/tune-cortexa8.inc*

*IMAGE_FSTYPES += "tar.bz2 jffs2"
EXTRA_IMAGECMD_jffs2 = "-lnp "*

# 2.6.37 and later kernels use OMAP_SERIAL, ttyO2
# earlier kernels use ttyS2
*SERIAL_CONSOLE = "115200 ttyO2"*

*PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
PREFERRED_VERSION_linux-yocto ?= "3.4%"

KERNEL_IMAGETYPE = "uImage"*

UBOOT_MACHINE = "omap3_beagle_config"
*UBOOT_ENTRYPOINT = "0x70800000"
UBOOT_LOADADDRESS = "0x70800000"*

MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa"
# End of file


In the above file, the change I made are in blue color and there are some
that will remain same I think as beagleboard which are in green color, but
don't know what other changes will be required.

Can you please help me? It is very urgent.
-- 
Tejas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20121204/f35ee10f/attachment.html>


More information about the meta-freescale mailing list