Hi Stefan,
On Fri, Dec 14, 2018 at 07:56:59AM +0100, Stefan Roese wrote:
> So how to proceed? Should I enable CONFIG_CPU_MIPSR2_IRQ_VI or #define
> "cpu_has_veic" to 1 as Lantiq does?
...and on that point in particular, it really depends on your hardware.
You shouldn't need to do either of those
Hi Stefan,
On Fri, Dec 14, 2018 at 07:56:59AM +0100, Stefan Roese wrote:
> > Does this Linux patch help by any chance?
> >
> > https://git.linux-mips.org/cgit/linux-mti.git/commit/?h=eng-v4.20&id=39e4d339a4540b66e9d9a8ea0da9ee41a21473b4
> >
> > I'm not sure I remember why I didn't get that upstr
Hello,
On Thu, Dec 13, 2018 at 03:23:39PM +0100, Daniel Schwierzeck wrote:
> > Finally I found that this line in U-Boot makes Linux break:
> >
> > arch/mips/lib/traps.c:
> >
> > void trap_init(ulong reloc_addr)
> > unsigned long ebase = gd->irq_sp;
> >
Hi Ezequiel,
On Mon, Dec 10, 2018 at 06:31:29PM -0300, Ezequiel Garcia wrote:
> On Mon, 2018-12-10 at 22:00 +0100, Andreas Färber wrote:
> > Am 10.12.18 um 21:35 schrieb Ezequiel Garcia:
> > > Please note that I've added Paul's SOB to all the patches
> > > he authored, to make the authorship chain
Hi Daniel,
On Fri, Jan 19, 2018 at 12:31:25PM +0100, Daniel Schwierzeck wrote:
> On 18.01.2018 22:19, Paul Burton wrote:
> > When constraining the highest DDR address that U-Boot will use for its
> > data & relocated self, we need to handle the common case in which a 32
>
rror about a spurious reloc:
Avoid this problem by padding out the data in the .mcs file to a 16 byte
boundary using srec_cat's -range-pad functionality.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
---
board/imgtec/boston/config.mk | 5 -
1 file changed, 4 insertions(+), 1
erflows & wraps to 0.
We originally had a check for this case, but it was lost in commit
78edb25729ce ("boston: Provide physical CONFIG_SYS_SDRAM_BASE") causing
problems for the affected 32 bit systems.
Signed-off-by: Paul Burton
Fixes: 78edb25729ce ("boston: Provide physical
for u-boot.mcs which generates it using the srec_cat tool available from
the SRecord project, and build it by default when srec_cat is present.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: u-boot@lists.denx.de
---
Changes in v2:
- Use try-run as suggested by Daniel.
board/imgtec/boston/conf
for u-boot.mcs which generates it using the srec_cat tool available from
the SRecord project, and build it by default when srec_cat is present.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: u-boot@lists.denx.de
---
board/imgtec/boston/config.mk | 15 +++
1 file changed, 15 inser
The pch_gbe driver has 4 paths which open-code the equivalent of
wait_for_bit(). Replace these with use of wait_for_bit() in order to
shorten the code & avoid duplication.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: Joe Hershberger
Cc: u-boot@lists.denx.de
---
drivers/net/pch_g
umeration step.
We also enable the EG20T GPIO driver to provide the PHY reset GPIO, and
support for the Realtek RTL8211E PHY used on the Boston board in order
to make ethernet usable.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: Simon Glass
Cc: u-boot@lists.denx.de
---
arc
ries.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: u-boot@lists.denx.de
---
include/configs/boston.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/boston.h b/include/configs/boston.h
index ee4e4a37ea..fdd5ef5632 100644
--- a/include/configs/boston.h
+
available to the PCI bus.
Fix this by disabling that 1MB alignment, which allows all of the EG20T
peripheral devices to be assigned memory space within the 1MB region
available.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: Simon Glass
Cc: u-boot@lists.denx.de
Signed-off-by: Paul Burton
without needing to
perform such checks themselves.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: Simon Glass
Cc: u-boot@lists.denx.de
Signed-off-by: Paul Burton
---
include/asm-generic/gpio.h | 38 ++
1 file changed, 38 insertions(+)
diff --gi
Add support to the pch_gbe driver for resetting the PHY using a GPIO
specified in the device tree. This matches the support already in Linux.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: Joe Hershberger
Cc: Simon Glass
Cc: u-boot@lists.denx.de
Signed-off-by: Paul Burton
o all possible subordinate busses based upon the size of
the ECAM region, and disable interrupts since U-Boot isn't using them.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: u-boot@lists.denx.de
Signed-off-by: Paul Burton
---
drivers/pci/pcie_xil
Add a driver for the GPIO controller found in the Intel EG20T Platform
Controller Hub. This is used on the MIPS Boston development board to
provide GPIOs including ethernet PHY reset.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: Simon Glass
Cc: u-boot@lists.denx.de
Signed-off-by: Paul
that systems such as this can select an alignment which
works for them.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: Simon Glass
Cc: u-boot@lists.denx.de
Signed-off-by: Paul Burton
---
drivers/pci/Kconfig| 7 +++
drivers/pci/pci_auto.c | 24
2 files
G20T
ethernet device, so this leads to delays during boot in QEMU whilst the
pch_gbe driver times out on attempted access to the PHY.
Applies atop u-boot-mips/next as of 50bff5194d7e ("MIPS: Break out of
cache loops for unimplemented caches").
Paul Burton (8):
pci: Make PCI bridge me
Hi Daniel,
On Tue, Nov 21, 2017 at 08:57:15PM +0100, Daniel Schwierzeck wrote:
> Am 21.11.2017 um 20:18 schrieb Paul Burton:
> > This short series fixes a few issues related to our caching code - with
> > regards to DMA coherence, instruction cache coherence & systems with n
he L1s. Fix
this by generalising the check for a zero line size & avoiding the cache
op loop when this is the case.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: u-boot@lists.denx.de
---
arch/mips/lib/cache.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
dif
introducing & using a new instruction_hazard_barrier() function which
makes use of the jr.hb instruction to clear the hazard.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: u-boot@lists.denx.de
---
arch/mips/include/asm/system.h | 13 +
arch/mips/lib/cache.c |
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: u-boot@lists.denx.de
---
arch/mips/lib/cache.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/arch/mips/lib/cache.c b/arch/mips/lib/cache.c
index 91b037f87d..eba7fff316 100644
--- a/arch/mips/lib/cache.c
+
This short series fixes a few issues related to our caching code - with
regards to DMA coherence, instruction cache coherence & systems with no
caches at all.
Applies atop u-boot-mips/next as of d7d9fc01a4ef ("Update Paul Burton's
email address").
Paul Burton (3):
MIP
ning history) will use the new address.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: u-boot@lists.denx.de
---
.mailmap| 1 +
board/imgtec/boston/MAINTAINERS | 2 +-
board/imgtec/malta/MAINTAINERS | 2 +-
board/imgtec/malta/superio.c| 2 +-
board/imgtec/m
Hi Tom,
On Thursday, 21 September 2017 09:27:02 PDT Tom Rini wrote:
> On Thu, Sep 14, 2017 at 02:34:46PM -0700, Paul Burton wrote:
> > In python 3.x the StringIO module is gone, and instead StringIO can be
> > imported from the io module. Do this in order to run on python 3.x, an
The u-boot.lds linker script for MIPS defines a PTR_COUNT_SHIFT macro to
2 or 3 for 32 bit or 64 bit builds respectively. This macro is never
actually used though, so remove the dead code.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
---
arch/mips/cpu/u-boot.lds | 6 --
1 file
The lowlevel_display() function includes a "1:" label which is never
used. Remove it.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
---
board/imgtec/boston/lowlevel_init.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/imgtec/boston/lowlevel_init.
The boston lowlevel_init() function zeroes the return register v0,
despite the function not being expected to return a value & that value
never being used.
Remove the redundant assignment to v0.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
---
board/imgtec/boston/lowlevel_init.S
our no-op unmap_physmem() and definitions of unused map
flags.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
Cc: Thomas Chou
---
Changes in v2: None
arch/nios2/include/asm/io.h | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/a
ainers
is welcome.
Signed-off-by: Paul Burton
Cc: Wolfgang Denk
---
Changes in v2: None
arch/powerpc/include/asm/io.h | 25 +
1 file changed, 5 insertions(+), 20 deletions(-)
diff --git a/arch/powerpc/include/asm/io.h b/arch/powerpc/include/asm/io.h
index a54fc468d5..
s_to_virt() & make use of it from map_physmem().
Signed-off-by: Paul Burton
Cc: Simon Glass
Acked-by: Simon Glass
---
Changes in v2:
- Move include earlier to get MAP_WRBACK for (un)map_sysmem()
- Cast vaddr to uint8_t* in virt_to_phys() for arithmetic with ram_buf
arch/sandbox/cpu/cpu.
.
Signed-off-by: Paul Burton
Cc: Max Filippov
Acked-by: Max Filippov
---
Changes in v2: None
arch/xtensa/include/asm/io.h | 25 ++---
1 file changed, 2 insertions(+), 23 deletions(-)
diff --git a/arch/xtensa/include/asm/io.h b/arch/xtensa/include/asm/io.h
index e34d6e1d7f
Convert the nds32 architecture to make use of the new asm-generic/io.h
to provide address mapping functions. As the generic implementations are
suitable for nds32 this is primarily a matter of removing code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
Cc
-by: Paul Burton
Cc: Simon Glass
Reviewed-by: Simon Glass
---
Changes in v2: None
arch/x86/include/asm/io.h | 31 ++-
1 file changed, 2 insertions(+), 29 deletions(-)
diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h
index a72daf2263..263dd8fd17
Convert the microblaze architecture to make use of the new
asm-generic/io.h to provide address mapping functions. As the generic
implementations are suitable for microblaze this is primarily a matter
of removing code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
our no-op unmap_physmem() and definitions of unused map
flags.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
---
Changes in v2: None
arch/mips/include/asm/io.h | 17 ++---
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/arch/mips/include/asm/io.h b/arch/mips/include
Convert the sh architecture to make use of the new asm-generic/io.h to
provide address mapping functions. As the generic implementations are
suitable for sh this is primarily a matter of moving code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
Cc: Nobuhiro
Convert the m68k architecture to make use of the new asm-generic/io.h to
provide address mapping functions. As the generic implementations are
suitable for m68k this is primarily a matter of emoving code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
Cc: Huan
-off-by: Paul Burton
Cc: Albert Aribaud
Reviewed-by: Simon Glass
---
Changes in v2: None
arch/arm/include/asm/io.h | 30 +-
1 file changed, 1 insertion(+), 29 deletions(-)
diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h
index 5834f5b3dc..5df74728de
Convert the arc architecture to make use of the new asm-generic/io.h to
provide address mapping functions. As the generic implementations are
suitable for arc this is primarily a matter of removing code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
Cc: Alexey
use of this generic
header - later patches in the series will do so.
Signed-off-by: Paul Burton
Cc: Albert Aribaud
Cc: Alexey Brodkin
Cc: Angelo Dureghello
Cc: Bin Meng
Cc: Daniel Schwierzeck
Cc: Macpaul Lin
Cc: Michal Simek
Cc: Nobuhiro Iwamatsu
Cc: Thomas Chou
Cc: Wolfgang Denk
Acked-by: An
in order to simplify the process of getting it merged
by doing so piecemeal. The v1 patches can be seen at [1].
Thanks,
Paul
[1] https://patchwork.ozlabs.org/bundle/paulburton/old-asm-generic-io/?state=*
Paul Burton (13):
Provide a generic io.h & address mapping functions
arc: Use
can drop the
shell-like redirection with no ill effects. With this fix test_vboot now
passes for me.
Signed-off-by: Paul Burton
Reviewed-by: Stephen Warren
---
Changes in v2:
- Place the % operator at the end of the last string line, not the start of the
next.
test/py/tests/test_vboot.py |
Hi Stephen,
On Thursday, 14 September 2017 13:28:35 PDT Stephen Warren wrote:
> I could have sworn I checked this code ran on Python 3 when I first
> wrote it. Some of the issues you've fixed were clearly introduced since
> then, but not all. Perhaps I'm remembering some other project where I
> us
e not text files.
Without this test_fit fails on python 3.x when reading an FDT in
run_fit_test() with:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position
0: invalid continuation byte
Signed-off-by: Paul Burton
Reviewed-by: Stephen Warren
In python 3.x the file() function has been removed. Use open() instead,
which works on both python 2.x & 3.x, and is described as the preferred
method of opening a file by python 2.x documentation anyway.
Signed-off-by: Paul Burton
Reviewed-by: Stephen Warren
---
Changes in v2: None
tes
.
Signed-off-by: Paul Burton
Reviewed-by: Stephen Warren
---
Changes in v2: None
test/py/multiplexed_log.py | 4 ++--
test/py/tests/test_ut.py | 2 +-
test/py/u_boot_spawn.py| 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/test/py/multiplexed_log.py b/test/py
In python 3.x the StringIO module is gone, and instead StringIO can be
imported from the io module. Do this in order to run on python 3.x, and
fall back to importing StringIO as a module in order to continue working
with python 2.x.
Signed-off-by: Paul Burton
Reviewed-by: Stephen Warren
In python 3.x the configparser module is named with all lower case.
Import it as such in order to avoid errors when running on python 3.x,
and fall back to the CamelCase version in order to keep working with
python 2.x.
Signed-off-by: Paul Burton
Reviewed-by: Stephen Warren
---
Changes in v2
r than an iterator, but the cost should be negligible.
Signed-off-by: Paul Burton
Reviewed-by: Stephen Warren
---
Changes in v2: None
test/py/u_boot_console_sandbox.py | 2 +-
test/py/u_boot_spawn.py | 6 +++---
test/py/u_boot_utils.py | 4 ++--
3 files changed, 6 inserti
In python 3.x print must be called as a function rather than used as a
statement. Update uses of print to the function call syntax in order to
be python 3.x safe.
Signed-off-by: Paul Burton
Reviewed-by: Stephen Warren
---
Changes in v2: None
test/py/conftest.py | 2 +-
test/py
Paul
Paul Burton (8):
test/py: Make print statements python 3.x safe
test/py: Use range() rather than xrange()
test/py: Import 'configparser' lower case to be python 3.x safe
test/py: Import StringIO from io module for python 3.x
test/py: Encode/decode strings for stdio
test/py:
can drop the
shell-like redirection with no ill effects. With this fix test_vboot now
passes for me.
Signed-off-by: Paul Burton
---
test/py/tests/test_vboot.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/py/tests/test_vboot.py b/test/py/tests/test_vboot.py
index 6
.
Signed-off-by: Paul Burton
---
test/py/multiplexed_log.py | 4 ++--
test/py/tests/test_ut.py | 2 +-
test/py/u_boot_spawn.py| 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/test/py/multiplexed_log.py b/test/py/multiplexed_log.py
index bf926c3e77..21bdcb7309 100644
e not text files.
Without this test_fit fails on python 3.x when reading an FDT in
run_fit_test() with:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position
0: invalid continuation byte
Signed-off-by: Paul Burton
---
test/py/tests/test_f
In python 3.x the file() function has been removed. Use open() instead,
which works on both python 2.x & 3.x, and is described as the preferred
method of opening a file by python 2.x documentation anyway.
Signed-off-by: Paul Burton
---
test/py/tests/test_hush_if_test.py | 2 +-
1 file cha
In python 3.x the StringIO module is gone, and instead StringIO can be
imported from the io module. Do this in order to run on python 3.x, and
fall back to importing StringIO as a module in order to continue working
with python 2.x.
Signed-off-by: Paul Burton
---
test/py/conftest.py | 8
In python 3.x the configparser module is named with all lower case.
Import it as such in order to avoid errors when running on python 3.x,
and fall back to the CamelCase version in order to keep working with
python 2.x.
Signed-off-by: Paul Burton
---
test/py/conftest.py | 6 +-
1 file
r than an iterator, but the cost should be negligible.
Signed-off-by: Paul Burton
---
test/py/u_boot_console_sandbox.py | 2 +-
test/py/u_boot_spawn.py | 6 +++---
test/py/u_boot_utils.py | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git
In python 3.x print must be called as a function rather than used as a
statement. Update uses of print to the function call syntax in order to
be python 3.x safe.
Signed-off-by: Paul Burton
---
test/py/conftest.py | 2 +-
test/py/test.py | 6 --
test/py
Paul
Paul Burton (8):
test/py: Make print statements python 3.x safe
test/py: Use range() rather than xrange()
test/py: Import 'configparser' lower case to be python 3.x safe
test/py: Import StringIO from io module for python 3.x
test/py: Encode/decode strings for stdio
test/py:
On Monday, 31 July 2017 03:52:57 PDT Daniel Schwierzeck wrote:
> 2017-07-30 18:04 GMT+02:00 Álvaro Fernández Rojas :
> > El 30/07/2017 a las 16:05, Daniel Schwierzeck escribió:
> >> Am 30.07.2017 um 14:27 schrieb Álvaro Fernández Rojas:
> >>> I've been a bit busy lately and I couldn't test this unt
Hi Daniel,
On Tuesday, 25 July 2017 14:38:44 BST Daniel Schwierzeck wrote:
> Hi Paul,
>
> 2017-07-19 15:04 GMT+02:00 Tom Rini :
> > On Wed, Jul 19, 2017 at 01:59:16PM +0100, Paul Burton wrote:
> >> Hi Tom,
> >>
> >> On Tuesday, 18 July 2017 02:07:59
default case, and asserting that
we didn't actually hit it for good measure.
For reference gcc 7.1.1 seems to be smart enough to not hit the above
warning without this patch.
Signed-off-by: Paul Burton
Fixes: 011dd93ca97a ("MIPS: Stop building position independent code")
Cc: Daniel Schwi
default case, and asserting that
we didn't actually hit it for good measure.
For reference gcc 7.1.1 seems to be smart enough to not hit the above
warning without this patch.
Signed-off-by: Paul Burton
Fixes: 011dd93ca97a ("MIPS: Stop building position independent code")
Cc: Daniel Schwi
Hi Tom,
On Tuesday, 18 July 2017 02:07:59 BST Tom Rini wrote:
> On Thu, Jul 13, 2017 at 10:58:47AM -0700, Paul Burton wrote:
> > Hi Daniel & Tom,
> >
> > On Thursday, 13 July 2017 03:51:00 PDT Daniel Schwierzeck wrote:
> > > Hi Paul,
> > >
> >
Hi Daniel & Tom,
On Thursday, 13 July 2017 03:51:00 PDT Daniel Schwierzeck wrote:
> Hi Paul,
>
> 2017-07-13 2:33 GMT+02:00 Tom Rini :
> > On Wed, Jul 12, 2017 at 04:57:42PM -0400, Tom Rini wrote:
> >> On Wed, Jul 12, 2017 at 10:32:29PM +0200, Daniel Schwierzeck wrote:
> >> > Hi Tom,
> >> >
> >>
Hi Daniel,
On Monday, 19 June 2017 12:48:12 PDT Daniel Schwierzeck wrote:
> Am 19.06.2017 um 20:53 schrieb Paul Burton:
> > Hi Daniel,
> >
> > On Friday, 16 June 2017 15:48:06 PDT Daniel Schwierzeck wrote:
> >> Am 16.06.2017 um 02:05 schrieb Paul Burton:
> >&
also makes it easier to read & debug.
Taking maltael_defconfig as an example the size of u-boot.bin built
using the Codescape MIPS 2016.05-06 toolchain (gcc 4.9.2, binutils
2.24.90) shrinks from 254KiB to 224KiB.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: u-boot@lists.denx.de
-
Hi Daniel,
On Friday, 16 June 2017 15:48:06 PDT Daniel Schwierzeck wrote:
> Am 16.06.2017 um 02:05 schrieb Paul Burton:
> > U-Boot has up until now built with -fpic for the MIPS architecture,
> > producing position independent code which uses indirection through a
> > global
also makes it easier to read & debug.
Taking maltael_defconfig as an example the size of u-boot.bin built
using the Codescape MIPS 2016.05-06 toolchain (gcc 4.9.2, binutils
2.24.90) shrinks from 254KiB to 224KiB.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: u-boot@lists.denx.de
--
Hi Daniel,
On Friday, 16 June 2017 06:49:55 PDT Daniel Schwierzeck wrote:
> Hi Paul,
>
> Am 16.06.2017 um 02:05 schrieb Paul Burton:
> > U-Boot has up until now built with -fpic for the MIPS architecture,
> > producing position independent code which uses indirection throug
also makes it easier to read & debug.
Taking maltael_defconfig as an example the size of u-boot.bin built
using the Codescape MIPS 2016.05-06 toolchain (gcc 4.9.2, binutils
2.24.90) shrinks from 254KiB to 224KiB.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: u-boot@lists
This commit allows an architecture to provide a Makefile.postlink whose
u-boot target gets invoked after the u-boot ELF is linked. This will be
of use for MIPS in a following commit.
This mirrors Linux commit fbe6e37dab97 ("kbuild: add arch specific
post-link Makefile").
Signed-of
On Monday, 3 October 2016 15:49:33 GMT Simon Glass wrote:
> Hi Paul,
>
> On 1 October 2016 at 08:19, Paul Burton wrote:
> > Most architectures currently supported by U-Boot use trivial
> > implementations of map_to_physmem & virt_to_phys which simply cast a
> > ph
On Sunday, 2 October 2016 22:46:45 BST Masahiro Yamada wrote:
> Hi Paul,
>
> 2016-10-01 23:19 GMT+09:00 Paul Burton :
> > README states that CONFIG_SYS_SDRAM_BASE should be the physical address
> > of the base of SDRAM memory. This is expected by some code such as the
>
On Tuesday, 27 September 2016 12:01:32 BST Daniel Schwierzeck wrote:
> 2016-09-27 2:35 GMT+02:00 Simon Glass :
> > Hi Paul,
> >
> > On 26 September 2016 at 12:29, Paul Burton wrote:
> >> The decode_regions() function in the PCI code presumes that
> >> CONF
ards use CONFIG_SYS_SDRAM_BASE in their code, so they're
handled together.
This has only been build-tested, feedback welcome.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: Marek Vasut
Cc: Purna Chandra Mandal
Cc: Wills Wang
---
include/configs/ap121.h | 2 +-
include/conf
CONFIG_SYS_SDRAM_BASE & by extension bi_memstart are now physical
addresses, so there's no need to call virt_to_phys in arch_fixup_fdt.
Remove the call.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
---
arch/mips/lib/bootm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
ects CONFIG_SYS_SDRAM_BASE to be a physical address, which makes the
inconsistency a mess.
Now that the preceding patches have prepared us to handle using a
physical CONFIG_SYS_SDRAM_BASE, clean up the inconsistency for malta by
providing a physical CONFIG_SYS_SDRAM_BASE.
Signed-off-by: Paul Burton
Cc: Da
back welcome.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
Cc: Zubair Lutfullah Kakakhel
---
include/configs/imgtec_xilfpga.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs/imgtec_xilfpga.h b/include/configs/imgtec_xilfpga.h
index 0a7fe60..1583f21 10
In preparation for making CONFIG_SYS_SDRAM_BASE a physical address on
MIPS as README says it should be, ensure that our default
CONFIG_SYS_INIT_SP_ADDR is placed in (c)kseg0 rather than being a simple
offset addition to CONFIG_SYS_SDRAM_BASE.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
_to_virt is that on MIPS64 U-Boot will now access DDR through the
xkphys region of the virtual address space rather than ckseg0, which
necessitates the change to board_get_usable_ram_top().
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
---
board/imgtec/boston/ddr.c | 8 ++--
include
When calculating the region to reserve for the stack in
arch_lmb_reserve, make use of ram_top instead of adding bi_memsize to
CONFIG_SYS_SDRAM_BASE. This avoids overflow if the system has enough
memory to reach the end of the address space.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
has 2GB of memory then the addition would wrap around to 0.
The maximum amount of memory to be used by U-Boot is already accounted
for by the ram_top field of struct global_data, so make use of that for
the calculation instead.
Signed-off-by: Paul Burton
---
common/image.c | 2 +-
1 file change
ated bi_memstart field of struct bd_info to virtual addresses for
use.
Signed-off-by: Paul Burton
---
common/image.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/image.c b/common/image.c
index a5d19ab..1581022 100644
--- a/common/image.c
+++ b/common/image.c
@@ -466,7 +4
calculate most memory addresses used by U-Boot.
Signed-off-by: Paul Burton
---
common/board_f.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/board_f.c b/common/board_f.c
index 2c88595..1afc80d 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -315,7 +315,7
s_to_virt() & make use of it from map_physmem().
Signed-off-by: Paul Burton
Cc: Simon Glass
---
arch/sandbox/cpu/cpu.c| 12 +++-
arch/sandbox/include/asm/io.h | 17 -
2 files changed, 19 insertions(+), 10 deletions(-)
diff --git a/arch/sandbox/cpu/cpu.c b/arc
ainers
is welcome.
Signed-off-by: Paul Burton
Cc: Wolfgang Denk
---
arch/powerpc/include/asm/io.h | 25 +
1 file changed, 5 insertions(+), 20 deletions(-)
diff --git a/arch/powerpc/include/asm/io.h b/arch/powerpc/include/asm/io.h
index a54fc46..34fbfdf 100644
--- a/arc
our no-op unmap_physmem() and definitions of unused map
flags.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
Cc: Thomas Chou
---
arch/nios2/include/asm/io.h | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/arch/nios2/include/a
kseg1 pointer that uncached mappings return via ioremap.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
---
arch/mips/include/asm/io.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h
index be9616a..45d7ca0 100644
--- a
our no-op unmap_physmem() and definitions of unused map
flags.
Signed-off-by: Paul Burton
Cc: Daniel Schwierzeck
---
arch/mips/include/asm/io.h | 17 ++---
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h
index 5b86386
.
Signed-off-by: Paul Burton
Cc: Max Filippov
---
arch/xtensa/include/asm/io.h | 25 ++---
1 file changed, 2 insertions(+), 23 deletions(-)
diff --git a/arch/xtensa/include/asm/io.h b/arch/xtensa/include/asm/io.h
index e34d6e1..c9e335f 100644
--- a/arch/xtensa/include/asm/io.h
-by: Paul Burton
Cc: Simon Glass
---
arch/x86/include/asm/io.h | 31 ++-
1 file changed, 2 insertions(+), 29 deletions(-)
diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h
index 3156781..6f29a73 100644
--- a/arch/x86/include/asm/io.h
+++ b/arch/x86
Convert the openrisc architecture to make use of the new
asm-generic/io.h to provide address mapping functions. As the generic
implementations are suitable for openrisc this is primarily a matter of
removing code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
Cc
Convert the sh architecture to make use of the new asm-generic/io.h to
provide address mapping functions. As the generic implementations are
suitable for sh this is primarily a matter of moving code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
Cc: Nobuhiro
Convert the sparc architecture to make use of the new asm-generic/io.h
to provide address mapping functions. As the generic implementations are
suitable for sparc this is primarily a matter of moving code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
---
arch
Convert the nds32 architecture to make use of the new asm-generic/io.h
to provide address mapping functions. As the generic implementations are
suitable for nds32 this is primarily a matter of removing code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
Cc
Convert the microblaze architecture to make use of the new
asm-generic/io.h to provide address mapping functions. As the generic
implementations are suitable for microblaze this is primarily a matter
of removing code.
Feedback from architecture maintainers is welcome.
Signed-off-by: Paul Burton
1 - 100 of 501 matches
Mail list logo