From 5f7f10f181bdc127786fce9a43e4ca71ae4ab03c Mon Sep 17 00:00:00 2001 From: Tim 'timtim' Ellis Date: Sat, 17 Jan 2009 12:28:42 +0000 Subject: 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 --- packages/linux/linux-orion/mv2120.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 packages/linux/linux-orion/mv2120.patch (limited to 'packages/linux/linux-orion/mv2120.patch') 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 -- cgit v1.2.3