Angstrom Zoom36x
From OMAPpedia
The goal is to add support for Zoom36x in Ansgtrom.
Contents |
[edit] Add Zoom36x Support to Angstrom
[edit] Add Machine OMAPZoom36x
References from OE:
http://docs.openembedded.org/usermanual/usermanual.html#commonuse_new_machine
http://wiki.openembedded.net/index.php/Adding_a_new_Machine
To be able to build for a specific device, OpenEmbedded has to know it. So machine config file need to be written. Machine configs are stored in /conf/machine/ directory.
For Zoom36x, added
${OEHOME}/openembedded/conf/machine/omapzoom36x.conf
'Note: SERIAL_CONSOLE = "115200 ttyS3" has to be modified to "ttyS0" for L23.i3.4 and beyond
Other update for Angstrom:
In {OEHOME}/openembedded/contrib/angstrom/sort.sh, update "armv7a") machines="omapzoom36x"
[edit] Add kernel support
[edit] LO sync kernel based on 2.6.32
1. Kernel Recipe to be added/updated in ${OEHOME}/openembedded/recipes/linux
Update "linux-omap-zoomsync_2.6.32.bb" to include OMAPZoom36x
2. Add kernel defconfig
Create a "machine" folder as "omapzoom36x" in "linux-omap-zoomsync-2.6.32" folder
Copy contents of 'omap_zoom3_defconfig' to
${OEHOME}/openembedded/recipes/linux/linux-omap-zoomsync-2.6.32/omapzoom36x/defconfig
[edit] LO sync kernel based on 2.6.33
1. Kernel Recipe to be added/updated in ${OEHOME}/openembedded/recipes/linux
Create "linux-omap-zoomsync_2.6.33.bb" if file doesn't exist
2. Add kernel defconfig
Create "linux-omap-zoomsync-2.6.33" folder if it doesn't exist. You may have to create "linux-omap-2.6.33" folder too
For Zoom36x, copy contents of 'omap_zoom3_defconfig' to
${OEHOME}/openembedded/recipes/linux/linux-omap-zoomsync-2.6.33/omapzoom36x/defconfig
3. Other .bb files where the machine support need to be added
Add COMPATIBLE_MACHINE = "omapzoom36x" in linux-omap_2.6.32.bb, linux-omap_git.bb
Note Machine names are separated by |
[edit] Add U-boot support
Update (add omapzoom36x) u-boot_git.bb in ${OEHOME}/openembedded/recipes/u-boot folder
[edit] Add X-loader support
Update (add omapzoom36x) x-load_git.bb in ${OEHOME}/openembedded/recipes/x-load folder
Files in Question from community release
Distro-features
Community release - /meta-texasinstruments/conf/distro/include/distro-features.inc ? Do we create omapzoom-distro.inc in oe/openembedded/conf/distro or /distro/include ?
Versions of SW components
Community release - /meta-texasinstruments/conf/distro/include/versions-xxx.inc ? Do we create omapzoom-versions.inc in oe/openembedded/conf/distro or /distro/include ?