It is important to use LEB size instead of PEB size when using
UBI.
Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>
Cc: Michael Heimpold <m...@heimpold.de>
Cc: Joe Hershberger <joe.hershber...@ni.com>
---
tools/env/fw_env.c | 71
will let
you know.
Thank you for your help,
Kevin
On 05/11/2016 12:51 AM, Heiko Schocher wrote:
> Hello Joe,
>
> Am 11.05.2016 um 01:15 schrieb Joseph Hershberger:
>> Hi Kevin,
>>
>> Am 09.05.2016 um 23:16 schrieb Kevin Smith:
>>> Hello,
>>>
>>> I
t;
> Signed-off-by: Stefan Roese <s...@denx.de>
> Cc: Kevin Smith <kevin.sm...@elecsyscorp.com>
> ---
> drivers/gpio/mvebu_gpio.c | 4
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpio/mvebu_gpio.c b/drivers/gpio/mvebu_gpio.c
> index 9564ce2..75dc7
in bitfield.h to clean up bit operations
* Use correct error return codes
* Comment/code formatting improvements and clarifications
Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>
Acked-by: Prafulla Wadaskar <prafu...@marvell.com>
Cc: Albert ARIBAUD <albert.u.b...@aribaud.net>
C
The previous mv88e61xx driver was a driver for configuring the
switch, but did not integrate with the PHY/networking system, so
it could not be used as a PHY by U-boot. This is a complete
rework to support this device as a PHY.
Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>
No boards are using this driver. Remove in preparation for a new
driver with integrated PHY support.
Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>
Acked-by: Joe Hershberger <joe.hershber...@ni.com>
Cc: Prafulla Wadaskar <prafu...@marvell.com>
Cc: Albert A
Hi Stefan,
On 03/24/2016 04:29 AM, Stefan Roese wrote:
> Hi Kevin,
>
> On 01.09.2015 14:52, Stefan Roese wrote:
>> Hi Kevin,
>>
>> (Added Luka to Cc, as the Marvell / MVEBU custodian)
>>
>> On 31.08.2015 22:30, Kevin Smith wrote:
>>> On som
oC (Kirkwood / Orion) may follow once they
> support DM as well.
>
> Signed-off-by: Stefan Roese <s...@denx.de>
> Cc: Dirk Eibach <dirk.eib...@gdsys.cc>
> Cc: Phil Sutter <p...@nwl.cc>
> Cc: Kevin Smith <kevin.sm...@elecsyscorp.com>
> Cc: Luka Perkov &l
Usage text was getting unwieldy and somewhat incorrect. The
usage summary implied that some options were mutually exclusive
(e.g. -q or -s). Clean up the summary to just include the
important ones, and include a generic "[OPTIONS]" instead.
Signed-off-by: Kevin Smith
Add command-line specification of xmodem timeout. If the binary
header needs to take a while to do something (e.g. DDR ECC
scrubbing), the xmodem transfer can time out. Add a configurable
xmodem block timeout to allow transfers with slow binary headers
to succeed.
Signed-off-by: Kevin Smith
Hi Stefan,
On 02/12/2016 06:46 AM, Stefan Roese wrote:
> This patch adds a DM GPIO driver for the Marvell MVEBU SoCs. There are
> other non-DM drivers that might be used on these platforms. But this
> patch creates a new DM driver. Which will be used by all Armada XP/38x
> boards. Other MVEBU SoC
Hi Joe,
Thanks for the review. ACK to all comments. A few clarifications are
included below. I will submit a v3, including multichip addressing for
Albert's platform.
On 01/26/2016 06:11 PM, Joe Hershberger wrote:
>> + int reg, u16 data)
>> +{
>> + struct mii_dev
Hi Albert,
On 01/26/2016 10:13 AM, Joe Hershberger wrote:
> Hi Albert,
>
> On Tue, Jan 26, 2016 at 10:09 AM, Albert ARIBAUD
> <albert.u.b...@aribaud.net> wrote:
>> Hello Kevin,
>>
>> On Mon, 21 Dec 2015 21:45:32 +, Kevin Smith
>> <kevin.sm...@ele
Correct a null pointer dereference in board_nand_init(). Zeroed
memory was allocated, then immediately dereferenced. The
dereference is completely removed, since this pointer is later
initialized in alloc_nand_resources.
Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>
Cc: Stefan
Correct some pointer math in initialization. An offset was added
to a struct-typed pointer instead of one casted to a byte-size,
resulting in a much larger offset than intended.
Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>
Cc: Stefan Roese <s...@denx.de>
Cc: Luka Perk
The allocation size is reduced from what was introduced from the
Linux kernel, as U-boot uses the statically allocated nand_info
instead of needing to dynamically allocate an mtd_info instance.
Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>
Cc: Stefan Roese <s...@denx.de&
On 01/09/2016 03:07 AM, Stefan Roese wrote:
> @@ -100,14 +100,24 @@
> #if defined(CONFIG_ARMADA_38X)
> /* SAR values for Armada 38x */
> #define CONFIG_SAR_REG (MVEBU_REGISTER(0x18600))
> +
> #define SAR_CPU_FREQ_OFFS 10
> #define SAR_CPU_FREQ_MASK (0x1f <<
On 01/13/2016 10:18 AM, Stefan Roese wrote:
> On 13.01.2016 17:12, Kevin Smith wrote:
>> On 01/09/2016 03:07 AM, Stefan Roese wrote:
>>> @@ -100,14 +100,24 @@
>>>#if defined(CONFIG_ARMADA_38X)
>>>/* SAR values for Armada 38x */
>>>#define
The previous mv88e61xx driver was a driver for configuring the
switch, but did not integrate with the PHY/networking system, so
it could not be used as a PHY by U-boot. This is a complete
rework to support this device as a PHY.
Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>
No boards are using this driver. Remove in preparation for a new
driver with integrated PHY support.
Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>
Cc: Joe Hershberger <joe.hershber...@ni.com>
Cc: Prafulla Wadaskar <prafu...@marvell.com>
Cc: Stefan Roese <s...@den
is appreciated.
Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>
Cc: Prafulla Wadaskar <prafu...@marvell.com>
Cc: Joe Hershberger <joe.hershber...@ni.com>
Cc: Stefan Roese <s...@denx.de>
Cc: Marek Vasut <ma...@denx.de>
Kevin Smith (2):
net: Remove unused mv88e61xx swi
is appreciated.
Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>
Acked-by: Prafulla Wadaskar <prafu...@marvell.com>
Cc: Joe Hershberger <joe.hershber...@ni.com>
Cc: Stefan Roese <s...@denx.de>
Cc: Marek Vasut <ma...@denx.de>
Kevin Smith (2):
net: Remove unused mv88
as a basic PHY on any/all ports.
This driver was developed with a mv88e6176 switch and a CPU
connected over SGMII on port 5. Other configurations should be
supported, but this is the only one that could be tested.
Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>
Cc: Joe Hersh
was introduced from the
Linux kernel, as U-boot uses the statically allocated nand_info
instead of needing to dynamically allocate an mtd_info instance.
Also, some pointer math was corrected in the initialization of
the nand_chip pointer.
Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com&
d the cast.
Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>
Cc: Joe Hershberger <joe.hershber...@ni.com>
Cc: Tom Rini <tr...@konsulko.com>
---
common/env_ubi.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/common/env_ubi.c b/common/env_ubi.c
i
is a mechanism in the drivers themselves for
changing the board-specified configuration based on values loaded from an
on-board EEPROM. This belongs in the board file instead of the driver, and is
not needed for the db-88f6820-gp development board, so is completely removed.
Kevin Smith (3):
arm: mvebu
, it should be
handled in the board file, not in core code.
Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>
Cc: Stefan Roese <s...@denx.de>
Cc: Dirk Eibach <eib...@gdsys.de>
Cc: Luka Perkov <luka.per...@sartura.hr>
---
arch/arm/mach-mvebu/serdes/a38x/Makefile
Functions that do not modify the pointer passed should declare it
as const.
Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>
Cc: Stefan Roese <s...@denx.de>
Cc: Dirk Eibach <eib...@gdsys.de>
Cc: Luka Perkov <luka.per...@sartura.hr>
---
arch/arm/mach-mveb
Instead of allocating space in the driver for the serdes
specification table, just allow the board file to set a pointer
to it. Also, allow the board to only specify the lanes that are
used instead of including unused lanes.
Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>
Cc:
Hi Scott,
On 10/23/2015 01:20 PM, Scott Wood wrote:
>
> Yuck. Could you please rework this driver to not play games with pointers
> and one giant allocation? Why can't this function allocate each region it
> needs separately?
>
> -Scott
>
This driver is taken from Linux. There are a few API
On 10/23/2015 04:14 PM, Scott Wood wrote:
> On Fri, 2015-10-23 at 20:57 +0000, Kevin Smith wrote:
>> On 10/23/2015 03:34 PM, Scott Wood wrote:
>>> Does Linux have this problem? Assuming no, please fix this by making the
>>> driver look more like Linux. At least then it
On 10/23/2015 03:34 PM, Scott Wood wrote:
> Does Linux have this problem? Assuming no, please fix this by making the
> driver look more like Linux. At least then it would be the same ugliness.
There are 2 problems and one improvement:
1) Invalid dereference. This is U-Boot-only code not taken
-off-by: Stefan Roese <s...@denx.de>
No lockups over many load tests. Thanks!
Tested-by: Kevin Smith <kevin.sm...@elecsyscorp.com>
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
ts possible now to use the UART boot mode without on images that
> are generated for other boot devices, like SPI. So no need to change
> BOOT_FROM to "uart" for UART xmodem booting any more.
>
> Signed-off-by: Stefan Roese <s...@denx.de>
> Cc: Luka Perkov
s, because the definitions are
macro'd out. This patch macros out the calls so that the build
succeeds with -O0.
Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>
---
fs/ubifs/io.c | 8
1 file changed, 8 insertions(+)
diff --git a/fs/ubifs/io.c b/fs/ubifs/io.c
index bdccdc4..eab3281
to `dbg_leb_unmap'
This function is in a #ifndef __UBOOT__ section.
Kevin Smith
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
he NAK, and start the transfer
successfully.
Signed-off-by: Kevin Smith <kevin.sm...@elecsyscorp.com>
---
tools/kwboot.c | 20 +---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/tools/kwboot.c b/tools/kwboot.c
index af7a6ee..6b58fc9 100644
--- a/tools/kwboot.c
- Armada XP
DB-88F6820-GP - Armada 38x
Signed-off-by: Stefan Roese s...@denx.de
Tested-by: Kevin Smith kevin.sm...@elecsyscorp.com
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Changes needed to allow the DB-88F6820-GP development board to successfully
boot a Linux kernel.
Changes in v3:
- Correct coding-style errors
- Correct config macro style error
- Add acked-by lines
Kevin Smith (3):
arm: mvebu: Update CBAR with SOC regs base
mv-common.h: Include support
-by: Kevin Smith kevin.sm...@elecsyscorp.com
Acked-by: Stefan Roese s...@denx.de
---
include/configs/db-88f6820-gp.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h
index 12a24ce..95a05e6 100644
--- a/include/configs/db-88f6820
Signed-off-by: Kevin Smith kevin.sm...@elecsyscorp.com
Acked-by: Stefan Roese s...@denx.de
---
include/configs/mv-common.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h
index 51436da..4039b71 100644
--- a/include/configs/mv
SMP-enabled Linux kernels read the CBAR register in CP15 to find
the address of the SCU registers. After remapping internal
registers, also update the CBAR so the kernel can find them.
Signed-off-by: Kevin Smith kevin.sm...@elecsyscorp.com
Acked-by: Stefan Roese s...@denx.de
---
arch/arm/mach
From: Stefan Roese s...@denx.de
L2 cache may still be enabled by the BootROM. We need to first disable
it before enabling d-cache support.
Signed-off-by: Stefan Roese s...@denx.de
Tested-by: Kevin Smith kevin.sm...@elecsyscorp.com
---
arch/arm/mach-mvebu/cpu.c | 8
1 file changed, 8
SMP-enabled Linux kernels read the CBAR register in CP15 to find
the address of the SCU registers. After remapping internal
registers, also update the CBAR so the kernel can find them.
Signed-off-by: Kevin Smith kevin.sm...@elecsyscorp.com
---
arch/arm/mach-mvebu/cpu.c | 7 +++
1 file
Changes needed to allow the DB-88F6820-GP development board to successfully
boot a Linux kernel.
Changes in v2:
- Correct address written to CBAR to be the SCU address instead of
the internal registers address
Kevin Smith (3):
arm: mvebu: Update CBAR with SOC regs base
mv-common.h
Signed-off-by: Kevin Smith kevin.sm...@elecsyscorp.com
---
include/configs/mv-common.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h
index 51436da..03518b0 100644
--- a/include/configs/mv-common.h
+++ b/include/configs/mv-common.h
-by: Kevin Smith kevin.sm...@elecsyscorp.com
---
include/configs/db-88f6820-gp.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h
index 12a24ce..490d74e 100644
--- a/include/configs/db-88f6820-gp.h
+++ b/include/configs/db
From: Stefan Roese s...@denx.de
L2 cache may still be enabled by the BootROM. We need to first disable
it before enabling d-cache support.
Signed-off-by: Stefan Roese s...@denx.de
Signed-off-by: Kevin Smith kevin.sm...@elecsyscorp.com
---
arch/arm/mach-mvebu/cpu.c | 8
1 file changed
From: Stefan Roese s...@denx.de
L2 cache may still be enabled by the BootROM. We need to first disable
it before enabling d-cache support.
Signed-off-by: Stefan Roese s...@denx.de
Signed-off-by: Kevin Smith kevin.sm...@elecsyscorp.com
---
arch/arm/mach-mvebu/cpu.c | 8
1 file changed
SMP-enabled Linux kernels read the CBAR register in CP15 to find
the address of the SCU registers. After remapping internal
registers, also update the CBAR so the kernel can find them.
Signed-off-by: Kevin Smith kevin.sm...@elecsyscorp.com
---
arch/arm/mach-mvebu/cpu.c | 7 +++
1 file
Signed-off-by: Kevin Smith kevin.sm...@elecsyscorp.com
---
include/configs/mv-common.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/mv-common.h b/include/configs/mv-common.h
index 51436da..03518b0 100644
--- a/include/configs/mv-common.h
+++ b/include/configs/mv-common.h
Changes needed to allow the DB-88F6820-GP development board to successfully
boot a Linux kernel.
Kevin Smith (3):
arm: mvebu: Update CBAR with SOC regs base
mv-common.h: Include support for device trees
db-88f6820-gp.h: Load data blobs into lower memory
Stefan Roese (1):
arm: mvebu
Changes needed to allow the DB-88F6820-GP development board to successfully
boot a Linux kernel.
Kevin Smith (3):
arm: mvebu: Update CBAR with SOC regs base
mv-common.h: Include support for device trees
db-88f6820-gp.h: Load data blobs into lower memory
Stefan Roese (1):
arm: mvebu
-by: Kevin Smith kevin.sm...@elecsyscorp.com
---
include/configs/db-88f6820-gp.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h
index 12a24ce..490d74e 100644
--- a/include/configs/db-88f6820-gp.h
+++ b/include/configs/db
- Ethernet (neta)
One big part of this new SoC support is the move of the already exisiting
Armada XP support into the mach-mvebu directory. With this move its
easier to re-use this code for the A38x, which is pretty similar to the
AXP.
Thanks,
Stefan
Tested-by: Kevin Smith kevin.sm
Hi Stefan,
On 03/18/2015 02:54 AM, Stefan Roese wrote:
+/* Environment in SPI NOR flash */
+#define CONFIG_ENV_IS_IN_SPI_FLASH
+#define CONFIG_ENV_OFFSET(1 20) /* 1MiB in */
+#define CONFIG_ENV_SIZE (64 10) /* 64KiB */
+#define CONFIG_ENV_SECT_SIZE
that returns the header size
so that the same value is used in all places.
Signed-off-by: Kevin Smith kevin.sm...@elecsyscorp.com
---
tools/kwbimage.c | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/tools/kwbimage.c b/tools/kwbimage.c
index 9540e7e..1ff17ca
57 matches
Mail list logo