[PATCH v3 4/4] arm: kirkwood: Pogoplug-V4 : Add board implementation files

2022-01-17 Thread Tony Dinh
rewritten to use livetree calls. Signed-off-by: Tony Dinh --- Changes in v3: - Squash board file small patches into one patch Changes in v2: - Move constants to .c file and remove header file board/cloudengines/pogo_v4/MAINTAINERS | 6 + board/cloudengines/pogo_v4/Makefile | 10 ++ board

Re: [PATCH v3 4/4] arm: kirkwood: Pogoplug-V4 : Add board implementation files

2022-01-18 Thread Tony Dinh
Hi Stefan, On Mon, Jan 17, 2022 at 11:54 PM Stefan Roese wrote: > > On 1/18/22 07:58, Tony Dinh wrote: > > Note: currently the fdt_get_phy_addr function in this file is > > duplicate in this board and many other Kirkwood boards > > (eg. Sheevaplug, GoFlex Home, etc.)

Re: [PATCH v3 4/4] arm: kirkwood: Pogoplug-V4 : Add board implementation files

2022-01-19 Thread Tony Dinh
fHi Stefan, On Wed, Jan 19, 2022 at 6:37 AM Stefan Roese wrote: > > Hi Tony, > > On 1/19/22 02:31, Tony Dinh wrote: > > > > >>> +#if defined(CONFIG_RESET_PHY_R) > >>> +/* Configure and initialize PHY */ > >>> +void reset_phy(vo

[RESEND PATCH v3 0/4] arm: kirkwood: Add support for Pogoplug V4

2022-01-19 Thread Tony Dinh
emove header file - Use canonical format for defconfig file Tony Dinh (4): arm: kirkwood: Pogoplug-V4 : Add DTS files arm: kirkwood: Pogoplug-V4 : Add Kconfig files arm: kirkwood: Pogoplug-V4 : Add board implementation files arm: kirkwood: Pogoplug V4 : Add board include header and defconfig

[RESEND PATCH v3 1/4] arm: kirkwood: Pogoplug-V4 : Add DTS files

2022-01-19 Thread Tony Dinh
Add DTS files for Pogoplug V4 board Reviewed-by: Stefan Roese Signed-off-by: Tony Dinh --- (no changes since v2) Changes in v2: - Use mainline Linux DTS version arch/arm/dts/Makefile | 1 + arch/arm/dts/kirkwood-pogoplug-series-4.dts | 180 2

[RESEND PATCH v3 2/4] arm: kirkwood: Pogoplug-V4 : Add Kconfig files

2022-01-19 Thread Tony Dinh
Add Kconfig files for Pogoplug V4 board Signed-off-by: Tony Dinh --- Changes in v3: - Migrate symbols from board include header to Kconfig arch/arm/mach-kirkwood/Kconfig | 6 ++ board/cloudengines/pogo_v4/Kconfig | 16 2 files changed, 22 insertions(+) create mode

[RESEND PATCH v3 3/4] arm: kirkwood: Pogoplug-V4 : Add board implementation files

2022-01-19 Thread Tony Dinh
rewritten to use livetree calls. Signed-off-by: Tony Dinh --- Changes in v3: - Squash board file small patches into one patch Changes in v2: - Move constants to .c file and remove header file board/cloudengines/pogo_v4/MAINTAINERS | 6 + board/cloudengines/pogo_v4/Makefile | 10 ++ board

[RESEND PATCH v3 4/4] arm: kirkwood: Pogoplug V4 : Add board include header and defconfig files

2022-01-19 Thread Tony Dinh
Add board include header and defconfig files for Pogoplug V4 Signed-off-by: Tony Dinh --- Changes in v3: - Migrate config symbols from board include header to defconfig - Remove obsolete config symbols from header file - Don't use ifdefs for unselectable config symbols in header file Ch

Re: [RESEND PATCH v3 4/4] arm: kirkwood: Pogoplug V4 : Add board include header and defconfig files

2022-01-20 Thread Tony Dinh
Hi Stefan, On Thu, Jan 20, 2022 at 3:55 AM Stefan Roese wrote: > > Hi Tony, > > On 1/20/22 01:28, Tony Dinh wrote: > > Add board include header and defconfig files for Pogoplug V4 > > > > Signed-off-by: Tony Dinh > > --- > > > > Changes in v3:

[PATCH v4 0/4] arm: kirkwood: Add support for Pogoplug V4

2022-01-20 Thread Tony Dinh
eader file Changes in v2: - Use mainline Linux DTS version - Move constants to .c file and remove header file - Use canonical format for defconfig file Tony Dinh (4): arm: kirkwood: Pogoplug-V4 : Add DTS files arm: kirkwood: Pogoplug-V4 : Add Kconfig files arm: kirkwood: Pogoplug-V4 : Add

[PATCH v4 1/4] arm: kirkwood: Pogoplug-V4 : Add DTS files

2022-01-20 Thread Tony Dinh
Add DTS files for Pogoplug V4 board Reviewed-by: Stefan Roese Signed-off-by: Tony Dinh --- (no changes since v2) Changes in v2: - Use mainline Linux DTS version arch/arm/dts/Makefile | 1 + arch/arm/dts/kirkwood-pogoplug-series-4.dts | 180 2

[PATCH v4 2/4] arm: kirkwood: Pogoplug-V4 : Add Kconfig files

2022-01-20 Thread Tony Dinh
Add Kconfig files for Pogoplug V4 board Signed-off-by: Tony Dinh --- (no changes since v3) Changes in v3: - Migrate symbols from board include header to Kconfig arch/arm/mach-kirkwood/Kconfig | 6 ++ board/cloudengines/pogo_v4/Kconfig | 16 2 files changed, 22

[PATCH v4 3/4] arm: kirkwood: Pogoplug-V4 : Add board implementation files

