ti816x: add support for ti816x family of devices
PATCH 1/5 ti816x: add support for ti816x family of devices
* Add support for the TI816x family of devices. This includes the c6a816x and am389x devices.
* Separate machine types are used because not all packages are valid for each machine.
--- conf/machine/am389x-evm.conf | 5 +++++ conf/machine/c6a816x-evm.conf | 5 +++++ conf/machine/include/ti816x.inc | 26 ++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 0 deletions(-) create mode 100644 conf/machine/am389x-evm.conf create mode 100644 conf/machine/c6a816x-evm.conf create mode 100644 conf/machine/include/ti816x.inc
conf/machine/am389x-evm.conf new file +5 -0
@@ -0,0 +1,5 @@ +#@TYPE: Machine +#@NAME: am389x evm +#@DESCRIPTION: Machine configuration for the am389x evm + +require conf/machine/include/ti816x.inc
conf/machine/c6a816x-evm.conf new file +5 -0
@@ -0,0 +1,5 @@ +#@TYPE: Machine +#@NAME: c6a816x evm +#@DESCRIPTION: Machine configuration for the c6a816x evm + +require conf/machine/include/ti816x.inc
conf/machine/include/ti816x.inc new file +26 -0
@@ -0,0 +1,26 @@ +TARGET_ARCH = "arm" +SOC_FAMILY = "ti816x" + +require conf/machine/include/tune-cortexa8.inc + +PREFERRED_PROVIDER_virtual/kernel = "linux-omap3" +PREFERRED_PROVIDER_virtual/bootloader = "u-boot" + +# Increase this everytime you change something in the kernel +MACHINE_KERNEL_PR = "r1" + +KERNEL_IMAGETYPE = "uImage" + +UBOOT_ARCH = "arm" +UBOOT_MACHINE = "ti8168_evm_config" +UBOOT_ENTRYPOINT = "0x80008000" +UBOOT_LOADADDRESS = "0x80008000" + +# Only build u-boot +EXTRA_IMAGEDEPENDS += "u-boot" + +# Ship all kernel modules +IMAGE_FSTYPES ?= "jffs2 tar.bz2" +EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048" +SERIAL_CONSOLE = "115200 ttyS2" +MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 ethernet"
Signature · 1 line
1.7.0.4
PATCH 2/5 matrix-gui-common: make versioned recipes
* Abstracted common code to .inc file
* Made versioned recipe for version 1.1 and 1.2
* Removed the _svn version of the recipe.
--- recipes/ti/matrix-gui-common.inc | 35 +++++++++++++++++++++++++++++++++ recipes/ti/matrix-gui-common_1.1.bb | 7 ++++++ recipes/ti/matrix-gui-common_1.2.bb | 5 ++++ recipes/ti/matrix-gui-common_svn.bb | 37 ----------------------------------- 4 files changed, 47 insertions(+), 37 deletions(-) create mode 100644 recipes/ti/matrix-gui-common.inc create mode 100644 recipes/ti/matrix-gui-common_1.1.bb create mode 100644 recipes/ti/matrix-gui-common_1.2.bb delete mode 100644 recipes/ti/matrix-gui-common_svn.bb
recipes/ti/matrix-gui-common.inc new file +35 -0
@@ -0,0 +1,35 @@ +DESCRIPTION = "Common files for all versions of Matrix GUI" +HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_gui/" +LICENSE = "BSD" +SECTION = "multimedia" +PRIORITY = "optional" + +COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)" + +PLATFORM_dm365 = "dm365" +PLATFORM_omapl138 = "omapl138" +PLATFORM_omap3evm = "omap3530" +PLATFORM_dm37x-evm = "dm3730" +PLATFORM_am37x-evm = "am3715" +PLATFORM_beagleboard = "am3715" +PLATFORM_ti816x = "ti816x" + +#Checkout the project repository to get access to the scripts and data +#files. +SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' " + +S = "${WORKDIR}/trunk" + +PACKAGE_ARCH = ${MACHINE_ARCH} + +do_install() { + install -d ${D}/${bindir} + install -m 0755 ${S}/${PLATFORM}/bin/* ${D}/${bindir}/ + install -d ${D}/${datadir}/matrix/html + install -m 0644 ${S}/${PLATFORM}/html/* ${D}/${datadir}/matrix/html + install -d ${D}/${datadir}/matrix/images + install -m 0644 ${S}/images/*.png ${D}/${datadir}/matrix/images/ + +} + +FILES_${PN} += "${datadir}/matrix/*"
recipes/ti/matrix-gui-common_1.1.bb new file +7 -0
@@ -0,0 +1,7 @@ +require matrix-gui-common.inc + +COMPATIBLE_MACHINE = "(dm365|omapl138|omap3)" + +SRCREV = "136" +PV = "1.1" +PR = "r4"
recipes/ti/matrix-gui-common_1.2.bb new file +5 -0
@@ -0,0 +1,5 @@ +require matrix-gui-common.inc + +SRCREV = "146" +PV = "1.2" +PR = "r0"
recipes/ti/matrix-gui-common_svn.bb deleted +0 -37
@@ -1,37 +0,0 @@ -DESCRIPTION = "Common files for all versions of Matrix GUI" -HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_gui/" -LICENSE = "BSD" -SECTION = "multimedia" -PRIORITY = "optional" - -SRCREV = "136" -PV = "1.1" -PR = "r3+svnr${SRCPV}" - -PLATFORM_dm365 = "dm365" -PLATFORM_da850-omapl138-evm = "omapl138" -PLATFORM_omap3evm = "omap3530" -PLATFORM_dm37x-evm = "dm3730" -PLATFORM_am37x-evm = "am3715" -PLATFORM_beagleboard = "am3715" -PLATFORM ?= "<UNDEFINED>" - -#Checkout the project repository to get access to the scripts and data -#files. -SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' " - -S = "${WORKDIR}/trunk" - -PACKAGE_ARCH = ${MACHINE_ARCH} - -do_install() { - install -d ${D}/${bindir} - install -m 0755 ${S}/${PLATFORM}/bin/* ${D}/${bindir}/ - install -d ${D}/${datadir}/matrix/html - install -m 0644 ${S}/${PLATFORM}/html/* ${D}/${datadir}/matrix/html - install -d ${D}/${datadir}/matrix/images - install -m 0644 ${S}/images/*.png ${D}/${datadir}/matrix/images/ - -} - -FILES_${PN} += "${datadir}/matrix/*"
Signature · 1 line
1.7.0.4
PATCH 3/5 matrix-gui-e: make versioned recipes
In reply to Chase Maupin* Abstracted common code to .inc file
* Made versioned recipe for version 1.1 and 1.2
* Removed _svn version of the recipe
--- recipes/ti/matrix-gui-e.inc | 40 ++++++++++++++++++++++++++++++++++++++ recipes/ti/matrix-gui-e_1.1.bb | 8 +++++++ recipes/ti/matrix-gui-e_1.2.bb | 6 +++++ recipes/ti/matrix-gui-e_svn.bb | 42 ---------------------------------------- 4 files changed, 54 insertions(+), 42 deletions(-) create mode 100644 recipes/ti/matrix-gui-e.inc create mode 100644 recipes/ti/matrix-gui-e_1.1.bb create mode 100644 recipes/ti/matrix-gui-e_1.2.bb delete mode 100644 recipes/ti/matrix-gui-e_svn.bb
recipes/ti/matrix-gui-e.inc new file +40 -0
@@ -0,0 +1,40 @@ +DESCRIPTION = "Matrix GUI for Qt Embedded" +HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_gui/" +LICENSE = "BSD" +SECTION = "multimedia" +PRIORITY = "optional" + +COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)" + +PLATFORM_dm365 = "dm365" +PLATFORM_omapl138 = "omapl138" +PLATFORM_omap3evm = "omap3530" +PLATFORM_dm37x-evm = "dm3730" +PLATFORM_am37x-evm = "am3715" +PLATFORM_beagleboard = "am3715" +PLATFORM_ti816x = "ti816x" + +SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' " + +S = "${WORKDIR}/trunk" + +INITSCRIPT_NAME = "matrix-gui-e" +INITSCRIPT_PARAMS = "defaults 99" +#INITSCRIPT_PARAMS = "start 99 3 . stop 99 3 ." + +CXXFLAGS_da850-omapl138-evm_append = " -DPlatform_omapl138 " +CXXFLAGS_dm365_append = " -DPlatform_dm365 " +PACKAGE_ARCH = ${MACHINE_ARCH} + +inherit qt4e update-rc.d + +do_install() { + install -d ${D}/${bindir} + install -m 0755 ${S}/matrix_gui ${D}/${bindir}/matrix_guiE + install -d ${D}${sysconfdir}/init.d/ + install -c -m 0755 ${S}/${PLATFORM}/etc/init ${D}${sysconfdir}/init.d/matrix-gui-e + +} + +RRECOMMENDS_${PN} = "qt4-embedded-plugin-mousedriver-tslib qt4-embedded-fonts" +RDEPENDS_${PN} += "matrix-gui-common"
recipes/ti/matrix-gui-e_1.1.bb new file +8 -0
@@ -0,0 +1,8 @@ +require matrix-gui-e.inc + +COMPATIBLE_MACHINE = "(dm365|omapl138|omap3)" + +SRCREV = "136" +PV = "1.1" +PR = "r19" +
recipes/ti/matrix-gui-e_1.2.bb new file +6 -0
@@ -0,0 +1,6 @@ +require matrix-gui-e.inc + +SRCREV = "146" +PV = "1.2" +PR = "r0" +
recipes/ti/matrix-gui-e_svn.bb deleted +0 -42
42 lines not on this page · raw message
Signature · 1 line
1.7.0.4
PATCH 4/5 matrix-gui: make versioned recipes
In reply to Chase Maupin* Abstracted common code to .inc file
* Made versioned recipe for version 1.1 and 1.2
* Removed _svn version of the recipe
--- recipes/ti/matrix-gui.inc | 43 ++++++++++++++++++++++++++++++++++++++++ recipes/ti/matrix-gui_1.1.bb | 7 ++++++ recipes/ti/matrix-gui_1.2.bb | 5 ++++ recipes/ti/matrix-gui_svn.bb | 45 ------------------------------------------ 4 files changed, 55 insertions(+), 45 deletions(-) create mode 100644 recipes/ti/matrix-gui.inc create mode 100644 recipes/ti/matrix-gui_1.1.bb create mode 100644 recipes/ti/matrix-gui_1.2.bb delete mode 100644 recipes/ti/matrix-gui_svn.bb
recipes/ti/matrix-gui.inc new file +43 -0
@@ -0,0 +1,43 @@ +DESCRIPTION = "Matrix GUI for Qt X11" +HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_gui/" +LICENSE = "BSD" +SECTION = "multimedia" +PRIORITY = "optional" + +COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)" + +PLATFORM_dm365 = "dm365" +PLATFORM_omapl138 = "omapl138" +PLATFORM_omap3evm = "omap3530" +PLATFORM_dm37x-evm = "dm3730" +PLATFORM_am37x-evm = "am3715" +PLATFORM_beagleboard = "am3715" +PLATFORM_ti816x = "ti816x" + +SRC_URI = "svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' " + +S = "${WORKDIR}/trunk" + +CXXFLAGS_da850-omapl138-evm_append = " -DPlatform_omapl138 " +CXXFLAGS_dm365_append = " -DPlatform_dm365 " +PACKAGE_ARCH = ${MACHINE_ARCH} + +inherit qt4x11 + +do_install() { + install -d ${D}/${bindir} + install -m 0755 ${S}/matrix_gui ${D}/${bindir} + install -d ${D}${sysconfdir}/init.d/ + install -c -m 0755 ${S}/${PLATFORM}/etc/x11/init ${D}${sysconfdir}/init.d/matrix-gui + install -d ${D}/${sysconfdir}/xdg/autostart + install -m 0755 ${S}/${PLATFORM}/etc/x11/matrix-gui.desktop ${D}/${sysconfdir}/xdg/autostart +} + +FILES_${PN}-autostart = "${sysconfdir}/xdg/autostart/matrix-gui.desktop" + +#Make autostart package depend on matrix-gui package. Doesn't make sense +#to install the autostart package without the underlying matrix-gui package. +RDEPENDS_${PN}-autostart += "${PN}" +PACKAGES =+ "${PN}-autostart" + +RDEPENDS_${PN} += "matrix-gui-common"
recipes/ti/matrix-gui_1.1.bb new file +7 -0
@@ -0,0 +1,7 @@ +require matrix-gui.inc + +COMPATIBLE_MACHINE = "(dm365|omapl138|omap3)" + +SRCREV = "136" +PV = "1.1" +PR = "r17"
recipes/ti/matrix-gui_1.2.bb new file +5 -0
@@ -0,0 +1,5 @@ +require matrix-gui.inc + +SRCREV = "146" +PV = "1.2" +PR = "r0"
recipes/ti/matrix-gui_svn.bb deleted +0 -45
45 lines not on this page · raw message
Signature · 1 line
1.7.0.4
PATCH 5/5 matrix-tui: create versioned matrix-tui recipe
In reply to Chase Maupin* Created matrix-tui.inc to abstract the common recipe functionality.
* Created the matrix-tui_1.0.bb recipe in place of the matrix-tui_svn.bb recipe.
* This is to allow for multiple versions of this recipe to exist.
--- recipes/ti/matrix-tui.inc | 42 ++++++++++++++++++++++++++++++++++++++ recipes/ti/matrix-tui_1.0.bb | 5 ++++ recipes/ti/matrix-tui_svn.bb | 46 ------------------------------------------ 3 files changed, 47 insertions(+), 46 deletions(-) create mode 100644 recipes/ti/matrix-tui.inc create mode 100644 recipes/ti/matrix-tui_1.0.bb delete mode 100644 recipes/ti/matrix-tui_svn.bb
recipes/ti/matrix-tui.inc new file +42 -0
@@ -0,0 +1,42 @@ +DESCRIPTION = "Matrix TUI" +HOMEPAGE = "https://gforge.ti.com/gf/project/matrix_tui/" +LICENSE = "BSD" +SECTION = "multimedia" +PRIORITY = "optional" +DEPENDS = "libxml2 zlib ncurses" + +INSANE_SKIP_${PN} = "True" + +SRC_URI = "svn://gforge.ti.com/svn/matrix_tui/;module=trunk;proto=https;user=anonymous;pswd='' \ + file://init \ +" + +S = "${WORKDIR}/trunk" + +# Do not auto-start TUI by default, uncomment otherwise +#inherit update-rc.d +#INITSCRIPT_NAME = "matrix-tui" +#INITSCRIPT_PARAMS = "defaults 99" + +do_configure() { + sed -i -e 's:PATH=${LINUX_DEVKIT_PATH}/arm-none-linux-gnueabi:PATH ?= ${LINUX_DEVKIT_PATH}/arm-none-linux-gnueabi:' makefile.init + sed -i -e 's|LIBS :=|LIBS := ${LDFLAGS} |' Release/objects.mk +} + +do_compile() { + # don't build debug version + touch debug + export CROSS_COMPILE=${TARGET_PREFIX} + export TUI_INCLUDE_PATH=${STAGING_INCDIR} + export XML_INCLUDE_PATH=${STAGING_INCDIR}/libxml2 + export TUI_LIB_PATH=${STAGING_LIBDIR} + make release +} + +do_install() { + make DESTDIR=${D} install + install -d ${D}${sysconfdir}/init.d/ + install -c -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/matrix-tui +} + +FILES_${PN} += "${datadir}/matrix/*"
recipes/ti/matrix-tui_1.0.bb new file +5 -0
@@ -0,0 +1,5 @@ +require matrix-tui.inc + +SRCREV = "29" +PV = "1.0" +PR = "r4"
recipes/ti/matrix-tui_svn.bb deleted +0 -46
46 lines not on this page · raw message
Signature · 1 line
1.7.0.4
Quoted 43 lines · Chase Maupin
* Add support for the TI816x family of devices. This includes the c6a816x and am389x devices.
* Separate machine types are used because not all packages are valid for each machine.Signed-off-by Chase Maupin <[email protected]>--- conf/machine/am389x-evm.conf | 5 +++++ conf/machine/c6a816x-evm.conf | 5 +++++ conf/machine/include/ti816x.inc | 26 ++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 0 deletions(-) create mode 100644 conf/machine/am389x-evm.conf create mode 100644 conf/machine/c6a816x-evm.conf create mode 100644 conf/machine/include/ti816x.incconf/machine/am389x-evm.conf new file +5
-0@@ -0,0 +1,5 @@ +#@TYPE: Machine +#@NAME: am389x evm +#@DESCRIPTION: Machine configuration for the am389x evm + +require conf/machine/include/ti816x.incconf/machine/c6a816x-evm.conf new file +5
-0@@ -0,0 +1,5 @@ +#@TYPE: Machine +#@NAME: c6a816x evm +#@DESCRIPTION: Machine configuration for the c6a816x evm + +require conf/machine/include/ti816x.incconf/machine/include/ti816x.inc new file +0
-0
conf/machine/include/ti816x.inc line 6
Quoted 6 lines
conf/machine/include/ti816x.inc new file +6
-0@@ -0,0 +1,26 @@ +TARGET_ARCH = "arm" +SOC_FAMILY = "ti816x" + +require conf/machine/include/tune-cortexa8.inc + +PREFERRED_PROVIDER_virtual/kernel = "linux-omap3"
Chase,
There is no linux-omap3 recipe in OE, unlike Arago. Anyway, Koen said he'll make necessary updates when he pushes all the ti816x-related changes...
Signature · 1 line
Denys
Quoted 28 lines
conf/machine/include/ti816x.inc new file +20
-0+PREFERRED_PROVIDER_virtual/bootloader = "u-boot" + +# Increase this everytime you change something in the kernel +MACHINE_KERNEL_PR = "r1" + +KERNEL_IMAGETYPE = "uImage" + +UBOOT_ARCH = "arm" +UBOOT_MACHINE = "ti8168_evm_config" +UBOOT_ENTRYPOINT = "0x80008000" +UBOOT_LOADADDRESS = "0x80008000" + +# Only build u-boot +EXTRA_IMAGEDEPENDS += "u-boot" + +# Ship all kernel modules +IMAGE_FSTYPES ?= "jffs2 tar.bz2" +EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048" +SERIAL_CONSOLE = "115200 ttyS2" +MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 ethernet"Signature · 7 lines
1.7.0.4 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 65 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Denys Dmytriyenko
Sent: Thursday, September 30, 2010 6:27 PM
To: [email protected]
Subject: Re: [oe] [PATCH 1/5] ti816x: add support for ti816x family of devicesconf/machine/c6a816x-
Quoted 27 lines · Chase Maupin
* Add support for the TI816x family of devices. This includes the c6a816x and am389x devices.
* Separate machine types are used because not all packages are valid for each machine.Signed-off-by Chase Maupin <[email protected]>--- conf/machine/am389x-evm.conf | 5 +++++ conf/machine/c6a816x-evm.conf | 5 +++++ conf/machine/include/ti816x.inc | 26 ++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 0 deletions(-) create mode 100644 conf/machine/am389x-evm.conf create mode 100644 conf/machine/c6a816x-evm.conf create mode 100644 conf/machine/include/ti816x.incconf/machine/am389x-evm.conf new file +5
-0@@ -0,0 +1,5 @@ +#@TYPE: Machine +#@NAME: am389x evm +#@DESCRIPTION: Machine configuration for the am389x evm + +require conf/machine/include/ti816x.incconf/machine/c6a816x- renamed from conf/machine/c6a816x-evm.conf +0
-0evm.conf
Review
Quoted 11 lines
new file mode 100644
index 0000000..a7ab9b0conf/machine/c6a816x-evm.conf new file +5
-0@@ -0,0 +1,5 @@ +#@TYPE: Machine +#@NAME: c6a816x evm +#@DESCRIPTION: Machine configuration for the c6a816x evm + +require conf/machine/include/ti816x.inc(quoted diff) +0
-0b/conf/machine/include/ti816x.inc
conf/machine/include/ti816x.inc line 6
Quoted 11 lines
new file mode 100644
index 0000000..e5205f7conf/machine/include/ti816x.inc new file +6
-0@@ -0,0 +1,26 @@ +TARGET_ARCH = "arm" +SOC_FAMILY = "ti816x" + +require conf/machine/include/tune-cortexa8.inc + +PREFERRED_PROVIDER_virtual/kernel = "linux-omap3"Chase,
Quoted 3 lines
There is no linux-omap3 recipe in OE, unlike Arago. Anyway, Koen said he'll
make necessary updates when he pushes all the ti816x-related changes...
Denys,
Good point. I see that the kernel changes went in today.
Quoted 38 lines
--
DenysQuoted 24 lines
conf/machine/include/ti816x.inc new file +20
-1+PREFERRED_PROVIDER_virtual/bootloader = "u-boot" + +# Increase this everytime you change something in the kernel +MACHINE_KERNEL_PR = "r1" + +KERNEL_IMAGETYPE = "uImage" + +UBOOT_ARCH = "arm" +UBOOT_MACHINE = "ti8168_evm_config" +UBOOT_ENTRYPOINT = "0x80008000" +UBOOT_LOADADDRESS = "0x80008000" + +# Only build u-boot +EXTRA_IMAGEDEPENDS += "u-boot" + +# Ship all kernel modules +IMAGE_FSTYPES ?= "jffs2 tar.bz2" +EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048" +SERIAL_CONSOLE = "115200 ttyS2" +MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 ethernet" --1.7.0.4
Quoted 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel