Re: [PATCH 1/2] arm: mvebu: Implement the mac command (Marvell hw_info)

2021-10-13 Thread Luka Kovacic
> > 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

Re: [PATCH 1/2] arm: mvebu: Implement the mac command (Marvell hw_info)

2021-10-11 Thread Luka Kovacic
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

Re: [PATCH 1/2] arm: mvebu: Implement the mac command (Marvell hw_info)

2021-10-11 Thread Luka Kovacic
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

Re: [PATCH 1/2] arm: mvebu: Implement the mac command (Marvell hw_info)

2021-10-08 Thread Luka Kovacic
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.

Re: [PATCH v3 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support

2021-09-27 Thread Luka Kovacic
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

Re: [PATCH v3 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support

2021-08-16 Thread Luka Kovacic
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

Re: [PATCH v3 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support

2021-08-16 Thread Luka Kovacic
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: > > > >

Re: [PATCH v3 2/3] arm: mvebu: mvebu_armada-37xx: Define the loadaddr environment variable

2021-08-16 Thread Luka Kovacic
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. > >

Re: [PATCH v3 1/3] arm: mvebu: mvebu_armada-37xx: Implement the mac command (Marvell hw_info)

2021-08-13 Thread Luka Kovacic
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

Re: [PATCH v3 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support

2021-08-13 Thread Luka Kovacic
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

Re: [PATCH v3 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support

2021-08-13 Thread Luka Kovacic
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

Re: [PATCH v3 1/3] arm: mvebu: mvebu_armada-37xx: Implement the mac command (Marvell hw_info)

2021-08-13 Thread Luka Kovacic
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

Re: [PATCH v3 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support

2021-08-13 Thread Luka Kovacic
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

Re: [PATCH v3 1/3] arm: mvebu: mvebu_armada-37xx: Implement the mac command (Marvell hw_info)

2021-08-13 Thread Luka Kovacic
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

Re: [PATCH v3 2/3] arm: mvebu: mvebu_armada-37xx: Define the loadaddr environment variable

2021-08-13 Thread Luka Kovacic
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

Re: [PATCH v3 1/3] arm: mvebu: mvebu_armada-37xx: Implement the mac command (Marvell hw_info)

2021-08-13 Thread Luka Kovacic
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

Re: [PATCH v3 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support

2021-08-13 Thread Luka Kovacic
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

Re: [PATCH v3 2/3] arm: mvebu: mvebu_armada-37xx: Define the loadaddr environment variable

2021-08-13 Thread Luka Kovacic
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. &

[PATCH v3 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support

2021-08-12 Thread Luka Kovacic
. 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

[PATCH v3 1/3] arm: mvebu: mvebu_armada-37xx: Implement the mac command (Marvell hw_info)

2021-08-12 Thread Luka Kovacic
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

[PATCH v3 2/3] arm: mvebu: mvebu_armada-37xx: Define the loadaddr environment variable

2021-08-12 Thread Luka Kovacic
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

[PATCH v3 0/3] Add support for the GST ESPRESSOBin-Ultra board

2021-08-12 Thread Luka Kovacic
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

Re: [PATCH 1/3] cmd: mvebu: Implement the Marvell hw_info command

2021-08-11 Thread Luka Kovacic
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

Re: [PATCH v2 1/3] cmd: mvebu: Implement the Marvell hw_info command

2021-02-28 Thread Luka Kovacic
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]

Re: [PATCH v2 1/3] cmd: mvebu: Implement the Marvell hw_info command

2021-02-28 Thread Luka Kovacic
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

Re: [PATCH v2 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support

2021-02-28 Thread Luka Kovacic
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

Re: [PATCH v2 2/3] arm: mvebu: mvebu_armada-37xx: Define the loadaddr environment variable

2021-02-28 Thread Luka Kovacic
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. &

[PATCH v2 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support

2021-02-15 Thread Luka Kovacic
-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

[PATCH v2 1/3] cmd: mvebu: Implement the Marvell hw_info command

2021-02-15 Thread Luka Kovacic
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

[PATCH v2 2/3] arm: mvebu: mvebu_armada-37xx: Define the loadaddr environment variable

2021-02-15 Thread Luka Kovacic
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

[PATCH v2 0/3] Add support for the GST ESPRESSOBin-Ultra board

2021-02-15 Thread Luka Kovacic
- 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

Re: [PATCH 1/3] cmd: env: Add 'env import -h' for Marvell hw_info formatted environments

2021-02-05 Thread Luka Kovacic
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

Re: [PATCH 1/3] cmd: env: Add 'env import -h' for Marvell hw_info formatted environments

2021-02-05 Thread Luka Kovacic
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

Re: [PATCH 1/3] cmd: env: Add 'env import -h' for Marvell hw_info formatted environments

2021-02-05 Thread Luka Kovacic
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

[PATCH 3/3] arm: mvebu: Initial ESPRESSOBin-Ultra board support

2021-02-04 Thread Luka Kovacic
-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

[PATCH 2/3] arm: mvebu: mvebu_armada-37xx: Define the loadaddr environment variable

2021-02-04 Thread Luka Kovacic
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

[PATCH 1/3] cmd: env: Add 'env import -h' for Marvell hw_info formatted environments

2021-02-04 Thread Luka Kovacic
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

[PATCH 0/3] Add support for the GST ESPRESSOBin-Ultra board

2021-02-04 Thread Luka Kovacic
- 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

[PATCH] arm: mvebu: puzzle-m801: Add a maintainer

2020-10-29 Thread Luka Kovacic
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

Re: [PATCH 0/2] iEi Puzzle-M801 board support

2020-09-14 Thread Luka Kovacic
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

[PATCH 2/2] arm: mvebu: mvebu_armada-8k: Add support for initializing iEi Puzzle-M801 networking

2020-08-28 Thread Luka Kovacic
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

[PATCH 1/2] arm: mvebu: Initial iEi Puzzle-M801 support

2020-08-28 Thread Luka Kovacic
* 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 { +

[PATCH 0/2] iEi Puzzle-M801 board support

2020-08-28 Thread Luka Kovacic
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

[PATCH 4/5] arm: mvebu: crs3xx-98dx3236: Add a maintainer

2020-07-23 Thread Luka Kovacic
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

[PATCH 5/5] arm: mvebu: Update CRS305-1G-4S board flash layout

2020-07-23 Thread Luka Kovacic
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

[PATCH 0/5] Add support for a series of MikroTik CRS3xx switches

2020-07-23 Thread Luka Kovacic
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

[PATCH 3/5] arm: mvebu: Add CRS328-4C-20S-4S board

2020-07-23 Thread Luka Kovacic
-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

[PATCH 1/5] arm: mvebu: Add CRS305-1G-4S Bit board

2020-07-23 Thread Luka Kovacic
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

[PATCH 2/5] arm: mvebu: Add CRS326-24G-2S board

2020-07-23 Thread Luka Kovacic
-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

[PATCH v3] arm: mvebu: Convert CRS305-1G-4S board to CRS3xx-98DX3236

2020-05-26 Thread Luka Kovacic
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

[PATCH v2] arm: mvebu: Convert CRS305-1G-4S board to CRS3xx-98DX3236

2020-05-07 Thread Luka Kovacic
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

[PATCH] arm: mvebu: Convert CRS305-1G-4S board to CRS3xx-98DX3236

2020-05-07 Thread Luka Kovacic
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

[PATCH 1/1] arm: mvebu: dts: Sort Armada series dts alphabetically

2020-03-20 Thread luka . kovacic
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

[PATCH 1/2 v1] cmd: doc: Update command return values

2020-01-26 Thread luka . kovacic
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

[PATCH 2/2 v1] cmd: gpio: Add the command return value to the help text

2020-01-26 Thread luka . kovacic
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

[PATCH 0/1 v1] cmd: gpio: Correct do_gpio() return value

2020-01-06 Thread Luka Kovacic
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

[PATCH 1/1 v1] cmd: gpio: Correct do_gpio() return value

2020-01-06 Thread Luka Kovacic
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

Re: [U-Boot] [PATCH 1/1 v1] arm: mvebu: crs305-1g-4s: Enable CMD_BOOTZ and increase SYS_BOOTM_LEN

2019-07-10 Thread Luka Kovacic
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

[U-Boot] [PATCH 1/1 v1] arm: mvebu: crs305-1g-4s: Enable CMD_BOOTZ and increase SYS_BOOTM_LEN

2019-06-25 Thread Luka Kovacic
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

[U-Boot] [PATCH 1/1 v4] arm: mvebu: Add CRS305-1G-4S board

2019-05-07 Thread Luka Kovacic
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

[U-Boot] [PATCH 1/1 v3] arm: mvebu: Add CRS305-1G-4S board

2019-05-06 Thread Luka Kovacic
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

[U-Boot] [PATCH 1/1] arm: mvebu: Add CRS305-1G-4S board

2019-05-03 Thread Luka Kovacic
) 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

[U-Boot] [PATCH 0/1] Add MikroTik CRS305-1G-4S+IN board support

2019-05-03 Thread Luka Kovacic
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

[U-Boot] [PATCH 1/1] arm: mvebu: Add CRS305-1G-4S board

2019-05-03 Thread Luka Kovacic
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

[U-Boot] [PATCH 0/1] Add MikroTik CRS305-1G-4S+IN board support

2019-05-03 Thread Luka Kovacic
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

[U-Boot] [PATCH 0/1] [RESEND] Add MikroTik CRS305-1G-4S+IN board support

2019-05-02 Thread Luka Kovacic
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

[U-Boot] [PATCH 1/1] [RESEND] arm: mvebu: Add CRS305-1G-4S board

2019-05-02 Thread Luka Kovacic
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

[U-Boot] [PATCH 1/1] arm: mvebu: Add CRS305-1G-4S board

2019-05-02 Thread Luka Kovacic
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

[U-Boot] [PATCH 0/1] Add MikroTik CRS305-1G-4S+IN board support

2019-05-02 Thread Luka Kovacic
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