Date: | 2012-01-11 19:40:02 (11 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 | ||
---|---|---|
210 | 210 | select HAVE_CLK |
211 | 211 | select GENERIC_IRQ_CHIP |
212 | 212 | select CPU_SUPPORTS_CPUFREQ |
213 | select SYS_SUPPORTS_ZBOOT_UART16550 | |
213 | 214 | |
214 | 215 | config LANTIQ |
215 | 216 | bool "Lantiq based platforms" |
arch/mips/boot/compressed/Makefile | ||
---|---|---|
58 | 58 | # Calculate the load address of the compressed kernel image |
59 | 59 | hostprogs-y := calc_vmlinuz_load_addr |
60 | 60 | |
61 | ifeq ($(CONFIG_JZ4740_A320),y) | |
62 | VMLINUZ_LOAD_ADDRESS = 0x80600000 | |
61 | ifeq ($(CONFIG_MACH_JZ4740),y) | |
62 | VMLINUZ_LOAD_ADDRESS:=0x80600000 | |
63 | 63 | else |
64 | 64 | VMLINUZ_LOAD_ADDRESS = $(shell $(obj)/calc_vmlinuz_load_addr \ |
65 | 65 | $(obj)/vmlinux.bin $(VMLINUX_LOAD_ADDRESS)) |
arch/mips/boot/compressed/uart-16550.c | ||
---|---|---|
18 | 18 | #define PORT(offset) (CKSEG1ADDR(AR7_REGS_UART0) + (4 * offset)) |
19 | 19 | #endif |
20 | 20 | |
21 | #ifdef CONFIG_MACH_JZ4740 | |
22 | #define UART0_BASE 0xB0030000 | |
23 | #define PORT(offset) (UART0_BASE + (4 * offset)) | |
24 | #endif | |
25 | ||
21 | 26 | #ifndef PORT |
22 | 27 | #error please define the serial port address for your own machine |
23 | 28 | #endif |
arch/mips/jz4740/Kconfig | ||
---|---|---|
9 | 9 | config JZ4740_A320 |
10 | 10 | bool "Dingoo A320 game and media player" |
11 | 11 | select SOC_JZ4740 |
12 | select SYS_SUPPORTS_ZBOOT | |
13 | 12 | |
14 | 13 | endchoice |
15 | 14 |
Branches:
ben-wpan
ben-wpan-stefan
5396a9238205f20f811ea57898980d3ca82df0b6
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9