2022-01-20 Thread Tony Dinh
rewritten to use livetree calls. Signed-off-by: Tony Dinh --- (no changes since v3) Changes in v3: - Squash board file small patches into one patch Changes in v2: - Move constants to .c file and remove header file board/cloudengines/pogo_v4/MAINTAINERS | 6 + board/cloudengines/pogo_v4/Makefile

[PATCH v4 4/4] arm: kirkwood: Pogoplug V4 : Add board include header and defconfig files

2022-01-20 Thread Tony Dinh
Add board include header and defconfig files for Pogoplug V4 Signed-off-by: Tony Dinh --- Changes in v4: - Remove CONFIG_FEATURE_COMMAND_EDITING and ifdefs for CMD_NET in include header Changes in v3: - Migrate config symbols from board include header to defconfig - Remove obsolete config

Re: [PATCH v3 4/4] arm: kirkwood: Pogoplug-V4 : Add board implementation files

2022-01-21 Thread Tony Dinh
Hi Stefan, On Wed, Jan 19, 2022 at 3:23 PM Tony Dinh wrote: > > fHi Stefan, > > On Wed, Jan 19, 2022 at 6:37 AM Stefan Roese wrote: > > > > Hi Tony, > > > > On 1/19/22 02:31, Tony Dinh wrote: > > > > > > > > >>> +#if

Re: [PATCH v4 3/4] arm: kirkwood: Pogoplug-V4 : Add board implementation files

2022-01-21 Thread Tony Dinh
Hi Pali and Stefan, On Fri, Jan 21, 2022 at 2:01 AM Pali Rohár wrote: > > On Thursday 20 January 2022 17:50:54 Tony Dinh wrote: > > diff --git a/board/cloudengines/pogo_v4/pogo_v4.c > > b/board/cloudengines/pogo_v4/pogo_v4.c > > new file mode 100644 > > index 0

Re: [PATCH v4 3/4] arm: kirkwood: Pogoplug-V4 : Add board implementation files

2022-01-22 Thread Tony Dinh
Hi Pali, On Fri, Jan 21, 2022 at 1:33 PM Tony Dinh wrote: > > Hi Pali and Stefan, > > On Fri, Jan 21, 2022 at 2:01 AM Pali Rohár wrote: > > > > On Thursday 20 January 2022 17:50:54 Tony Dinh wrote: > > > diff --git a/board/cloudengines/pogo_v4/pogo_v4.c &

[PATCH v5 0/3] arm: kirkwood: Add support for Pogoplug V4

2022-01-23 Thread Tony Dinh
fdefs for unselectable config symbols in header file Changes in v2: - Use mainline Linux DTS version - Move constants to .c file and remove header file - Use canonical format for defconfig file Tony Dinh (3): arm: kirkwood: Pogoplug-V4 : Add DTS files arm: kirkwood: Pogoplug-V4 : Add Kconfig

[PATCH v5 1/3] arm: kirkwood: Pogoplug-V4 : Add DTS files

2022-01-23 Thread Tony Dinh
Add DTS files for Pogoplug V4 board Reviewed-by: Stefan Roese Signed-off-by: Tony Dinh --- (no changes since v2) Changes in v2: - Use mainline Linux DTS version arch/arm/dts/Makefile | 1 + arch/arm/dts/kirkwood-pogoplug-series-4.dts | 180 2

[PATCH v5 2/3] arm: kirkwood: Pogoplug-V4 : Add Kconfig files

2022-01-23 Thread Tony Dinh
Add Kconfig files for Pogoplug V4 board Signed-off-by: Tony Dinh --- (no changes since v3) Changes in v3: - Migrate symbols from board include header to Kconfig arch/arm/mach-kirkwood/Kconfig | 6 ++ board/cloudengines/pogo_v4/Kconfig | 16 2 files changed, 22

[PATCH v5 3/3] arm: kirkwood: Pogoplug-V4 : Add board implementation files

2022-01-23 Thread Tony Dinh
Add board header, defconfig, and implementation files for Pogoplug V4. Signed-off-by: Tony Dinh --- Changes in v5: - Currently, CONFIG_RESET_PHY_R symbol is used in arch/arm/mach-kirkwood/include/mach/config.h for all Kirkwood boards with mv8831116 PHY, with each board defines the function

Re: [PATCH v5 3/3] arm: kirkwood: Pogoplug-V4 : Add board implementation files

2022-01-24 Thread Tony Dinh
Hi Stefan, On Mon, Jan 24, 2022 at 1:41 AM Stefan Roese wrote: > > On 1/24/22 07:17, Tony Dinh wrote: > > Add board header, defconfig, and implementation files for Pogoplug V4. > > > > Signed-off-by: Tony Dinh > > --- > > > > Changes in v5: > > -

Re: [PATCH v5 3/3] arm: kirkwood: Pogoplug-V4 : Add board implementation files

2022-01-24 Thread Tony Dinh
Hi Stefan, On Mon, Jan 24, 2022 at 2:25 AM Tony Dinh wrote: > > Hi Stefan, > > On Mon, Jan 24, 2022 at 1:41 AM Stefan Roese wrote: > > > > On 1/24/22 07:17, Tony Dinh wrote: > > > Add board header, defconfig, and implementation files for Pogoplug V4. >

[PATCH] arm: kirkwood: Pogoplug V4 : Use Marvel network PHY driver

2022-01-25 Thread Tony Dinh
-by: Tony Dinh --- configs/pogo_v4_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/pogo_v4_defconfig b/configs/pogo_v4_defconfig index 5490067b9e..1cf409c834 100644 --- a/configs/pogo_v4_defconfig +++ b/configs/pogo_v4_defconfig @@ -62,6 +62,7 @@ CONFIG_KIRKWOOD_GPIO=y

[RESEND PATCH] arm: kirkwood: Pogoplug V4 : Use Marvell network PHY driver

