2013.11.11. 23:36 keltezéssel, Daniel Schwierzeck írta:
...
to be consistent with all other architectures, we should keep
CONFIG_SYS_MONITOR_BASE. I think it is neither valid nor intentional
to use a value different from CONFIG_SYS_TEXT_BASE.
If it is neither valid nor intentional, the
2013.11.12. 16:40 keltezéssel, Daniel Schwierzeck írta:
2013/11/12 Gabor Juhos juh...@openwrt.org:
2013.11.11. 23:36 keltezéssel, Daniel Schwierzeck írta:
...
Any idea how can we resolve this properly?
-Gabor
following seems to work (in both variants with -bios and -pflash)
#define
,
1.5.3).
Signed-off-by: Gabor Juhos juh...@openwrt.org
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
Cc: Paul Burton paul.bur...@imgtec.com
---
Changes since v1:
- update CONFIG_SYS_{TEXT,MONITOR}_BASE constants
- update commit message
---
arch/mips/include/asm/malta.h |2
2013.11.11. 10:52 keltezéssel, Daniel Schwierzeck írta:
2013/11/10 Alon Bar-Lev alon.bar...@gmail.com:
Hello,
master is: 15c5cdf from Fri Nov 8 15:25:29 2013 -0500
u-boot-2013.10
Working in qemu-1.5.3.
Does not work in qemu-1.6.1.
The command prompt is not displayed, 100% cpu
2013.11.11. 12:14 keltezéssel, Paul Burton írta:
...
Aha, thanks for tracking that down. I guess if flash commands need to work at
0x1fc0
I assume that it is working on a real Malta board, so it should be emulated
correctly if possible.
then my QEMU patch fixed one bug but causes
constant to avoid the problem. The change makes it possible
to start U-Boot on a Malta board emulated with Qemu 1.6.1
and 1.7.0-rc0. It also works on older versions (tested with
1.1.1, 1.2.2, 1.4.2, 1.5.3). The change is not tested on a
real Malta board.
Signed-off-by: Gabor Juhos juh
2013.11.11. 15:22 keltezéssel, Paul Burton írta:
...
diff --git a/arch/mips/include/asm/malta.h b/arch/mips/include/asm/malta.h
index 9b1100b..bd9043d 100644
--- a/arch/mips/include/asm/malta.h
+++ b/arch/mips/include/asm/malta.h
@@ -44,7 +44,7 @@
#define MALTA_RESET_BASE
-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@gmail.com
Cc: Paul Burton paul.bur...@imgtec.com
---
Daniel,
This should be merged before my 'malta: use unmapped flash base address'
patch.
Thanks,
Gabor
---
arch/mips/cpu/mips32/start.S |2 +-
arch/mips/cpu
2013.11.11. 20:36 keltezéssel, Daniel Schwierzeck írta:
2013/11/11 Gabor Juhos juh...@openwrt.org:
The relocation code uses the CONFIG_SYS_MONITOR_BASE
constant for calculating the reserved memory size and
relocation offset values. Along with these predefined
values the code also uses several
2013.10.24. 11:31 keltezéssel, Paul Burton írta:
This is in preparation for adapting this board to function correctly on
a physical MIPS Malta board. The board is moved into an imgtec vendor
directory at the same time in order to ready us for any other boards
supported by Imagination in the
2013.10.24. 12:10 keltezéssel, Paul Burton írta:
On 24/10/13 11:04, Gabor Juhos wrote:
2013.10.24. 11:31 keltezéssel, Paul Burton írta:
This is in preparation for adapting this board to function correctly on
a physical MIPS Malta board. The board is moved into an imgtec vendor
directory
2013.10.24. 12:54 keltezéssel, Paul Burton írta:
...
I agree that it is related to the rename. However renaming the
mips_boot_qemu_malta constant is a simple cleanup which can be done in a
preceding patch. The same is true for the CONFIG_QEMU_MALTA-CONFIG_MALTA
conversion.
In general,
2013.10.24. 11:33 keltezéssel, Paul Burton írta:
This patch adds support for running on Malta boards using coreFPGA6
core cards, including support for the msc01 system controller used
with them. The system controller is detected at runtime allowing one
U-boot binary to run on a Malta with
The memsize environment variable must contain the
memory size in bytes on the Malta board. Otherwise
Linux will use wrong memory size which causes a kernel
panic.
Define CONFIG_MEMSIZE_IN_BYTES in malta.h to avoid
that.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck
2013.08.11. 21:39 keltezéssel, Daniel Schwierzeck írta:
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
Looks good, but the subject line is misleading a bit. I would expect that the
patch fixes all warnings, however there are some CamelCase warnings even after
the patch.
-Gabor
Make it similar to the code in mips{32,64}/start.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
v2: also change register name in the comment
---
arch/mips/cpu/xburst/start.S |6 +++---
1
Make it similar to the code in mips64/start.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
arch/mips/cpu/mips32/start.S |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff
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/start.S: save relocation offset in s1 register
MIPS
Synchronize the code with mips64/cache.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
arch/mips/cpu/mips32/cache.S |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
Synchronize the code with mips{32,64}/start.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
arch/mips/cpu/xburst/start.S |8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff
Synchronize the code with mips64/start.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
arch/mips/cpu/mips32/start.S | 18 +-
1 file changed, 9 insertions(+), 9 deletions
Synchronize the code with mips{32,64}/start.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
arch/mips/cpu/xburst/start.S | 12 ++--
1 file changed, 6 insertions(+), 6 deletions
Synchronize the code with mips64/cache.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
arch/mips/cpu/mips32/cache.S |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch
Synchronize the code with mips{32,64}/start.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
arch/mips/cpu/xburst/start.S |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
Make it similar to the code in mips{32,64}/start.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
arch/mips/cpu/xburst/start.S |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff
Synchronize the code with mips{32,64}/start.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
arch/mips/cpu/xburst/start.S | 18 +-
1 file changed, 9 insertions(+), 9 deletions
Synchronize the code with mips64/cache.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
arch/mips/cpu/mips32/cache.S |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
Nothing is used from asm/mipsregs.h.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
arch/mips/cpu/mips64/interrupts.c |1 -
1 file changed, 1 deletion(-)
diff --git a/arch/mips/cpu/mips64/interrupts.c
b/arch/mips/cpu/mips64
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
arch/mips/cpu/mips32/cache.S |3 +--
arch/mips/cpu/mips32
The t4 register already holds the cache
line size, and the value of the register
is not changed in mips_init_icache.
Get the cache line size value from t4 for
mips_init_dcache as well and remove the
superfluous assignment of t5 register.
Signed-off-by: Gabor Juhos juh...@openwrt.org
---
arch
checkpatch.pl happy.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
arch/mips/cpu/mips32/time.c |5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/mips/cpu/mips32/time.c b/arch/mips/cpu/mips32/time.c
index
The MIPS code uses centralized u-boot.lds script already,
and dynamic relocation is supported as well.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
doc/README.mips |4
1 file changed, 4 deletions(-)
diff --git a/doc
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/cpu/mips64/start.S
index dc7ce07..1ece6c2 100644
variables
'rd_start' and 'rd_size'
MIPS: bootm: add YAMON style Linux preparation/jump code for Qemu
Malta
MIPS: bootm: drop obsolete Qemu specific bootm implementation
The series looks good.
Acked-by: Gabor Juhos juh...@openwrt.org
-Gabor
2013.05.30. 18:36 keltezéssel, Daniel Schwierzeck írta:
2013/5/29 Gabor Juhos juh...@openwrt.org:
The pci_indirect.c file is always compiled when
CONFIG_PCI is defined although the indirect PCI
bridge support is not needed by every board.
Introduce a new CONFIG_PCI_INDIRECT_BRIDGE
config
ftsdc010_mci.c:178: error: for each function it appears in.)
The patch ensures that the FTSDC010_DCR_FIFO_RST
symbol gets used only if CONFIG_FTSDC010_SDIO is
defined.
Compile tested only.
Cc: Kuo-Jung Su dant...@faraday-tech.com
Cc: Macpaul Lin macp...@andestech.com
Signed-off-by: Gabor Juhos
Even though the header files is used only by the
pci_ftpci100 driver, it contains declaration for
a function which is used by external code.
Move the header file to a common location which
lets external code use it.
Compile tested only.
Cc: Macpaul Lin macp...@andestech.com
Signed-off-by: Gabor
The pci_ftpci_init() function is implemented
in 'drivers/pci/pci_ftpci100.c' however it is
always called by external code.
Add function declaration into ftpci100.h to
make it visible for external code.
Compile tested only.
Cc: Macpaul Lin macp...@andestech.com
Signed-off-by: Gabor Juhos juh
: expected 'ulong *' but argument is
of type 'const ulong *'
Also modify the driver-model documentation to
match with the new prototype.
Compile tested only.
Cc: Macpaul Lin macp...@andestech.com
Signed-off-by: Gabor Juhos juh...@openwrt.org
---
doc/driver-model/UDM-block.txt |2 +-
drivers
and remove the
local declaration to get rid of the warning.
Compile tested only.
Cc: Macpaul Lin macp...@andestech.com
Signed-off-by: Gabor Juhos juh...@openwrt.org
---
board/AndesTech/adp-ag102/adp-ag102.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/board/AndesTech
.
Compile tested only.
Cc: Kuo-Jung Su dant...@faraday-tech.com
Cc: Macpaul Lin macp...@andestech.com
Signed-off-by: Gabor Juhos juh...@openwrt.org
---
Notes:
I'm unsure that the macros are correct or not because
I know virtually nothing about the nds32 architecture.
However the nds32 specific
- SUMMARY
Boards compiled: 3
--
$
Cc: Macpaul Lin macp...@andestech.com
Gabor Juhos (6):
nds32: introduce macros for bit manipulation
mmc: ftsdc010_mci: fix build error if CONFIG_FTSDC010_SDIO is not defined
2013.05.23. 17:49 keltezéssel, Tom Rini írta:
...
The pci_indirect.c file is always compiled when CONFIG_PCI is defined
although it is not needed at all for Malta PCI support.
The issue can be resolved on a few different ways:
1. Extend the '#if !defined(__I386__)' directive in
Hi Daniel,
Thank you for the review!
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
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
Changes since v2:
- rebased against the master branch of git.denx.de/u-boot.git
Changes since v1:
- rebased against mips/testing
Changes since RFC: ---
---
arch/mips/lib/bootm.c | 60
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...@googlemail.com
---
Changes since v2:
- don't use
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 v2:
- rebased against the master branch of git.denx.de/u-boot.git
Changes since v1:
- rebased against mips/testing
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
Changes since v2:
- remove CONFIG_SYS_WRITE_SWAPPED_DATA option, it is not
needed since the __raw_* IO accessors has been fixed.
- rebased against the master branch of git.denx.de/u
Qemu emulates a PCNET PCI card for the Malta CoreLV board.
Enable the pcnet driver and add board specific ethernet
initialization function to bring it up. Also enable the
CONFIG_CMD_NET and CONFIG_CMD_PING options.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck
Add minimal support for the MIPS Malta CoreLV board
emulated by Qemu. The only supported peripherial is
the UART.
This is enough to boot U-Boot to the command prompt
both in little and big endian mode.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz
The Linux specific register access macros, the
extern function declarations and the UL suffixes
has been removed.
The header file will be used for the qemu-malta
board.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
Changes since v2
is not emulated properly by Qemu, so put a hardcoded
value into the flash to make Linux work.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
Changes since v2:
- rebased against the master branch of git.denx.de/u-boot.git
Changes since
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...@googlemail.com
---
Changes since v2:
- rebased
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 Schwierzeck daniel.schwierz...@googlemail.com
:
'MIPS: fix __raw_* IO accessors'
http://patchwork.ozlabs.org/patch/222195/
Gabor Juhos (10):
MIPS: qemu-malta: add support for emulated MIPS Malta board
MIPS: qemu-malta: add reset support
MIPS: qemu-malta: enable flash support
MIPS: import gt64120.h header from Linux
MIPS: qemu-malta
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 are using CONFIG_SWAP_IO_SPACE.
Compiling all MIPS targets
2013.02.09. 21:33 keltezéssel, daniel.schwierz...@gmail.com írta:
From: Gabor Juhos juh...@openwrt.org
This section contain the table needed for dynamic
relocation. Also provide symbols for the relocation
code to access the table.
Discard all sections which are not needed in the final
),
and this ensures that it will contain the full .rel.dyn section.
$ ls -l u-boot.bin
-rw-r--r-- 1 juhosg root 204664 Feb 11 14:46 u-boot.bin
This is with the attached patch applied on top of the mips/reloc branch.
-Gabor
From 07bbc17f35a78bbace7d91477643497f8b51cc0c Mon Sep 17 00:00:00 2001
From: Gabor Juhos
2013.02.11. 15:32 keltezéssel, Daniel Schwierzeck írta:
From: Gabor Juhos juh...@openwrt.org
This section contain the table needed for dynamic
relocation. Also provide symbols for the relocation
code to access the table.
Discard all sections which are not needed in the final
ELF binary
2013.02.02. 20:35 keltezéssel, Daniel Schwierzeck írta:
diff --git a/board/qemu-malta/qemu-malta.c b/board/qemu-malta/qemu-malta.c
index 9ba711d..9333242 100644
--- a/board/qemu-malta/qemu-malta.c
+++ b/board/qemu-malta/qemu-malta.c
@@ -8,6 +8,9 @@
#include common.h
+#include asm/io.h
2013.02.02. 20:39 keltezéssel, Daniel Schwierzeck írta:
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
2013.02.02. 20:37 keltezéssel, Daniel Schwierzeck írta:
I think this should be implemented as separate driver in drivers/pci/
Ok, i will move it.
-Gabor
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
This section contain the table needed for dynamic
relocation. Also provide symbols for the relocation
code to access the table.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
arch/mips/cpu/u-boot.lds | 27
This ensures that the linker generates the .rel.dyn
fixup table, which will be applied to the relocated
image before transferring control to it.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
arch/mips/config.mk |2 +-
1 file
toolchains uses these types only.
The CONFIG_NEEDS_MANUAL_RELOC is not needed
after the patch, so remove that as well.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
arch/mips/cpu/mips32/start.S | 31 +--
arch
/217651/
(MIPS: compute num_got_entries from .got section's size)
Gabor Juhos (3):
MIPS: add .dyn.rel section to u-boot.lds
MIPS: add -pie flag to LDFLAGS_FINAL
MIPS: add dynamic relocation support
arch/mips/config.mk|2 +-
arch/mips/cpu/mips32/start.S | 31
The '__got_start' and '__got_end' symbols are used
only in the linker script to compute the value of
the 'num_got_entries' symbol.
Remove the symbols and use the SIZEOF(.got) command
to get the size of the .got section.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck
This patch set adds initial support for the MIPS Malta CoreLV
board emulated under Qemu.
The patches are against the testing branch of the MIPS custodian tree.
The changes since the previous version of the series are described in
the individual patches.
Gabor Juhos (10):
MIPS: qemu-malta: add
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...@googlemail.com
---
Changes since v1:
- rebased
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: ---
---
arch/mips/include/asm/malta.h |2 ++
include/configs/qemu-malta.h | 13 +++--
2 files changed, 13
The Linux specific register access macros, the
extern function declarations and the UL suffixes
has been removed.
The header file will be used for the qemu-malta
board.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
---
Changes since v1
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 Schwierzeck daniel.schwierz...@googlemail.com
Add minimal support for the MIPS Malta CoreLV board
emulated by Qemu. The only supported peripherial is
the UART.
This is enough to boot U-Boot to the command prompt
both in little and big endian mode.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz
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...@googlemail.com
---
Changes since v1:
- rebased
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: ---
---
Note:
This is only tested with the qemu-malta target
Qemu emulates a PCNET PCI card for the Malta CoreLV board.
Enable the pcnet driver and add board specific ethernet
initialization function to bring it up. Also enable the
CONFIG_CMD_NET and CONFIG_CMD_PING options.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck
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: ---
---
arch/mips/lib/bootm.c | 60 +++--
1 file changed, 58 insertions
is not emulated properly by Qemu, so put a hardcoded
value into the flash to make Linux work.
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: ---
---
arch/mips/cpu
Hi Daniel,
...
diff --git a/board/qemu-malta/lowlevel_init.S
b/board/qemu-malta/lowlevel_init.S
new file mode 100644
index 000..c5c5bd9
--- /dev/null
+++ b/board/qemu-malta/lowlevel_init.S
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2013 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:
- optimized U-Boot entry point on MIPS32
- fix
2013.02.01. 23:48 keltezéssel, Daniel Schwierzeck írta:
+ /* U-boot entry point */
+ b reset
+ nop
+
+ .org 0x10
#ifdef CONFIG_SYS_XWAY_EBU_BOOTCFG
The .org should be within the ifdef. Although it does not change the
generated
binary code, but logically it would
Hi Daniel,
From: Daniel Schwierzeck daniel.schwierz...@gmail.com
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com
Looks good.
-Gabor
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
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
+--
arch/mips/cpu/mips64/start.S |
The OUTPUT_FORMAT command in linker scripts
was always misused due to some endianess and
toolchain problems.
Use GCC flags to ensure proper output format,
and get rid of the OUTPUT_FORMAT commands in
the board specific u-boot.lds files.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel
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
http://patchwork.ozlabs.org/patch/216892/
Gabor Juhos (7):
MIPS: add
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
http://patchwork.ozlabs.org/patch/216892/
Gabor Juhos (7):
MIPS: add
Remove the board specific linker script. It is not
needed anymore, the unified MIPS linker script can
be used instead.
All incaip targets are producing identical binary
images after the change than before.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz
Remove the board specific linker script. It is not
needed anymore, the unified MIPS linker script can
be used instead.
All vct targets are producing identical binary
images after the change than before.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Acked-by: Stefan Roese s...@denx.de
Cc: Daniel
Remove the board specific linker script. It is not
needed anymore, the unified MIPS linker script can
be used instead.
All pb1x00 targets are producing identical binary
images after the change than before.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz
Remove the board specific linker script. It is not
needed anymore, the unified MIPS linker script can
be used instead.
All qemu_mips targets are producing identical binary
images after the change than before.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz
The patch adds an unified linker script file which
can be used for all currently supported MIPS targets.
Signed-off-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
Remove the board specific linker script. It is not
needed anymore, the unified MIPS linker script can
be used instead.
All dbau1x00 targets are producing identical binary
images after the change than before.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz
script:
.got : {
__got_start = .;
*(.got)
__got_end = .;
}
Despite this difference, the resulting images are
functionally identical.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
Cc
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...@openmobilefree.net
---
arch/mips/cpu/xburst/start.S | 12
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 on the:
'MIPS: xburst: simplify relocation offset
2013.01.30. 15:34 keltezéssel, Stefan Roese írta:
On 01/30/2013 03:31 PM, Gabor Juhos wrote:
The patch adds an unified linker script file which
can be used for all currently supported MIPS targets.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz
The patch adds an unified linker script file which
can be used for all currently supported MIPS targets.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
Cc: Vlad Lungu v...@comsys.ro
Cc: Thomas Sailer sai...@scs.ch
Cc: Stefan Roese s
script:
.got : {
__got_start = .;
*(.got)
__got_end = .;
}
Despite this difference, the resulting images are
functionally identical.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
Cc
Remove the board specific linker script. It is not
needed anymore, the unified MIPS linker script can
be used instead.
All pb1x00 targets are producing identical binary
images after the change than before.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz
Remove the board specific linker script. It is not
needed anymore, the unified MIPS linker script can
be used instead.
All dbau1x00 targets are producing identical binary
images after the change than before.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz
1 - 100 of 155 matches
Mail list logo