about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/guruplug-mach-type.patch
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-09-17 15:56:42 +0000
committerLudovic Courtès <ludo@gnu.org>2010-09-17 15:56:42 +0000
commit078353fc1596e1d59be28f8be865e4835a43752b (patch)
tree1b845b8f82bc2ff7fd178c40473db6667e7eb8d7 /pkgs/os-specific/linux/kernel/guruplug-mach-type.patch
parent2739c3aa1e175d6669e84b66808ae205756823c9 (diff)
downloadnixlib-078353fc1596e1d59be28f8be865e4835a43752b.tar
nixlib-078353fc1596e1d59be28f8be865e4835a43752b.tar.gz
nixlib-078353fc1596e1d59be28f8be865e4835a43752b.tar.bz2
nixlib-078353fc1596e1d59be28f8be865e4835a43752b.tar.lz
nixlib-078353fc1596e1d59be28f8be865e4835a43752b.tar.xz
nixlib-078353fc1596e1d59be28f8be865e4835a43752b.tar.zst
nixlib-078353fc1596e1d59be28f8be865e4835a43752b.zip
Linux: Add GuruPlug-related patches.
svn path=/nixpkgs/trunk/; revision=23833
Diffstat (limited to 'pkgs/os-specific/linux/kernel/guruplug-mach-type.patch')
-rw-r--r--pkgs/os-specific/linux/kernel/guruplug-mach-type.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/guruplug-mach-type.patch b/pkgs/os-specific/linux/kernel/guruplug-mach-type.patch
new file mode 100644
index 000000000000..bfcbcf44aa49
--- /dev/null
+++ b/pkgs/os-specific/linux/kernel/guruplug-mach-type.patch
@@ -0,0 +1,15 @@
+The GuruPlug's u-boot is configured with the wrong `arch_number', so
+change Linux so that it matches u-boot's expectations.  See
+<http://www.plugcomputer.org/plugwiki/index.php/Compiling_Linux_Kernel_for_the_Plug_Computer>.
+
+--- linux-2.6.35.3/arch/arm/tools/mach-types	2010-08-20 20:55:55.000000000 +0200
++++ linux-2.6.35.3/arch/arm/tools/mach-types	2010-09-13 22:49:41.000000000 +0200
+@@ -2643,7 +2643,7 @@ rfp43			MACH_RFP43		RFP43			2655
+ sk86r0301		MACH_SK86R0301		SK86R0301		2656
+ ctpxa			MACH_CTPXA		CTPXA			2657
+ epb_arm9_a		MACH_EPB_ARM9_A		EPB_ARM9_A		2658
+-guruplug		MACH_GURUPLUG		GURUPLUG		2659
++guruplug		MACH_GURUPLUG		GURUPLUG		2601
+ spear310		MACH_SPEAR310		SPEAR310		2660
+ spear320		MACH_SPEAR320		SPEAR320		2661
+ robotx			MACH_ROBOTX		ROBOTX			2662