2022-01-25 Thread Tony Dinh
/ Signed-off-by: Tony Dinh --- configs/pogo_v4_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/pogo_v4_defconfig b/configs/pogo_v4_defconfig index 5490067b9e..1cf409c834 100644 --- a/configs/pogo_v4_defconfig +++ b/configs/pogo_v4_defconfig @@ -62,6 +62,7

Re: [PATCH] arm: kirkwood: Pogoplug V4 : Use Marvel network PHY driver

2022-01-25 Thread Tony Dinh
Hi Stefan, On Tue, Jan 25, 2022 at 7:49 AM Stefan Roese wrote: > > On 1/25/22 10:48, Tony Dinh wrote: > > The Pogoplug V4 board has the network chip Marvell 88E1118R. So to > > properly configure the network, enable CONFIG_PHY_MARVELL to activate > > the driver M88E111

[PATCH] arm: kirkwood: GoFlex Home : Use Marvell uclass mvgbe and PHY driver for Ethernet

2022-01-25 Thread Tony Dinh
BIT macro, and cleanup comments. Signed-off-by: Tony Dinh --- board/Seagate/goflexhome/goflexhome.c | 84 --- configs/goflexhome_defconfig | 2 + include/configs/goflexhome.h | 32 +++--- 3 files changed, 22 insertions(+), 96 deletions(-) diff

[PATCH] arm: kirkwood: Dreamplug : Use Marvell uclass mvgbe and PHY driver for Ethernet

2022-01-30 Thread Tony Dinh
to be orphaned, could not contact Jason Cooper using current email). - Miscellaneous changes: Move constants to .c file and remove header file board/Marvell/dreamplug/dreamplug.h, cleanup comments. Signed-off-by: Tony Dinh --- board/Marvell/dreamplug/MAINTAINERS | 1 + board/Marvell/dreamplug

[PATCH] arm: kirkwood: iConnect : Add Ethernet support

2022-02-01 Thread Tony Dinh
Ethernet. - Miscellaneous changes: Move constants to .c file and remove header file board/iomega/iconnect/iconnect.h. Add CONFIG_HUSH_PARSER, use BIT macro, and cleanup comments. Signed-off-by: Tony Dinh --- board/iomega/iconnect/iconnect.c | 17 ++--- board/iomega/iconnect/iconnect.h | 24

[RESEND PATCH] arm: kirkwood: Dockstar : Add DM Ethernet

2022-02-03 Thread Tony Dinh
/project/uboot/patch/20210812051854.1340-2-mibo...@gmail.com/ Signed-off-by: Tony Dinh --- board/Seagate/dockstar/dockstar.c | 62 ++- board/Seagate/dockstar/dockstar.h | 27 -- configs/dockstar_defconfig| 5 +++ include/configs/dockstar.h

Marvell Avanta UART booting

2022-02-06 Thread Tony Dinh
Hi Pali, I've also tried the latest kwboot with the Marvell Avanta SoC. AFAICT, it works fine. Board: ActionTec MI424WR-I SoC: 88F6560 A0 Thanks, Tony

Re: [PATCH] tools/mrvl_uart.sh: Remove script

2022-02-07 Thread Tony Dinh
Most Kirwood boards work with the current kwboot. And those boards have the BootROM version 1.2.1. For a few that don't, mrvl_uart.sh does not work either. And that is due to the defect in the BootROM version 1.1.1. Thanks! Reviewed-by: Tony Dinh On Sun, Feb 6, 2022 at 11:27 PM M

Re: Marvell Avanta UART booting

2022-02-07 Thread Tony Dinh
Hi Pali, On Mon, Feb 7, 2022 at 12:44 AM Pali Rohár wrote: > > On Sunday 06 February 2022 15:37:53 Tony Dinh wrote: > > Hi Pali, > > > > I've also tried the latest kwboot with the Marvell Avanta SoC. AFAICT, > > it works fine. > > > > B

[PATCH] arm: kirkwood: Pogoplug E02 : Convert Ethernet to Driver Model

2022-02-08 Thread Tony Dinh
-off-by: Tony Dinh --- board/cloudengines/pogo_e02/pogo_e02.c | 51 +++--- board/cloudengines/pogo_e02/pogo_e02.h | 29 --- configs/pogo_e02_defconfig | 6 ++- include/configs/pogo_e02.h | 13 ++- 4 files changed, 22 insertions(+), 77

Re: kwboot: Marvell Dove UART booting

