This matches the 64 bit size in struct mtd_info and allows the mtdparts
command to function correctly with a flash = 4GiB. Format specifiers
for size offset are given the ll length, matching its use in
drivers/mtd in absence of something like inttypes.h/PRIx64.
Signed-off-by: Paul Burton
, but which I hope to be able
to begin upstreaming soon.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
drivers/mtd/mtdcore.c | 14 +-
drivers/mtd/mtdpart.c | 12 ++--
drivers/mtd/nand/nand_base.c | 18 ++
drivers/mtd/onenand
This patchset corrects a few issues I've had whilst using UBI with U-boot.
The first 2 are bug fixes, the 3rd is an addition I needed in order to write a
large root filesystem into my NAND device.
Paul Burton (3):
mtd: driver _read() returns max_bitflips; mtd_read() returns -EUCLEAN
0x0800
ext4load mmc 0:1 0x8000 rootfs.ubifs.2
ubi write.part 0x8000 root 0x0800
This would write 384MiB of data to the UBI volume 'root' whilst only
requiring 128MiB of said data to be held in memory at a time.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
common
is fine there's no need to.
I can switch to software ECC without my patch to rediscover the exact
call chain if you require, but it'll probably be a while before I do -
busy week!
Thanks,
Paul
On 19/08/13 09:55, Stefan Roese wrote:
On 06.08.2013 12:13, Paul Burton wrote:
Linux modified
Thanks, I'll fix the style issues and send v2 soon.
Paul
On 19/08/13 10:07, Stefan Roese wrote:
Hi Paul,
On 06.08.2013 12:13, Paul Burton wrote:
This allows you to write data to an UBI volume when the amount of memory
available to write that data from is less than the total size of the
data
Roese's comments.
- Expanded upon the condition patch 1 fixes in response to the
queries from Stefan, see the commit message for further detail.
- Added patch 3 cmd_ubi: use int64_t volume size for 'ubi create'
which it seems appropriate to include in this series.
Paul Burton (4):
mtd
This matches the 64 bit size in struct mtd_info and allows the mtdparts
command to function correctly with a flash = 4GiB. Format specifiers
for size offset are given the ll length, matching its use in
drivers/mtd in absence of something like inttypes.h/PRIx64.
Signed-off-by: Paul Burton
, this should only affect those using
software ECC. I have tested that it works on a board which is
currently out of tree, but which I hope to be able to begin
upstreaming soon.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes from v1:
- Expanded upon the condition this fixes in the commit
int64_t matches the bytes field in struct ubi_mkvol_req to which the
size is assigned. With the prior signed 32 bit integer, volumes were
restricted to being less than 2GiB in size.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
common/cmd_ubi.c | 16
1 file changed, 8
0x0800
ext4load mmc 0:1 0x8000 rootfs.ubifs.2
ubi write.part 0x8000 root 0x0800
This would write 384MiB of data to the UBI volume 'root' whilst only
requiring 128MiB of said data to be held in memory at a time.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes from
If we don't have CONFIG_SPL_LIBCOMMON_SUPPORT defined then stdio
functions are unavailable calling them will cause a link failure.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
common/spl/spl_mmc.c | 16
1 file changed, 16 insertions(+)
diff --git a/common/spl
ARM is the only architecture which includes this header and nothing in
spl_mmc.c makes use of it. Remove the include.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
common/spl/spl_mmc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
index
For SPL builds this is just dead code since we'll only need to read.
Eliminating it results in a significant size reduction for the SPL
binary.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
drivers/mmc/mmc.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/mmc/mmc.c b
If we don't have CONFIG_SPL_LIBCOMMON_SUPPORT defined then stdio
*printf functions are unavailable calling them will cause a link
failure.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
drivers/mmc/mmc.c | 36
1 file changed, 36 insertions(+)
diff
Bah, the subject should have read size optimisations and fixes but you
get the idea...
Thanks,
Paul
On 04/09/13 16:12, Paul Burton wrote:
This series reduces the size of the SPL when compiled with MMC support,
and fixes build issues if the target does not include libcommon in SPL
) then the compiler can optimize away the
SPI-specific code paths in mmc.c.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
include/mmc.h | 4
1 file changed, 4 insertions(+)
diff --git a/include/mmc.h b/include/mmc.h
index 228d771..214b9ed 100644
--- a/include/mmc.h
+++ b/include/mmc.h
. In the meantime I figured the size optimisations may be of use to
others.
Paul Burton (5):
spl: remove unnecessary ( ARM specific) include of asm/utils.h
spl_mmc: only call printf or puts with CONFIG_SPL_LIBCOMMON_SUPPORT
mmc: don't call *printf or puts when SPL
!CONFIG_SPL_LIBCOMMON_SUPPORT
or a call with
no flags. The end result is that a combination of those 2 commits leads
to MIPS boards booting kernels with no command line arguments.
An extra invocation of the architecture specific boot function with
BOOTM_STATE_OS_CMDLINE fixes this.
Signed-off-by: Paul Burton paul.bur
On 06/09/13 13:48, Pantelis Antoniou wrote:
Hi Paul
On Sep 4, 2013, at 6:12 PM, Paul Burton wrote:
If we don't have CONFIG_SPL_LIBCOMMON_SUPPORT defined then stdio
*printf functions are unavailable calling them will cause a link
failure.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
For SPL builds this is just dead code since we'll only need to read.
Eliminating it results in a significant size reduction for the SPL
binary, which may be critical for certain platforms where the binary
size is highly constrained.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes
On Sun 08 Sep 2013 09:48:20 BST, Andreas Bießmann wrote:
Dear Paul Burton,
On 06.09.13 15:43, Paul Burton wrote:
For SPL builds this is just dead code since we'll only need to read.
Eliminating it results in a significant size reduction for the SPL
binary, which may be critical for certain
For SPL builds this is just dead code since we'll only need to read.
Eliminating it results in a significant size reduction for the SPL
binary, which may be critical for certain platforms where the binary
size is highly constrained.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
Acked
*ping*
(Also CCing MIPS custodian)
Paul
On 06/09/13 11:23, Paul Burton wrote:
A plain bootm used to call the architecture specific boot function with
no flags, but was modified by commit 35fc84fa Refactor the bootm
command to reduce code duplication to call the architecture specific
boot
...@googlemail.com
Cc: Paul Burton paul.bur...@imgtec.com
---
doc/README.malta | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/README.malta b/doc/README.malta
index a495d02..c8db8a0 100644
--- a/doc/README.malta
+++ b/doc/README.malta
@@ -9,7 +9,7 @@ How to flash using
in due course but enabling it in U-boot is
required in order for current Linux kernels to function correctly. The
final patch isn't a fix but allows larger kernel images to be booted
which improves the experience of using U-boot on a Malta.
Paul Burton (4):
mips: don't hardcode Malta env baudrate
The baudrate passed to Linux in the environment was hardcoded at 38400.
Instead pass the correct baudrate from global data, allowing Linux to
correctly inherit the baudrate used by U-boot when console setup is not
explicitly specified.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
arch
this current kernels will never receive serial port
interrupts and the end result is typically that userland appears to
hang.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
arch/mips/include/asm/malta.h | 7 +++
board/imgtec/malta/malta.c| 12
2 files changed, 19 insertions
Allow a larger kernel binary to be decompressed - the default 8MB can
become limiting on a Malta.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
include/configs/malta.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/malta.h b/include/configs/malta.h
index 666cca9
of CONFIG_BAUDRATE or the baudrate environment variable.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
include/configs/malta.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/malta.h b/include/configs/malta.h
index 458c33a..666cca9 100644
--- a/include/configs
.
This patch fixes the warnings pointed out here:
http://lists.denx.de/pipermail/u-boot/2013-October/164981.html
Signed-off-by: Scott Wood scottw...@freescale.com
Cc: York Sun york...@freescale.com
Cc: Stefan Roese s...@denx.de
Cc: Paul Burton paul.bur...@imgtec.com
Cc: Tom Rini tr...@ti.com
Acked
This should cause no change to the generated code, but is semantically
correct.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
drivers/net/pcnet.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c
index a30a0bc..843a6fc
Fix up the code to match Documentation/CodingStyle. This is mostly
removing extraneous spaces.
No functional change is intended.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
drivers/net/pcnet.c | 248 ++--
1 file changed, 123 insertions
to
support :), the malta(el) board(s).
Paul Burton (15):
mips32: detect L1 cache sizes if they're not defined
pcnet: code style cleanup
pcnet: s/le16_to_cpu/cpu_to_le16/ in pcnet_send
pcnet: add cache flushing invalidation
pcnet: enable the NOUFLO feature
pci.h: allow inclusion
in reality it has but the old values are being read
from cache.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
drivers/net/pcnet.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c
index 843a6fc..7b87660 100644
--- a/drivers/net
will not add overhead to such
boards.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
arch/mips/cpu/mips32/cache.S | 90 ++--
arch/mips/cpu/mips32/cpu.c | 73 +---
arch/mips/include/asm/mipsregs.h | 6 +++
3 files changed
This patch simply #ifdef's out the C-specific parts of pci.h when it is
included by an assembly file. This will allow the macros it contains to
be used from assembly source as will be done in a followup commit adding
support for more modern MIPS Malta boards.
Signed-off-by: Paul Burton paul.bur
On a real Malta the Super I/O needs to be configured before we are able
to access the UARTs. This patch performs that configuration, setting up
the UARTs in the same way that YAMON would.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
board/malta/Makefile | 2 +-
board/malta/malta.c
a transmit start point is reached. Setting that transmit
start point to the full packet will cause the controller to only
transmit the packet once it has buffered it entirely thus preventing any
transmit underflows from occuring and allowing the controller to
function on slower boards.
Signed-off-by: Paul
-by: Paul Burton paul.bur...@imgtec.com
---
arch/mips/include/asm/malta.h | 35 +++--
board/malta/lowlevel_init.S | 164 +-
board/malta/malta.c | 124 ++--
drivers/pci/Makefile | 1 +
drivers/pci/pci_msc01.c
This is in preparation for adapting this board to function correctly on
a physical MIPS Malta board.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
arch/mips/lib/bootm.c| 12 ++---
board/malta/Makefile | 29 ++
board/malta/lowlevel_init.S | 69
for many networks,
enable support for it also.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
include/configs/malta.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/configs/malta.h b/include/configs/malta.h
index e347b38..23a781e 100644
--- a/include/configs/malta.h
+++ b
Displaying a message on the LCD screen is a simple yet effective way to
show the user that the board has booted successfully.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
arch/mips/include/asm/malta.h | 10 ++
board/malta/malta.c | 19 +++
2 files
bitstream.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
include/configs/malta.h | 4
1 file changed, 4 deletions(-)
diff --git a/include/configs/malta.h b/include/configs/malta.h
index 23a781e..19acf3a 100644
--- a/include/configs/malta.h
+++ b/include/configs/malta.h
@@ -30,10 +30,6
This patch adds a script which may be used with MIPS Navigator Console
and a MIPS Nagivator Probe in order to flash U-boot to a MIPS Malta
development board.
Please see the newly added board/malta/README for usage instructions.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
board/malta
than generically.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
board/malta/lowlevel_init.S | 7 +++
1 file changed, 7 insertions(+)
diff --git a/board/malta/lowlevel_init.S b/board/malta/lowlevel_init.S
index 1af34f1..ae09c27 100644
--- a/board/malta/lowlevel_init.S
+++ b/board/malta
This patch adds me as a maintainer of the malta(el) board(s). I have
access to physical Malta boards and the desire for U-boot to run well on
them.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
boards.cfg | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/boards.cfg
Commit 93e14596 Coding Style cleanup: replace leading SPACEs by TABs
added trailing whitespace to a single line of boards.cfg. I presume this
was unintentional, and it causes the file to change after running it
through the reformat.py script. Remove the offending character.
Signed-off-by: Paul
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 future.
Signed-off-by: Paul Burton paul.bur
On a real Malta the Super I/O needs to be configured before we are able
to access the UARTs. This patch performs that configuration, setting up
the UARTs in the same way that YAMON would.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v2:
- rebased after malta moved to board
-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v2:
- rebased after malta moved to board/imgtec/malta
- removed unused status variable from msc01_config_access
---
arch/mips/include/asm/malta.h | 35 ++--
board/imgtec/malta/lowlevel_init.S | 164
This patch adds a script which may be used with MIPS Navigator Console
and a MIPS Nagivator Probe in order to flash U-boot to a MIPS Malta
development board.
Please see the newly added doc/README.malta for usage instructions.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v2
than generically.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v2:
- rebased after malta moved to board/imgtec/malta
---
board/imgtec/malta/lowlevel_init.S | 7 +++
1 file changed, 7 insertions(+)
diff --git a/board/imgtec/malta/lowlevel_init.S
b/board/imgtec/malta
This patch adds me as a maintainer of the malta(el) board(s). I have
access to physical Malta boards and the desire for U-boot to run well on
them.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v2:
- rebased after malta moved to board/imgtec/malta
---
boards.cfg | 4 ++--
1
Displaying a message on the LCD screen is a simple yet effective way to
show the user that the board has booted successfully.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v2:
- rebased after malta moved to board/imgtec/malta
---
arch/mips/include/asm/malta.h | 10
diff --git a/drivers/pci/pci_msc01.c b/drivers/pci/pci_msc01.c
new file mode 100644
index 000..7904378
--- /dev/null
+++ b/drivers/pci/pci_msc01.c
@@ -0,0 +1,126 @@
+/*
+ * Copyright (C) 2013 Imagination Technologies
+ * Author: Paul Burton paul.bur...@imgtec.com
+ *
+ * SPDX-License
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 at the same time in order to ready us for any other
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 future.
Signed-off-by: Paul Burton paul.bur
On 24/10/13 11:43, Gabor Juhos wrote:
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
...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com
Cc: Paul Burton paul.bur...@imgtec.com
---
Note:
The patch depends on Paul's 'MIPS Malta board support' series.
If we want to fix the problem before his patches will be merged,
I will send a different patch.
-Gabor
For the record
This is actually required in order for a Linux kernel to boot
successfully on a physical Malta board. Without enabling the RTC, a
Malta Linux kernel will get stuck in its estimate_frequencies function
on boot.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
This is dependant upon my MIPS
will not add overhead to such
boards.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v2:
- rebase atop master
---
arch/mips/cpu/mips32/cache.S | 90 ++--
arch/mips/cpu/mips32/cpu.c | 73 +---
arch/mips
environment support.
After this series Gabor Juhos' malta: define CONFIG_MEMSIZE_IN_BYTES
patch is also required in order for a booted Linux kernel to function
correctly.
Paul Burton (18):
mips32: detect L1 cache sizes if they're not defined
pcnet: code style cleanup
pcnet: s/le16_to_cpu/cpu_to_le16
This should cause no change to the generated code, but is semantically
correct.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v2:
- rebase atop master
---
drivers/net/pcnet.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/pcnet.c b
Fix up the code to match Documentation/CodingStyle. This is mostly
removing extraneous spaces.
No functional change is intended.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v2:
- rebase atop master
---
drivers/net/pcnet.c | 248
in reality it has but the old values are being read
from cache.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v2:
- rebase atop master
---
drivers/net/pcnet.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c
index
a transmit start point is reached. Setting that transmit
start point to the full packet will cause the controller to only
transmit the packet once it has buffered it entirely thus preventing any
transmit underflows from occuring and allowing the controller to
function on slower boards.
Signed-off-by: Paul
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 future.
Signed-off-by: Paul Burton paul.bur
This patch simply #ifdef's out the C-specific parts of pci.h when it is
included by an assembly file. This will allow the macros it contains to
be used from assembly source as will be done in a followup commit adding
support for more modern MIPS Malta boards.
Signed-off-by: Paul Burton paul.bur
On a real Malta the Super I/O needs to be configured before we are able
to access the UARTs. This patch performs that configuration, setting up
the UARTs in the same way that YAMON would.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v3:
- rebase atop master
Changes in v2
Displaying a message on the LCD screen is a simple yet effective way to
show the user that the board has booted successfully.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v3:
- rebase atop master
Changes in v2:
- rebased after malta moved to board/imgtec/malta
---
arch
.
The incorrect UART will simply not function.
Tested on:
- A coreFPGA6 Malta running interAptiv and proAptiv bitstreams, both
with and without an L2 cache.
- QEMU.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v3:
- rebase atop master
- remove commit message note about
bitstream.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v2:
- rebase atop master
---
include/configs/malta.h | 4
1 file changed, 4 deletions(-)
diff --git a/include/configs/malta.h b/include/configs/malta.h
index a0c5b79..5368308 100644
--- a/include/configs/malta.h
+++ b
for many networks,
enable support for it also.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v2:
- rebase atop master
---
include/configs/malta.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/configs/malta.h b/include/configs/malta.h
index 737dd39..a0c5b79
This is actually required in order for a Linux kernel to boot
successfully on a physical Malta board. Without enabling the RTC, a
Malta Linux kernel will get stuck in its estimate_frequencies function
on boot.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v2:
- rebase atop
, and PIRQC PIRQD to IRQ 11.
This matches the setup used by YAMON.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
arch/mips/include/asm/malta.h | 5 +
board/imgtec/malta/malta.c| 14 ++
2 files changed, 19 insertions(+)
diff --git a/arch/mips/include/asm/malta.h b
than generically.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v3:
- rebase atop master
Changes in v2:
- rebased after malta moved to board/imgtec/malta
---
board/imgtec/malta/lowlevel_init.S | 7 +++
1 file changed, 7 insertions(+)
diff --git a/board/imgtec/malta
Allow the environment to be stored in the monitor flash of a Malta
board. The environment is stored in the final 128KB of the flash, which
both leaves the majority of the flash available for U-boot code and also
matches the location which YAMON uses.
Signed-off-by: Paul Burton paul.bur
This patch adds me as a maintainer of the malta(el) board(s). I have
access to physical Malta boards and the desire for U-boot to run well on
them.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v3:
- rebase atop master
Changes in v2:
- rebased after malta moved to board
This patch adds a script which may be used with MIPS Navigator Console
and a MIPS Nagivator Probe in order to flash U-boot to a MIPS Malta
development board.
Please see the newly added doc/README.malta for usage instructions.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v3
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 future.
Signed-off-by: Paul Burton paul.bur
On 10/11/13 20:02, Marek Vasut wrote:
Dear Paul Burton,
On relatively slow boards (such as the MIPS Malta with an FPGA core
card) it can be extremely common for transmits to underflow - to the
point where it appears they simply do not work at all. Setting the
NOUFLO bit causes the ethernet
On 10/11/13 20:05, Marek Vasut wrote:
Dear Paul Burton,
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
wrote:
Dear Paul Burton,
On a real Malta the Super I/O needs to be configured before we are able
to access the UARTs. This patch performs that configuration, setting up
the UARTs in the same way that YAMON would.
[...]
--- /dev/null
+++ b/board/imgtec/malta/superio.c
Do we not already have
On 10/11/13 20:07, Marek Vasut wrote:
Dear Paul Burton,
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
On 10/11/13 20:08, Marek Vasut wrote:
Dear Paul Burton,
Displaying a message on the LCD screen is a simple yet effective way to
show the user that the board has booted successfully.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes in v3:
- rebase atop master
Changes in v2
On 10/11/13 20:09, Marek Vasut wrote:
Dear Paul Burton,
Without setting up the PIRQ[A:D] interrupt routes, PCI interrupts will
be left disabled. Linux does not set up this routing but relies upon it
having been set up by the bootloader, reading back the IRQ lines which
the PIRQ[A:D] signals
This patch replaces the GPL-2.0 text with a GPL-2.0
SPDX-License-Identifier tag, and adds Imagination Technologies copyright
following my recent changes.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
arch/mips/include/asm/malta.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions
?
it is obviously am upstream change in qemu, which requires a fix in u-boot.
Paul or Gabor, do you have an idea?
It is broken since the following change in qemu:
commit a427338b222b43197c2776cbc996936df0302f51
Author: Paul Burton paul.bur...@imgtec.com
Date: Fri Jun 14 08:30:44 2013 +0100
On 11/11/13 13:33, Marek Vasut wrote:
Dear Paul Burton,
On 10/11/13 20:09, Marek Vasut wrote:
Dear Paul Burton,
Without setting up the PIRQ[A:D] interrupt routes, PCI interrupts will
be left disabled. Linux does not set up this routing but relies upon it
having been set up by the bootloader
.
Signed-off-by: Gabor Juhos juh...@openwrt.org
Cc: Daniel Schwierzeck daniel.schwierz...@gmail.com
Cc: Paul Burton paul.bur...@imgtec.com
---
arch/mips/include/asm/malta.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/include/asm/malta.h b/arch/mips/include/asm
This series adds generic board support for the MIPS architecture, and then
converts the MIPS Malta development board to use it.
Paul Burton (5):
MIPS: stub interrupt_init function
MIPS: move mips_io_port_base out of board.c
MIPS: define __init_end in u-boot.lds
MIPS: allow use of generic
Move the definition of this variable out of arch/mips/lib/board.c in
preparation for allowing use of generic board on MIPS, which will lead
to this file not being compiled.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
arch/mips/lib/Makefile | 2 ++
arch/mips/lib/board.c | 6
interrupt_init is called unconditionally by the generic board code.
Define a stub for it on MIPS like the enable disable functions.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
arch/mips/cpu/mips32/interrupts.c | 5 +
arch/mips/cpu/mips64/interrupts.c | 5 +
2 files changed, 10
The generic board code uses the __init_end symbol to calculate
monitor_flash_len. Define said symbol for MIPS, equivalent to
__image_copy_end which is used for the same purpose in
arch/mips/lib/board.c.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
arch/mips/cpu/u-boot.lds | 1 +
1 file
This patch converts the MIPS Malta development board to make use of the
generic board code now that it is supported on MIPS.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
board/imgtec/malta/malta.c | 9 -
include/configs/malta.h| 3 +++
2 files changed, 7 insertions(+), 5
This patch allows MIPS boards to make use of generic board, replacing
arch/mips/lib/board.c with common/board_{f,r}.c and struct bd_info with
the asm-generic version.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
arch/mips/config.mk| 2 ++
arch/mips/include/asm/u-boot.h | 9
: Simon Glass s...@chromium.org
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
common/board_r.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/board_r.c b/common/board_r.c
index 8629a65..d1f0aa9 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -528,6 +528,7 @@ static int
The generic board code uses the __init_end symbol to calculate
monitor_flash_len. Define said symbol for MIPS, equivalent to
__image_copy_end which is used for the same purpose in
arch/mips/lib/board.c.
Signed-off-by: Paul Burton paul.bur...@imgtec.com
---
Changes since v1:
- None
---
arch
as pointed out by Daniel.
Note that I've only submitted the whole series again because patch
numbers changed; the content of patches 1-3,6 is unchanged from v1.
Paul Burton (7):
MIPS: stub interrupt_init function
MIPS: move mips_io_port_base out of board.c
MIPS: define __init_end in u-boot.lds
1 - 100 of 500 matches
Mail list logo