important to use LEB size instead of PEB size when using
UBI.
Signed-off-by: Kevin Smith
Cc: Michael Heimpold
Cc: Joe Hershberger
---
tools/env/fw_env.c | 71 --
1 file changed, 48 insertions(+), 23 deletions(-)
diff --git a/tools/env/fw_env.c
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
> Signed-off-by: Stefan Roese
> Cc: Kevin Smith
> ---
> 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..75dc73e 100644
> --- a/drivers/gpio/mvebu_gpio.c
> +++
bitfield.h to clean up bit operations
* Use correct error return codes
* Comment/code formatting improvements and clarifications
Signed-off-by: Kevin Smith
Acked-by: Prafulla Wadaskar
Cc: Albert ARIBAUD
Cc: Joe Hershberger
Cc: Stefan Roese
Cc: Marek Vasut
Kevin Smith (2):
net: Remove unused
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
Acked-by: Prafulla Wadaskar
Cc: Albert
No boards are using this driver. Remove in preparation for a new
driver with integrated PHY support.
Signed-off-by: Kevin Smith
Acked-by: Joe Hershberger
Cc: Prafulla Wadaskar
Cc: Albert ARIBAUD
Cc: Stefan Roese
Cc: Marek Vasut
---
drivers/net/phy/mv88e61xx.c | 537
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
> Cc: Dirk Eibach
> Cc: Phil Sutter
> Cc: Kevin Smith
> Cc: Luka Perkov
> Cc: Tom Rini
> ---
>
Reviewed-by: Kevin Smith
Tested-by: Kevin Smith
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
Cc: St
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
Cc
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 *phys_bu
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
> wrote:
>> Hello Kevin,
>>
>> On Mon, 21 Dec 2015 21:45:32 +, Kevin Smith
>> wrote:
>>> The previous version of this d
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
Cc: Stefan Roese
Cc: Luka Perkov
Cc: Scott Wood
---
drivers/mtd/nand
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
Cc: Stefan Roese
Cc: Luka Perkov
Cc: Scott Wood
---
drivers/mtd/nand/pxa3xx_nand.c | 4
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
Cc: Stefan Roese
Cc: Luka Perkov
Cc: Scott
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
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 << SAR_CPU_FREQ_O
No boards are using this driver. Remove in preparation for a new
driver with integrated PHY support.
Signed-off-by: Kevin Smith
Cc: Joe Hershberger
Cc: Prafulla Wadaskar
Cc: Stefan Roese
Cc: Marek Vasut
---
drivers/net/phy/mv88e61xx.c | 537
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
Acked-by: Prafulla Wadaskar
Cc: Joe
appreciated.
Signed-off-by: Kevin Smith
Acked-by: Prafulla Wadaskar
Cc: Joe Hershberger
Cc: Stefan Roese
Cc: Marek Vasut
Kevin Smith (2):
net: Remove unused mv88e61xx switch driver
net: phy: Add PHY driver for mv88e61xx switches
drivers/net/phy/mv88e61xx.c | 959
appreciated.
Signed-off-by: Kevin Smith
Cc: Prafulla Wadaskar
Cc: Joe Hershberger
Cc: Stefan Roese
Cc: Marek Vasut
Kevin Smith (2):
net: Remove unused mv88e61xx switch driver
net: phy: Add PHY driver for mv88e61xx switches
drivers/net/phy/mv88e61xx.c | 959
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
Cc: Joe Hershberger
Cc: Prafulla Wadaskar
Cc: Stefan
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 fr
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 mod
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
Cc: Stefan Roese
Cc: Dirk Eibach
Cc: Luka
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:
, it should be
handled in the board file, not in core code.
Signed-off-by: Kevin Smith
Cc: Stefan Roese
Cc: Dirk Eibach
Cc: Luka Perkov
---
arch/arm/mach-mvebu/serdes/a38x/Makefile |1 -
.../serdes/a38x/high_speed_env_spec-38x.c |1 -
.../mach-mvebu/serdes/a38x
Functions that do not modify the pointer passed should declare it
as const.
Signed-off-by: Kevin Smith
Cc: Stefan Roese
Cc: Dirk Eibach
Cc: Luka Perkov
---
arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c| 2 +-
arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.h| 2 +-
arch/arm
d the cast.
Signed-off-by: Kevin Smith
Cc: Joe Hershberger
Cc: Tom Rini
---
common/env_ubi.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/common/env_ubi.c b/common/env_ubi.c
index e0dc5af..e611199 100644
--- a/common/env_ubi.c
+++ b/common/env_ubi.c
@@ -181,8 +181
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
Cc: Stefan Roese
Cc: Luka Perkov
-off-by: Stefan Roese
No lockups over many load tests. Thanks!
Tested-by: Kevin Smith
___
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
> Cc: Luka Perkov
> Cc: Kevin Smith
> C
ls, 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
---
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 100644
--- a/fs/ubifs/io.c
`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
---
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
+++ b/tools/kwboot.c
@@ -71,6 +71,7 @@
>
> Tested on these Marvell eval boards:
> DB-MV784MP-GP - Armada XP
> DB-88F6820-GP - Armada 38x
>
> Signed-off-by: Stefan Roese
Tested-by: Kevin Smith
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Signed-off-by: Kevin Smith
Acked-by: Stefan Roese
---
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-common.h
+++ b/include/configs/mv-common.h
: Kevin Smith
Acked-by: Stefan Roese
---
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-gp.h
+++ b/include/configs/db-88f6820
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
Acked-by: Stefan Roese
---
arch/arm/mach-mvebu/cpu.c | 7 +++
1 file changed
From: Stefan Roese
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
Tested-by: Kevin Smith
---
arch/arm/mach-mvebu/cpu.c | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/mach-mvebu/cpu.c
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 for
Signed-off-by: Kevin Smith
---
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
@@ -59,6 +59,8 @@
#define
: Kevin Smith
---
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-88f6820-gp.h
@@ -63,6 +63,11
From: Stefan Roese
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
Signed-off-by: Kevin Smith
---
arch/arm/mach-mvebu/cpu.c | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/mach-mvebu
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
---
arch/arm/mach-mvebu/cpu.c | 7 +++
1 file changed, 7 insertions(+)
diff
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
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
: Kevin Smith
---
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-88f6820-gp.h
@@ -63,6 +63,11
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
---
arch/arm/mach-mvebu/cpu.c | 7 +++
1 file changed, 7 insertions(+)
diff
From: Stefan Roese
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
Signed-off-by: Kevin Smith
---
arch/arm/mach-mvebu/cpu.c | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/mach-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
Signed-off-by: Kevin Smith
---
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
@@ -59,6 +59,8 @@
#define
I (including SPI NOR flash)
> - I2C
> - 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
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
ction that returns the header size
so that the same value is used in all places.
Signed-off-by: Kevin Smith
---
tools/kwbimage.c | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/tools/kwbimage.c b/tools/kwbimage.c
index 9540e7e..1ff17ca 100644
--- a/tools/
57 matches
Mail list logo