2022-02-13 Thread Tony Dinh
Hi Pali, On Sun, Feb 13, 2022 at 1:33 PM Marek Behún wrote: > > On Sun, 13 Feb 2022 22:23:10 +0100 > Pali Rohár wrote: > > > > In that case the whole ternary operator can be dropped, i.e. instead of > > > ((hdr->ext > 1) ? (hdr->ext * 0x20) : 0) > > > you can have > > > ((hdr->ext - 1) * 0x2

Re: kwboot: Marvell Dove UART booting

2022-02-13 Thread Tony Dinh
Hi Pali, Some compile errors, please see below. On Sun, Feb 13, 2022 at 8:16 AM Pali Rohár wrote: > > On Wednesday 22 December 2021 20:08:56 Tony Dinh wrote: > > *** Run kwboot > > > > # kwboot -t -p -B 115200 /dev/ttyUSB0 -D /localdisk/mtd0.t5335z > > Patchin

Re: kwboot: Marvell Dove UART booting

2022-02-13 Thread Tony Dinh
Hi Pali, Looks different, but the BootROM did not start the image. Please see the log below. On Sun, Feb 13, 2022 at 2:48 PM Pali Rohár wrote: > > On Sunday 13 February 2022 14:45:07 Tony Dinh wrote: > > Hi Pali, > > > > Some compile errors, please see below. > >

Re: kwboot: Marvell Dove UART booting

2022-02-13 Thread Tony Dinh
Hi Pali, On Sun, Feb 13, 2022 at 3:42 PM Pali Rohár wrote: > > On Sunday 13 February 2022 15:24:46 Tony Dinh wrote: > > Hi Pali, > > > > Looks different, but the BootROM did not start the image. Please see > > the log below. > > > > On Sun,

Re: kwboot: Marvell Dove UART booting

2022-02-13 Thread Tony Dinh
Hi Pali, Please see below. On Sun, Feb 13, 2022 at 4:21 PM Pali Rohár wrote: > > On Sunday 13 February 2022 16:08:51 Tony Dinh wrote: > > Hi Pali, > > > > On Sun, Feb 13, 2022 at 3:42 PM Pali Rohár wrote: > > > > > > On Sunday 13 February 2022

Re: kwboot: Marvell Dove UART booting

2022-02-14 Thread Tony Dinh
Hi Pali, On Mon, Feb 14, 2022 at 1:58 AM Pali Rohár wrote: > > On Sunday 13 February 2022 17:10:26 Tony Dinh wrote: > > Hi Pali, > > > > Please see below. > > > > On Sun, Feb 13, 2022 at 4:21 PM Pali Rohár wrote: > > > > > > On Sunday 13 F

Re: kwboot: Marvell Dove UART booting

2022-02-15 Thread Tony Dinh
Hi Pali, On Tue, Feb 15, 2022 at 11:11 AM Pali Rohár wrote: > > On Monday 14 February 2022 14:00:19 Tony Dinh wrote: > > Hi Pali, > > > > On Mon, Feb 14, 2022 at 1:58 AM Pali Rohár wrote: > > > > > > On Sunday 13 February 2022 17:10:26 Tony Dinh wrot

Re: [PATCH u-boot-marvell 0/7] tools: kwbimage: Support for parsing extended v0 format

2022-02-16 Thread Tony Dinh
B RAM Thanks! Tested-by: Tony Dinh On Tue, Feb 15, 2022 at 10:59 AM Pali Rohár wrote: > > This patch series extends kwbimage v0 format support by providing > ability to dump content of Dove boot images (extension of v0 format). > It also fixes recognition of these images in kwboot ut

Re: kwboot: Marvell Dove UART booting

2022-02-16 Thread Tony Dinh
Hi Pali, Please see below. On Tue, Feb 15, 2022 at 3:02 PM Pali Rohár wrote: > > Hello! > > On Wednesday 22 December 2021 20:08:56 Tony Dinh wrote: > > *** With jumper inserted, serial console connected, start serial console > > > > # picocom --b 115200

Re: [PATCH] arm: kirkwood: nas220: Add DM Ethernet, SATA, GPIO

2022-02-24 Thread Tony Dinh
Hi Hajo, I've added Stefan to the reviewers. And please see a couple of minor comments below. On Thu, Feb 24, 2022 at 5:48 AM Hajo Noerenberg wrote: > > Bring the NAS220 board up to current standards. This is basically an > adaptation of the changes Tony Dinh implemented for the

Re: [PATCH 0/3] common: Add fdt network helper

2021-09-01 Thread Tony Dinh
Hey Simon, On Thu, Aug 26, 2021 at 9:00 PM Tony Dinh wrote: > > Hi Simon, > > On Tue, Aug 17, 2021 at 9:09 AM Simon Glass wrote: > > > > Hi Tony, > > > > On Sun, 15 Aug 2021 at 15:28, Tony Dinh wrote: > > > > > > Hi Simon, > >

Re: [PATCH 0/3] common: Add fdt network helper

2021-09-02 Thread Tony Dinh
Hi Simon, On Thu, Sep 2, 2021 at 9:41 AM Simon Glass wrote: > > Hi Tony, > > On Wed, 1 Sept 2021 at 03:22, Tony Dinh wrote: > > > > Hey Simon, > > > > On Thu, Aug 26, 2021 at 9:00 PM Tony Dinh wrote: > > > > > > Hi Simon, > >

[PATCH] arm: mvebu : sata_mv should probe all ports

2021-09-05 Thread Tony Dinh
is not probed at all. Patch Description: Let sata_mv_probe() continues probing all ports, even if there is error in probing a given port, and then return a successful status if there is at least one port was probed successfully. Signed-off-by: Tony Dinh --- drivers/ata/sata_mv.c | 14

[PATCH] arm: marvell: Dreamplug: fix typo in eth1 name

2021-09-06 Thread Tony Dinh
Ethernet 1 should be ethernet-controller@76000. Signed-off-by: Tony Dinh --- board/Marvell/dreamplug/dreamplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/Marvell/dreamplug/dreamplug.c b/board/Marvell/dreamplug/dreamplug.c index d5b6b22ddf..7ba14021b2 100644

Re: Testing pci_mvebu.c with Kirkwood SoCs

2021-12-11 Thread Tony Dinh
Hi Pali, On Sat, Dec 11, 2021 at 7:39 AM Pali Rohár wrote: > > On Tuesday 16 November 2021 15:02:48 Tony Dinh wrote: > > Hi Pali, > > > > On Tue, Nov 16, 2021 at 2:37 PM Pali Rohár wrote: > > > > > > On Tuesday 16 November 2021 14:26:56 Tony Dinh wrote:

Re: Testing pci_mvebu.c with Kirkwood SoCs

2021-12-14 Thread Tony Dinh
Hi Pali, On Tue, Dec 14, 2021 at 6:33 AM Pali Rohár wrote: > > On Saturday 11 December 2021 13:24:07 Tony Dinh wrote: > > Hi Pali, > > > > On Sat, Dec 11, 2021 at 7:39 AM Pali Rohár wrote: > > > > > > On Tuesday 16 November 2021 15:02:48 Tony Dinh wrot

[BUG] patman: refused to send patches because of warnings

2021-12-17 Thread Tony Dinh
Hi Simon, I tried to send in patches to add support for a new board. patman seems to hit a problem with "Bad divisor in main" error and refuses to send the patches. The warnings are not really important, are they? In some instances, we need camel cases because that is what the convention in the sp

[PATCH 0/8] arm: kirkwood: Add support for Pogoplug V4

2021-12-17 Thread Tony Dinh
Pogoplug V4 specifications: Kirkwood 88F6192 SoC 800 MHz CPU 1Gbs Ethernet 128 MB RAM 128 MB NAND 1x USB 2.0 2x USB 3.0 (on PCIe bus) 1 SDHC slot 1x External SATA port (USM enclosure form factor slot) Tony Dinh (8): arm: kirkwood: Pogoplug-V4 : Add DTS files arm: kirkwood: Pogoplug V4

[PATCH 1/8] arm: kirkwood: Pogoplug-V4 : Add DTS files

2021-12-17 Thread Tony Dinh
Add DTS files for Pogoplug V4 board Signed-off-by: Tony Dinh --- arch/arm/dts/Makefile | 1 + arch/arm/dts/kirkwood-pogoplug_v4.dts | 145 ++ 2 files changed, 146 insertions(+) create mode 100644 arch/arm/dts/kirkwood-pogoplug_v4.dts diff --git a

[PATCH 2/8] arm: kirkwood: Pogoplug V4 : Add board defconfig file

2021-12-17 Thread Tony Dinh
Add board defconfig file for Pogoplug V4 board Signed-off-by: Tony Dinh --- configs/pogo_v4_defconfig | 97 +++ 1 file changed, 97 insertions(+) create mode 100644 configs/pogo_v4_defconfig diff --git a/configs/pogo_v4_defconfig b/configs/pogo_v4_defconfig

[PATCH 3/8] arm: kirkwood: Pogoplug-V4 : Add Kconfig files

2021-12-17 Thread Tony Dinh
Add Kconfig files for Pogoplug V4 board Signed-off-by: Tony Dinh --- arch/arm/mach-kirkwood/Kconfig | 4 board/cloudengines/pogo_v4/Kconfig | 16 2 files changed, 20 insertions(+) create mode 100644 board/cloudengines/pogo_v4/Kconfig diff --git a/arch/arm/mach

[PATCH 4/8] arm: kirkwood: Pogoplug-V4 : Add board include configs file

2021-12-17 Thread Tony Dinh
Add include configs file for Pogoplug V4 board Signed-off-by: Tony Dinh --- include/configs/pogo_v4.h | 94 +++ 1 file changed, 94 insertions(+) create mode 100644 include/configs/pogo_v4.h diff --git a/include/configs/pogo_v4.h b/include/configs/pogo_v4.h

[PATCH 5/8] arm: kirkwood: Pogoplug-V4 : Add board kwbimage file

2021-12-17 Thread Tony Dinh
Add board kwbimage file for Pogoplug V4 board Signed-off-by: Tony Dinh --- board/cloudengines/pogo_v4/kwbimage.cfg | 148 1 file changed, 148 insertions(+) create mode 100644 board/cloudengines/pogo_v4/kwbimage.cfg diff --git a/board/cloudengines/pogo_v4/kwbimage.cfg

[PATCH 6/8] arm: kirkwood: Pogoplug-V4 : Add board implementation header

2021-12-17 Thread Tony Dinh
Add board implementation header and Makefile for Pogoplug V4 Signed-off-by: Tony Dinh --- board/cloudengines/pogo_v4/Makefile | 10 board/cloudengines/pogo_v4/pogo_v4.h | 36 2 files changed, 46 insertions(+) create mode 100644 board/cloudengines/pogo_v4

[PATCH 7/8] arm: kirkwood: Pogoplug-V4 : Add board implementation

2021-12-17 Thread Tony Dinh
flattree only, the patch is being rewritten to use livetree calls. Signed-off-by: Tony Dinh --- board/cloudengines/pogo_v4/pogo_v4.c | 204 +++ 1 file changed, 204 insertions(+) create mode 100644 board/cloudengines/pogo_v4/pogo_v4.c diff --git a/board/cloudengines

[PATCH 8/8] arm: kirkwood: Pogoplug-V4 : Add board maintainer

2021-12-17 Thread Tony Dinh
Add board maintainer for Pogoplug V4 board Signed-off-by: Tony Dinh --- board/cloudengines/pogo_v4/MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) create mode 100644 board/cloudengines/pogo_v4/MAINTAINERS diff --git a/board/cloudengines/pogo_v4/MAINTAINERS b/board/cloudengines

