1 Index: linux-2.6.28/arch/cris/Makefile
2 ===================================================================
3 --- linux-2.6.28.orig/arch/cris/Makefile 2008-12-25 00:26:37.000000000 +0100
4 +++ linux-2.6.28/arch/cris/Makefile 2009-01-09 22:52:39.000000000 +0100
7 LD = $(CROSS_COMPILE)ld -mcrislinux
9 -OBJCOPYFLAGS := -O binary -R .note -R .comment -S
10 +OBJCOPYFLAGS := -O binary -R .bss -R .note -R .note.gnu.build-id -R .comment -S
12 CPPFLAGS_vmlinux.lds = -DDRAM_VIRTUAL_BASE=0x$(CONFIG_ETRAX_DRAM_VIRTUAL_BASE)
14 Index: linux-2.6.28/arch/cris/arch-v10/boot/Makefile
15 ===================================================================
16 --- linux-2.6.28.orig/arch/cris/arch-v10/boot/Makefile 2008-12-25 00:26:37.000000000 +0100
17 +++ linux-2.6.28/arch/cris/arch-v10/boot/Makefile 2009-01-09 22:52:39.000000000 +0100
20 $(obj)/compressed/vmlinux: $(obj)/Image FORCE
21 $(Q)$(MAKE) $(build)=$(obj)/compressed $@
22 - $(Q)$(MAKE) $(build)=$(obj)/rescue $(obj)/rescue/rescue.bin
24 $(obj)/zImage: $(obj)/compressed/vmlinux
26 Index: linux-2.6.28/arch/cris/arch-v10/boot/compressed/misc.c
27 ===================================================================
28 --- linux-2.6.28.orig/arch/cris/arch-v10/boot/compressed/misc.c 2008-12-25 00:26:37.000000000 +0100
29 +++ linux-2.6.28/arch/cris/arch-v10/boot/compressed/misc.c 2009-01-10 18:00:45.000000000 +0100
33 * malloc by Hannu Savolainen 1993 and Matthias Urlichs 1994
34 - * puts by Nick Holloway 1993, better puts by Martin Mares 1995
35 + * putstr by Nick Holloway 1993, better putstr by Martin Mares 1995
36 * adaptation for Linux/CRIS Axis Communications AB, 1999
40 static long bytes_out = 0;
41 static uch *output_data;
42 static unsigned long output_ptr = 0;
43 -static void puts(const char *);
45 /* the "heap" is put directly after the BSS ends, at end */
48 /* decompressor info and error messages to serial console */
52 +putstr(const char *s)
54 #ifndef CONFIG_ETRAX_DEBUG_PORT_NULL
58 static void error(char *x)
62 - puts("\n\n -- System halted\n");
65 + putstr("\n\n -- System halted\n");
71 __asm__ volatile ("move $vr,%0" : "=rm" (revision));
73 - puts("You need an ETRAX 100LX to run linux 2.6\n");
74 + putstr("You need an ETRAX 100LX to run linux 2.6\n");
78 - puts("Uncompressing Linux...\n");
79 + putstr("Uncompressing Linux...\n");
81 - puts("Done. Now booting the kernel.\n");
82 + putstr("Done. Now booting the kernel.\n");
84 Index: linux-2.6.28/arch/cris/arch-v10/mm/init.c
85 ===================================================================
86 --- linux-2.6.28.orig/arch/cris/arch-v10/mm/init.c 2008-12-25 00:26:37.000000000 +0100
87 +++ linux-2.6.28/arch/cris/arch-v10/mm/init.c 2009-01-09 22:52:39.000000000 +0100
90 free_area_init_node(0, zones_size, PAGE_OFFSET >> PAGE_SHIFT, 0);
92 +void free_initrd_mem(unsigned long start, unsigned long end)
96 /* Initialize remaps of some I/O-ports. It is important that this
97 * is called before any driver is initialized.