Date:2012-01-11 19:40:02 (8 years 8 months ago)
Author:LluĂ­s Batlle i Rossell
Commit:c389c320d5b1bd5a86d696b2ddfdfeefea355857
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)
arch/mips/jz4740/Kconfig (1 diff)

Change Details

arch/mips/Kconfig
210210    select HAVE_CLK
211211    select GENERIC_IRQ_CHIP
212212    select CPU_SUPPORTS_CPUFREQ
213    select SYS_SUPPORTS_ZBOOT_UART16550
213214
214215config LANTIQ
215216    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_JZ4740_A320),y)
62VMLINUZ_LOAD_ADDRESS = 0x80600000
61ifeq ($(CONFIG_MACH_JZ4740),y)
62VMLINUZ_LOAD_ADDRESS:=0x80600000
6363else
6464VMLINUZ_LOAD_ADDRESS = $(shell $(obj)/calc_vmlinuz_load_addr \
6565        $(obj)/vmlinux.bin $(VMLINUX_LOAD_ADDRESS))
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
arch/mips/jz4740/Kconfig
99config JZ4740_A320
1010    bool "Dingoo A320 game and media player"
1111    select SOC_JZ4740
12    select SYS_SUPPORTS_ZBOOT
1312
1413endchoice
1514

Archive Download the corresponding diff file



interactive