Re: [BUG] patman: refused to send patches because of warnings

2021-12-17 Thread Tony Dinh
Hi Sean, Just tried again with -i and it works fine now! Thanks, Tony On Fri, Dec 17, 2021 at 8:02 PM Sean Anderson wrote: > > On 12/17/21 10:59 PM, Tony Dinh wrote: > > Hi Simon, > > > > I tried to send in patches to add support for a new board. patman > > se

Re: [PATCH 4/8] arm: kirkwood: Pogoplug-V4 : Add board include configs file

2021-12-18 Thread Tony Dinh
Hi Pali, On Sat, Dec 18, 2021 at 5:12 AM Pali Rohár wrote: > > On Friday 17 December 2021 20:23:30 Tony Dinh wrote: > > Add include configs file for Pogoplug V4 board > > > > Signed-off-by: Tony Dinh > > --- > > > > include/configs/pogo_v4.h | 94

Re: [PATCH 2/8] arm: kirkwood: Pogoplug V4 : Add board defconfig file

2021-12-18 Thread Tony Dinh
Hi Pali, On Sat, Dec 18, 2021 at 5:17 AM Pali Rohár wrote: > > On Friday 17 December 2021 20:23:28 Tony Dinh wrote: > > Add board defconfig file for Pogoplug V4 board > > > > Signed-off-by: Tony Dinh > > --- > > > > configs/pogo_v4_defconfig | 97

