[U-Boot] [Patch V6 0/4] add mips64 cpus support

2012-09-06 Thread Zhizhou Zhang
Zhang (4): MIPS: don't use camel-case style MIPS: change address related header files MIPS: remove board/qemu-mips/config.mk MIPS: add board qemu-mips64 support Zhizhou Zhang (4): MIPS: don't use camel-case style MIPS: change address related header files MIPS: remove board/qemu-mips

[U-Boot] [Patch V6 1/4] MIPS: don't use camel-case style

2012-09-06 Thread Zhizhou Zhang
Replace camel-case style with upper-case style globally. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/cpu/mips32/cache.S | 10 ++--- arch/mips/cpu/mips32/cpu.c |8 ++-- arch/mips/cpu/xburst/cpu.c | 12 +++--- arch/mips/cpu/xburst/start.S |4

[U-Boot] [Patch V6 3/4] MIPS: remove board/qemu-mips/config.mk

2012-09-06 Thread Zhizhou Zhang
We define CONFIG_SYS_TEXT_BASE in board's specified header file. So config.mk is useless, then remove it. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- board/qemu-mips/config.mk | 10 -- include/configs/qemu-mips.h |1 + 2 files changed, 1 insertion(+), 10 deletions

[U-Boot] [Patch V6 2/4] MIPS: change address related header files

2012-09-06 Thread Zhizhou Zhang
Prepare for upcoming mips64 support. This patch add mips64 address support. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/include/asm/addrspace.h |2 +- arch/mips/include/asm/io.h | 16 arch/mips/include/asm/posix_types.h |6 ++ 3 files

[U-Boot] [Patch V6 4/4] MIPS: add board qemu-mips64 support

2012-09-06 Thread Zhizhou Zhang
-system-mips64el -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic qemu-system-mips64 -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/cpu/mips64/Makefile | 45 +++ arch/mips/cpu/mips64/cache.S | 229

[U-Boot] [Patch V5 0/4] add mips64 cpus support

2012-09-04 Thread Zhizhou Zhang
and little-endian support - Remove cache probe - Add standalone support for mips64 Changes in V3: - merge related files into one patch, no longer one file one patch. - add detailed commit message. - remove standalone example. it's too complicate. Zhizhou Zhang (4): MIPS: Don't use camel

[U-Boot] [Patch V5 2/4] MIPS: change address related header files

2012-09-04 Thread Zhizhou Zhang
Prepare for upcoming mips64 support. This patch add mips64 address space support. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/include/asm/addrspace.h |2 +- arch/mips/include/asm/asm.h |2 +- arch/mips/include/asm/io.h | 16 arch

[U-Boot] [Patch V5 1/4] MIPS: Don't use camel-case style

2012-09-04 Thread Zhizhou Zhang
Replace camel-case style with upper-case style globally. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/cpu/mips32/cache.S | 10 ++--- arch/mips/cpu/mips32/cpu.c |8 ++-- arch/mips/cpu/xburst/cpu.c | 12 +++--- arch/mips/cpu/xburst/start.S |4

[U-Boot] [Patch V5 3/4] MIPS: don't define CONFIG_SYS_TEXT_BASE in config.mk

2012-09-04 Thread Zhizhou Zhang
We define CONFIG_SYS_TEXT_BASE in board's specified header file. So config.mk is useless, then remove it. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- board/qemu-mips/config.mk | 10 -- include/configs/qemu-mips.h |1 + 2 files changed, 1 insertion(+), 10 deletions

[U-Boot] [Patch V5 4/4] MIPS: add board qemu-mips64 support

2012-09-04 Thread Zhizhou Zhang
-system-mips64el -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic qemu-system-mips64 -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/cpu/mips64/Makefile | 45 +++ arch/mips/cpu/mips64/cache.S | 229

[U-Boot] [Patch V4 2/4] MIPS: change related header files

2012-08-27 Thread Zhizhou Zhang
The most important difference between mips32 and mips64 is the address space. This patch solve This problem. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/include/asm/addrspace.h |2 +- arch/mips/include/asm/io.h | 16 arch/mips/include/asm

