From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pz0-f47.google.com ([209.85.210.47]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1RvBwq-0005Dr-4C for openembedded-core@lists.openembedded.org; Wed, 08 Feb 2012 19:08:52 +0100 Received: by daln34 with SMTP id n34so589328dal.6 for ; Wed, 08 Feb 2012 10:00:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; bh=7HCL6DQyP44bo+mpPrYupFRtPQYgJRjBB41y19MCpgI=; b=N9jFnZG4fTWo/5G0T2ol01v6R7xZ30KhK/pJecqRukEJMzsspKrans1920upbh98qz 339bF4u9RwcrOq1DLmM2s2JARZRO+FGNr/6pXM9+CfP48IjUMAv1OsF6LMUXCw0hHb6U VmNhznqPPtcxHikceHnHuf8OC07NJC/sIIPB0= Received: by 10.68.216.4 with SMTP id om4mr70721480pbc.19.1328724047805; Wed, 08 Feb 2012 10:00:47 -0800 (PST) Received: from localhost.localdomain (ip68-230-54-74.ph.ph.cox.net. [68.230.54.74]) by mx.google.com with ESMTPS id a5sm37751pbh.15.2012.02.08.10.00.46 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Feb 2012 10:00:47 -0800 (PST) From: Tom Rini To: openembedded-core@lists.openembedded.org Date: Wed, 8 Feb 2012 11:00:44 -0700 Message-Id: <1328724044-5541-1-git-send-email-tom.rini@gmail.com> X-Mailer: git-send-email 1.7.0.4 Cc: Tom Rini Subject: [PATCH v2] u-boot-fw-utils: Add for v2011.06 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2012 18:08:52 -0000 From: Tom Rini This provides the 'fw_setenv' and 'fw_getenv' programs for the target so that the U-Boot environment can be modified from Linux. These programs are system-agnostic and rely on a config file that a given BSP would provide and potentially RRECOMMEND this be installed. Signed-off-by: Tom Rini --- meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb | 26 ++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb new file mode 100644 index 0000000..3185cbd --- /dev/null +++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2011.06.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "U-boot bootloader fw_printenv/setenv utils" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \ + file://README;beginline=1;endline=22;md5=5ba4218ac89af7846802d0348df3fb90" +SECTION = "bootloader" + +PR = "r0" + +SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2" + +SRC_URI[md5sum] = "0cc5026aad02f218a9b9ac56b301c97a" +SRC_URI[sha256sum] = "362ddb935885da98cf461eba08f31e3e59d0c4ada6cb2fa15596f43af310ba8b" + +S = "${WORKDIR}/u-boot-${PV}" + +EXTRA_OEMAKE = 'HOSTCC="${CC}"' + +do_compile () { + oe_runmake env +} + +do_install () { + install -d ${D}${base_sbindir} + install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv + install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv +} -- 1.7.0.4