Package: u-boot
Version: 2011.03-4
Severity: wishlist
Tags: patch

Hi,

I attached two patches, which add pandaboard support. The first one adds
the pandaboard as target on armel and armhf.  The second one adds a
patch, which changes the default console, so that serial output works by
default.

-- Sebastian
>From c9482de6af86bbeb54b73b76105de7bfdc42d6b5 Mon Sep 17 00:00:00 2001
From: Sebastian Reichel <s...@ring0.de>
Date: Sat, 23 Apr 2011 00:45:19 +0200
Subject: [PATCH] add pandaboard target


Signed-off-by: Sebastian Reichel <s...@ring0.de>
---
 debian/targets |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/debian/targets b/debian/targets
index 2524757..9c1b8e7 100644
--- a/debian/targets
+++ b/debian/targets
@@ -5,11 +5,13 @@ armel                 efikamx         u-boot.imx
 armel                  guruplug        u-boot.kwb
 armel                  igep0020        u-boot.bin
 armel                  omap3_beagle    u-boot.bin
+armel                  omap4_panda     u-boot.bin
 armel                  openrd_ultimate u-boot.kwb
 armel                  sheevaplug      u-boot.kwb
 armhf                  efikamx         u-boot.imx
 armhf                  igep0020        u-boot.bin
 armhf                  omap3_beagle    u-boot.bin
+armhf                  omap4_panda     u-boot.bin
 avr32                  hammerhead      u-boot.img
 i386                   eNET            u-boot.bin
 mipsel                 dbau1100        u-boot.img
-- 
1.7.2.5

>From 9e43d97d4921113b0aca76e817f2cd226990d8d8 Mon Sep 17 00:00:00 2001
From: Sebastian Reichel <s...@debian.org>
Date: Mon, 25 Apr 2011 20:58:35 +0200
Subject: [PATCH] new patch to change default console on pandaboard


Signed-off-by: Sebastian Reichel <s...@debian.org>
---
 debian/patches/panda-default-console.diff |   17 +++++++++++++++++
 debian/patches/series                     |    1 +
 2 files changed, 18 insertions(+), 0 deletions(-)
 create mode 100644 debian/patches/panda-default-console.diff

diff --git a/debian/patches/panda-default-console.diff 
b/debian/patches/panda-default-console.diff
new file mode 100644
index 0000000..d70f81e
--- /dev/null
+++ b/debian/patches/panda-default-console.diff
@@ -0,0 +1,17 @@
+From: Raúl Porcel <armi...@gentoo.org>
+Subject: Use ttyO2 in the default environment
+ This patch replaces ttyS2 with ttyO2 in the default environment
+ so it's in sync with the kernel which uses the latter
+Origin: http://patchwork.ozlabs.org/patch/84702/
+
+--- a/include/configs/omap4_panda.h
++++ b/include/configs/omap4_panda.h
+@@ -148,7 +148,7 @@
+ 
+ #define CONFIG_EXTRA_ENV_SETTINGS \
+       "loadaddr=0x82000000\0" \
+-      "console=ttyS2,115200n8\0" \
++      "console=ttyO2,115200n8\0" \
+       "usbtty=cdc_acm\0" \
+       "vram=16M\0" \
+       "mmcdev=0\0" \
diff --git a/debian/patches/series b/debian/patches/series
index 0224fc9..f930a64 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ Drop-config.h-include-in-tools-imximage.h.diff
 eNET-monitor_flash_len.diff
 openrd-client-and-ultimate.diff
 openrd-mmc-mtd-fat.diff
+panda-default-console.diff
-- 
1.7.4.4

Reply via email to