Re: [PATCH 6/8] arm: kirkwood: Pogoplug-V4 : Add board implementation header

2021-12-18 Thread Tony Dinh
Hi Pali, On Sat, Dec 18, 2021 at 5:09 AM Pali Rohár wrote: > > On Friday 17 December 2021 20:23:32 Tony Dinh wrote: > > Add board implementation header and Makefile for Pogoplug V4 > > > > Signed-off-by: Tony Dinh > > --- > > > > board/cloudengines/

Re: [PATCH 1/8] arm: kirkwood: Pogoplug-V4 : Add DTS files

2021-12-18 Thread Tony Dinh
HI Andre, On Sat, Dec 18, 2021 at 8:38 AM Andre Przywara wrote: > > On Fri, 17 Dec 2021 20:23:27 -0800 > Tony Dinh wrote: > > Hi, > > > Add DTS files for Pogoplug V4 board > > is there any reason you didn't take the kirkwood-pogoplug-series-4.dts > file

Re: [PATCH 7/8] arm: kirkwood: Pogoplug-V4 : Add board implementation

2021-12-18 Thread Tony Dinh
Hi Marek, On Sat, Dec 18, 2021 at 2:59 PM Marek Behún wrote: > > > +#if defined(CONFIG_RESET_PHY_R) > > +/* Configure and initialize PHY */ > > +void reset_phy(void) > > +{ > > + u16 reg; > > + int phyaddr; > > + char *name = "ethernet-controller@72000"; > > + char *eth0_path = "/

Re: [PATCH 1/8] arm: kirkwood: Pogoplug-V4 : Add DTS files

2021-12-18 Thread Tony Dinh
Hi Andre, On Sat, Dec 18, 2021 at 4:03 PM Andre Przywara wrote: > > On Sat, 18 Dec 2021 14:05:39 -0800 > Tony Dinh wrote: > > Hi Tony, > > > On Sat, Dec 18, 2021 at 8:38 AM Andre Przywara > > wrote: > > > > > > On Fri, 17 Dec 2021 20:23

Re: [PATCH 2/8] arm: kirkwood: Pogoplug V4 : Add board defconfig file

2021-12-20 Thread Tony Dinh
On Sun, Dec 19, 2021 at 11:18 PM Stefan Roese wrote: > > Hi Tony, > > On 12/18/21 22:41, Tony Dinh wrote: > > Hi Pali, > > > > On Sat, Dec 18, 2021 at 5:17 AM Pali Rohár wrote: > >> > >> On Friday 17 December 2021 20:23:28 Tony Dinh wrote: >

Re: [PATCH 6/8] arm: kirkwood: Pogoplug-V4 : Add board implementation header

2021-12-20 Thread Tony Dinh
On Sun, Dec 19, 2021 at 11:23 PM Stefan Roese wrote: > > Hi Tony, > > On 12/18/21 22:47, Tony Dinh wrote: > > Hi Pali, > > > > On Sat, Dec 18, 2021 at 5:09 AM Pali Rohár wrote: > >> > >> On Friday 17 December 2021 20:23:32 Tony Dinh wrote: > &

kwboot: Marvell Dove UART booting

2021-12-22 Thread Tony Dinh
Hi all, With great help from Pali, I've made some good progress on kwboot the HP Thin Client T5335z (Marvell Dove SoC) board. I had been unsuccessful running kwboot with this box until Pali pointed out a few important aspects of the Dove SoC, and how the BootROM commands work (my apology for forge

[PATCH v2 0/8] arm: kirkwood: Add support for Pogoplug V4

2021-12-22 Thread Tony Dinh
. Changes in v2: - Use mainline Linux DTS version - Use canonical format for defconfig file - Merge all constants into the pogo_v4.c file, remove pogo_v4.h Merge constants from header file. Tony Dinh (8): arm: kirkwood: Pogoplug-V4 : Add DTS files arm: kirkwood: Pogoplug V4 : Add board defconfig

[PATCH v2 1/8] arm: kirkwood: Pogoplug-V4 : Add DTS files

2021-12-22 Thread Tony Dinh
Add DTS files for Pogoplug V4 board Signed-off-by: Tony Dinh --- Changes in v2: - Use mainline Linux DTS version arch/arm/dts/Makefile | 1 + arch/arm/dts/kirkwood-pogoplug-series-4.dts | 180 2 files changed, 181 insertions(+) create mode 100644

[PATCH v2 2/8] arm: kirkwood: Pogoplug V4 : Add board defconfig file

2021-12-22 Thread Tony Dinh
Add board defconfig file for Pogoplug V4 board Signed-off-by: Tony Dinh --- Changes in v2: - Use canonical format for defconfig file configs/pogo_v4_defconfig | 73 +++ 1 file changed, 73 insertions(+) create mode 100644 configs/pogo_v4_defconfig diff

[PATCH v2 3/8] arm: kirkwood: Pogoplug-V4 : Add Kconfig files

2021-12-22 Thread Tony Dinh
Add Kconfig files for Pogoplug V4 board Signed-off-by: Tony Dinh --- (no changes since v1) arch/arm/mach-kirkwood/Kconfig | 4 board/cloudengines/pogo_v4/Kconfig | 16 2 files changed, 20 insertions(+) create mode 100644 board/cloudengines/pogo_v4/Kconfig diff

[PATCH v2 4/8] arm: kirkwood: Pogoplug-V4 : Add board include configs file

2021-12-22 Thread Tony Dinh
Add include configs file for Pogoplug V4 board Signed-off-by: Tony Dinh --- (no changes since v1) include/configs/pogo_v4.h | 94 +++ 1 file changed, 94 insertions(+) create mode 100644 include/configs/pogo_v4.h diff --git a/include/configs/pogo_v4.h b

