The patch titled
h8300 zImage support update
has been added to the -mm tree. Its filename is
h8300-zimage-support-update.patch
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
------------------------------------------------------
Subject: h8300 zImage support update
From: Yoshinori Sato <[EMAIL PROTECTED]>
- Add missing files
- Add Makefile target
- Change image base
- Style fix
Signed-off-by: Yoshinori Sato <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
arch/h8300/Makefile | 7 ++---
arch/h8300/boot/compressed/Makefile | 4 +-
arch/h8300/boot/compressed/head.S | 2 -
arch/h8300/boot/compressed/vmlinux.lds | 32 +++++++++++++++++++++++
arch/h8300/boot/compressed/vmlinux.scr | 9 ++++++
5 files changed, 48 insertions(+), 6 deletions(-)
diff -puN arch/h8300/boot/compressed/head.S~h8300-zimage-support-update
arch/h8300/boot/compressed/head.S
--- a/arch/h8300/boot/compressed/head.S~h8300-zimage-support-update
+++ a/arch/h8300/boot/compressed/head.S
@@ -4,7 +4,7 @@
* Copyright (C) 2006 Yoshinori Sato
*/
-.h8300h
+ .h8300h
#include <linux/linkage.h>
#define SRAM_START 0xff4000
diff -puN arch/h8300/boot/compressed/Makefile~h8300-zimage-support-update
arch/h8300/boot/compressed/Makefile
--- a/arch/h8300/boot/compressed/Makefile~h8300-zimage-support-update
+++ a/arch/h8300/boot/compressed/Makefile
@@ -15,10 +15,10 @@ OBJECTS = $(obj)/head.o $(obj)/misc.o
# in order to suppress error message.
#
CONFIG_MEMORY_START ?= 0x00400000
-CONFIG_BOOT_LINK_OFFSET ?= 0x00400000
+CONFIG_BOOT_LINK_OFFSET ?= 0x00140000
IMAGE_OFFSET := $(shell printf "0x%08x"
$$[$(CONFIG_MEMORY_START)+$(CONFIG_BOOT_LINK_OFFSET)])
-LDFLAGS_vmlinux := -T $(obj)/vmlinux.lds
+LDFLAGS_vmlinux := -Ttext $(IMAGE_OFFSET) -estartup $(obj)/vmlinux.lds
$(obj)/vmlinux: $(OBJECTS) $(obj)/piggy.o FORCE
$(call if_changed,ld)
diff -puN /dev/null arch/h8300/boot/compressed/vmlinux.lds
--- /dev/null
+++ a/arch/h8300/boot/compressed/vmlinux.lds
@@ -0,0 +1,32 @@
+SECTIONS
+{
+ .text :
+ {
+ __stext = . ;
+ __text = .;
+ *(.text.startup)
+ *(.text)
+ __etext = . ;
+ }
+
+ .rodata :
+ {
+ *(.rodata)
+ }
+ .data :
+
+ {
+ __sdata = . ;
+ ___data_start = . ;
+ *(.data.*)
+ }
+ .bss :
+ {
+ . = ALIGN(0x4) ;
+ __sbss = . ;
+ *(.bss*)
+ . = ALIGN(0x4) ;
+ __ebss = . ;
+ __end = . ;
+ }
+}
diff -puN /dev/null arch/h8300/boot/compressed/vmlinux.scr
--- /dev/null
+++ a/arch/h8300/boot/compressed/vmlinux.scr
@@ -0,0 +1,9 @@
+SECTIONS
+{
+ .data : {
+ _input_len = .;
+ LONG(_input_data_end - _input_data) _input_data = .;
+ *(.data)
+ _input_data_end = .;
+ }
+}
diff -puN arch/h8300/Makefile~h8300-zimage-support-update arch/h8300/Makefile
--- a/arch/h8300/Makefile~h8300-zimage-support-update
+++ a/arch/h8300/Makefile
@@ -61,10 +61,11 @@ archmrproper:
archclean:
$(Q)$(MAKE) $(clean)=$(boot)
-vmlinux.srec vmlinux.bin: vmlinux
+vmlinux.srec vmlinux.bin zImage: vmlinux
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
define archhelp
- echo 'vmlinux.bin - Create raw binary'
- echo 'vmlinux.srec - Create srec binary'
+ @echo 'vmlinux.bin - Create raw binary'
+ @echo 'vmlinux.srec - Create srec binary'
+ @echo 'zImage - Compressed kernel image'
endef
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
origin.patch
lots-of-architectures-enable-arbitary-speed-tty-support.patch
h8300-enable-arbitary-speed-tty-port-setup.patch
h8300-zimage-support-update.patch
dma-mapping-prevent-dma-dependent-code-from-linking-on.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html