[U-Boot] [Patch V4 0/4] MIPS: add mips64 cpu support

2012-08-27 Thread Zhizhou Zhang
standalone example. it's too complicate. Zhizhou Zhang (4): MIPS: Add support for MIPS64 cpus MIPS: change related header files MIPS: add board qemu-mips64 support MIPS: add mips64 standalone support arch/mips/cpu/mips64/Makefile | 46 +++ arch/mips/cpu/mips64/cache.S| 229

[U-Boot] [Patch V4 1/4] MIPS: Add support for MIPS64 cpus

2012-08-27 Thread Zhizhou Zhang
These files are derived from arch/mips/cpu/mips32/*. The main changes are: 1, changes ABI o32 to n64, 2, add mips64 build cflags. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/cpu/mips64/Makefile | 46 +++ arch/mips/cpu/mips64/cache.S | 229

[U-Boot] [Patch V4 3/4] MIPS: add board qemu-mips64 support

2012-08-27 Thread Zhizhou Zhang
Both big-endian and little-endian are tested with below commands: qemu-system-mips64el -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic qemu-system-mips64 -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic Signed-off-by: Zhizhou Zhang etou...@gmail.com --- board/qemu-mips/u-boot.lds

[U-Boot] [Patch V4 4/4] MIPS: add mips64 standalone support

2012-08-27 Thread Zhizhou Zhang
Move CONFIG_SYS_TEXT_BASE to the board specified header file. So change qemu-mips.h also. board/qemu-mips/config.mk is not used, then remove it. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- board/qemu-mips/config.mk | 10 --- examples/standalone/mips64.lds | 59

[U-Boot] [Patch V4 0/4] MIPS: add mips64 cpu support

2012-08-27 Thread Zhizhou Zhang
standalone example. it's too complicate. Zhizhou Zhang (4): MIPS: Add support for MIPS64 cpus MIPS: change related header files MIPS: add board qemu-mips64 support MIPS: add mips64 standalone support arch/mips/cpu/mips64/Makefile | 46 +++ arch/mips/cpu/mips64/cache.S| 229

[U-Boot] [Patch V4 1/4] MIPS: Add support for MIPS64 cpus

2012-08-27 Thread Zhizhou Zhang
These files are derived from arch/mips/cpu/mips32/*. The main changes are: 1, changes ABI o32 to n64, 2, add mips64 build cflags. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/cpu/mips64/Makefile | 46 +++ arch/mips/cpu/mips64/cache.S | 229

[U-Boot] [Patch V4 2/4] MIPS: change related header files

2012-08-27 Thread Zhizhou Zhang
The most important difference between mips32 and mips64 is the address space. This patch solve This problem. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/include/asm/addrspace.h |2 +- arch/mips/include/asm/io.h | 16 arch/mips/include/asm

[U-Boot] [Patch V4 3/4] MIPS: add board qemu-mips64 support

2012-08-27 Thread Zhizhou Zhang
Both big-endian and little-endian are tested with below commands: qemu-system-mips64el -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic qemu-system-mips64 -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic Signed-off-by: Zhizhou Zhang etou...@gmail.com --- board/qemu-mips/u-boot.lds

[U-Boot] [Patch V4 4/4] MIPS: add mips64 standalone support

2012-08-27 Thread Zhizhou Zhang
Move CONFIG_SYS_TEXT_BASE to the board specified header file. So change qemu-mips.h also. board/qemu-mips/config.mk is not used, then remove it. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- board/qemu-mips/config.mk | 10 --- examples/standalone/mips64.lds | 59

[U-Boot] [Patch V3 0/4] add mips64 cpu support

2012-08-20 Thread Zhizhou Zhang
This patch add mips64 cpu support. Changes in V3: - merge related files into one patch, no longer one file one patch. - add detailed commit message. - remove standalone example. it's too complicate. Zhizhou Zhang (4): [MIPS] Add support for MIPS64 cpus [MIPS] add mips64 support in mips

[U-Boot] [Patch V3 1/4] [MIPS] Add support for MIPS64 cpus

2012-08-20 Thread Zhizhou Zhang
These files are derived from arch/mips/cpu/mips32/*. Howerver some Changes are made: *.S: changes ABI o32 to n64 config.mk: add mips64 building cflags cpu.c: add cache size probe interrupts.c: implement enable_interrupts and disable_interrupts Signed-off-by: Zhizhou Zhang etou

[U-Boot] [Patch V3 2/4] [MIPS] add mips64 support in mips head files

2012-08-20 Thread Zhizhou Zhang
The most important difference between mips32 and mips64 is the address space. changes in addrspace.h and io.h are for this sake. And this patch add cache discribe struct in cache.h, and make compatible to mips64 of some types in posix_types.h. Signed-off-by: Zhizhou Zhang etou...@gmail.com

[U-Boot] [Patch V3 4/4] [MIPS] Disable standalone while building MIPS64

2012-08-20 Thread Zhizhou Zhang
I think copy mips.lds to mips64.lds with only one line changed is not good. So I disable it in top Makefile. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- Makefile |2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 5ce5cc3..626d888 100644 --- a/Makefile +++ b

[U-Boot] [Patch V3 3/4] [MIPS] Add qemu-mips building configs

2012-08-20 Thread Zhizhou Zhang
statements. boards.cfg: add mips64 cpu define. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- board/qemu-mips/config.mk | 10 --- board/qemu-mips/u-boot.lds|8 ++ boards.cfg|1 + include/configs/qemu-mips.h |3 + include/configs/qemu-mips64.h | 171

[U-Boot] [Patch V3 0/4] add mips64 cpu support

2012-08-20 Thread Zhizhou Zhang
This patch add mips64 cpu support. Changes in V3: - merge related files into one patch, no longer one file one patch. - add detailed commit message. - remove standalone example. it's too complicate. Zhizhou Zhang (4): [MIPS] Add support for MIPS64 cpus [MIPS] add mips64 support in mips

[U-Boot] [Patch V3 1/4] [MIPS] Add support for MIPS64 cpus

2012-08-20 Thread Zhizhou Zhang
These files are derived from arch/mips/cpu/mips32/*. Howerver some Changes are made: *.S: changes ABI o32 to n64 config.mk: add mips64 building cflags cpu.c: add cache size probe interrupts.c: implement enable_interrupts and disable_interrupts Signed-off-by: Zhizhou Zhang etou

[U-Boot] [Patch V3 2/4] [MIPS] add mips64 support in mips head files

2012-08-20 Thread Zhizhou Zhang
The most important difference between mips32 and mips64 is the address space. changes in addrspace.h and io.h are for this sake. And this patch add cache discribe struct in cache.h, and make compatible to mips64 of some types in posix_types.h. Signed-off-by: Zhizhou Zhang etou...@gmail.com

[U-Boot] [Patch V3 3/4] [MIPS] Add qemu-mips building configs

2012-08-20 Thread Zhizhou Zhang
statements. boards.cfg: add mips64 cpu define. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- board/qemu-mips/config.mk | 10 --- board/qemu-mips/u-boot.lds|8 ++ boards.cfg|1 + include/configs/qemu-mips.h |3 + include/configs/qemu-mips64.h | 171

[U-Boot] [Patch V3 4/4] [MIPS] Disable standalone while building MIPS64

2012-08-20 Thread Zhizhou Zhang
I think copy mips.lds to mips64.lds with only one line changed is not good. So I disable it in top Makefile. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- Makefile |2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 5ce5cc3..626d888 100644 --- a/Makefile +++ b

[U-Boot] [[Patch V2] mips: 01/16] add mips64 standalone support

2012-08-17 Thread Zhizhou Zhang
Daniel Schwierzeck told me to do it with macro, But it seems not work. For u-boot.lds was genarete by gcc. It's hard to do that without a lot modify. --- arch/mips/config.mk |4 1 file changed, 4 insertions(+) diff --git a/arch/mips/config.mk b/arch/mips/config.mk index 6ab8acd..56996cc

[U-Boot] [[Patch V2] mips: 03/16] add cpu/mips64/config.mk

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/cpu/mips64/config.mk | 39 +++ 1 file changed, 39 insertions(+) create mode 100644 arch/mips/cpu/mips64/config.mk diff --git a/arch/mips/cpu/mips64/config.mk b/arch/mips/cpu/mips64/config.mk new

[U-Boot] [[Patch V2] mips: 02/16] add cpu/mips64/Makefile

2012-08-17 Thread Zhizhou Zhang
--- arch/mips/cpu/mips64/Makefile | 47 + 1 file changed, 47 insertions(+) create mode 100644 arch/mips/cpu/mips64/Makefile diff --git a/arch/mips/cpu/mips64/Makefile b/arch/mips/cpu/mips64/Makefile new file mode 100644 index 000..335fe88 ---

[U-Boot] [[Patch V2] mips: 07/16] add cpu/mips64/time.c

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/cpu/mips64/time.c | 86 +++ 1 file changed, 86 insertions(+) create mode 100644 arch/mips/cpu/mips64/time.c diff --git a/arch/mips/cpu/mips64/time.c b/arch/mips/cpu/mips64/time.c new file mode

[U-Boot] [[Patch V2] mips: 06/16] add cpu/mips64/start.S

2012-08-17 Thread Zhizhou Zhang
remove cache init Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/cpu/mips64/start.S | 373 ++ 1 file changed, 373 insertions(+) create mode 100644 arch/mips/cpu/mips64/start.S diff --git a/arch/mips/cpu/mips64/start.S b/arch/mips/cpu/mips64

[U-Boot] [[Patch V2] mips: 08/16] Let UNCACHED_SDRAM be available to mips64

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/include/asm/addrspace.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/include/asm/addrspace.h b/arch/mips/include/asm/addrspace.h index 3a1e6d6..b768bb5 100644 --- a/arch/mips/include/asm/addrspace.h

[U-Boot] [[Patch V2] mips: 09/16] add cache description struct

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/include/asm/cache.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/mips/include/asm/cache.h b/arch/mips/include/asm/cache.h index 5406d5d..45e546d 100644 --- a/arch/mips/include/asm/cache.h +++ b/arch/mips

[U-Boot] [[Patch V2] mips: 10/16] modify io operation for mips64

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/include/asm/io.h | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h index 025012a..1b82c61 100644 --- a/arch/mips/include/asm/io.h +++ b/arch

[U-Boot] [[Patch V2] mips: 12/16] modify u-boot.lds for mips64

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- board/qemu-mips/u-boot.lds |8 1 file changed, 8 insertions(+) diff --git a/board/qemu-mips/u-boot.lds b/board/qemu-mips/u-boot.lds index 9460b20..06db68d 100644 --- a/board/qemu-mips/u-boot.lds +++ b/board/qemu-mips/u-boot.lds

[U-Boot] [[Patch V2] mips: 14/16] add mips64 standalone link script

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- examples/standalone/mips64.lds | 59 1 file changed, 59 insertions(+) create mode 100644 examples/standalone/mips64.lds diff --git a/examples/standalone/mips64.lds b/examples/standalone/mips64.lds new

[U-Boot] [[Patch V2] mips: 15/16] add configs/qemu-mips64.h

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- include/configs/qemu-mips64.h | 171 + 1 file changed, 171 insertions(+) create mode 100644 include/configs/qemu-mips64.h diff --git a/include/configs/qemu-mips64.h b/include/configs/qemu-mips64.h new

[U-Boot] [[Patch V2] mips: 16/16] modify qemu-mips/config.mk

2012-08-17 Thread Zhizhou Zhang
Though I defined CONFIG_SYS_TEXT_BASE in configs/qemu-mips64.h, but the value is still affected by this file. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- board/qemu-mips/config.mk |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/qemu-mips/config.mk b/board

[U-Boot] [[Patch V2] mips: 00/16] add mips64 support to U-Boot

2012-08-17 Thread Zhizhou Zhang
This patch add mips64 support. --- Change log for V2: - move mips64 build flags to cpu/mips64.mk - add cache size probe - remove cache.S Zhizhou Zhang (16): add mips64 standalone support add cpu/mips64/Makefile add cpu/mips64/config.mk add cpu/mips64/cpu.c add cpu/mips64

[U-Boot] [[Patch V2] mips: 01/16] add mips64 standalone support

2012-08-17 Thread Zhizhou Zhang
Daniel Schwierzeck told me to do it with macro, But it seems not work. For u-boot.lds was genarete by gcc. It's hard to do that without a lot modify. --- arch/mips/config.mk |4 1 file changed, 4 insertions(+) diff --git a/arch/mips/config.mk b/arch/mips/config.mk index 6ab8acd..56996cc

[U-Boot] [[Patch V2] mips: 02/16] add cpu/mips64/Makefile

2012-08-17 Thread Zhizhou Zhang
--- arch/mips/cpu/mips64/Makefile | 47 + 1 file changed, 47 insertions(+) create mode 100644 arch/mips/cpu/mips64/Makefile diff --git a/arch/mips/cpu/mips64/Makefile b/arch/mips/cpu/mips64/Makefile new file mode 100644 index 000..335fe88 ---

[U-Boot] [[Patch V2] mips: 04/16] add cpu/mips64/cpu.c

2012-08-17 Thread Zhizhou Zhang
add icache and dcache probe here. but scache was not probed. For I don't know how to determine it implemented or not. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/cpu/mips64/cpu.c | 133 1 file changed, 133 insertions(+) create mode

[U-Boot] [[Patch V2] mips: 05/16] add cpu/mips64/interrupts.c

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/cpu/mips64/interrupts.c | 39 + 1 file changed, 39 insertions(+) create mode 100644 arch/mips/cpu/mips64/interrupts.c diff --git a/arch/mips/cpu/mips64/interrupts.c b/arch/mips/cpu/mips64

[U-Boot] [[Patch V2] mips: 06/16] add cpu/mips64/start.S

2012-08-17 Thread Zhizhou Zhang
remove cache init Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/cpu/mips64/start.S | 373 ++ 1 file changed, 373 insertions(+) create mode 100644 arch/mips/cpu/mips64/start.S diff --git a/arch/mips/cpu/mips64/start.S b/arch/mips/cpu/mips64

[U-Boot] [[Patch V2] mips: 07/16] add cpu/mips64/time.c

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/cpu/mips64/time.c | 86 +++ 1 file changed, 86 insertions(+) create mode 100644 arch/mips/cpu/mips64/time.c diff --git a/arch/mips/cpu/mips64/time.c b/arch/mips/cpu/mips64/time.c new file mode

[U-Boot] [[Patch V2] mips: 08/16] Let UNCACHED_SDRAM be available to mips64

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/include/asm/addrspace.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/include/asm/addrspace.h b/arch/mips/include/asm/addrspace.h index 3a1e6d6..b768bb5 100644 --- a/arch/mips/include/asm/addrspace.h

[U-Boot] [[Patch V2] mips: 09/16] add cache description struct

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/include/asm/cache.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/mips/include/asm/cache.h b/arch/mips/include/asm/cache.h index 5406d5d..45e546d 100644 --- a/arch/mips/include/asm/cache.h +++ b/arch/mips

[U-Boot] [[Patch V2] mips: 10/16] modify io operation for mips64

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/include/asm/io.h | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h index 025012a..1b82c61 100644 --- a/arch/mips/include/asm/io.h +++ b/arch

[U-Boot] [[Patch V2] mips: 12/16] modify u-boot.lds for mips64

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- board/qemu-mips/u-boot.lds |8 1 file changed, 8 insertions(+) diff --git a/board/qemu-mips/u-boot.lds b/board/qemu-mips/u-boot.lds index 9460b20..06db68d 100644 --- a/board/qemu-mips/u-boot.lds +++ b/board/qemu-mips/u-boot.lds

[U-Boot] [[Patch V2] mips: 11/16] Make size_t equaled to unsigned long

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/include/asm/posix_types.h | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/arch/mips/include/asm/posix_types.h b/arch/mips/include/asm/posix_types.h index 879aae2..0da1dde 100644 --- a/arch/mips

[U-Boot] [[Patch V2] mips: 13/16] add board define in boards.cfg

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- boards.cfg |1 + 1 file changed, 1 insertion(+) diff --git a/boards.cfg b/boards.cfg index fdb84ad..a6806b8 100644 --- a/boards.cfg +++ b/boards.cfg @@ -379,6 +379,7 @@ M5485GFE m68kmcf547x_8x m548xevb

[U-Boot] [[Patch V2] mips: 14/16] add mips64 standalone link script

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- examples/standalone/mips64.lds | 59 1 file changed, 59 insertions(+) create mode 100644 examples/standalone/mips64.lds diff --git a/examples/standalone/mips64.lds b/examples/standalone/mips64.lds new

[U-Boot] [[Patch V2] mips: 15/16] add configs/qemu-mips64.h

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- include/configs/qemu-mips64.h | 171 + 1 file changed, 171 insertions(+) create mode 100644 include/configs/qemu-mips64.h diff --git a/include/configs/qemu-mips64.h b/include/configs/qemu-mips64.h new

[U-Boot] [[Patch V2] mips: 00/16] add mips64 support to U-Boot

2012-08-17 Thread Zhizhou Zhang
This patch add mips64 support. --- Change log for V2: - move mips64 build flags to cpu/mips64.mk - add cache size probe - remove cache.S Zhizhou Zhang (16): add mips64 standalone support add cpu/mips64/Makefile add cpu/mips64/config.mk add cpu/mips64/cpu.c add cpu/mips64

[U-Boot] [[Patch V2] mips: 05/16] add cpu/mips64/interrupts.c

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/cpu/mips64/interrupts.c | 39 + 1 file changed, 39 insertions(+) create mode 100644 arch/mips/cpu/mips64/interrupts.c diff --git a/arch/mips/cpu/mips64/interrupts.c b/arch/mips/cpu/mips64

[U-Boot] [[Patch V2] mips: 11/16] Make size_t equaled to unsigned long

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/include/asm/posix_types.h | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/arch/mips/include/asm/posix_types.h b/arch/mips/include/asm/posix_types.h index 879aae2..0da1dde 100644 --- a/arch/mips

[U-Boot] [[Patch V2] mips: 13/16] add board define in boards.cfg

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- boards.cfg |1 + 1 file changed, 1 insertion(+) diff --git a/boards.cfg b/boards.cfg index fdb84ad..a6806b8 100644 --- a/boards.cfg +++ b/boards.cfg @@ -379,6 +379,7 @@ M5485GFE m68kmcf547x_8x m548xevb

[U-Boot] [[Patch V2] mips: 03/16] add cpu/mips64/config.mk

2012-08-17 Thread Zhizhou Zhang
Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/cpu/mips64/config.mk | 39 +++ 1 file changed, 39 insertions(+) create mode 100644 arch/mips/cpu/mips64/config.mk diff --git a/arch/mips/cpu/mips64/config.mk b/arch/mips/cpu/mips64/config.mk new

[U-Boot] [[Patch V2] mips: 04/16] add cpu/mips64/cpu.c

2012-08-17 Thread Zhizhou Zhang
add icache and dcache probe here. but scache was not probed. For I don't know how to determine it implemented or not. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- arch/mips/cpu/mips64/cpu.c | 133 1 file changed, 133 insertions(+) create mode

[U-Boot] [[Patch V2] mips: 16/16] modify qemu-mips/config.mk

2012-08-17 Thread Zhizhou Zhang
Though I defined CONFIG_SYS_TEXT_BASE in configs/qemu-mips64.h, but the value is still affected by this file. Signed-off-by: Zhizhou Zhang etou...@gmail.com --- board/qemu-mips/config.mk |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/qemu-mips/config.mk b/board