Received: from mail-yw0-f188.google.com ([209.85.211.188]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1NNfQc-0001dl-FT for openembedded-devel@lists.openembedded.org; Thu, 24 Dec 2009 05:36:01 +0100 Received: by ywh26 with SMTP id 26so7820365ywh.12 for ; Wed, 23 Dec 2009 20:34:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=nl2KooRJ5ypeTWcvpNYxFRMS575UrabY2XVfrZBtUwM=; b=EoZSVmaOeJB580P2aD1iL30DmSEJ34pHTBmKuoqjjfpWrHNYStEyZrJWoHOVzTzfm8 cl1v3pAF/VmLgpaJd+OvbBLMVBrBcCz2CBvH3GyN1VGkY1C1mxVqQ6yoD+BW86LLr+RM g4bnSl/GpTpAd0MHtFuRjteiWNl5qkYQQnTek= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=CxDxHvYFhwnrU2KOdeoi0JLMIhV96kQV8+DmxzyrqTV8lAs93llgmQZv+FSkiB3Liy PqAQRNLpP3gtVYIPDqb/6FYZQCjjILzO0KIynxyu8RTJTPL8G5ce6PVKplHuH/SEKgYK zJBo0epr/bmnCa+viigFaMYhGmFw5qjLifFgY= Received: by 10.150.117.39 with SMTP id p39mr16881605ybc.48.1261629244354; Wed, 23 Dec 2009 20:34:04 -0800 (PST) Received: from localhost (99-57-141-118.lightspeed.sntcca.sbcglobal.net [99.57.141.118]) by mx.google.com with ESMTPS id 6sm3033758ywc.39.2009.12.23.20.34.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 23 Dec 2009 20:34:03 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Wed, 23 Dec 2009 20:33:57 -0800 Message-Id: <1261629237-15118-1-git-send-email-raj.khem@gmail.com> X-Mailer: git-send-email 1.6.3.3 X-SA-Exim-Connect-IP: 209.85.211.188 X-SA-Exim-Mail-From: raj.khem@gmail.com X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: No (on linuxtogo.org); Unknown failure Subject: [PATCH 1/2] u-boot_git.bb: Change SRC_URI to a valid location for beagleboard. X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Dec 2009 04:36:02 -0000 * The commit-id it is looking for is not there in upstream git repo therefore get the tar file from angstrom mirror. * On ARM gcc 4.4 does not allow weak inline, patch them. Signed-off-by: Khem Raj --- conf/checksums.ini | 4 ++ recipes/u-boot/u-boot-git/weak_inline.patch | 51 +++++++++++++++++++++++++++ recipes/u-boot/u-boot_git.bb | 3 +- 3 files changed, 57 insertions(+), 1 deletions(-) create mode 100644 recipes/u-boot/u-boot-git/weak_inline.patch diff --git a/conf/checksums.ini b/conf/checksums.ini index 2d59a3a..f87af15 100644 --- a/conf/checksums.ini +++ b/conf/checksums.ini @@ -8754,6 +8754,10 @@ sha256=692901194603cc4fb4072d8f907487d867caef6b62161f50f0f44dbeb001066e md5=ed8c4fa007a44d51b646865c35461ce8 sha256=f8ccac357f2c721e735ae16bbb02a420d2aaaed483f5d46043c5fe627ab4b260 +[http://www.angstrom-distribution.org/unstable/sources/git_git.denx.de.u-boot-ti.git_1590f84007e2b50ad346a482fff89195cb04ff4e.tar.gz] +md5=6ff9ee1f4d43997b6e533b3c2c2a739f +sha256=6b3cfb0ae1f35e695da38561877bd185da5f8471f4377c0069f999114d93521a + [http://downloads.sourceforge.net/gizmod/gizmod-2.3.tar.bz2] md5=b7200b08149599c4c0f56d88f0c7f208 sha256=53af32530e58ba23cbb752f063364612bbea57b31de2ee35814973452c2f63f2 diff --git a/recipes/u-boot/u-boot-git/weak_inline.patch b/recipes/u-boot/u-boot-git/weak_inline.patch new file mode 100644 index 0000000..d0014ff --- /dev/null +++ b/recipes/u-boot/u-boot-git/weak_inline.patch @@ -0,0 +1,51 @@ +From: Ron Lee +Date: Wed, 5 Aug 2009 18:14:01 +0000 (+0200) +Subject: ARM Don't inline weak symbols +X-Git-Url: http://git.denx.de/?p=u-boot%2Fu-boot-arm.git;a=commitdiff_plain;h=f865fcbbb35851e75fee9c3a3fa8e0f71d9e6463 + +ARM Don't inline weak symbols + +------------------------------------------------------------------------ + +GCC 4.4 complains about this now. + +Signed-off-by: Ron Lee +--- + +Index: git/lib_arm/board.c +=================================================================== +--- git.orig/lib_arm/board.c 2009-10-20 04:08:52.000000000 -0700 ++++ git/lib_arm/board.c 2009-12-23 15:30:11.687436024 -0800 +@@ -89,23 +89,23 @@ extern void rtl8019_get_enetaddr (uchar + * May be supplied by boards if desired + */ + void inline __coloured_LED_init (void) {} +-void inline coloured_LED_init (void) __attribute__((weak, alias("__coloured_LED_init"))); ++void coloured_LED_init (void) __attribute__((weak, alias("__coloured_LED_init"))); + void inline __red_LED_on (void) {} +-void inline red_LED_on (void) __attribute__((weak, alias("__red_LED_on"))); ++void red_LED_on (void) __attribute__((weak, alias("__red_LED_on"))); + void inline __red_LED_off(void) {} +-void inline red_LED_off(void) __attribute__((weak, alias("__red_LED_off"))); ++void red_LED_off(void) __attribute__((weak, alias("__red_LED_off"))); + void inline __green_LED_on(void) {} +-void inline green_LED_on(void) __attribute__((weak, alias("__green_LED_on"))); ++void green_LED_on(void) __attribute__((weak, alias("__green_LED_on"))); + void inline __green_LED_off(void) {} +-void inline green_LED_off(void)__attribute__((weak, alias("__green_LED_off"))); ++void green_LED_off(void) __attribute__((weak, alias("__green_LED_off"))); + void inline __yellow_LED_on(void) {} +-void inline yellow_LED_on(void)__attribute__((weak, alias("__yellow_LED_on"))); ++void yellow_LED_on(void) __attribute__((weak, alias("__yellow_LED_on"))); + void inline __yellow_LED_off(void) {} +-void inline yellow_LED_off(void)__attribute__((weak, alias("__yellow_LED_off"))); ++void yellow_LED_off(void) __attribute__((weak, alias("__yellow_LED_off"))); + void inline __blue_LED_on(void) {} +-void inline blue_LED_on(void)__attribute__((weak, alias("__blue_LED_on"))); ++void blue_LED_on(void) __attribute__((weak, alias("__blue_LED_on"))); + void inline __blue_LED_off(void) {} +-void inline blue_LED_off(void)__attribute__((weak, alias("__blue_LED_off"))); ++void blue_LED_off(void) __attribute__((weak, alias("__blue_LED_off"))); + + /************************************************************************ + * Init Utilities * diff --git a/recipes/u-boot/u-boot_git.bb b/recipes/u-boot/u-boot_git.bb index 5fcf7c5..9f0adb2 100644 --- a/recipes/u-boot/u-boot_git.bb +++ b/recipes/u-boot/u-boot_git.bb @@ -16,9 +16,10 @@ SRC_URI_append_afeb9260 = " file://AFEB9260-network-fix.patch;patch=1" SRC_URI_append_afeb9260-180 = " file://AFEB9260-network-fix.patch;patch=1" SRC_URI_append_cm-t35 = "file://cm-t35/cm-t35.patch;patch=1" -SRC_URI_beagleboard = "git://git.denx.de/u-boot-ti.git;protocol=git \ +SRC_URI_beagleboard = "http://www.angstrom-distribution.org/unstable/sources/git_git.denx.de.u-boot-ti.git_1590f84007e2b50ad346a482fff89195cb04ff4e.tar.gz \ file://fw_env.config \ file://new-pinmux.patch;patch=1 \ + file://weak_inline.patch;patch=1 \ " SRCREV_beagleboard = "1590f84007e2b50ad346a482fff89195cb04ff4e" PV_beagleboard = "2009.08+${PR}+gitr${SRCREV}" -- 1.6.3.3