2013/5/4 Heiko Schocher h...@denx.de
Signed-off-by: Heiko Schocher h...@denx.de
Signed-off-by: Simon Glass s...@chromium.org
Cc: Henrik Nordström hen...@henriknordstrom.net
---
- changes for v2:
add comment from Henrik Nordström hen...@henriknordstrom.net
remove wrong line in README
2013/5/22 Gabor Juhos juh...@openwrt.org:
Qemu emulates the Galileo GT64120 System Controller
which provides a CPU bus to PCI bus bridge.
The patch adds driver for this bridge and enables
PCI support for the emulated Malta board.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel
a CPU bus to PCI bus bridge.
The patch adds driver for this bridge and enables
PCI support for the emulated Malta board.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
ELDK-5.3 shows some warnings:
pci_indirect.c: In function
--
nds32:
- SUMMARY
Boards compiled: 3
--
Cc: Tom Rini tr...@ti.com
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
Signed-off-by: Gabor Juhos juh...@openwrt.org
.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
Patch is compile tested on boards smdk2410 and qi_lb60
---
drivers/mtd/nand/jz4740_nand.c | 2 +-
drivers/mtd/nand/s3c2410_nand.c | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/mtd/nand/jz4740_nand.c
This fixes several warnings like
In file included from ./u-boot/include/linux/mtd/mtd.h:13:0,
from env_onenand.c:37:
./u-boot/build/vct_platinumavc_onenand_small/include2/asm/errno.h:52:0:
warning: ENOMSG redefined [enabled by default]
Signed-off-by: Daniel Schwierzeck
)
Daniel Schwierzeck (1):
MIPS: asm/errno.h: switch to asm-generic/errno.h
Gabor Juhos (1):
MIPS: fix __raw_* IO accessors
arch/mips/include/asm/errno.h | 144
Move initialisation of Linux command line to separate functions.
Also add support for bootm subcommand 'cmdline'.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/lib/bootm.c | 130 --
1 file changed, 84 insertions
This is required for init ramdisk relocation and device tree
support.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/include/asm/config.h | 2 ++
arch/mips/lib/bootm.c | 21 +
2 files
This replaces the passing of memory size via the traditional Linux
environment. This is required for recent Linux kernels.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/lib/bootm.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/mips/lib/bootm.c b
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/lib/bootm.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c
index a36154a..6b38955 100644
--- a/arch/mips/lib/bootm.c
+++ b/arch/mips/lib
Qemu
- drop obsolete bootm support of MIPS Qemu
Daniel Schwierzeck (11):
MIPS: bootm: fix checkpatch.pl warnings
MIPS: bootm: optimise kernel entry call
MIPS: bootm: add support for LMB
MIPS: bootm: refactor initialisation of kernel cmdline
MIPS: bootm: refactor initialisation of kernel
All linux kernels after v2.6 require a page-aligned location of
an external init ramdisk. Enable CONFIG_SYS_BOOT_RAMDISK_HIGH to
support this with the generic U-Boot relocation code.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/include/asm/config.h | 1 +
arch
This replaces the passing of the location and size of an external init ramdisk
via the traditional Linux environment. This is required to supporta again
external init ramdisks with recent Linux kernels.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/lib/bootm.c | 12
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/lib/Makefile | 4 ---
arch/mips/lib/bootm_qemu_mips.c | 78 -
2 files changed, 82 deletions(-)
delete mode 100644 arch/mips/lib/bootm_qemu_mips.c
diff --git a/arch/mips
Recent linux kernels do not use that special environment variables
anymore. Add an option to disable compilation of that code but
keep it for compatibilty with older kernels.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
README| 6 ++
arch/mips/lib
Signed-off-by: Gabor Juhos juh...@openwrt.org
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/lib/bootm.c | 22 --
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c
index 68b57d7..1dc4e73
Fix signature of kernel entry function. Mark the kernel entry
with __noreturn for better code optimisation.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/lib/bootm.c | 11 ---
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/arch/mips/lib
Move initialisation of Linux environment to separate functions.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/lib/bootm.c | 69 ++-
1 file changed, 35 insertions(+), 34 deletions(-)
diff --git a/arch/mips/lib/bootm.c
2013/6/9 Wolfgang Denk w...@denx.de:
Dear Daniel Schwierzeck,
In message 1370731370-32767-5-git-send-email-daniel.schwierz...@gmail.com
you wrote:
Move initialisation of Linux command line to separate functions.
Also add support for bootm subcommand 'cmdline'.
+static void
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
Changes in v2:
- fix multi-line comment
arch/mips/lib/bootm.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c
index a36154a..148c18b 100644
Move initialisation of Linux command line to separate functions.
Also add support for bootm subcommand 'cmdline'.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
Changes in v2:
- use debug() macro
arch/mips/lib/bootm.c | 130
2013/6/11 Gabor Juhos juh...@openwrt.org:
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/cpu/mips64/start.S |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/mips/cpu/mips64/start.S b/arch/mips
2013/6/12 Gabor Juhos juh...@openwrt.org:
Gabor Juhos (4):
MIPS: mips32/time.c: fix checkpatch errors/warnings
MIPS: mips64/interrupt.c: remove superfluous include
MIPS: remove obsolete TODO items
MIPS: mips32/cache.S: remove superfluous register assignment
2013/6/13 krishna dwivedi krishna.dwived...@gmail.com:
Hi,
I am trying to port the u-boot2013:04 to sdk.During compilation,I am
running into error:*Undefined reference to _GLOBAL_OFFSET_TABLE*.I checked
in u-boot.lds file thr is no definition of _GLOBAL_OFFSET_TABLE.I have
added this piece
of the MIPS custodian tree.
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
Gabor Juhos (10):
MIPS: mips32/start.S: use t8 register for dynamic relocation
MIPS: mips32/start.S: rework relocation info check
MIPS: xburst/start.S: save relocation address in s2 register
MIPS: xburst
the relocated _G_O_T_ address, instead of calculating
the offset again from the _gp value.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
Cc: Xiangfu Liu xian...@openmobilefree.net
---
Changes since v1: modify Xburst code as well
This depends
address. The resulting offset can
be used to adjust the gp pointer.
This approach makes the code a bit simpler because
it needs two instructions only.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
Cc: Xiangfu Liu xian
-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
Cc: Stefan Roese s...@denx.de
Cc: Wolfgang Denk w...@denx.de
Cc: Xiangfu Liu xian...@openmobilefree.net
---
arch/mips/cpu/mips32/config.mk |6 ++
arch/mips/cpu/xburst/config.mk |6
2013/1/30 Gabor Juhos juh...@openwrt.org:
This patch-set adds an unfied u-boot.lds file for the MIPS
architecture, and removes the linker scripts of the individual
boards.
The series depends on the following patch:
MIPS: remove OUTPUT_FORMAT from linker scripts
From: Daniel Schwierzeck daniel.schwierz...@gmail.com
Adopt reset vector handling from Yamon.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/cpu/mips32/start.S | 185 +--
arch/mips/cpu/mips64/start.S | 55 +++--
2
From: Daniel Schwierzeck daniel.schwierz...@gmail.com
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/cpu/mips32/start.S | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/arch/mips/cpu/mips32/start.S b/arch/mips/cpu/mips32/start.S
index
2013/1/31 Gabor Juhos juh...@openwrt.org:
Hi Daniel,
From: Daniel Schwierzeck daniel.schwierz...@gmail.com
Adopt reset vector handling from Yamon.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/cpu/mips32/start.S | 185
From: Daniel Schwierzeck daniel.schwierz...@gmail.com
Adopt reset vector handling from Yamon.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
Changes for v2:
- optimized U-Boot entry point on MIPS32
- fix indentation of .org
---
arch/mips/cpu/mips32/start.S | 186
2013/2/1 Gabor Juhos juh...@openwrt.org:
Hi Daniel,
From: Daniel Schwierzeck daniel.schwierz...@gmail.com
Adopt reset vector handling from Yamon.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
Looks good, I have only one minor comment below.
---
Changes for v2
able to run before relocation as
well as after.
Note: this affects more than ARM targets, as linker-
lists span possibly all target architectures, notably
PowerPC.
Signed-off-by: Albert ARIBAUD albert.u.b...@aribaud.net
---
for the MIPS part:
Tested-by: Daniel Schwierzeck daniel.schwierz
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
Changes since v1:
- remove custom u-boot.lds file
- rebased against mips/testing
Changes since RFC: ---
---
Screenshot:
U-Boot 2013.01-00075-g80fa5c7 (Feb 02 2013 - 16:59:19)
Board: MIPS Malta CoreLV (Qemu)
DRAM: 256 MiB
2013/2/2 Gabor Juhos juh...@openwrt.org:
The MIPS Malta board has a SOFTRES register. Writing a
magic value into that register initiates a board reset.
Use this feature to implement reset support.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz
2013/2/2 Gabor Juhos juh...@openwrt.org:
Qemu emulates the Galileo GT64120 System Controller
which provides a CPU bus to PCI bus bridge.
The patch adds driver for this bridge and enables
PCI support for the emulated Malta board.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel
2013/2/2 Gabor Juhos juh...@openwrt.org:
Move the GT64120 register base to 0x1be0
and setup PCI BAR registers as done by the
original YAMON bootloader.
This is needed for running Linux kernel.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz
a mapped
memory region, and the pci_phys_to_mem macro can't
be used to obtain the memory address of the buffers.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
Changes since v1:
- rebased against mips/testing
Changes since RFC
From: Daniel Schwierzeck daniel.schwierz...@gmail.com
Fix access to global_data which is broken since commits:
commit 035cbe99cd2fd4adf9d7fd95aeebb5f814e37eb9
Author: Simon Glass s...@chromium.org
Date: Thu Dec 13 20:49:08 2012 +
mips: Move per_clk and dev_clk to arch_global_data
From: Daniel Schwierzeck daniel.schwierz...@gmail.com
This series adds dynamic relocation support for MIPS.
Furthermore the symbols in u-boot.lds are cleaned up and
synchronized with ARM to prepare for future patches like
generic board and initcall support.
Special thanks to Gabor Juhos
From: Daniel Schwierzeck daniel.schwierz...@gmail.com
These symbols are used in later patches for as addresses for
clearing the BSS area in the relocated U-Boot image.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/cpu/u-boot.lds| 11 ++-
arch
From: Daniel Schwierzeck daniel.schwierz...@gmail.com
This symbol is used in later patches as end address
for relocation of the U-Boot image into RAM.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/cpu/u-boot.lds| 2 ++
arch/mips/include/asm/u-boot
From: Daniel Schwierzeck daniel.schwierz...@gmail.com
Use the newly introduced symbols __image_copy_end and __bss_end
for setting up the memory area for the relocated U-Boot.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/lib/board.c | 5 +++--
1 file changed, 3
From: Daniel Schwierzeck daniel.schwierz...@gmail.com
Get the start and end address for clearing BSS from the newly
introduced symbols __bss_start and __bss_end. After GOT is
relocated, those symbols are already pointing to the correct
addresses.
Also optimize the loop by moving the address
From: Daniel Schwierzeck daniel.schwierz...@gmail.com
Use the newly introduced symbol __image_copy_end as end address for
relocation of U-Boot image. This is needed for dynamic relocation added
in later patches. This patch obsoletes the symbols uboot_end and
uboot_end_data which are removed
crashes otherwise. This section
will be stripped by GNU objcpy in a later patch.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/cpu/u-boot.lds | 24 +++-
1 file changed, 23 insertions(+), 1 deletion
sections which are not needed in the final
ELF binary and U-Boot image. Section .dynsym cannot be
discarded or GNU ld crashes otherwise. This section
will be stripped by GNU objcpy in a later patch.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Signed-off-by: Daniel Schwierzeck daniel.schwierz
2013/2/11 Gabor Juhos juh...@openwrt.org:
that's weird. Actually I checked after each patch if the *_end symbols
match the U-Boot binary size. Now I checked again with different
toolchains (gcc-4.[5,6,7], binutils-2.[21.53,22] and I have again that
binutils issue.
But all toolchains have one
crashes otherwise. This section
will be stripped by GNU objcpy in a later patch.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
Changes since v1:
- add back the .deadcode section (see code comment for explanation)
arch/mips/cpu/u
2013/2/12 Tom Rini tr...@ti.com:
To be clear, is this for master or next? The merge window closed, but
I haven't tagged -rc1 or anything yet (and won't for a bit longer, to
give folks time to pick up patches). Thanks!
it is for master. I needed a few days longer for review and test.
Also I
Remove the manual relocation of env_name_spec. This has been missed
in the previous patch series for introducing dynamic relocation
on MIPS.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/lib/board.c | 8
1 file changed, 8 deletions(-)
diff --git a/arch
)
Daniel Schwierzeck (1):
MIPS: board.c: remove manual relocation of env_name_spec
arch/mips/lib/board.c | 8
1 file changed, 8 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
http
if the CONFIG_SWAP_IO_SPACE option is enabled.
The patch changes the IO accessor macros to fix this
broken behaviour.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
Note:
The change does not affect the existing MIPS targets
because none of those
scripts
arm: make __bss_start and __bss_end__ compiler-generated
Refactor linker-generated arrays
Reviewed-by: Tom Rini tr...@ti.com
Aside from ARM and I assume Sandbox, has this been runtime tested on
other arches yet?
I've runtime tested the refactored LGA on MIPS, so
Tested-by: Daniel
2013/2/25 Juhyun (Justin) Oh juhyun...@sigmadesigns.com:
Hi,
I got a problem while I was trying out v2013.01.01 on the u-boot-mips fork
repo. It looks like my u-boot binary built with -pie linker option doesn't
work due to wrong gp initialization.
In the start.S file, the gp is supposed
All code related to the bootm ramdisk subcommand is conditionally
enabled by CONFIG_SYS_BOOT_RAMDISK_HIGH except for the help message.
Replace the CONFIG_ARCH defines by CONFIG_SYS_BOOT_RAMDISK_HIGH
to fix this.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
common
Hi,
2013/2/26 Juhyun (Justin) Oh juhyun...@sigmadesigns.com:
HI Daniel,
I'm using CodeSourcery 4.5.2. I've configured and have built the code for
incaip board and dbau1000. The results are the same. (i.e. gp has been
set with wrong value)
Could you tell me the CodeSourcery toolchain
...@freescale.com
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
Changes vor v2:
- fix the wrong spaces also in spl/Makefile
Tested with:
MAKEALL spear600
MAKEALL -s omap3
MAKEALL -s omap4
---
Makefile | 2 +-
spl/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff
Hi Albert,
2012/8/14 Albert ARIBAUD albert.u.b...@aribaud.net:
Hi all,
I have encountered an issue when rebasing the ARM tree above
u-boot/master, with this commit :
8b5a02640adf77301f943e8754992c50df004e8a
It seems to break about 20 ARM builds, for instance spear600, on my
stock Ubuntu
w...@denx.de
Cc: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
Makefile |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 5ce5cc3..947f3ff 100644
--- a/Makefile
+++ b/Makefile
@@ -225,7 +225,7 @@ endif
OBJS := $(addprefix $(obj
Hi,
2012/8/15 Zhi-zhou Zhang etou...@gmail.com:
On Tue, Aug 14, 2012 at 11:51 PM, Mike Frysinger vap...@gentoo.org wrote:
On Tuesday 14 August 2012 11:49:49 Mike Frysinger wrote:
On Tuesday 14 August 2012 11:06:51 Zhi-zhou Zhang wrote:
As so far, U-Boot has already supports mips32. But
2012/8/14 Zhi-zhou Zhang etou...@gmail.com:
diff --git a/arch/mips/config.mk b/arch/mips/config.mk
index 6ab8acd..12df150 100644
--- a/arch/mips/config.mk
+++ b/arch/mips/config.mk
@@ -23,9 +23,13 @@
CROSS_COMPILE ?= mips_4KC-
+ifeq $(CPU) mips64
+CONFIG_STANDALONE_LOAD_ADDR ?=
2012/8/14 Zhi-zhou Zhang etou...@gmail.com:
diff --git a/arch/mips/cpu/mips64/config.mk b/arch/mips/cpu/mips64/config.mk
new file mode 100644
index 000..cec250a
--- /dev/null
+++ b/arch/mips/cpu/mips64/config.mk
@@ -0,0 +1,36 @@
+#
+# (C) Copyright 2003
+# Wolfgang Denk, DENX Software
wrong email subject add mips64/cpu.h. You are adding cpu.c.
2012/8/14 Zhi-zhou Zhang etou...@gmail.com:
diff --git a/arch/mips/cpu/mips64/cpu.c b/arch/mips/cpu/mips64/cpu.c
new file mode 100644
index 000..1ead349
--- /dev/null
+++ b/arch/mips/cpu/mips64/cpu.c
@@ -0,0 +1,116 @@
+/*
+ *
2012/8/14 Zhi-zhou Zhang etou...@gmail.com:
diff --git a/board/qemu-mips/config.mk b/board/qemu-mips/config.mk
index 27cd34a..6a3d7a7 100644
--- a/board/qemu-mips/config.mk
+++ b/board/qemu-mips/config.mk
@@ -2,9 +2,16 @@
# Qemu -M mips system emulator
# See
2012/8/14 Zhi-zhou Zhang etou...@gmail.com:
err.. maybe a bug of gcc? In my memory, size_t is equaled to unsigned int.
diff --git a/arch/mips/include/asm/posix_types.h
b/arch/mips/include/asm/posix_types.h
index 879aae2..86a866a 100644
--- a/arch/mips/include/asm/posix_types.h
+++
why don't you use CONFIG_64BIT like you did in board/qemu_mips/u-boot.lds?
2012/8/14 Zhi-zhou Zhang etou...@gmail.com:
diff --git a/examples/standalone/mips64.lds b/examples/standalone/mips64.lds
new file mode 100644
index 000..00b96da
--- /dev/null
+++ b/examples/standalone/mips64.lds
Hi,
2012/8/17 Zhizhou Zhang etou...@gmail.com:
This patch add mips64 support.
---
Change log for V2:
- move mips64 build flags to cpu/mips64.mk
- add cache size probe
- remove cache.S
please add changelogs to the patches which you have changed since the
previous submission
2012/8/17 Zhizhou Zhang etou...@gmail.com:
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
2012/8/18 Zhi-zhou Zhang etou...@gmail.com:
On Sat, Aug 18, 2012 at 1:08 AM, Andrew Dyer amd...@gmail.com wrote:
I think the OUTPUT_FORMAT line if wrong. This will produce little endian
output even if explicitly told by command line switch -EB to make big
endian.
Yes, But if I want make
2012/8/17 Zhizhou Zhang etou...@gmail.com:
Though I defined CONFIG_SYS_TEXT_BASE in configs/qemu-mips64.h,
but the value is still affected by this file.
you should delete all CONFIG_SYS_TEXT_BASE definitions from this file.
The board specific config header file is the only right place.
2012/8/17 Zhizhou Zhang etou...@gmail.com:
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
you should merge this patch
2012/7/27 Marek Vasut ma...@denx.de:
Write the TSCR register via 32bit write instead of 16bit one.
The register is 32bit wide and bit 16 is being set, triggering
gcc overflow error and making the code broken.
Signed-off-by: Marek Vasut ma...@denx.de
Cc: Daniel z...@ingenic.cn
Cc: Shinya
2012/7/27 Marek Vasut ma...@denx.de:
The timer code contains more halfword writes which trigger gcc errors.
The registers are again 32bit, yet written by 16bit writes, fix this:
timer.c: In function ‘reset_timer_masked’:
timer.c:37:2: warning: dereferencing type-punned pointer will break
2012/7/27 Marek Vasut ma...@denx.de:
The lb60 board accesses the clkgr register, which is 32bit via
16bit IO ops. This causes malfunction. Fix this.
qi_lb60.c: In function ‘cpm_init’:
qi_lb60.c:72:2: warning: dereferencing type-punned pointer will break
strict-aliasing rules
-by: Marek Vasut ma...@denx.de
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
arch/mips/config.mk |2 ++
arch/mips/lib/Makefile | 20
arch/mips/lib/ashldi3.c | 25 +
arch/mips/lib/ashrdi3.c | 27
From: Daniel Schwierzeck daniel.schwierz...@gmail.com
Refactor handling of endianess flag and CONFIG_STANDALONE_LOAD_ADDR.
Introduce qemu_mipsel support.
Daniel Schwierzeck (3):
MIPS: factor out endianess flag handling to arch config.mk
MIPS: move CONFIG_STANDALONE_LOAD_ADDR to CPU config
From: Daniel Schwierzeck daniel.schwierz...@gmail.com
This is CPU independent and should be configured architecture-wide.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/config.mk| 20 ++--
arch/mips/cpu/mips32/config.mk | 19
From: Daniel Schwierzeck daniel.schwierz...@gmail.com
Prepare for upcoming MIPS64 CPU support.
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
arch/mips/config.mk| 2 --
arch/mips/cpu/mips32/config.mk | 2 ++
arch/mips/cpu/xburst/config.mk | 2 ++
3 files changed
From: Daniel Schwierzeck daniel.schwierz...@gmail.com
Tested with 'qemu-system-mipsel -machine mips -bios u-boot.bin -nographic'
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
---
boards.cfg | 3 ++-
include/configs/qemu-mips.h | 7 ++-
2 files changed, 8
2012/8/20 Zhizhou Zhang etou...@gmail.com:
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
2012/8/20 Zhizhou Zhang etou...@gmail.com:
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
2012/8/20 Zhizhou Zhang etou...@gmail.com:
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.
2012/8/20 Zhizhou Zhang etou...@gmail.com:
This patch add qemu-mips64 config. And here uses qemu-mips board rather
then a new board qemu-mips64 for the sake of reduce code copying. Below
are the changes:
config.mk: We must define CONFIG_SYS_TEXT_BASE in configs/*.h, not
here, so remove
2012/8/20 Zhizhou Zhang etou...@gmail.com:
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
Hi Stefan,
2012/8/24 Stefan Roese s...@denx.de:
On 08/24/2012 12:56 PM, Stefan Roese wrote:
I still would like to move to my suggestion to not copy the header and
use the mkimage header values ih_load and ih_ep directly. Right now I
don't see any showstopper for doing it this way. I'll send a
Hi Stefan,
2012/8/24 Stefan Roese s...@denx.de:
Hi Daniel,
On 08/24/2012 01:49 PM, Daniel Schwierzeck wrote:
I still would like to move to my suggestion to not copy the header and
use the mkimage header values ih_load and ih_ep directly. Right now I
don't see any showstopper for doing
Hi Stefan,
2012/8/24 Stefan Roese stefan.ro...@gmail.com:
Hi Daniel,
On 08/24/2012 04:11 PM, Stefan Roese wrote:
The u-boot image is merged with SPL
image without any padding or
fixed flash offsets to achieve a maximum reduction of flash footprint.
Interesting. I'm still padding to the
2012/8/24 Stefan Roese stefan.ro...@gmail.com:
On 08/24/2012 06:42 PM, Daniel Schwierzeck wrote:
The u-boot image is merged with SPL
image without any padding or
fixed flash offsets to achieve a maximum reduction of flash footprint.
Interesting. I'm still padding to the fixed offset. Let me
2012/8/26 Zhi-zhou Zhang etou...@gmail.com:
On Fri, Aug 24, 2012 at 8:23 AM, Daniel Schwierzeck
daniel.schwierz...@gmail.com wrote:
2012/8/20 Zhizhou Zhang etou...@gmail.com:
I think copy mips.lds to mips64.lds with only one line changed is not
good. So I disable it in top Makefile
2012/8/26 Zhi-zhou Zhang etou...@gmail.com:
with current master branch in git://git.denx.de/u-boot-mips.git you can
drop the
endianess flags which are now handled in arch/mips/config.mk
Ok, I have done what you ask for. But I didn't find where does
CONFIG_SYS_LITTLE_ENDIAN or
Hi Zhizhou,
2012/8/27 Zhizhou Zhang etou...@gmail.com:
This patch add mips64 cpu support.
Changes in V4:
- Add both big-endian 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
Hi Stefan,
2012/8/27 Stefan Roese s...@denx.de:
SPL NOR flash booting support is quite simple. Only copying of the
images is needed.
On MPC5xxx we need to make sure to only use the standard memcpy()
implementation and not the MPC5xxx specific one. As the MPC5xxx
version has some complexity
Dear Wolfgang,
2012/9/1 Wolfgang Denk w...@denx.de:
Dear Zhizhou Zhang,
In message 1346071750-6634-7-git-send-email-etou...@gmail.com you wrote:
[...]
+ while (1) {
+ cache_op(Hit_Writeback_Inv_D, addr);
+ cache_op(Hit_Invalidate_I, addr);
We don't allow
2012/9/4 Zhizhou Zhang etou...@gmail.com:
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 +-
2012/9/4 Zhizhou Zhang etou...@gmail.com:
Both big-endian and little-endian are tested with below commands:
Rom version: (Default, Now we config it as rom version)
qemu-system-mips64el -M mips -bios u-boot.bin -cpu MIPS64R2-generic -nographic
qemu-system-mips64 -M mips -bios u-boot.bin -cpu
2012/9/4 Zhizhou Zhang etou...@gmail.com:
Both big-endian and little-endian are tested with below commands:
Rom version: (Default, Now we config it as rom version)
qemu-system-mips64el -M mips -bios u-boot.bin -cpu MIPS64R2-generic -nographic
qemu-system-mips64 -M mips -bios u-boot.bin -cpu
1 - 100 of 1656 matches
Mail list logo