u-boot.inc: allow variable make targets
PATCH 1/4 u-boot.inc: allow variable make targets
* Later versions of u-boot sometimes have top level make targets such as u-boot.imx, u-boot.kwb, and for upcoming TI devices u-boot.ti.
* These targets define different calls to the mkimage tool to change the images created, such as changing the load address.
* This change allows recipes to change the default make target of "all" to something like u-boot.ti or u-boot.imx by setting the UBOOT_MAKE_TARGET variable.
--- recipes/u-boot/u-boot.inc | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
recipes/u-boot/u-boot.inc +2 -1
@@ -16,6 +16,7 @@ UBOOT_MACHINE ?= "${MACHINE}_config" UBOOT_BINARY ?= "u-boot.bin" UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin" UBOOT_SYMLINK ?= "u-boot-${MACHINE}.bin" +UBOOT_MAKE_TARGET ?= "all" do_configure () { oe_runmake ${UBOOT_MACHINE}
@@ -25,7 +26,7 @@ do_compile () { unset LDFLAGS unset CFLAGS unset CPPFLAGS - oe_runmake all + oe_runmake ${UBOOT_MAKE_TARGET} oe_runmake tools env HOSTCC="${CC}" }
Signature · 1 line
1.7.0.4
PATCH 2/4 dm368-evm: Add configuration for DM368 machine
* Added the configuration for the dm368-evm machine type.
* Updated the sort.sh script
* Updated the Linux kernel and u-boot recipes to support this new device.
---
conf/machine/{dm365-evm.conf => dm368-evm.conf} | 4 ++--
contrib/angstrom/sort.sh | 18 +++++++++---------
recipes/linux/linux-davinci.inc | 2 +-
.../linux-davinci/{dm365-evm => dm365}/defconfig | 0
recipes/linux/linux-davinci_git.bb | 2 +-
recipes/u-boot/u-boot_git.bb | 10 ++++++----
6 files changed, 19 insertions(+), 17 deletions(-)
copy conf/machine/{dm365-evm.conf => dm368-evm.conf} (57%)
rename recipes/linux/linux-davinci/{dm365-evm => dm365}/defconfig (100%)conf/machine/dm368-evm.conf renamed from conf/machine/dm365-evm.conf +2 -2
@@ -1,6 +1,6 @@ #@TYPE: Machine -#@NAME: DM365 CPUs on a Davinci DM365 EVM board -#@DESCRIPTION: Machine configuration for the TI Davinci DM365 EVM board +#@NAME: DM368 CPUs on a Davinci DM368 EVM board +#@DESCRIPTION: Machine configuration for the TI Davinci DM368 EVM board require conf/machine/include/davinci.inc require conf/machine/include/dm365.inc
contrib/angstrom/sort.sh +9 -9
@@ -59,15 +59,15 @@ case "$arch" in at91sam9263ek at91sam9g10ek at91sam9g20ek at91sam9g45ek at91sam9g45ekes at91sam9rlek aximx50 aximx50v bd-neon c7x0 chumby chumby-falconwing cm-x270 cm-x300 da830-omapl137-evm da850-omapl138-evm davinci-dvevm davinci-sffsdr - devkitidp-pxa255 dm355-evm dm355-leopard dm357-evm dm365-evm dm6446-evm - dm6467-evm dm6467t-evm dns323 dockstar e680 ea3250 em-x270 er0100 eseries - ghi270 gumstix gumstix-connex gumstix-custom-connex gumstix-custom-verdex - gumstix-verdex h1910 h2200 h3900 h4000 h5000 hawkboard hipox htcalpine - htcapache htcblueangel htchimalaya htcsable htctornado htcuniversal hx2000 - hx4700 imote2 ixp4xxle kixrp435 kuropro logicpd-pxa270 looxc550 lspro - magician mainstone mh355 mp900c mtx-3 mtx-3a mv2120 mx21ads mx27ads n2100 - navman-icn330 netbook-pro neuros-osd neuros-osd2 nhk15 nokia770 nslu2le - omap1510inn omap1610h2 omap1710h3 omap5912osk openrd-base openrd-client + devkitidp-pxa255 dm355-evm dm355-leopard dm357-evm dm365-evm dm368-evm + dm6446-evm dm6467-evm dm6467t-evm dns323 dockstar e680 ea3250 em-x270 er0100 + eseries ghi270 gumstix gumstix-connex gumstix-custom-connex + gumstix-custom-verdex gumstix-verdex h1910 h2200 h3900 h4000 h5000 hawkboard + hipox htcalpine htcapache htcblueangel htchimalaya htcsable htctornado + htcuniversal hx2000 hx4700 imote2 ixp4xxle kixrp435 kuropro logicpd-pxa270 + looxc550 lspro magician mainstone mh355 mp900c mtx-3 mtx-3a mv2120 mx21ads + mx27ads n2100 navman-icn330 netbook-pro neuros-osd neuros-osd2 nhk15 nokia770 + nslu2le omap1510inn omap1610h2 omap1710h3 omap5912osk openrd-base openrd-client palmld palmt650 palmt680 palmtc palmtt palmtt3 palmtt5 palmtx palmz31 palmz71 palmz72 poodle qemuarm rokre2 rokr-e2 rokre6 ronetix-pm9261 ronetix-pm9263 sgh-i900 sheevaplug spitz stamp9g20evb topas910 tosa
recipes/linux/linux-davinci.inc +1 -1
@@ -8,7 +8,7 @@ require multi-kernel.inc SRC_URI = "git://arago-project.org/git/projects/linux-davinci.git;protocol=git \ file://defconfig" -COMPATIBLE_MACHINE = "(dm6446-evm|dm6467-evm|dm6467t-evm|dm355-evm|dm365-evm)" +COMPATIBLE_MACHINE = "(dm6446-evm|dm6467-evm|dm6467t-evm|dm355-evm|dm365-evm|dm386-evm)" S = "${WORKDIR}/git"
recipes/linux/linux-davinci/dm365/defconfig renamed from recipes/linux/linux-davinci/dm365-evm/defconfig +0 -0
recipes/linux/linux-davinci_git.bb +1 -1
@@ -3,7 +3,7 @@ require multi-kernel.inc DESCRIPTION = "Linux kernel for DaVinci processors" KERNEL_IMAGETYPE = "uImage" -COMPATIBLE_MACHINE = "(dm355-evm|dm365-evm|dm6446-evm|dm6467-evm|dm6467t-evm|omapl137|omapl138|dm355-leopard|davinci-sffsdr|hawkboard)" +COMPATIBLE_MACHINE = "(dm355-evm|dm365-evm|dm6446-evm|dm6467-evm|dm6467t-evm|omapl137|omapl138|dm355-leopard|davinci-sffsdr|hawkboard|dm368-evm)" DEFAULT_PREFERENCE = "1" DEFAULT_PREFERENCE_dm365 = "-1"
recipes/u-boot/u-boot_git.bb +6 -4
@@ -208,10 +208,12 @@ SRCREV_dm355-evm = "ea7387c9511ac92a46d3d147adffe36f868820e4" PV_dm355-evm = "2009.05+2009.06-rc0+${PR}+gitr${SRCREV}" PE_dm355-evm = "1" -SRC_URI_dm365-evm = "git://arago-project.org/git/projects/u-boot-davinci.git;protocol=git;branch=u-boot-davinci-2009.06" -SRCREV_dm365-evm = "ea7387c9511ac92a46d3d147adffe36f868820e4" -PV_dm365-evm = "2009.05+2009.06-rc0+${PR}+gitr${SRCREV}" -PE_dm365-evm = "1" +# Use this for both dm365-evm and dm368-evm devices by using the dm365 +# SOC_FAMILY +SRC_URI_dm365 = "git://arago-project.org/git/projects/u-boot-davinci.git;protocol=git;branch=u-boot-davinci-2009.06" +SRCREV_dm365 = "ea7387c9511ac92a46d3d147adffe36f868820e4" +PV_dm365 = "2009.05+2009.06-rc0+${PR}+gitr${SRCREV}" +PE_dm365 = "1" SRC_URI_dm6446-evm = "git://arago-project.org/git/projects/u-boot-davinci.git;protocol=git;branch=u-boot-davinci-2009.06" SRCREV_dm6446-evm = "ea7387c9511ac92a46d3d147adffe36f868820e4"
Signature · 1 line
1.7.0.4
PATCH 3/4 matrix-gui: add support for dm386-evm machine
In reply to Chase Maupin* Add support for the dm368-evm machine type
* Bump the PRs
--- recipes/ti/matrix-gui-common.inc | 5 +++-- recipes/ti/matrix-gui-e.inc | 5 +++-- recipes/ti/matrix-gui.inc | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-)
recipes/ti/matrix-gui-common.inc +3 -2
@@ -4,11 +4,12 @@ LICENSE = "BSD" SECTION = "multimedia" PRIORITY = "optional" -INC_PR = "r7" +INC_PR = "r8" COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)" -PLATFORM_dm365 = "dm365" +PLATFORM_dm365-evm = "dm365" +PLATFORM_dm368-evm = "dm368" PLATFORM_omapl138 = "omapl138" PLATFORM_omap3evm = "omap3530" PLATFORM_dm37x-evm = "dm3730"
recipes/ti/matrix-gui-e.inc +3 -2
@@ -4,11 +4,12 @@ LICENSE = "BSD" SECTION = "multimedia" PRIORITY = "optional" -INC_PR = "r21" +INC_PR = "r22" COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)" -PLATFORM_dm365 = "dm365" +PLATFORM_dm365-evm = "dm365" +PLATFORM_dm368-evm = "dm368" PLATFORM_omapl138 = "omapl138" PLATFORM_omap3evm = "omap3530" PLATFORM_dm37x-evm = "dm3730"
recipes/ti/matrix-gui.inc +3 -2
@@ -4,11 +4,12 @@ LICENSE = "BSD" SECTION = "multimedia" PRIORITY = "optional" -INC_PR = "r19" +INC_PR = "r20" COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)" -PLATFORM_dm365 = "dm365" +PLATFORM_dm365-evm = "dm365" +PLATFORM_dm368-evm = "dm368" PLATFORM_omapl138 = "omapl138" PLATFORM_omap3evm = "omap3530" PLATFORM_dm37x-evm = "dm3730"
Signature · 1 line
1.7.0.4
PATCH 4/4 ti-pru-sw-example: fix building with new toolchain sysroot
In reply to Chase Maupin* Patch taken from Arago overlay where it was added by Denys Dmytriyenko
* PR incremented by two to align recipe PR values between Arago and OE.
--- recipes/ti/ti-pru-sw-examples_1.00.00.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/ti/ti-pru-sw-examples_1.00.00.bb +2 -2
@@ -3,7 +3,7 @@ HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/" LICENSE = "BSD" DEPENDS += "ti-pru-sw-app-loader ti-pru-sw-edma-library" RDEPENDS += "ti-pru-sw-edma-driver kernel-module-uio-pru" -PR = "r2+svnr${SRCPV}" +PR = "r4+svnr${SRCPV}" COMPATIBLE_MACHINE = "omapl138"
@@ -14,7 +14,7 @@ S = "${WORKDIR}/trunk" do_compile () { make -C ${S}/example_apps \ - CC=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gcc \ + CC="${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" \ BINDIR_APPLICATIONS="${S}/example_apps/bin" \ BINDIR_FW="${S}/example_apps/bin" \ UTILS_DIR="${S}/utils"
Signature · 1 line
1.7.0.4