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 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 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: [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

[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

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

2021-12-17 Thread Tony Dinh
for 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 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 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 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 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 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 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

[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

[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

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

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-11-16 Thread Tony Dinh
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: > > Hi Pali, > > > > While we are at it, this default should be changed in > > drivers/usb/host/Kconfig. > > > > config USB_XHCI_MVE

Re: Testing pci_mvebu.c with Kirkwood SoCs

2021-11-16 Thread Tony Dinh
ny On Fri, Nov 12, 2021 at 3:24 PM Tony Dinh wrote: > > On Fri, Nov 12, 2021 at 2:42 PM Pali Rohár wrote: > > > > On Friday 12 November 2021 13:46:29 Tony Dinh wrote: > > > Hi Stefan & Pali, > > > > > > On Fri, Nov 12, 2021 at 7:06 AM Pali Rohár

Re: Testing pci_mvebu.c with Kirkwood SoCs

2021-11-12 Thread Tony Dinh
On Fri, Nov 12, 2021 at 2:42 PM Pali Rohár wrote: > > On Friday 12 November 2021 13:46:29 Tony Dinh wrote: > > Hi Stefan & Pali, > > > > On Fri, Nov 12, 2021 at 7:06 AM Pali Rohár wrote: > > > > > > On Friday 12 November 2021 15:36:31 Stefan Roes

Re: Testing pci_mvebu.c with Kirkwood SoCs

2021-11-12 Thread Tony Dinh
armada-380-xhci" }, { .compatible = "marvell,armada-8k-xhci" }, { } }; But I guess the fact that it works during board_late_init must be because of a generic USB_XHCI driver being used? Thanks, Tony On Fri, Nov 12, 2021 at 1:46 PM Tony Dinh wrote: > > Hi Stefan & Pali, > &

Re: Testing pci_mvebu.c with Kirkwood SoCs

2021-11-12 Thread Tony Dinh
Hi Stefan & Pali, On Fri, Nov 12, 2021 at 7:06 AM Pali Rohár wrote: > > On Friday 12 November 2021 15:36:31 Stefan Roese wrote: > > On 11/11/21 22:10, Pali Rohár wrote: > > > On Wednesday 10 November 2021 16:04:20 Tony Dinh wrote: > > > > I've also tried mdel

Re: Testing pci_mvebu.c with Kirkwood SoCs

2021-11-10 Thread Tony Dinh
Hi Pali, I've tried the test with mdelay(200) at the end of mvebu_pcie_probe(). Please see below. On Tue, Nov 9, 2021 at 7:17 PM Tony Dinh wrote: > > Hi Pali, > > On Tue, Nov 9, 2021 at 3:05 PM Pali Rohár wrote: > > > > Hello! > > > > On Tuesday 09 No

Re: Testing pci_mvebu.c with Kirkwood SoCs

2021-11-09 Thread Tony Dinh
Hi Pali, On Tue, Nov 9, 2021 at 3:05 PM Pali Rohár wrote: > > Hello! > > On Tuesday 09 November 2021 14:51:33 Tony Dinh wrote: > > Hi Pali, > > > > On Tue, Nov 9, 2021 at 7:08 AM Pali Rohár wrote: > > > > > > On Monday 08 November 2021

Re: Testing pci_mvebu.c with Kirkwood SoCs

2021-11-09 Thread Tony Dinh
Hi Pali, On Tue, Nov 9, 2021 at 7:08 AM Pali Rohár wrote: > > On Monday 08 November 2021 22:34:51 Tony Dinh wrote: > > The above log was the build with the following configs: > > CONFIG_CMD_PCI=y > > CONFIG_PCI=y > > CONFIG_PCI_MVEBU=y > > CONFIG

Re: Testing pci_mvebu.c with Kirkwood SoCs

2021-11-08 Thread Tony Dinh
Hi Marek and Pali, On Mon, Nov 8, 2021 at 3:04 PM Marek Behún wrote: > > On Mon, 8 Nov 2021 14:48:03 -0800 > Tony Dinh wrote: > > > > So to avoid calling 'pci enum' manually, you need to put pci_init(); > > > function call into your board board_early_init_r() fun

Re: Testing pci_mvebu.c with Kirkwood SoCs

2021-11-08 Thread Tony Dinh
Hi Pali, On Mon, Nov 8, 2021 at 2:02 PM Pali Rohár wrote: > > On Monday 08 November 2021 12:54:39 Tony Dinh wrote: > > On Mon, Nov 8, 2021 at 3:11 AM Pali Rohár wrote: > > > On Sunday 07 November 2021 18:08:56 Tony Dinh wrote: > ... > > > > > I think som

Re: Testing pci_mvebu.c with Kirkwood SoCs

2021-11-08 Thread Tony Dinh
Hi Pali, On Mon, Nov 8, 2021 at 3:11 AM Pali Rohár wrote: > > Hello! > > On Sunday 07 November 2021 18:08:56 Tony Dinh wrote: > > Hi Pali, > > > > On Sun, Nov 7, 2021 at 4:58 PM Tony Dinh wrote: > > > > > > Hi Pali, > > > > >

Re: Testing pci_mvebu.c with Kirkwood SoCs

2021-11-07 Thread Tony Dinh
Hi Pali, On Sun, Nov 7, 2021 at 4:58 PM Tony Dinh wrote: > > Hi Pali, > > Looks like it is working! But in a weird way. Please see my responses > in between, and also in the test log below. > > On Sun, Nov 7, 2021 at 3:45 PM Pali Rohár wrote: > > > > Hello! >

Re: Testing pci_mvebu.c with Kirkwood SoCs

2021-11-07 Thread Tony Dinh
Hi Pali, Looks like it is working! But in a weird way. Please see my responses in between, and also in the test log below. On Sun, Nov 7, 2021 at 3:45 PM Pali Rohár wrote: > > Hello! > > On Sunday 07 November 2021 12:56:37 Tony Dinh wrote: > > Hi Pali, > > > > I'

Re: kwboot: Testing latest kwboot with Kirkwood SoC boards

2021-11-07 Thread Tony Dinh
CI_HCD=y CONFIG_USB_XHCI_PCI=y CONFIG_USB_XHCI_MVEBU=y BTW, the topic is no longer kwboot, should we move this to another new thread? i.e. Testing PCI MVEBU with Kirkwood SoCs. Thanks, Tony On Sat, Nov 6, 2021 at 4:26 PM Tony Dinh wrote: > > Hi Pali, > > On Sat, Nov 6, 2021 at 3:57 AM Pali Rohá

Re: kwboot: Testing latest kwboot with Kirkwood SoC boards

2021-11-06 Thread Tony Dinh
Hi Pali, On Sat, Nov 6, 2021 at 3:57 AM Pali Rohár wrote: > > Hello! > > On Friday 05 November 2021 20:50:18 Tony Dinh wrote: > > Hi Pali, > > > > On Fri, Nov 5, 2021 at 5:10 PM Pali Rohár wrote: > > > > > > On Friday 05 Novembe

Re: kwboot: Testing latest kwboot with Kirkwood SoC boards

2021-11-05 Thread Tony Dinh
Hi Pali, On Fri, Nov 5, 2021 at 5:10 PM Pali Rohár wrote: > > On Friday 05 November 2021 16:36:47 Tony Dinh wrote: > > Hi Pali, > > > > On Fri, Nov 5, 2021 at 3:15 PM Pali Rohár wrote: > > > > > > On Friday 05 November 2021 15:07:17 Tony Dinh wrote:

Re: kwboot: Testing latest kwboot with Kirkwood SoC boards

2021-11-05 Thread Tony Dinh
Hi Pali, On Fri, Nov 5, 2021 at 3:15 PM Pali Rohár wrote: > > On Friday 05 November 2021 15:07:17 Tony Dinh wrote: > > > > Also, I have several Kirkwood boards (with various old BootROM > > > > versions) that I can run the kwboot tests on. Will keep you posted. &g

Re: kwboot: Testing latest kwboot with Kirkwood SoC boards

2021-11-05 Thread Tony Dinh
Hi Pali, On Fri, Nov 5, 2021 at 2:39 PM Pali Rohár wrote: > > Hello! > > On Friday 05 November 2021 14:25:14 Tony Dinh wrote: > > Hi Pali, > > > > On Fri, Nov 5, 2021 at 3:19 AM Pali Rohár wrote: > > > > > > On Friday 05 Novemb

Re: kwboot: Testing latest kwboot with Kirkwood SoC boards

2021-11-05 Thread Tony Dinh
Hi Pali, On Fri, Nov 5, 2021 at 3:19 AM Pali Rohár wrote: > > On Friday 05 November 2021 09:38:28 Pali Rohár wrote: > > Hello! > > > > On Thursday 04 November 2021 23:27:32 Tony Dinh wrote: > > > Hi Marek and Pali, > > > > > > First off al

kwboot: Testing latest kwboot with Kirkwood SoC boards

2021-11-05 Thread Tony Dinh
Hi Marek and Pali, First off all, thanks for your hughe work on this. I have a few Armada 38x boards that I had quite a hard time running kwboot in the past. Hopefully, I will have more luck with the new kwboot. Here is a problem I've found running kwboot on the Zyxel NSA310S NAS (Kirkwood

Re: kirkwood stack size

2021-10-27 Thread Tony Dinh
Hi Marek, Ah. That makes sense! I don't have the km_kirkwood_xxx boards. Thanks, Tony On Wed, Oct 27, 2021 at 6:28 PM Marek Behún wrote: > > On Wed, 27 Oct 2021 16:06:58 -0700 > Tony Dinh wrote: > > > Hi Marek, > > > > In reference to: > > https://lists.d

Re: kirkwood stack size

2021-10-27 Thread Tony Dinh
Hi Marek, In reference to: https://lists.denx.de/pipermail/u-boot/2021-October/465221.html I have several Kirkwood boards, and currently support these boards in mainline: Sheevaplug, Zyxel NSA310S, GoFlex Home, Dockstar. I also have a few out-of-tree Kirkwood u-boots that have not been submitted

Re: [PATCH v10 3/9] env: Allow U-Boot scripts to be placed in a .env file

2021-10-22 Thread Tony Dinh
Hi all, My 2 cents. As a maintainer for some hobbyist downstream u-boots (tracking mainline) and some out-of-tree u-boots, I do lots of envs scripting. The most common scenario for me is to create an env by combining 2 or more strings. Examples, init_usb, init_sata, init_sata_usb and so on, i.e

[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

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

2021-09-05 Thread Tony Dinh
), it 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

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, > >

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-08-26 Thread Tony Dinh
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, > > > > On Sun, Aug 15, 2021 at 7:10 AM Simon Glass wrote: > > > > > > Hi Tony, >

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

2021-08-16 Thread Tony Dinh
Hi Simon, On Sun, Aug 15, 2021 at 2:27 PM Tony Dinh wrote: > > Hi Simon, > > On Sun, Aug 15, 2021 at 7:10 AM Simon Glass wrote: > > > > Hi Tony, > > > > On Thu, 5 Aug 2021 at 22:49, Tony Dinh wrote: > > > > > > > > >

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

2021-08-15 Thread Tony Dinh
Hi Simon, On Sun, Aug 15, 2021 at 7:10 AM Simon Glass wrote: > > Hi Tony, > > On Thu, 5 Aug 2021 at 22:49, Tony Dinh wrote: > > > > > > At the moment, there is no common fdt helper function specific to decoding > > network related > > information f

[PATCH v2 3/3] common: Add fdt network helper functions

2021-08-14 Thread Tony Dinh
Add fdt network helper functions fdt_support_net.c Reviewed-by: Stefan Roese Acked-by: Ramon Fried Signed-off-by: Tony Dinh --- Changes in v2: - Return FDT_ERR_NOTFOUND if fdt_get_phy_addr failed to find PHY addr - Coding standards. common/fdt_support_net.c | 47

[PATCH v2 2/3] common: Add fdt network helper header file

2021-08-14 Thread Tony Dinh
Add include header file fdt_support_net.h Reviewed-by: Stefan Roese Acked-by: Ramon Fried Signed-off-by: Tony Dinh --- Changes in v2: - Return FDT_ERR_NOTFOUND if fdt_get_phy_addr failed to find PHY addr include/fdt_support_net.h | 39 +++ 1 file changed

[PATCH v2 1/3] common: Add fdt network helper

2021-08-14 Thread Tony Dinh
Add fdt network helper to Makefile Reviewed-by: Stefan Roese Acked-by: Ramon Fried Signed-off-by: Tony Dinh --- (no changes since v1) common/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/Makefile b/common/Makefile index 9063ed9391..94678d26d8 100644

[PATCH] arm: kirkwood: Sheevaplug: Update board maintainer

2021-08-12 Thread Tony Dinh
Change maintainer to me. Prafulla is no longer active in U-Boot community. Signed-off-by: Tony Dinh --- board/Marvell/sheevaplug/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/Marvell/sheevaplug/MAINTAINERS b/board/Marvell/sheevaplug/MAINTAINERS index

Re: [PATCH 2/3] Add fdt network helper functions

2021-08-12 Thread Tony Dinh
Hi Stefan, On Wed, Aug 11, 2021 at 11:15 PM Stefan Roese wrote: > > Hi Tony, > > a few nits... > > On 06.08.21 06:49, Tony Dinh wrote: > > Add fdt network helper functions common/fdt_support_net.c > > > > Signed-off-by: Tony Dinh > > -

[PATCH 2/2] arm: kirkwood: Dockstar: Use Ethernet PHY name and address from device tree

2021-08-11 Thread Tony Dinh
In DM Ethernet, the old "egiga0" name is no longer valid, so replace with Ethernet PHY name from device tree. Also, read Ethernet PHY address from device tree. Signed-off-by: Tony Dinh --- board/Seagate/dockstar/dockstar.c | 25 + 1 file changed, 13 inserti

[PATCH 1/2] arm: kirkwood: Dockstar: Add DM Ethernet

2021-08-11 Thread Tony Dinh
- Add DM_ETH and associated configs - Add SYS_THUMB_BUILD to keep u-boot image size within 512K (ENV_OFFSET is at 512K in NAND). Signed-off-by: Tony Dinh --- configs/dockstar_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/dockstar_defconfig b/configs

[PATCH 0/2] arm: kirkwood: Dockstar: Convert the board Ethernet to Driver Model.

2021-08-11 Thread Tony Dinh
/patch/20210806044910.23500-2-mibo...@gmail.com/ Tony Dinh (2): arm: kirkwood: Dockstar: Add DM Ethernet arm: kirkwood: Dockstar: Use Ethernet PHY name and address from device tree board/Seagate/dockstar/dockstar.c | 25 + configs/dockstar_defconfig| 3

[PATCH] arm: kirkwood: Goflex Home: Update board maintainer

2021-08-10 Thread Tony Dinh
Change maintainer to me. Suriyan no longer has this board and wishes to see someone maintaining it actively. Signed-off-by: Tony Dinh --- board/Seagate/goflexhome/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/Seagate/goflexhome/MAINTAINERS b/board

[PATCH] arm: kirkwood: Dockstar: Update board maintainer

2021-08-10 Thread Tony Dinh
Change maintainer to me. Eric no longer has this board and wishes to see someone maintaining it actively. Signed-off-by: Tony Dinh --- board/Seagate/dockstar/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/Seagate/dockstar/MAINTAINERS b/board/Seagate

[PATCH 3/3] Add fdt network helper to Makefile

2021-08-05 Thread Tony Dinh
Add fdt_support_net.c to common/Makefile Signed-off-by: Tony Dinh --- common/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/Makefile b/common/Makefile index 9063ed9391..94678d26d8 100644 --- a/common/Makefile +++ b/common/Makefile @@ -28,7 +28,7 @@ obj

[PATCH 2/3] Add fdt network helper functions

2021-08-05 Thread Tony Dinh
Add fdt network helper functions common/fdt_support_net.c Signed-off-by: Tony Dinh --- common/fdt_support_net.c | 46 1 file changed, 46 insertions(+) create mode 100644 common/fdt_support_net.c diff --git a/common/fdt_support_net.c b/common

[PATCH 1/3] Add fdt network helper header file

2021-08-05 Thread Tony Dinh
Add include header file include/fdt_support_net.h Signed-off-by: Tony Dinh --- include/fdt_support_net.h | 39 +++ 1 file changed, 39 insertions(+) create mode 100644 include/fdt_support_net.h diff --git a/include/fdt_support_net.h b/include

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

2021-08-05 Thread Tony Dinh
function fdt_get_phy_addr to parse the device tree to find the PHY addess of a specific ethernet device. Tony Dinh (3): Add fdt network helper header file Add fdt network helper functions Add fdt network helper to Makefile common/Makefile | 2 +- common/fdt_support_net.c | 46

Re: [PATCH 2/3] arm: kirkwood: Dreamplug: Use Ethernet PHY name and address from device tree

2021-08-02 Thread Tony Dinh
Hi Stefan, On Sun, Aug 1, 2021 at 11:39 PM Stefan Roese wrote: > > Hi Tony, > > On 01.08.21 00:37, Tony Dinh wrote: > > Hi Stefan, > > > > On Sat, Jul 31, 2021 at 4:50 AM Stefan Roese wrote: > >> > >> On 31.07.21 12:27, Stefan Roese wrot

[PATCH v2] arm: mvebu: sata_mv failed to identify HDDs during cold start

2021-07-31 Thread Tony Dinh
for the ID words to be populated by the SATA controller. Reviewed-by: Stefan Roese Signed-off-by: Tony Dinh --- Changes in v2: Return value -ENODEV if mv_identify() failed to identify the drive drivers/ata/sata_mv.c | 29 +++-- 1 file changed, 27 insertions(+), 2 deletions

Re: [PATCH 2/3] arm: kirkwood: Dreamplug: Use Ethernet PHY name and address from device tree

2021-07-31 Thread Tony Dinh
Hi Stefan, On Sat, Jul 31, 2021 at 4:50 AM Stefan Roese wrote: > > On 31.07.21 12:27, Stefan Roese wrote: > > Hi Tony, > > > > (added Joe & Ramon as network custodians) > > > > On 31.07.21 11:55, Tony Dinh wrote: > >> Hi Stefan, > >>

Re: [PATCH 2/3] arm: kirkwood: Dreamplug: Use Ethernet PHY name and address from device tree

2021-07-31 Thread Tony Dinh
Hi Stefan, On Sat, Jul 31, 2021 at 12:41 AM Stefan Roese wrote: > > On 26.07.21 08:01, Tony Dinh wrote: > > In DM Ethernet, the old "egiga0" and 'egiga1" names are no longer valid, > > so replace these with Ethernet PHY names from device tree. Also, read >

Re: [PATCH] arm: mvebu: sata_mv failed to identify HDDs during cold start

2021-07-31 Thread Tony Dinh
Hi Stefan, On Sat, Jul 31, 2021 at 12:31 AM Stefan Roese wrote: > > Hi Tony, > > On 25.07.21 23:57, Tony Dinh wrote: > > During cold start, with some HDDs, mv_sata_identify() does not populate > > the ID words on the 1st ATA ID command. In fact, the first ATA ID > &

[PATCH 3/3] arm: kirkwood: GoFlex Home: Use Ethernet PHY name and address from device tree

2021-07-29 Thread Tony Dinh
In DM Ethernet, the old "egiga0" name is no longer valid, so replace these with Ethernet PHY names from device tree. Also, read Ethernet PHY address from device tree. Signed-off-by: Tony Dinh --- board/Seagate/goflexhome/goflexhome.c | 57 +-- 1 file c

[PATCH 2/3] arm: kirkwood: GoFlex Home: Add DM SATA configs

2021-07-29 Thread Tony Dinh
Enable DM SATA in board file. Signed-off-by: Tony Dinh --- include/configs/goflexhome.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/configs/goflexhome.h b/include/configs/goflexhome.h index a18e7869b0..2e89d72285 100644 --- a/include/configs/goflexhome.h +++ b/include

[PATCH 1/3] arm: kirkwood: GoFlex Home: Add DM Ethernet, remove IDE, and add DM SATA configs

2021-07-29 Thread Tony Dinh
Add DM_ETH, SATA_MV and associated configs to goflexhome_defconfig. Signed-off-by: Tony Dinh --- configs/goflexhome_defconfig | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/goflexhome_defconfig b/configs/goflexhome_defconfig index 7207fa27e0..17adeca92f 100644

[PATCH 0/3] arm: kirkwood: Convert the GoFlex Home board Ethernet and SATA to Driver Model.

2021-07-29 Thread Tony Dinh
- Enable DM SATA and SATA MV driver - Enable DM Ethernet. - Use Ethernet PHY names from device tree. - Replace the old Ethernet PHY addr lookup with a device tree parsing lookup function. Tony Dinh (3): arm: kirkwood: GoFlex Home: Add DM Ethernet, remove IDE, and add DM SATA configs

[PATCH 3/3] arm: kirkwood: Dreamplug: Add DM SATA and remove IDE configs

2021-07-26 Thread Tony Dinh
- Enable DM SATA, removed IDE driver, and add SATA MV driver. - Use ethernet PHY names from device tree in default boot command Signed-off-by: Tony Dinh --- include/configs/dreamplug.h | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/include/configs/dreamplug.h

[PATCH 2/3] arm: kirkwood: Dreamplug: Use Ethernet PHY name and address from device tree

2021-07-26 Thread Tony Dinh
In DM Ethernet, the old "egiga0" and 'egiga1" names are no longer valid, so replace these with Ethernet PHY names from device tree. Also, read Ethernet PHY address for each port from device tree. Signed-off-by: Tony Dinh --- board/Marvell/dreamplug/d

[PATCH 1/3] arm: kirkwood: Dreamplug: Add DM Ethernet and DM SATA configs

2021-07-26 Thread Tony Dinh
Add DM_ETH, SATA_MV and associated configs to dreamplug_defconfig Signed-off-by: Tony Dinh --- configs/dreamplug_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/dreamplug_defconfig b/configs/dreamplug_defconfig index 8956d2f3c5..516e28752c 100644 --- a/configs

[PATCH 0/3] Convert the Dreamplug Ethernet and SATA to Driver Model.

2021-07-26 Thread Tony Dinh
- Enable DM SATA, removed IDE driver, add SATA MV driver. - Use Ethernet PHY names from device tree. - Replace the old Ethernet PHY addr lookup with a device tree parsing lookup function. Tony Dinh (3): arm: kirkwood: Dreamplug: Add DM Ethernet and DM SATA configs arm: kirkwood: Dreamplug

[PATCH] arm: mvebu: sata_mv failed to identify HDDs during cold start

2021-07-25 Thread Tony Dinh
for the ID words to be populated by the SATA controller. Signed-off-by: Tony Dinh --- drivers/ata/sata_mv.c | 29 +++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index 1012cb5374..7d1515d5f8 100644 --- a/drivers

[RESEND PATCH 2/3] Marvell Sheevaplug: Use Ethernet PHY name and address from device tree

2021-07-16 Thread Tony Dinh
- In DM Ethernet, the old "egiga0" name is no longer valid, so replace it with Ethernet PHY name from device tree. Also, Ethernet PHY address is available so read it from device tree. Signed-off-by: Tony Dinh --- board/Marvell/sheevaplug/sheevaplug.c | 54 +

[RESEND PATCH v3 3/4] NSA310S : Use Ethernet PHY name from device tree

2021-07-15 Thread Tony Dinh
In DM Ethernet, the old "egiga0" name is no longer valid, so replace it with Ethernet PHY name from device tree. Also, Ethernet PHY address is available so read it from device tree. Reviewed-by: Stefan Roese Signed-off-by: Tony Dinh --- Changes in v3: - Get eth0 PHY address from d

Re: [PATCH v3 3/4] NSA310S : Use Ethernet PHY name from device tree

2021-07-14 Thread Tony Dinh
Hi Stefan, I will need to resend this patch (V3 3/4). Thanks, Tony On Wed, Jul 7, 2021 at 2:07 AM Tony Dinh wrote: > In DM Ethernet, the old "egiga0" name is no longer valid, so replace it > with Ethernet PHY name from device tree. Also, Ethernet PHY address > is availa

[PATCH 3/3] Marvell Sheevaplug: Add DM SATA and remove IDE configs

2021-07-13 Thread Tony Dinh
Enable DM SATA, removed IDE driver, and add SATA MV driver. Signed-off-by: Tony Dinh --- include/configs/sheevaplug.h | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index 41ba799659..e28f98458e 100644

[PATCH 2/3] Marvell Sheevaplug: Use Ethernet PHY name and address from device tree

2021-07-13 Thread Tony Dinh
- In DM Ethernet, the old "egiga0" name is no longer valid, so replace it with Ethernet PHY name from device tree. Also, Ethernet PHY address is available so read it from device tree. Signed-off-by: Tony Dinh --- board/Marvell/sheevaplug/sheevaplug.c | 54 +

[PATCH 1/3] Marvell Sheevaplug: Add DM Ethernet and DM SATA configs

2021-07-13 Thread Tony Dinh
Add DM_ETH, SATA_MV and associated configs to sheevaplug_defconfig Signed-off-by: Tony Dinh --- configs/sheevaplug_defconfig | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configs/sheevaplug_defconfig b/configs/sheevaplug_defconfig index 676c47af27..4c7259e6d7 100644

[PATCH 0/3] Marvell SheevaPlug : convert Ethernet and SATA to Driver Model.

2021-07-13 Thread Tony Dinh
p function. Note that all Kirkwood SoCs boards use the same binding for Ethernet port 0 and 1 nodes from kirkwood.dtsi. Thus the new lookup function fdt_get_phy_addr() in this patch series probably should be factored out to a common fdt support function and used in other Kirkwood boards. To

Re: Convert mvebu_mmc driver to driver model

2021-07-12 Thread Tony Dinh
Hi Jaehoon, Indeed! I did run the test using the u-boot-master (2021.07 version) source tree. Thanks, Tony On Mon, Jul 12, 2021 at 4:59 PM Jaehoon Chung wrote: > On 7/12/21 2:11 PM, Tony Dinh wrote: > > In reference to: > > > https://protect2.fireeye.com/v1/url?k=1452a2ce

Convert mvebu_mmc driver to driver model

2021-07-11 Thread Tony Dinh
In reference to: https://lists.denx.de/pipermail/u-boot/2021-April/446664.html DM MMC was tested to work fine on the Sheevaplug board. Tested-by: Tony Dinh

Re: [PATCH 11/18] arm: Remove nsa310s board

2021-07-07 Thread Tony Dinh
t 08:47:10AM -0400, Tom Rini wrote: > > > > > These boards have not been converted to CONFIG_DM_USB by the deadline > > > and is also missing conversion to CONFIG_DM. Remove it > > > > > > Cc: Gerald Kerma > > > Cc: Tony Dinh > > > Cc: Luka

[PATCH v3 3/4] NSA310S : Use Ethernet PHY name from device tree

2021-07-07 Thread Tony Dinh
In DM Ethernet, the old "egiga0" name is no longer valid, so replace it with Ethernet PHY name from device tree. Also, Ethernet PHY address is available so read it from device tree. Signed-off-by: Tony Dinh --- Changes in v3: - Get eth0 PHY address from device tree Changes in v2:

[PATCH v2 4/4] NSA310S : Add DM SATA configs

2021-07-02 Thread Tony Dinh
Enable DM SATA, removed IDE driver, and add SATA MV driver. Signed-off-by: Tony Dinh --- Changes in v2: - Correct copyright include/configs/nsa310s.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/configs/nsa310s.h b/include/configs/nsa310s.h index

[PATCH v2 3/4] NSA310S : Use Ethernet PHY name from device tree

2021-07-02 Thread Tony Dinh
In DM Ethernet, the old "egiga0" name is no longer valid, so replace it with Ethernet PHY name from device tree. Signed-off-by: Tony Dinh --- Changes in v2: - Correct copyright board/zyxel/nsa310s/nsa310s.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-)

[PATCH 4/4] NSA310S : Add DM SATA configs

2021-06-30 Thread Tony Dinh
Enable DM SATA, removed IDE driver, and add SATA MV driver. Signed-off-by: Tony Dinh --- include/configs/nsa310s.h | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/configs/nsa310s.h b/include/configs/nsa310s.h index e38c65a485..94f293de90 100644

[PATCH 3/4] NSA310S : Use Ethernet PHY name from device tree

2021-06-30 Thread Tony Dinh
In DM Ethernet, the old "egiga0" name is no longer valid, so replace it with Ethernet PHY name from device tree. Signed-off-by: Tony Dinh --- board/zyxel/nsa310s/nsa310s.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/board/zyxel/nsa310s/nsa310s

[PATCH 2/4] NSA310S : Add DM USB, DM Ethernet, and DM SATA configs

2021-06-30 Thread Tony Dinh
-off-by: Tony Dinh --- configs/nsa310s_defconfig | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/configs/nsa310s_defconfig b/configs/nsa310s_defconfig index e4cf1c470e..fac0322e2b 100644 --- a/configs/nsa310s_defconfig +++ b/configs/nsa310s_defconfig @@ -7,14

[PATCH 1/4] NSA310S : Add device tree DTS for Zyxel NSA310S board

2021-06-30 Thread Tony Dinh
Add device tree kirkwood-nsa310s.dts for Zyxel NSA310S board to convert to Driver Model. Signed-off-by: Tony Dinh --- arch/arm/dts/Makefile | 1 + arch/arm/dts/kirkwood-nsa310s.dts | 318 ++ 2 files changed, 319 insertions(+) create mode 100644 arch

[PATCH 0/4] Zyxel NSA310S NAS : convert to Driver Model.

2021-06-30 Thread Tony Dinh
E, and add SATA configs in board file nsa310s.c Tony Dinh (4): NSA310S : Add device tree DTS for Zyxel NSA310S board NSA310S : Add DM USB, DM Ethernet, and DM SATA configs NSA310S : Use Ethernet PHY name from device tree NSA310S : Add DM SATA configs arch/arm/dts/Makefile |

<    1   2   3   4   5