From patchwork Mon Feb 10 08:39:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Darander X-Patchwork-Id: 318697 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 65E4F2C00AA for ; Mon, 10 Feb 2014 19:40:27 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A448D8BB21; Mon, 10 Feb 2014 08:40:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SgLIsh7Ar3fZ; Mon, 10 Feb 2014 08:40:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 651508BAE6; Mon, 10 Feb 2014 08:40:22 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id F0AB21BF9EC for ; Mon, 10 Feb 2014 08:40:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EBB558BAE6 for ; Mon, 10 Feb 2014 08:40:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bzqEB5O6FyIY for ; Mon, 10 Feb 2014 08:40:20 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from stoexhub03.domain01.net (STOEXHUB03.domain01.net [83.145.59.144]) by whitealder.osuosl.org (Postfix) with ESMTPS id 2ED188BAD2 for ; Mon, 10 Feb 2014 08:40:20 +0000 (UTC) Received: from localhost (2.68.186.194) by stoexhub03.domain01.net (10.12.10.3) with Microsoft SMTP Server id 8.3.279.1; Mon, 10 Feb 2014 09:40:16 +0100 From: Anders Darander To: Date: Mon, 10 Feb 2014 09:39:58 +0100 Message-ID: <1392021600-32293-3-git-send-email-anders@chargestorm.se> X-Mailer: git-send-email 1.9.0.rc3 In-Reply-To: <1392021600-32293-1-git-send-email-anders@chargestorm.se> References: <1392021600-32293-1-git-send-email-anders@chargestorm.se> MIME-Version: 1.0 X-GFI-SMTP-Submission: 1 Cc: Anders Darander Subject: [Buildroot] [PATCH v4 2/4] am33x-cm3: update to latest version X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net This goes hand-in-hand with the kernel update. The version is taken from meta-ti. The new kernel version, 3.12, requires a newer PM FW. This should correspond to v05.00.00.02, though that tag has not been pushed... Signed-off-by: Anders Darander Reviewed-by: Thomas Petazzoni --- package/am33x-cm3/am33x-cm3-0001-fix-makefile.patch | 16 ++++++++++------ package/am33x-cm3/am33x-cm3.mk | 3 ++- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/package/am33x-cm3/am33x-cm3-0001-fix-makefile.patch b/package/am33x-cm3/am33x-cm3-0001-fix-makefile.patch index 77ba11c..f3cdb5e 100644 --- a/package/am33x-cm3/am33x-cm3-0001-fix-makefile.patch +++ b/package/am33x-cm3/am33x-cm3-0001-fix-makefile.patch @@ -11,16 +11,20 @@ Fix this by explicitly indicating -march=armv7-m. Signed-off-by: Thomas Petazzoni +Updated the patch to the latest version of the Makefile + +Signed-off-by: Anders Darander + Index: b/Makefile =================================================================== --- a/Makefile +++ b/Makefile -@@ -13,7 +13,7 @@ +@@ -13,7 +13,7 @@ SRCDIR = src BINDIR = bin INCLUDES = $(SRCDIR)/include --CFLAGS =-mcpu=cortex-m3 -mthumb -nostdlib -Wall -g -I$(INCLUDES) -+CFLAGS =-march=armv7-m -mcpu=cortex-m3 -mthumb -nostdlib -Wall -g -I$(INCLUDES) - LDFLAGS =-nostartfiles -fno-exceptions -Tfirmware.ld - - EXECUTABLE=am335x-pm-firmware.elf +-CFLAGS =-mcpu=cortex-m3 -mthumb -nostdlib -Wall -Wundef \ ++CFLAGS =-march=armv7-m -mcpu=cortex-m3 -mthumb -nostdlib -Wall -Wundef \ + -Werror-implicit-function-declaration -Wstrict-prototypes \ + -Wdeclaration-after-statement -fno-delete-null-pointer-checks \ + -Wempty-body -fno-strict-overflow -g -I$(INCLUDES) -O2 diff --git a/package/am33x-cm3/am33x-cm3.mk b/package/am33x-cm3/am33x-cm3.mk index 929c4a5..01cb9a0 100644 --- a/package/am33x-cm3/am33x-cm3.mk +++ b/package/am33x-cm3/am33x-cm3.mk @@ -4,7 +4,8 @@ # ################################################################################ -AM33X_CM3_VERSION = AM335xPSP_04.06.00.10-rc1 +# This should correpsond to v05.00.00.02 +AM33X_CM3_VERSION = 11107db2f1e9e58ee75d4fe9cc38423c9a6e4365 AM33X_CM3_SITE = http://arago-project.org/git/projects/am33x-cm3.git AM33X_CM3_SITE_METHOD = git AM33X_CM3_LICENSE = TI Publicly Available Software License