summaryrefslogtreecommitdiff
path: root/packages/linux/linux-orion/mv2120.patch
diff options
context:
space:
mode:
authorTim 'timtim' Ellis <tim.ellis@foonas.org>2009-01-17 12:28:42 +0000
committerTim 'timtim' Ellis <tim.ellis@foonas.org>2009-01-17 12:28:42 +0000
commit5f7f10f181bdc127786fce9a43e4ca71ae4ab03c (patch)
tree2e9a8db8014a1db2508bbdbdd4e10f79198ec1e8 /packages/linux/linux-orion/mv2120.patch
parent47a8e4676a853cb172da56e75341f096ed140dcf (diff)
linux-orion: Add kernel for Marvell Orion based devices (replaces linux-linkstationarm), initially supporting:
* D-Link DNS-323 * Many Buffalo Linkstation Pro variants * Kurobox Pro * QNAP TS-109, TS-209, TS-409 * HP MV2120
Diffstat (limited to 'packages/linux/linux-orion/mv2120.patch')
-rw-r--r--packages/linux/linux-orion/mv2120.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/linux/linux-orion/mv2120.patch b/packages/linux/linux-orion/mv2120.patch
new file mode 100644
index 0000000000..2a07f752af
--- /dev/null
+++ b/packages/linux/linux-orion/mv2120.patch
@@ -0,0 +1,24 @@
+diff --git a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile
+index da226ab..cd49d65 100644
+--- a/arch/arm/boot/Makefile
++++ b/arch/arm/boot/Makefile
+@@ -55,6 +55,10 @@ $(obj)/compressed/vmlinux: $(obj)/Image FORCE
+
+ $(obj)/zImage: $(obj)/compressed/vmlinux FORCE
+ $(call if_changed,objcopy)
++ devio > foo 'wl 0xe3a01c06,4' 'wl 0xe381109d,4'
++ cat foo $(obj)/zImage > zImage.new
++ mv zImage.new $(obj)/zImage
++ rm foo
+ @echo ' Kernel: $@ is ready'
+
+ endif
+@@ -67,7 +71,7 @@ quiet_cmd_uimage = UIMAGE $@
+ ifeq ($(CONFIG_ZBOOT_ROM),y)
+ $(obj)/uImage: LOADADDR=$(CONFIG_ZBOOT_ROM_TEXT)
+ else
+-$(obj)/uImage: LOADADDR=$(ZRELADDR)
++$(obj)/uImage: LOADADDR=0x02000000
+ endif
+
+ $(obj)/uImage: $(obj)/zImage FORCE