[kernel] r6679 - in dists/sid/linux-2.6/debian: patches
patches/series
Martin Michlmayr
tbm at costa.debian.org
Wed May 24 12:34:13 UTC 2006
Author: tbm
Date: Wed May 24 12:34:12 2006
New Revision: 6679
Added:
dists/sid/linux-2.6/debian/patches/arm-rpc-initrd.patch
Modified:
dists/sid/linux-2.6/debian/changelog
dists/sid/linux-2.6/debian/patches/series/15
Log:
Allow RiscPC machines to boot an initrd (tagged list fix).
Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog (original)
+++ dists/sid/linux-2.6/debian/changelog Wed May 24 12:34:12 2006
@@ -11,6 +11,7 @@
* [mips/b1-bcm91250a] Enable SMP.
* [mips] Add a compile fix for the Maxine fb.
* [mipsel] Add a patch that let's you enable serial console on DECstation.
+ * [arm] Allow RiscPC machines to boot an initrd (tagged list fix).
-- maximilian attems <maks at sternwelten.at> Wed, 24 May 2006 11:29:16 +0200
Added: dists/sid/linux-2.6/debian/patches/arm-rpc-initrd.patch
==============================================================================
--- (empty file)
+++ dists/sid/linux-2.6/debian/patches/arm-rpc-initrd.patch Wed May 24 12:34:12 2006
@@ -0,0 +1,53 @@
+# RiscPC: disable video output if there's a tagged list
+# From: Jim Hawkins <jawkins at armedslack.org>
+
+# Upstream status: the patch works as it is, but rmk would like to see a
+# different solution, see
+# http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=3532/1
+
+
+diff --git a/include/asm-arm/arch-rpc/uncompress.h b/include/asm-arm/arch-rpc/uncompress.h
+index 06231ed..26aec62 100644
+--- a/include/asm-arm/arch-rpc/uncompress.h
++++ b/include/asm-arm/arch-rpc/uncompress.h
+@@ -11,7 +11,9 @@
+
+ #include <asm/hardware.h>
+ #include <asm/io.h>
++#include <asm/setup.h>
+
++int video_ok = 0;
+ int video_num_columns, video_num_lines, video_size_row;
+ int white, bytes_per_char_h;
+ extern unsigned long con_charconvtable[256];
+@@ -73,6 +75,10 @@ static void putc(int c)
+ int x,y;
+ char *ptr;
+
++ /* Do nothing if we don't have video info */
++ if (!video_ok)
++ return;
++
+ x = params->video_x;
+ y = params->video_y;
+
+@@ -108,6 +114,10 @@ static void error(char *x);
+ static void arch_decomp_setup(void)
+ {
+ int i;
++
++ /* Don't do video if we're passed a kernel tagged list */
++ if (((struct tag_header *)params)->tag == ATAG_CORE)
++ return;
+
+ video_num_lines = params->video_num_rows;
+ video_num_columns = params->video_num_cols;
+@@ -147,6 +157,8 @@ static void arch_decomp_setup(void)
+ }
+
+ if (params->nr_pages * params->page_size < 4096*1024) error("<4M of mem\n");
++
++ video_ok = 1;
+ }
+ #endif
+
Modified: dists/sid/linux-2.6/debian/patches/series/15
==============================================================================
--- dists/sid/linux-2.6/debian/patches/series/15 (original)
+++ dists/sid/linux-2.6/debian/patches/series/15 Wed May 24 12:34:12 2006
@@ -1,2 +1,3 @@
+ 2.6.16.18
+ mips-maxine-compile.patch
++ arm-rpc-initrd.patch
More information about the Kernel-svn-changes
mailing list