> > Is anyone already working on a nvmem framework to support nvmem
> > providers in U-Boot?
>
> AFAIK no, but I am planning to look into this.
Ok. I'd be happy to assist in any way you see fit with this in my free
time.
> In the meantime implement the hw_info mac command.
Okay.
> I will send
Hello Marek,
> These differences between Marvell's version and U-Boot's standard
> environment version can be specified in device-tree (via compatible or
> other properties) and handled by one driver.
>
> A driver for nvmem provider of standard U-Boot env could have this
> binding (with
Hello Pali,
> Something like this? compatible = "marvell,hw-info"
This compatible string looks good to me.
We will send a new patch version, which implements the discussed DT
functionality.
> > I am sure Luka knows more about the format than me.
The Marvell hw_info partition is very similar to
Hello Pali,
On Fri, Oct 8, 2021 at 2:53 PM Pali Rohár wrote:
>
> Hello!
>
> On Friday 08 October 2021 14:09:23 Robert Marko wrote:
> > From: Luka Kovacic
> >
> > The mac command is implemented to enable parsing Marvell hw_info formatted
> > environments.
Hello Pali,
> Hello Luka! Do you need some help with this?
I wasn't able to get to this yet, as I am working on something else
right now and will circle back to the ESPRESSOBin-Ultra shortly.
Kind regards,
Luka
Hello Gerald,
On Sat, Aug 14, 2021 at 9:59 AM Gérald Kerma wrote:
>
> Héllo,
> > Message: 2
> > Date: Fri, 13 Aug 2021 12:03:57 +0200
> > From: Luka Kovacic
> > To: Pali Roh?r
> > Cc:u-boot@lists.denx.de, Robert Marko,
> > Luka Perkov, Marek Behun
Hello Pali,
On Fri, Aug 13, 2021 at 12:59 PM Pali Rohár wrote:
>
> On Friday 13 August 2021 12:33:25 Luka Kovacic wrote:
> > On Fri, Aug 13, 2021 at 12:22 PM Pali Rohár wrote:
> > >
> > > On Friday 13 August 2021 12:03:57 Luka Kovacic wrote:
> > > >
Hello Pali,
On Fri, Aug 13, 2021 at 3:59 PM Pali Rohár wrote:
>
> On Friday 13 August 2021 01:39:37 Luka Kovacic wrote:
> > Add the loadaddr U-Boot environment variable, as this is available in
> > the stock Marvell U-Boot by default on Marvell Armada A37XX platforms.
> >
On Fri, Aug 13, 2021 at 12:29 PM Pali Rohár wrote:
>
> On Friday 13 August 2021 01:39:36 Luka Kovacic wrote:
> > diff --git a/board/Marvell/mvebu_armada-37xx/Kconfig
> > b/board/Marvell/mvebu_armada-37xx/Kconfig
> > new file mode 100644
> > index 00
On Fri, Aug 13, 2021 at 12:22 PM Pali Rohár wrote:
>
> On Friday 13 August 2021 12:03:57 Luka Kovacic wrote:
> > Hello Pali,
> >
> > On Fri, Aug 13, 2021 at 11:27 AM Pali Rohár wrote:
> > >
> > > On Friday 13 August 2021 01:39:38 Luka
Hello Stefan and Pali,
On Fri, Aug 13, 2021 at 11:58 AM Stefan Roese wrote:
>
> Hi,
>
> On 13.08.21 11:54, Pali Rohár wrote:
> > On Friday 13 August 2021 11:08:08 Luka Kovacic wrote:
> >> Hello Pali,
> >>
> >> On Fri, Aug 13, 2021 at 10:14 AM Pali
On Fri, Aug 13, 2021 at 12:09 PM Pali Rohár wrote:
>
> On Friday 13 August 2021 11:51:02 Luka Kovacic wrote:
> > Hello Pali,
> >
> > On Fri, Aug 13, 2021 at 11:41 AM Pali Rohár wrote:
> > >
> > > On Friday 13 August 2021 11:23:15 Luka K
Hello Pali,
On Fri, Aug 13, 2021 at 11:27 AM Pali Rohár wrote:
>
> On Friday 13 August 2021 01:39:38 Luka Kovacic wrote:
> > Add initial support for the ESPRESSOBin-Ultra board from Globalscale
> > Technologies, Inc.
> >
> > The board is based on the 64-bit dua
Hello Pali,
On Fri, Aug 13, 2021 at 11:41 AM Pali Rohár wrote:
>
> On Friday 13 August 2021 11:23:15 Luka Kovacic wrote:
> > Hello Marek and Pali,
> >
> > On Fri, Aug 13, 2021 at 10:23 AM Pali Rohár wrote:
> > >
> > > On Friday 13 August 2021 01:39:36 L
Hello Pali,
On Fri, Aug 13, 2021 at 11:31 AM Pali Rohár wrote:
>
> On Friday 13 August 2021 10:59:33 Luka Kovacic wrote:
> > Hello Pali,
> >
> > On Fri, Aug 13, 2021 at 10:08 AM Pali Rohár wrote:
> > >
> > > On Friday 13 August 2021 01:39:37 Luka Kova
Hello Marek and Pali,
On Fri, Aug 13, 2021 at 10:23 AM Pali Rohár wrote:
>
> On Friday 13 August 2021 01:39:36 Luka Kovacic wrote:
> > The mac command is implemented to enable parsing Marvell hw_info formatted
> > environments. This format is often used on Marvell Armada A37XX
Hello Pali,
On Fri, Aug 13, 2021 at 10:14 AM Pali Rohár wrote:
>
> On Friday 13 August 2021 01:39:38 Luka Kovacic wrote:
> > Add initial support for the ESPRESSOBin-Ultra board from Globalscale
> > Technologies, Inc.
> >
> > The board is based on the 64-bit dua
Hello Pali,
On Fri, Aug 13, 2021 at 10:08 AM Pali Rohár wrote:
>
> On Friday 13 August 2021 01:39:37 Luka Kovacic wrote:
> > Add the loadaddr U-Boot environment variable, as this is available in
> > the stock Marvell U-Boot by default on Marvell Armada A37XX platforms.
&
.
Signed-off-by: Luka Kovacic
Cc: Luka Perkov
Cc: Robert Marko
---
arch/arm/dts/Makefile | 1 +
.../arm/dts/armada-3720-espressobin-ultra.dts | 114 ++
arch/arm/dts/armada-3720-espressobin.dts | 199 +
arch/arm/dts/armada-3720-espressobin.dtsi
parameters in mainline U-Boot
and reading the parameters written by this command in the stock U-Boot.
Usage example:
=> mac read
=> saveenv
Signed-off-by: Luka Kovacic
Cc: Luka Perkov
Cc: Robert Marko
---
arch/arm/mach-mvebu/Kconfig | 1 +
board/Marvell/mvebu_armad
Add the loadaddr U-Boot environment variable, as this is available in
the stock Marvell U-Boot by default on Marvell Armada A37XX platforms.
Signed-off-by: Luka Kovacic
Cc: Luka Perkov
Cc: Robert Marko
---
include/configs/mvebu_armada-37xx.h | 1 +
1 file changed, 1 insertion(+)
diff --git
the device tree to use a dtsi, like in Linux
- Sync the defconfig with the latest mainline changes
Luka Kovacic (3):
arm: mvebu: mvebu_armada-37xx: Implement the mac command (Marvell
hw_info)
arm: mvebu: mvebu_armada-37xx: Define the loadaddr environment
variable
arm: mvebu: Initial
chset:
https://patchwork.ozlabs.org/project/uboot/list/?series=229617
A new patchset will be sent today, which refactors the original patches.
> Cc: Luka Kovacic
> Cc: Luka Perkov
> Cc: Robert Marko
> ---
> cmd/mvebu/Kconfig | 23
> cmd/mvebu/Makefile | 2 +
> c
Hello Marek,
On Sat, Feb 27, 2021 at 2:05 PM Marek Behun wrote:
>
> Luka, Tom,
>
> I am very against this.
>
> there already is `mac` command in cmd/mac.c with following help
>display and program the system ID and MAC addresses in EEPROM
>[read|save|id|num|errata|date|ports|port_number]
Hello Pali,
On Sat, Feb 27, 2021 at 2:09 AM Pali Rohár wrote:
>
> On Monday 15 February 2021 20:59:32 Luka Kovacic wrote:
> > The hw_info command is implemented to enable parsing Marvell hw_info
> > formatted environments. This format is often used on Marvell Armada A37XX
Hello Marek,
On Sat, Feb 27, 2021 at 2:24 PM Marek Behun wrote:
>
> In Linux the DTS for espressobin-ultra includes
> armada-3720-espressobin.dtsi and just adds changes.
>
> If possible, please do this as is done in Linux. In fact we want to
> slowly move in the direction to have the dts files
Hello Pali,
On Sat, Feb 27, 2021 at 1:38 AM Pali Rohár wrote:
>
> On Monday 15 February 2021 20:59:33 Luka Kovacic wrote:
> > Add the loadaddr U-Boot environment variable, as this is available in
> > the stock Marvell U-Boot by default on Marvell Armada A37XX platforms.
&
-by: Luka Kovacic
Cc: Luka Perkov
Cc: Robert Marko
---
arch/arm/dts/Makefile | 1 +
.../arm/dts/armada-3720-espressobin-ultra.dts | 202 ++
board/Marvell/mvebu_armada-37xx/MAINTAINERS | 8 +
board/Marvell/mvebu_armada-37xx/board.c | 92
parameters in mainline U-Boot
and reading the parameters written by this command in the stock U-Boot.
Usage example:
=> hw_info load
=> saveenv
Signed-off-by: Luka Kovacic
Cc: Luka Perkov
Cc: Robert Marko
---
cmd/mvebu/Kconfig | 23
cmd/mvebu/Makefile | 1 +
cmd/mvebu/hw_info.c
Add the loadaddr U-Boot environment variable, as this is available in
the stock Marvell U-Boot by default on Marvell Armada A37XX platforms.
Signed-off-by: Luka Kovacic
Cc: Luka Perkov
Cc: Robert Marko
---
include/configs/mvebu_armada-37xx.h | 1 +
1 file changed, 1 insertion(+)
diff --git
- USB 2.0 port
- 4x LED
- UART over Micro-USB
- M.2 slot (2280)
- Mini PCI-E slot
Additionally support for importing Marvell hw_info formatted environments
is added to fully support the board.
Luka Kovacic (3):
cmd: mvebu: Implement the Marvell hw_info command
arm: mvebu: mvebu_armada-37xx
On Fri, Feb 5, 2021 at 11:40 PM Tom Rini wrote:
>
> On Fri, Feb 05, 2021 at 11:36:25PM +0100, Luka Kovacic wrote:
> > On Fri, Feb 5, 2021 at 11:04 PM Tom Rini wrote:
> > >
> > > On Fri, Feb 05, 2021 at 11:02:23PM +0100, Luka Kovacic wrote:
> > > > Hell
On Fri, Feb 5, 2021 at 11:04 PM Tom Rini wrote:
>
> On Fri, Feb 05, 2021 at 11:02:23PM +0100, Luka Kovacic wrote:
> > Hello Tom,
> >
> > On Thu, Feb 4, 2021 at 6:06 PM Tom Rini wrote:
> > >
> > > On Thu, Feb 04, 2021 at 11:46:35AM +0100, Luka Kovacic w
Hello Tom,
On Thu, Feb 4, 2021 at 6:06 PM Tom Rini wrote:
>
> On Thu, Feb 04, 2021 at 11:46:35AM +0100, Luka Kovacic wrote:
>
> > The '-h' flag is added to the 'env import' command to enable parsing
> > Marvell hw_info formatted environments.
> > This format is often u
-by: Luka Kovacic
Cc: Luka Perkov
Cc: Robert Marko
---
arch/arm/dts/Makefile | 1 +
.../arm/dts/armada-3720-espressobin-ultra.dts | 202 ++
board/Marvell/mvebu_armada-37xx/MAINTAINERS | 8 +
board/Marvell/mvebu_armada-37xx/board.c | 76
Add the loadaddr U-Boot environment variable, as this is available in
the stock Marvell U-Boot by default on Marvell Armada A37XX platforms.
Signed-off-by: Luka Kovacic
Cc: Luka Perkov
Cc: Robert Marko
---
include/configs/mvebu_armada-37xx.h | 1 +
1 file changed, 1 insertion(+)
diff --git
om
SPI flash
=> env import -h ${loadaddr}
Signed-off-by: Luka Kovacic
Cc: Luka Perkov
Cc: Robert Marko
---
cmd/nvedit.c| 22 ++
lib/hashtable.c | 2 +-
2 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/cmd/nvedit.c b/cmd/nvedit.c
index d0d2eca904..e
- USB 2.0 port
- 4x LED
- UART over Micro-USB
- M.2 slot (2280)
- Mini PCI-E slot
Additionally support for importing Marvell hw_info formatted environments
is added to fully support the board.
Luka Kovacic (3):
cmd: env: Add 'env import -h' for Marvell hw_info formatted
environments
arm
Add Luka Perkov to Puzzle-M801 BOARD MAINTAINERS.
Signed-off-by: Luka Kovacic
Cc: Luka Perkov
---
board/Marvell/mvebu_armada-8k/MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/Marvell/mvebu_armada-8k/MAINTAINERS
b/board/Marvell/mvebu_armada-8k/MAINTAINERS
index
Hello Stefan,
Can you please review the patchset?
Is there anything that should be resolved?
Thanks,
Luka
On Sat, Aug 29, 2020 at 12:36 AM Luka Kovacic wrote:
>
> This patchset adds board support for the iEi Puzzle-M801 1U Rackmount
> Network Appliance.
>
> The board is based o
Add support for the marvell,armada8040-puzzle-m801 compatible string
in the board/Marvell/mvebu_armada-8k/board.c file to initialize the
networking on iEi Puzzle-M801 board (2x CP1 1 Gb ports).
Signed-off-by: Luka Kovacic
Cc: Luka Perkov
---
board/Marvell/mvebu_armada-8k/board.c | 20
* CP1 Serdes Configuration:
+* Lane 0: PCIe0 (x2)
+* Lane 1: PCIe0 (x2)
+* Lane 2: USB HOST 0
+* Lane 3: SGMII1
+* Lane 4: SFI (10G)
+ * Lane 5: SGMII2
+*/
+ phy0 {
+ phy-type = ;
+ };
+ phy1 {
+
1 GbE RJ45 (Marvell 88E1512P)
2x USB 3.0
1x RJ45 UART
Luka Kovacic (2):
arm: mvebu: Initial iEi Puzzle-M801 support
arm: mvebu: mvebu_armada-8k: Add support for initializing iEi
Puzzle-M801 networking
arch/arm/dts/Makefile | 1 +
arch/arm/dts/armada-8040-puzzle
Add Luka Perkov to CRS3xx-98DX3236 MAINTAINERS.
Signed-off-by: Luka Kovacic
Cc: Luka Perkov
Cc: Jakov Petrina
---
board/mikrotik/crs3xx-98dx3236/MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/mikrotik/crs3xx-98dx3236/MAINTAINERS
b/board/mikrotik/crs3xx-98dx3236
Update the MikroTik CRS305-1G-4S flash layout to support redundant UBI
partitions.
Additionally enable the UBI commands in crs305-1g-4s_defconfig.
Signed-off-by: Luka Kovacic
Cc: Luka Perkov
Cc: Jakov Petrina
---
arch/arm/dts/armada-xp-crs305-1g-4s.dtsi | 10 +-
configs/crs305-1g
is added for each of the boards.
These boards were modified to use a bigger Macronix flash.
This work is a follow-up on the previous patch, which prepared the board
support for CRS3xx-98DX3236 boards.
Luka Kovacic (5):
arm: mvebu: Add CRS305-1G-4S Bit board
arm: mvebu: Add CRS326-24G-2S board
arm
-off-by: Luka Kovacic
Cc: Luka Perkov
Cc: Jakov Petrina
---
arch/arm/dts/Makefile | 2 +
.../dts/armada-xp-crs328-4c-20s-4s-bit.dts| 43 +++
.../armada-xp-crs328-4c-20s-4s-u-boot.dtsi| 13 +++
arch/arm/dts/armada-xp-crs328-4c-20s-4s.dts | 17 +++
arch
MikroTik CRS305-1G-4S Bit board has a switch chip with an integrated
Marvell Prestera 98DX3236 CPU.
The Bit board variant is added, which has a bigger Macronix flash.
Add basic U-Boot, UART and Winbond SPI flash support.
Signed-off-by: Luka Kovacic
Cc: Luka Perkov
Cc: Jakov Petrina
---
arch
-by: Luka Kovacic
Cc: Luka Perkov
Cc: Jakov Petrina
---
arch/arm/dts/Makefile | 2 +
arch/arm/dts/armada-xp-crs326-24g-2s-bit.dts | 43 +++
.../dts/armada-xp-crs326-24g-2s-u-boot.dtsi | 13 +++
arch/arm/dts/armada-xp-crs326-24g-2s.dts | 17 +++
arch/arm
Convert the CRS305-1G-4S board to CRS3xx-98DX3236 to enable easier
implementation of new CRS3xx series boards, based on Marvell Prestera
98DX3236.
Signed-off-by: Luka Kovacic
Cc: Luka Perkov
Cc: Jakov Petrina
---
Changes for v2:
- Fix the patch failing to merge into the current U-Boot tree
Convert the CRS305-1G-4S board to CRS3xx-98DX3236 to enable easier
implementation of new CRS3xx series boards, based on Marvell Prestera
98DX3236.
Signed-off-by: Luka Kovacic
Cc: Luka Perkov
Cc: Jakov Petrina
---
Changes for v2:
- Fix the patch failing to merge into the current U-Boot tree
Convert the CRS305-1G-4S board to CRS3xx-98DX3236 to enable easier
implementation of new CRS3xx series boards, based on Marvell Prestera
98DX3236.
Signed-off-by: Luka Kovacic
Cc: Luka Perkov
Cc: Jakov Petrina
---
arch/arm/dts/armada-xp-crs305-1g-4s.dts | 103 +---
arch/arm
From: Josip Kelečić
Sort the Armada series dts in the Makefile alphabetically
prior to adding new board support.
Signed-off-by: Josip Kelečić
Reviewed-by: Luka Kovacic
Cc: Luka Perkov
---
arch/arm/dts/Makefile | 20 ++--
1 file changed, 10 insertions(+), 10 deletions
From: Luka Kovacic
Update the command return values to CMD_RET_SUCCESS and
CMD_RET_FAILURE in commands documentation.
Signed-off-by: Luka Kovacic
---
doc/README.commands | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/README.commands b/doc/README.commands
index
From: Luka Kovacic
Adds the command return value to the help text, since pin value
is returned.
Cc: Luka Perkov
Signed-off-by: Luka Kovacic
---
cmd/gpio.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cmd/gpio.c b/cmd/gpio.c
index eff36ab2af..e57d3fb638 100644
and doesn't
use the pin value as a return value.
Should this be changed, since users may rely on this in scripts?
What would be the best workaround?
Luka Kovacic (1):
cmd: gpio: Correct do_gpio() return value
cmd/gpio.c | 22 +-
doc/README.commands | 4 ++--
2 files
when
debugging (#define DEBUG).
Signed-off-by: Luka Kovacic
Tested-by: Robert Marko
---
cmd/gpio.c | 22 +-
doc/README.commands | 4 ++--
2 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/cmd/gpio.c b/cmd/gpio.c
index eff36ab2af..67eef83c95 100644
On 2019-06-26 07:17, Stefan Roese wrote:
On 25.06.19 13:57, Luka Kovacic wrote:
This change enables CMD_BOOTZ and increases SYS_BOOTM_LEN to
make it easier to work with kernel images.
Signed-off-by: Luka Kovacic
Reviewed-by: Stefan Roese
Thanks,
Stefan
Hi,
When will the patch be applied
This change enables CMD_BOOTZ and increases SYS_BOOTM_LEN to
make it easier to work with kernel images.
Signed-off-by: Luka Kovacic
---
configs/crs305-1g-4s_defconfig | 1 +
include/configs/crs305-1g-4s.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/crs305-1g-4s_defconfig b
chip
support and writing env to SPI flash.
Signed-off-by: Luka Kovacic
---
v1:
- arch/arm/dts: Remove unused parameters in DTS for crs305-1g-4s
- arch/arm/mach-mvebu: Set the proper processor for crs305-1g-4s
(98DX3236)
Changes for v2:
- board/mikrotik/crs305-1g-4s: Enable
chip
support and writing env to SPI flash.
Signed-off-by: Luka Kovacic
---
v1:
- arch/arm/dts: Remove unused parameters in DTS for crs305-1g-4s
- arch/arm/mach-mvebu: Set the proper processor for crs305-1g-4s
(98DX3236)
Changes for v2:
- board/mikrotik/crs305-1g-4s: Enable
)
Signed-off-by: Luka Kovacic
---
arch/arm/dts/Makefile | 3 +-
.../dts/armada-xp-crs305-1g-4s-u-boot.dtsi| 13 +++
arch/arm/dts/armada-xp-crs305-1g-4s.dts | 110 ++
arch/arm/mach-mvebu/Kconfig | 7 ++
board/mikrotik/crs305-1g
I have commented out the code around MVEBU_GPIO1_BASE.
GPIO1 is a software reset button on the board, I might
use it later for resetting the board.
GPIO0 is already working. It's currently used to turn
on an LED on board initialization.
Luka Kovacic (1):
arm: mvebu: Add CRS305-1G-4S board
chip
support and writing env to SPI flash.
arch/arm/dts: Remove unused parameters in DTS for crs305-1g-4s
arch/arm/mach-mvebu: Set the proper processor for crs305-1g-4s
(98DX3236)
board/mikrotik/crs305-1g-4s: Enable CONFIG_DISPLAY_BOARDINFO
Signed-off-by: Luka Kovacic
---
arch/arm/dts/Makefile
This is the corrected patch.
I enabled CONFIG_DISPLAY_BOARDINFO in the defconfig.
Luka Kovacic (1):
arm: mvebu: Add CRS305-1G-4S board
arch/arm/dts/Makefile | 3 +-
.../dts/armada-xp-crs305-1g-4s-u-boot.dtsi| 13 +++
arch/arm/dts/armada-xp-crs305-1g-4s.dts
support later, in a new set of
patches.
Luka Kovacic (1):
arm: mvebu: Add CRS305-1G-4S board
arch/arm/dts/Makefile | 3 +-
.../dts/armada-xp-crs305-1g-4s-u-boot.dtsi| 13 +++
arch/arm/dts/armada-xp-crs305-1g-4s.dts | 110 ++
arch/arm/mach
chip support and
writing env to SPI flash.
arch/arm/dts: Remove unused parameters in DTS for crs305-1g-4s
arch/arm/mach-mvebu: Set the proper processor for crs305-1g-4s (98DX3236)
Signed-off-by: Luka Kovacic
---
arch/arm/dts/Makefile | 3 +-
.../dts/armada-xp-crs305
default "mikrotik" if TARGET_CRS305_1G_4S
config SYS_SOC
default "mvebu"
diff --git a/board/mikrotik/crs305-1g-4s/.gitignore
b/board/mikrotik/crs305-1g-4s/.gitignore
new file mode 100644
index 00..775b9346b8
--- /dev/null
+++ b/board/mikrotik/crs305-1
support later, in a new set of
patches.
Luka Kovacic (1):
arm: mvebu: Add CRS305-1G-4S board
arch/arm/dts/Makefile | 3 +-
.../dts/armada-xp-crs305-1g-4s-u-boot.dtsi| 13 +++
arch/arm/dts/armada-xp-crs305-1g-4s.dts | 110 ++
arch/arm/mach
69 matches
Mail list logo