Date:2012-01-11 19:40:02 (8 years 9 months ago)
Author:LluĂ­s Batlle i Rossell
Commit:c1baa36bbe91835b415af6ae89c43ec67d49cb4d
Message:MIPS: Enable vmlinuz for JZ4740

This patch adds support for building a compressed kernel for the JZ4740
architecture.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Files: arch/mips/Kconfig (1 diff)
arch/mips/boot/compressed/Makefile (1 diff)
arch/mips/boot/compressed/uart-16550.c (1 diff)

Change Details

arch/mips/Kconfig
213213    select HAVE_CLK
214214    select GENERIC_IRQ_CHIP
215215    select CPU_SUPPORTS_CPUFREQ
216    select SYS_SUPPORTS_ZBOOT_UART16550
216217
217218config LANTIQ
218219    bool "Lantiq based platforms"
arch/mips/boot/compressed/Makefile
5858# Calculate the load address of the compressed kernel image
5959hostprogs-y := calc_vmlinuz_load_addr
6060
61ifeq ($(CONFIG_MACH_JZ4740),y)
62VMLINUZ_LOAD_ADDRESS := 0x80600000
63else
6164VMLINUZ_LOAD_ADDRESS = $(shell $(obj)/calc_vmlinuz_load_addr \
6265        $(obj)/vmlinux.bin $(VMLINUX_LOAD_ADDRESS))
66endif
6367
6468vmlinuzobjs-y += $(obj)/piggy.o
6569
arch/mips/boot/compressed/uart-16550.c
1818#define PORT(offset) (CKSEG1ADDR(AR7_REGS_UART0) + (4 * offset))
1919#endif
2020
21#ifdef CONFIG_MACH_JZ4740
22#define UART0_BASE 0xB0030000
23#define PORT(offset) (UART0_BASE + (4 * offset))
24#endif
25
2126#ifndef PORT
2227#error please define the serial port address for your own machine
2328#endif

Archive Download the corresponding diff file



interactive