#
6.3 MiB/s
done
Bytes transferred = 8388608 (80 hex)
uDPU>>
Add the USB id of the device to the driver to allow using it
from U-Boot.
Signed-off-by: G
,
1.5.3).
Signed-off-by: Gabor Juhos
Signed-off-by: Daniel Schwierzeck
Cc: Paul Burton
---
Changes since v1:
- update CONFIG_SYS_{TEXT,MONITOR}_BASE constants
- update commit message
---
arch/mips/include/asm/malta.h |2 +-
include/configs/malta.h |4 ++--
2 files changed, 3
2013.11.12. 16:40 keltezéssel, Daniel Schwierzeck írta:
> 2013/11/12 Gabor Juhos :
>> 2013.11.11. 23:36 keltezéssel, Daniel Schwierzeck írta:
>>
> ...
>>>>
>>>> Any idea how can we resolve this properly?
>>>>
>>>> -Gabor
>&g
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 intenti
2013.11.11. 20:36 keltezéssel, Daniel Schwierzeck írta:
> 2013/11/11 Gabor Juhos :
>> 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 c
27;
targets.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
Cc: Paul Burton
---
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/mips64/start.S |2 +-
arch/mips/cpu/
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
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
Cc: Daniel
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 a
2013.11.11. 10:52 keltezéssel, Daniel Schwierzeck írta:
> 2013/11/10 Alon Bar-Lev :
>> 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 consumption.
>
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
Cc: Daniel Schwierzeck
Cc: Paul Burton
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 e
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
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 mo
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 t
2013.08.11. 21:39 keltezéssel, Daniel Schwierzeck írta:
> Signed-off-by: Daniel Schwierzeck
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
Cc: Daniel Schwierzeck
---
v2: also change register name in the comment
---
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
Cc: Daniel Schwierzeck
---
arch/mips/cpu/xburst/start.S | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/mips/cpu/xburst/start.S b/arch
Synchronize the code with mips64/cache.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
arch/mips/cpu/mips32/cache.S |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/mips/cpu/mips32/cache.S b/arch/mips/cpu/mips32
Make it similar to the code in mips{32,64}/start.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
arch/mips/cpu/xburst/start.S |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/mips/cpu/xburst/start.S b/arch/mips
Synchronize the code with mips{32,64}/start.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
arch/mips/cpu/xburst/start.S |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/mips/cpu/xburst/start.S b/arch/mips/cpu/xburst
Synchronize the code with mips{32,64}/start.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
arch/mips/cpu/xburst/start.S | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/mips/cpu/xburst/start.S b/arch/mips
Synchronize the code with mips64/cache.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
arch/mips/cpu/mips32/cache.S |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/cpu/mips32/cache.S b/arch/mips/cpu/mips32
Synchronize the code with mips64/start.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
arch/mips/cpu/mips32/start.S | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/mips/cpu/mips32/start.S b/arch/mips
Synchronize the code with mips{32,64}/start.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
arch/mips/cpu/xburst/start.S |8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/arch/mips/cpu/xburst/start.S b/arch/mips/cpu
Synchronize the code with mips64/cache.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
arch/mips/cpu/mips32/cache.S |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/mips/cpu/mips32/cache.S b/arch/mips/cpu
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: xburst/start.S: save gd in s0
Make it similar to the code in mips64/start.S, in order to
allow further unifications.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
arch/mips/cpu/mips32/start.S |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/mips/cpu/mips32/start.S b/arch/mips/cpu
The MIPS code uses centralized u-boot.lds script already,
and dynamic relocation is supported as well.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
doc/README.mips |4
1 file changed, 4 deletions(-)
diff --git a/doc/README.mips b/doc/README.mips
index f4f770b..b28f628
checkpatch.pl happy.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
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 09fc842..e9ed7fc 100644
--- a/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
---
arch/mips/cpu/mips32
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
Nothing is used from asm/mipsregs.h.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
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/interrupts.c
index e4e9aae..87f7a9f 100644
--- a/arch
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
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
--- a/arch/mips/cpu/mips64/start.S
+++ b/arch
ise kernel cmdline variable 'mem'
> MIPS: bootm: automatically initialise kernel cmdline variables
> 'rd_start' and 'rd_size'
> MIPS: bootm: add YAMON style Linux preparation/jump code for Qemu
> Malta
> MIPS: boo
2013.05.30. 18:36 keltezéssel, Daniel Schwierzeck írta:
> 2013/5/29 Gabor Juhos :
>> 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
57ce9 ./u-boot
Configuring for adp-ag101p board...
textdata bss dec hex filename
1438976104 211752 361753 58519 ./u-boot
Configuring for adp-ag102 board...
textdata bss dec hex filename
1773696712 291592 475673 74219 ./u-boot
- SUMM
hitecture to avoid the errors. The macros
are copied from the ARM implementation.
Compile tested only.
Cc: Kuo-Jung Su
Cc: Macpaul Lin
Signed-off-by: Gabor Juhos
---
Notes:
I'm unsure that the macros are correct or not because
I know virtually nothing about the nds32 architecture.
es the proper declaration and remove the
local declaration to get rid of the warning.
Compile tested only.
Cc: Macpaul Lin
Signed-off-by: Gabor Juhos
---
board/AndesTech/adp-ag102/adp-ag102.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/board/AndesTech/adp-ag102/adp-a
clude/ide.h:76: note: 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
Signed-off-by: Gabor Juhos
---
doc/driver-model/UDM-block.txt |2 +-
drivers/b
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
Signed-off-by: Gabor Juhos
---
d
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
Signed-off-by: Gabor Juhos
---
drivers
nce
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
Cc: Macpaul Lin
Signed-off-by: Gabor Juhos
---
drivers/mmc/ftsdc010_mci.c |6 ++
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__)' dir
Hi Daniel,
Thank you for the review!
> 2013/5/22 Gabor Juhos :
>> 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
:
'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 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
Cc: Daniel Schwierzeck
---
Changes since v2:
- move the PCI driver to drivers
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
Cc: Daniel Schwierzeck
---
Changes since v2:
- rebased against the master branch of git.denx.de/u-boot.git
is not emulated properly by Qemu, so put a hardcoded
value into the flash to make Linux work.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
Changes since v2:
- rebased against the master branch of git.denx.de/u-boot.git
Changes since v1:
- rebased against mips/testing
Changes since
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
Cc: Daniel Schwierzeck
---
Changes since v2:
- use the header file from Linux 3.10-rc2 instead of
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
Cc: Daniel Schwierzeck
---
Changes since v2:
- rebased against
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
Cc: Daniel Schwierzeck
---
Changes since v2
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
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-boot.git
Changes since v1:
- rebased against mips
can't
be used to obtain the memory address of the buffers.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
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: ---
---
Note:
This is
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
Cc: Daniel Schwierzeck
---
Changes since v2:
- don't use le32_to_cpu accessor, it is not needed because
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
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 +++--
1
IO accessor macros to fix this
broken behaviour.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
Note:
The change does not affect the existing MIPS targets
because none of those are using CONFIG_SWAP_IO_SPACE.
Compiling all MIPS targets results in the same binary
image with and without the
2013.02.11. 15:32 keltezéssel, Daniel Schwierzeck írta:
> From: Gabor Juhos
>
> 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
&g
7d91477643497f8b51cc0c Mon Sep 17 00:00:00 2001
From: Gabor Juhos
Date: Mon, 11 Feb 2013 15:06:17 +0100
Subject: [PATCH] MIPS: u-boot.lds: add back the .deadcode section
---
arch/mips/cpu/u-boot.lds | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/mips/cpu/u-boot.l
2013.02.09. 21:33 keltezéssel, daniel.schwierz...@gmail.com írta:
> From: Gabor Juhos
>
> 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 t
/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 |
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
Cc: Daniel Schwierzeck
---
arch/mips/cpu/mips32/start.S | 31 +--
arch/mips/cpu/mips64/start.S | 39
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
Cc: Daniel Schwierzeck
---
arch/mips/config.mk |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch
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
Cc: Daniel Schwierzeck
---
arch/mips/cpu/u-boot.lds | 27 ++-
1 file changed, 26 insertions(+), 1 deletion
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
2013.02.02. 20:39 keltezéssel, Daniel Schwierzeck írta:
> 2013/2/2 Gabor Juhos :
>> 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.
>&g
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
>>
>> +#include
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 @@
>> +/*
>>
is not emulated properly by Qemu, so put a hardcoded
value into the flash to make Linux work.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
Changes since v1:
- rebased against mips/testing
Changes since RFC: ---
---
arch/mips/cpu/mips32/start.S |8 +++-
1 file changed, 7
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
Changes since v1:
- rebased against mips/testing
Changes since RFC: ---
---
arch/mips/lib/bootm.c | 60 +++--
1 file changed, 58 insertions(+), 2 deletions(-)
diff --git a/arch/mips/lib
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
Cc: Daniel Schwierzeck
---
Changes since v1
can't
be used to obtain the memory address of the buffers.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
Changes since v1:
- rebased against mips/testing
Changes since RFC: ---
---
Note:
This is only tested with the qemu-malta target. The change
might break real platforms, howe
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
Cc: Daniel Schwierzeck
---
Changes since v1:
- rebased against mips/testing
Changes since RFC: ---
---
arch
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
Cc: Daniel Schwierzeck
---
Changes since v1:
- remove custom u
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
Cc: Daniel Schwierzeck
---
Changes since v1:
- rebased against mips/testing
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
Cc: Daniel Schwierzeck
---
Changes since v1:
- rebased against mips/testing
Changes since RFC
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
---
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 insertions(+), 2 deletions(-)
diff --git a/arch
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
Cc: Daniel Schwierzeck
---
Changes since v1:
- rebased against mips/testing
Changes since RFC: ---
---
arch
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 '__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
Cc: Daniel Sch
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 cod
Hi Daniel,
> From: Daniel Schwierzeck
>
> Adopt reset vector handling from Yamon.
>
> Signed-off-by: Daniel Schwierzeck
Looks good, I have only one minor comment below.
> ---
> Changes for v2:
> - optimized U-Boot entry point on MIPS32
> - fix indentation of .org
>
> ---
> arch/mips/cpu/mi
Hi Daniel,
> From: Daniel Schwierzeck
>
> Adopt reset vector handling from Yamon.
>
> Signed-off-by: Daniel Schwierzeck
> ---
> arch/mips/cpu/mips32/start.S | 185
> +--
> arch/mips/cpu/mips64/start.S | 55 +++--
> 2 files changed, 64 insertio
Hi Daniel,
> From: Daniel Schwierzeck
>
> Signed-off-by: Daniel Schwierzeck
Looks good.
-Gabor
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
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
>> Cc: Daniel Schwie
alculating
the offset again from the _gp value.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
Cc: Xiangfu Liu
---
Changes since v1: modify Xburst code as well
This depends on the:
'MIPS: xburst: simplify relocation offset calculation' patch
http://patchwork.ozlabs.org/patch/216
adjust the gp pointer.
This approach makes the code a bit simpler because
it needs two instructions only.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
Cc: Xiangfu Liu
---
arch/mips/cpu/xburst/start.S | 12 +++-
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/arch/mips
got_end = .;
unified script:
.got : {
__got_start = .;
*(.got)
__got_end = .;
}
Despite this difference, the resulting images are
functionally identical.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
Cc: Xiangfu Liu
---
Chang
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
Cc: Daniel Schwierzeck
---
Changes since v1: ---
---
board
The patch adds an unified linker script file which
can be used for all currently supported MIPS targets.
Signed-off-by: Gabor Juhos
Cc: Daniel Schwierzeck
Cc: Stefan Roese
Cc: Wolfgang Denk
Cc: Xiangfu Liu
---
Changes since v1:
- use consistent coding style for all sections
- remove the
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
Cc: Daniel Schwierzeck
---
Changes since v1
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
Cc: Daniel Schwierzeck
---
Changes since v1: ---
---
board
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
Acked-by: Stefan Roese
Cc: Daniel Schwierzeck
---
Changes since
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
Cc: Daniel Schwierzeck
Cc: Wolfgang Denk
---
Changes since
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
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
Cc: Daniel Schwierzeck
Cc
2013.01.29. 11:44 keltezéssel, Daniel Schwierzeck írta:
> 2013/1/29 Gabor Juhos :
>> The patch adds an unified linker script file which
>> can be used for all currently supported MIPS targets.
>>
>> Signed-off-by: Gabor Juhos
>> Cc: Daniel Schwierzeck
>&g
2013.01.29. 10:05 keltezéssel, Stefan Roese írta:
> On 01/29/2013 09:31 AM, Gabor Juhos wrote:
>> 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 ide
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
Cc: Daniel Schwierzeck
Cc: Wolfgang Denk
---
board/incaip/u
1 - 100 of 159 matches
Mail list logo