From 12eb9b8d48602863a763b3e2c4a8559285b5beb6 Mon Sep 17 00:00:00 2001 From: David-John Willis Date: Tue, 27 Oct 2009 21:09:07 +0000 Subject: x-load.inc: Add support to build a version of x-load that can be loaded over OTG USB. --- recipes/x-load/x-load.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'recipes/x-load') diff --git a/recipes/x-load/x-load.inc b/recipes/x-load/x-load.inc index 01db413b12..a340958d7e 100644 --- a/recipes/x-load/x-load.inc +++ b/recipes/x-load/x-load.inc @@ -13,6 +13,8 @@ XLOAD_MACHINE ?= "${MACHINE}_config" XLOAD_IMAGE ?= "x-load-${MACHINE}-${PV}-${PR}.bin.ift" XLOAD_SYMLINK ?= "x-load-${MACHINE}.bin.ift" +XLOAD_USB_IMAGE ?= "x-load-usb-${MACHINE}-${PV}-${PR}.bin" +XLOAD_USB_SYMLINK ?= "x-load-usb-${MACHINE}.bin" MLO_IMAGE ?= "MLO-${MACHINE}-${PV}-${PR}" MLO_SYMLINK ?= "MLO-${MACHINE}" @@ -29,18 +31,22 @@ do_deploy () { signGP ${S}/x-load.bin install -d ${DEPLOY_DIR_IMAGE} install ${S}/x-load.bin.ift ${DEPLOY_DIR_IMAGE}/${XLOAD_IMAGE} + install ${S}/x-load.bin ${DEPLOY_DIR_IMAGE}/${XLOAD_USB_IMAGE} install ${S}/x-load.bin.ift ${DEPLOY_DIR_IMAGE}/${MLO_IMAGE} package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${XLOAD_IMAGE} + package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${XLOAD_USB_IMAGE} package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${MLO_IMAGE} cd ${DEPLOY_DIR_IMAGE} rm -f ${XLOAD_SYMLINK} ln -sf ${XLOAD_IMAGE} ${XLOAD_SYMLINK} + rm -f ${XLOAD_USB_SYMLINK} + ln -sf ${XLOAD_USB_IMAGE} ${XLOAD_USB_SYMLINK} rm -f ${MLO_SYMLINK} ln -sf ${MLO_IMAGE} ${MLO_SYMLINK} package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${XLOAD_SYMLINK} + package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${XLOAD_USB_SYMLINK} package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${MLO_SYMLINK} } do_deploy[dirs] = "${S}" addtask deploy before do_build after do_compile - -- cgit v1.2.3 From e65da86dc1bcfd8f7cf47987689c588b2574f341 Mon Sep 17 00:00:00 2001 From: David-John Willis Date: Tue, 27 Oct 2009 21:11:10 +0000 Subject: u-boot/x-load: Add support for the omap3-pandora building from trees as git.openpandora.org. --- recipes/x-load/x-load-omap3pandora_git.bb | 21 +++++++++++++++++++++ recipes/x-load/x-load_git.bb | 1 + 2 files changed, 22 insertions(+) create mode 100644 recipes/x-load/x-load-omap3pandora_git.bb (limited to 'recipes/x-load') diff --git a/recipes/x-load/x-load-omap3pandora_git.bb b/recipes/x-load/x-load-omap3pandora_git.bb new file mode 100644 index 0000000000..c19b719592 --- /dev/null +++ b/recipes/x-load/x-load-omap3pandora_git.bb @@ -0,0 +1,21 @@ +require x-load.inc + +COMPATIBLE_MACHINE = "omap3-pandora" + +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/x-load-${MACHINE}/${MACHINE}" + +SRCREV = "ea866e76420f629614ae3fc828f1525a77e051e8" + +PROVIDES = "x-load" + +PV = "1.42+${PR}+gitr${SRCREV}" +PR ="r1" +PE = "1" + +SRC_URI = "git://git.openpandora.org/pandora-x-loader.git;branch=master;protocol=git" + +S = "${WORKDIR}/git" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +XLOAD_MACHINE = "pandora_config" diff --git a/recipes/x-load/x-load_git.bb b/recipes/x-load/x-load_git.bb index a369f4e3c9..3368fce52f 100644 --- a/recipes/x-load/x-load_git.bb +++ b/recipes/x-load/x-load_git.bb @@ -1,6 +1,7 @@ require x-load.inc DEFAULT_PREFERENCE_omap3517-evm = "-1" +DEFAULT_PREFERENCE_omap3-pandora = "-1" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/x-load-git/${MACHINE}" -- cgit v1.2.3