alarm/uboot-pandaboard to 2015.10-2

This commit is contained in:
Kevin Mihelich 2015-11-20 03:39:23 +00:00
parent 1a1803104d
commit 74cbc28dd2
3 changed files with 46 additions and 5 deletions

View file

@ -1,7 +1,7 @@
From 2d409f8b850b526091cc35889de9509dba32e362 Mon Sep 17 00:00:00 2001
From 8f7496dd6948adf16cf25e24c852ff9a73a450f1 Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Sat, 22 Nov 2014 22:55:40 -0700
Subject: [PATCH] arch linux arm modifications
Subject: [PATCH 1/2] arch linux arm modifications
Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
---
@ -134,5 +134,5 @@ index 1cd7dae..12c5f69 100644
/*
* Defines for SPL
--
2.6.1
2.6.2

View file

@ -0,0 +1,38 @@
From d0c347811ffa1c865d16450e38e78f5182cf2e90 Mon Sep 17 00:00:00 2001
From: "dbatzle@dcbcyber.com" <dbatzle@dcbcyber.com>
Date: Tue, 25 Aug 2015 20:55:30 -0400
Subject: [PATCH 2/2] ARM Fix pandaboard es and a4 revision ID
board_name environment variable was not getting set correctly for Pandaboard A4 and ES
Signed-off-by: David Batzle <dbatzle@dcbcyber.com>
CC: Albert Aribaud <albert.u.boot@aribaud.net>; Tom Rini <trini@ti.com>; Peter Robinson <pbrobinson@gmail.com>
---
board/ti/panda/panda.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/ti/panda/panda.c b/board/ti/panda/panda.c
index 783ba35..92e1b63 100644
--- a/board/ti/panda/panda.c
+++ b/board/ti/panda/panda.c
@@ -101,7 +101,7 @@ int get_board_revision(void)
board_id4 = gpio_get_value(PANDA_ES_BOARD_ID_4_GPIO);
#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
- setenv("board_name", strcat(CONFIG_SYS_BOARD, "-es"));
+ setenv("board_name", "panda-es");
#endif
board_id = ((board_id4 << 4) | (board_id3 << 3) |
(board_id2 << 2) | (board_id1 << 1) | (board_id0));
@@ -115,7 +115,7 @@ int get_board_revision(void)
#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
if ((board_id >= 0x3) && (processor_rev == OMAP4430_ES2_3))
- setenv("board_name", strcat(CONFIG_SYS_BOARD, "-a4"));
+ setenv("board_name", "panda-a4");
#endif
}
--
2.6.2

View file

@ -5,7 +5,7 @@ buildarch=4
pkgname=uboot-pandaboard
pkgver=2015.10
pkgrel=1
pkgrel=2
pkgdesc="U-Boot for Pandaboard and Pandaboard ES"
arch=('armv7h')
url="http://git.denx.de/u-boot.git/"
@ -14,15 +14,18 @@ license=('GPL')
install=${pkgname}.install
source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2"
'0001-arch-linux-arm-modifications.patch'
'0002-ARM-Fix-pandaboard-es-and-a4-revision-ID.patch'
'uEnv.txt')
md5sums=('7c203b0fc3390a122d8e8b75f147eac5'
'49f3466b86722425598ee3ef42146115'
'bcdd217ecc19efcaddcb6ceb2cff79bf'
'b93a61d2465a80ed7f0119c623719cb6'
'86004660f2912861a040e335c9c0e85b')
prepare() {
cd u-boot-${pkgver}
git apply ../0001-arch-linux-arm-modifications.patch
git apply ../0002-ARM-Fix-pandaboard-es-and-a4-revision-ID.patch
}
build() {