[PATCH v2 5/8] arm: kirkwood: Pogoplug-V4 : Add board kwbimage file

2021-12-22 Thread Tony Dinh
Add board kwbimage file for Pogoplug V4 board Signed-off-by: Tony Dinh --- (no changes since v1) board/cloudengines/pogo_v4/kwbimage.cfg | 148 1 file changed, 148 insertions(+) create mode 100644 board/cloudengines/pogo_v4/kwbimage.cfg diff --git a/board

[PATCH v2 6/8] arm: kirkwood: Pogoplug-V4 : Add board Make file

2021-12-22 Thread Tony Dinh
Add board Makefile for Pogoplug V4 Signed-off-by: Tony Dinh --- Changes in v2: - Merge all constants into the pogo_v4.c file, remove pogo_v4.h board/cloudengines/pogo_v4/Makefile | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 board/cloudengines/pogo_v4/Makefile diff

[PATCH v2 7/8] arm: kirkwood: Pogoplug-V4 : Add board implementation

2021-12-22 Thread Tony Dinh
flattree only, the patch is being rewritten to use livetree calls. Signed-off-by: Tony Dinh --- Changes in v2: Merge constants from header file. board/cloudengines/pogo_v4/pogo_v4.c | 220 +++ 1 file changed, 220 insertions(+) create mode 100644 board/cloudengines

[PATCH v2 8/8] arm: kirkwood: Pogoplug-V4 : Add board maintainer

2021-12-22 Thread Tony Dinh
Add board maintainer for Pogoplug V4 board Signed-off-by: Tony Dinh --- (no changes since v1) board/cloudengines/pogo_v4/MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) create mode 100644 board/cloudengines/pogo_v4/MAINTAINERS diff --git a/board/cloudengines/pogo_v4/MAINTAINERS b

Re: kwboot: Marvell Dove UART booting

2021-12-26 Thread Tony Dinh
Hi Pali, On Wed, Dec 22, 2021 at 8:08 PM Tony Dinh wrote: > > Hi all, > > With great help from Pali, I've made some good progress on > kwboot the HP Thin Client T5335z (Marvell Dove SoC) board. > I had been unsuccessful running kwboot with this box until Pali > p

Re: [PATCH u-boot-marvell 00/10] tools: kwboot: Fix boot and terminal mode

2022-03-02 Thread Tony Dinh
Hi Pali, The patch did not apply cleanly to the master branch (I downloaded the series from patchwork). Do you have a link where I can use it? Thanks, Tony On Wed, Mar 2, 2022 at 2:52 AM Pali Rohár wrote: > > This patch series fixes sending boot and debug patterns by doing it in > separate th

Re: [PATCH u-boot-marvell 00/10] tools: kwboot: Fix boot and terminal mode

2022-03-02 Thread Tony Dinh
Hi Pali, On Wed, Mar 2, 2022 at 1:03 PM Pali Rohár wrote: > > On Wednesday 02 March 2022 12:51:25 Tony Dinh wrote: > > Hi Pali, > > > > The patch did not apply cleanly to the master branch (I downloaded the > > series from patchwork). Do you have a link where I can

Re: [PATCH u-boot-marvell 00/10] tools: kwboot: Fix boot and terminal mode

2022-03-03 Thread Tony Dinh
, Tony On Wed, Mar 2, 2022 at 1:18 PM Tony Dinh wrote: > > Hi Pali, > > > On Wed, Mar 2, 2022 at 1:03 PM Pali Rohár wrote: > > > > On Wednesday 02 March 2022 12:51:25 Tony Dinh wrote: > > > Hi Pali, > > > > > > The patch did not apply cle

Re: [PATCH u-boot-marvell 00/10] tools: kwboot: Fix boot and terminal mode

2022-03-03 Thread Tony Dinh
cycle). Thanks for a new and improved kwboot! Tested-by: Tony Dinh Thanks, Tony On Thu, Mar 3, 2022 at 4:05 PM Pali Rohár wrote: > > Hello! > > On Thursday 03 March 2022 15:58:41 Tony Dinh wrote: > > Hi Pali, > > > > Here is the test report. > > > > 1.

Re: [PATCH] tools: kwboot: Check if baudrate value is supported before sending image

2022-03-06 Thread Tony Dinh
Hi Pali, I have an observation, which is not related to this patch. But about the kwboot options changes in general, I hope it is OK to mention it here. Before the changes you've made to solve the problem with the -b option, I can do this: kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.kwb But now,

[PATCH] arm: kirkwood: Sheevaplug : Use Marvell uclass mvgbe and PHY driver for Ethernet

2022-03-06 Thread Tony Dinh
remove header file board/Marvell/sheevaplug/sheevaplug.h, use BIT macro, and add/cleanup comments. Signed-off-by: Tony Dinh --- board/Marvell/sheevaplug/sheevaplug.c | 83 +-- board/Marvell/sheevaplug/sheevaplug.h | 24 configs/sheevaplug_defconfig | 1

Re: [PATCH v2 3/3] tools: kwboot: Allow to mix positional arguments with option -b

