Source: u-boot
Version: 2011.12-3
Severity: wishlist
Tags: patch

Hello,

Support for the Dreamplug has been added to the upstream kernel and uses FDT
for machine detection. I've had a patch accepted with u-boot upstream to enable
FDT on the dreamplug, currently it is in the arm custodian's next branch[0].
Please can you add it to Debian's package.

I've attached a patch to the Debian u-boot.git.

Many thanks,
Ian.

[0] 
http://git.denx.de/u-boot-arm.git/?p=u-boot/u-boot-arm.git;a=commit;h=37ee186fde3c48f90121a76e5039efe534a273f3

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: armel (armv7l)

Kernel: Linux 3.2.0-1-mx5
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
>From ea6e02f738232fb00c3955ea17aeb47566ff994c Mon Sep 17 00:00:00 2001
From: Ian Campbell <ian.campb...@citrix.com>
Date: Sat, 31 Mar 2012 06:59:35 +0000
Subject: [PATCH] kirkwood: Enable FDT support

---
 debian/changelog                                   |    6 ++++
 .../patches/ARM-dreamplug-Enable-FDT-support.patch |   31 ++++++++++++++++++++
 debian/patches/series                              |    1 +
 3 files changed, 38 insertions(+), 0 deletions(-)
 create mode 100644 debian/patches/ARM-dreamplug-Enable-FDT-support.patch

diff --git a/debian/changelog b/debian/changelog
index c549278..15627e3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+u-boot (2011.12-4) unstable; urgency=low
+
+  * kirkwood: Enable FDT support
+
+ -- Ian Campbell <i...@hellion.org.uk>  Fri, 16 Mar 2012 21:45:19 +0000
+
 u-boot (2011.12-3) unstable; urgency=low
 
   [ Jonathan Nieder ]
diff --git a/debian/patches/ARM-dreamplug-Enable-FDT-support.patch b/debian/patches/ARM-dreamplug-Enable-FDT-support.patch
new file mode 100644
index 0000000..9d02d26
--- /dev/null
+++ b/debian/patches/ARM-dreamplug-Enable-FDT-support.patch
@@ -0,0 +1,31 @@
+From 5c91ee919c359e89fcb3230722253dbb9b4f7e32 Mon Sep 17 00:00:00 2001
+From: Ian Campbell <i...@hellion.org.uk>
+Date: Mon, 27 Feb 2012 21:19:02 +0000
+Subject: [PATCH] ARM: dreamplug: Enable FDT support
+
+I have tested booting both FDT and non-FDT based Linux kernels (based on
+http://marc.info/?l=linux-arm-kernel&m=133002679716986 and
+http://marc.info/?l=linux-arm-kernel&m=132328894303581 respectively).
+
+Signed-off-by: Ian Campbell <i...@hellion.org.uk>
+Cc: Jason <ja...@lakedaemon.net>
+Cc: Prafulla Wadaskar <prafu...@marvell.com>
+Acked-by: Jason Cooper <ja...@lakedaemon.net>
+---
+ include/configs/dreamplug.h |    2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/include/configs/dreamplug.h b/include/configs/dreamplug.h
+index 0f2f9a2..76f9eea 100644
+--- a/include/configs/dreamplug.h
++++ b/include/configs/dreamplug.h
+@@ -148,4 +148,6 @@
+  */
+ #define CONFIG_DISPLAY_CPUINFO
+ 
++#define CONFIG_OF_LIBFDT
++
+ #endif /* _CONFIG_DREAMPLUG_H */
+-- 
+1.7.8.3
+
diff --git a/debian/patches/series b/debian/patches/series
index 121656b..5ccd9c2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ hurd.diff
 kirkwood_spi-irq_mask.diff
 kirkwood-disable-l2c.diff
 strip-env-tools.diff
+ARM-dreamplug-Enable-FDT-support.patch
-- 
1.7.8.3

Reply via email to