2022-03-07 Thread Tony Dinh
Hi Pali, I've tested this patch series and it's all working fine! Thanks, Tony Tested-by: Tony Dinh On Mon, Mar 7, 2022 at 10:04 AM Pali Rohár wrote: > > Commit 9e6d71d2b55f ("tools: kwboot: Allow to use -b without image path as > the last getopt() option"

Re: kwboot - positional tty argument

2022-03-07 Thread Tony Dinh
Hi Stefan, On Mon, Mar 7, 2022 at 6:39 AM Stefan Roese wrote: > > On 3/7/22 12:40, Pali Rohár wrote: > > Hello! > > > > On Sunday 06 March 2022 14:38:57 Tony Dinh wrote: > >> Hi Pali, > >> > >> I have an observation, which is not related to th

Re: [PATCH v3] arm: kirkwood: nas220: Add DM Ethernet, SATA, GPIO

2022-03-09 Thread Tony Dinh
Hi Hajo, On Wed, Mar 9, 2022 at 1:27 AM Hajo Noerenberg wrote: > > Bring the NAS220 board up to current standards. This is basically an > adaptation of the changes Tony Dinh implemented for the Dockstar board. > > - Implement the changes to v2 as suggested by Stefa

Re: [PATCH v3] arm: kirkwood: nas220: Add DM Ethernet, SATA, GPIO

2022-03-09 Thread Tony Dinh
Hi Hajo, Please see comments below. On Wed, Mar 9, 2022 at 5:42 AM Hajo Noerenberg wrote: > > On 09.03.2022 at 12:26 Tony Dinh wrote: > > Hi Hajo, > > > > Hi Tony, > > > On Wed, Mar 9, 2022 at 1:27 AM Hajo Noerenberg > > wrote: > >> > >>

Re: [PATCH v3] arm: kirkwood: nas220: Add DM Ethernet, SATA, GPIO

2022-03-17 Thread Tony Dinh
Hi Stefan & Hajo, Please see my comment below. On Wed, Mar 9, 2022 at 2:44 PM Tony Dinh wrote: > > Hi Hajo, > > Please see comments below. > > On Wed, Mar 9, 2022 at 5:42 AM Hajo Noerenberg > wrote: > > > > On 09.03.2022 at 12:26 Tony Dinh wrote:

Re: [PATCH] arm: kirkwood: Sheevaplug : Use Marvell uclass mvgbe and PHY driver for Ethernet

2022-03-21 Thread Tony Dinh
b/configs/sheevaplug_defconfig +CONFIG_RESET_PHY_R=y And that should not be added for the Sheevaplug, since we have undef CONFIG_RESET_PHY_R in include/configs/sheevaplug.h Thanks, Tony On Tue, Mar 8, 2022 at 4:25 AM Stefan Roese wrote: > > On 3/7/22 00:12, Tony Dinh wrote: > > The Gl

Re: [PATCH] arm: kirkwood: Sheevaplug : Use Marvell uclass mvgbe and PHY driver for Ethernet

2022-03-21 Thread Tony Dinh
Mon, Mar 21, 2022 at 03:36:50AM -0700, Tony Dinh wrote: > > > Hi Stefan, > > > > Perhaps you've missed merging this patch into your tree, or during the > > pull request to Tom. > > > > I saw Tom's recent patch to move the CONFIG_RESET_PHY_R to Kconf

Re: [PATCH] arm: kirkwood: Sheevaplug : Use Marvell uclass mvgbe and PHY driver for Ethernet

2022-03-22 Thread Tony Dinh
R. I'd vote for the 1st approach, because by holding off the 2 pending patches, we don't lose any functionality in the meantime. And it will be much easier to do. Thanks, Tony On Mon, Mar 21, 2022 at 4:46 AM Tom Rini wrote: > > On Mon, Mar 21, 2022 at 03:36:50AM -07

Re: [PATCH v3] arm: kirkwood: nas220: Add DM Ethernet, SATA, GPIO

2022-03-23 Thread Tony Dinh
h has been merged to master. All the best, Tony On Thu, Mar 17, 2022 at 7:20 PM Tony Dinh wrote: > > Hi Stefan & Hajo, > > Please see my comment below. > > On Wed, Mar 9, 2022 at 2:44 PM Tony Dinh wrote: > > > > Hi Hajo, > > > > Please see com

[PATCH] arm: mvebu: Clean up Thecus N2350 board DTS

2023-06-06 Thread Tony Dinh
- Update the Thecus N2350 DTS to conform with latest device-tree binding and styles. - Correct typo in mdio node. Signed-off-by: Tony Dinh --- arch/arm/dts/armada-385-thecus-n2350.dts | 210 +++ 1 file changed, 98 insertions(+), 112 deletions(-) diff --git a/arch/arm/dts

[PATCH] arm: mvebu: Enable gpio-fan for Thecus N2350 board

2023-06-20 Thread Tony Dinh
Add gpio-fan in the DTS and enable the GPIO in board file to start the fan during boot. Note that this patch depends on https://patchwork.ozlabs.org/project/uboot/patch/20230606214539.4229-1-mibo...@gmail.com/ Signed-off-by: Tony Dinh --- arch/arm/dts/armada-385-thecus-n2350.dts | 15

[Test] arm: mvebu: PCI_MVEBU driver on Kirkwood boards

2023-06-21 Thread Tony Dinh
Hi Pali, FYI. In reference to this patch: https://lore.kernel.org/all/20230114164125.1298-1-p...@kernel.org/ Recently, I built a new Linux kernel 6.3.x for the Kirkwood boards and discovered that the PCI_MVEBU driver was marked as BROKEN in Linux mainline. That was a surprise for me, since I've b

Re: F2-NAS2 and NSA325 contributions

2023-06-29 Thread Tony Dinh
Hi Heny, On Thu, Jun 29, 2023 at 6:01 PM Henry Smith wrote: > > Hello, > > I'm a hobbyist that has been playing with Linkstation LS-WVL years > ago. After frying UART on that, I got Terramaster F2-NAS2 later and > got u-boot from the main tree to work on it. > > Both landed in the closet until I

Re: F2-NAS2 and NSA325 contributions

2023-06-29 Thread Tony Dinh
Hi Henry, On Thu, Jun 29, 2023 at 6:53 PM Tony Dinh wrote: > > Hi Heny, > > On Thu, Jun 29, 2023 at 6:01 PM Henry Smith wrote: > > > > Hello, > > > > I'm a hobbyist that has been playing with Linkstation LS-WVL years > > ago. After frying UA

<    1   2   3   4   5   6   >