Re: [PATCH 5/6] pogo_v4: Disable LTO

2022-11-22 Thread Tony Dinh
Resend to include the mailing list! Tony On Tue, Nov 22, 2022 at 11:58 AM Tony Dinh wrote: > > Hi Tom, > > On Tue, Nov 22, 2022 at 9:32 AM Tom Rini wrote: > > > > With gcc-12.2 we now get: > > lib/zlib/inflate.c:360: undefined reference to `__gnu_thumb1_case_si&#x

Re: [PATCH 5/6] pogo_v4: Disable LTO

2022-11-23 Thread Tony Dinh
Hi Tom, On Wed, Nov 23, 2022 at 5:45 AM Tom Rini wrote: > > On Tue, Nov 22, 2022 at 01:09:55PM -0800, Tony Dinh wrote: > > Resend to include the mailing list! > > > > Tony > > > > On Tue, Nov 22, 2022 at 11:58 AM Tony Dinh wrote: > > > > > &g

Re: Converting to DM SERIAL for Kirkwood boards

2022-12-08 Thread Tony Dinh
Hi Simon et al, (Resend to include u-boot mailing list) I'm in the process of converting Kirkwood boards to use DM SERIAL. I could not seem to get it to work, having tried adding CONFIG_DM_SERIAL, and also playing with various related CONFIG options (CONFIG_SPECIFY_CONSOLE_INDEX and CONFIG_CONS

Re: Converting to DM SERIAL for Kirkwood boards

2022-12-09 Thread Tony Dinh
On Thu, Dec 8, 2022 at 10:56 PM Stefan Roese wrote: > > Hi Tony, > > On 12/9/22 04:55, Tony Dinh wrote: > > Hi Simon et al, > > > > (Resend to include u-boot mailing list) > > > > I'm in the process of converting Kirkwood boards to use DM SERIAL.

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

[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

[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 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 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] arm: kirkwood: Dockstar: Update board maintainer

2021-08-09 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] arm: kirkwood: Goflex Home: Update board maintainer

2021-08-09 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 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 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 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

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

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

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

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

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

MVEBU A38x Regulator

2022-07-20 Thread Tony Dinh
Hi Pali/Marek, I'm writing u-boot for the Synology DS116 (Armada 385, dual core, 1.8 Ghz). I could not seem to get the DM Regulator to power up the SATA port on this board. I'm using Stefan ./board/Marvell/db-88f6820-gp as the starting point, and using the latest DTS https://github.com/torvalds/l

Re: MVEBU A38x Regulator

2022-07-24 Thread Tony Dinh
wrote: > > On Wednesday 20 July 2022 15:47:55 Tony Dinh wrote: > > Hi Pali/Marek, > > > > I'm writing u-boot for the Synology DS116 (Armada 385, dual core, 1.8 > > Ghz). I could not seem to get the DM Regulator to power up the SATA > > port on this board. I'm u

Re: MVEBU A38x Regulator

2022-07-25 Thread Tony Dinh
Hi Pali, I'll get the patch and give it a try. Thanks, Tony On Mon, Jul 25, 2022 at 12:13 PM Pali Rohár wrote: > > On Sunday 24 July 2022 11:27:00 Pali Rohár wrote: > > On Wednesday 20 July 2022 15:47:55 Tony Dinh wrote: > > > Hi Pali/Marek, > > > > &

Re: MVEBU A38x Regulator

2022-07-25 Thread Tony Dinh
GPIO 26 and 27 were also similarly misconfigured . And now I can power up both USB ports with a clear/set GPIO. Thanks for an awesome patch in such a short time! Tony On Mon, Jul 25, 2022 at 1:22 PM Tony Dinh wrote: > > Hi Pali, > > I'll get the patch and give it a try. > >

Re: [PATCH 8/8] arm: mvebu: turris_omnia: Enable a38x pinctrl and gpio support

2022-07-28 Thread Tony Dinh
Hi Pali, I noticed that PINCTRL_FULL is default to Y already in Kconfig. Is it normal practice to include it in the defconfig anyway? ./drivers/pinctrl/Kconfig config PINCTRL_FULL bool "Support full pin controllers" depends on PINCTRL && OF_CONTROL default y All the best

Re: [PATCH 0/8] arm: mvebu: Add Armada 38x pin muxing support

2022-07-28 Thread Tony Dinh
Hi Pali, After correcting my MPP configuration in board_early_init, I ran the test again with this patch series. Everything works (upon u-boot startup) : Ethernet, SPI, SATA and USB. Board: Synology DS116, Armada 385 (out-of-tree u-boot) Tested-by: Tony Dinh Thanks, Tony On Mon, Jul 25, 2022

[MVEBU] SPI flash offset was depecrated?

2022-07-30 Thread Tony Dinh
Hi Stefan and Pali, Sorry the question might be a bit trivial, but I could not find it in the source tree. It's been a long time and I'm not up to date on this subject. I recall a long time ago we needed to specify a SPI flash offset for the u-boot image so SPL would know where to load it from. I

Re: [MVEBU] SPI flash offset was depecrated?

2022-07-30 Thread Tony Dinh
ay 30 July 2022 15:13:05 Tony Dinh wrote: > > Hi Stefan and Pali, > > > > Sorry the question might be a bit trivial, but I could not find it in > > the source tree. It's been a long time and I'm not up to date on this > > subject. I recall a long time ago we

Re: [MVEBU] SPI flash offset was depecrated?

2022-07-30 Thread Tony Dinh
Tony On Sat, Jul 30, 2022 at 4:04 PM Tony Dinh wrote: > > Hi Pali, > > "flash u-boot.bin or spl.bin separately" > > That's what we used to do many years ago! glad that we have a single > flashable image now, much more robust. Thanks for a clear and detailed &g

Re: [PATCH] arm: mvebu: spl: Always fallback to BootROM boot method

2022-08-02 Thread Tony Dinh
SPI driver? I also include the boot log after signature. Tested-by: Tony Dinh Thanks, Tony BootROM - 1.73 Booting from SPI flash U-Boot SPL 2022.10-rc1-00212-g80e1491a03-dirty (Aug 02 2022 - 14:07:12 -0700) High speed PHY - Version: 2.0 Detected Device ID 6820 board SerDes lanes topology

Re: [PATCH] arm: mvebu: spl: Always fallback to BootROM boot method

2022-08-02 Thread Tony Dinh
in the DTS took precedence here? #grep CONFIG_SF_DEFAULT_SPEED .config CONFIG_SF_DEFAULT_SPEED=100 #grep spi-max-frequency arch/arm/dts/armada-385-synology-ds116.dts spi-max-frequency = <5000>; Thanks, Tony > On Tuesday 02 August 2022 14:50:32 Tony Dinh wrote: > > Hi Pali, &

Re: [PATCH 0/5] arm: mvebu: Cleanup u-boot,dm-pre-reloc code

2022-08-03 Thread Tony Dinh
Hi Pali, I ran 3 tests: UART booting, SPI NOR booting from SPL, and SPI NOR booting from BootROM (CONFIG_SPL_SPI is not set). All tests work great! Synology DS116 (Armada 385). Tested-by: Tony Dinh Thanks, Tony On Wed, Aug 3, 2022 at 4:01 AM Pali Rohár wrote: > > This patch series cle

Re: [PATCH] arm: mvebu: spl: Always fallback to BootROM boot method

2022-08-03 Thread Tony Dinh
Hi Pali, On Wed, Aug 3, 2022 at 3:24 AM Pali Rohár wrote: > > On Tuesday 02 August 2022 15:13:13 Tony Dinh wrote: > > Hi Pali, > > > > On Tue, Aug 2, 2022 at 3:00 PM Pali Rohár wrote: > > > > > > Hello! We have tested that A385 BootROM on Turris Omn

Re: [PATCH] arm: mvebu: spl: Always fallback to BootROM boot method

2022-08-04 Thread Tony Dinh
not used in the probe. Thanks, Tony On Wed, Aug 3, 2022 at 11:06 PM Tony Dinh wrote: > > Hi Pali, > > On Wed, Aug 3, 2022 at 3:24 AM Pali Rohár wrote: > > > > On Tuesday 02 August 2022 15:13:13 Tony Dinh wrote: > > > Hi Pali, > > > > > > On Tue,

Re: [PATCH] ubifs: Allow to silence debug dumps

2022-08-07 Thread Tony Dinh
10 KB (with CONFIG_SYS_THUMB_BUILD=y). I also ran a regression test booting with UBIFS on the NSA310S board. Tested-by: Tony Dinh Thanks, Tony > > Signed-off-by: Pali Rohár > --- > fs/ubifs/Kconfig | 8 > fs/ubifs/debug.c | 28 > 2 files changed, 36

Re: [PATCH] ubifs: Allow to silence debug dumps

2022-08-07 Thread Tony Dinh
Hi Pali, On Sun, Aug 7, 2022 at 3:54 PM Pali Rohár wrote: > > On Sunday 07 August 2022 15:30:33 Tony Dinh wrote: > > Hi Pali, > > > > On Sun, Aug 7, 2022 at 12:27 PM Pali Rohár wrote: > > > > > > Debug dump logs are not always required. Add a new confi

Re: [PATCH RFC 26/26] dts: support building all dtb files for a specific vendor

2024-03-04 Thread Tony Dinh
Hi Caleb, On Mon, Mar 4, 2024 at 9:24 AM Caleb Connolly wrote: > > This adjusts OF_UPSTREAM to behave more like the kernel by allowing for > all the devicetree files for a given vendor to be compiled. This is > useful for Qualcomm in particular as most boards are supported by a > single U-Boot bu

Re: [PATCH v6 00/11] An effort to bring DT bindings compliance within U-Boot

2024-03-10 Thread Tony Dinh
Hi Sumit, Hi Tom, On Mon, Mar 4, 2024 at 4:29 AM Fabio Estevam wrote: > > On Mon, Mar 4, 2024 at 9:15 AM Sumit Garg wrote: > > > I suppose the earlier reference patch wasn't complete, can you rather > > try its v4 [1] instead? > > > > [1] > > https://patchwork.ozlabs.org/project/uboot/patch/202

Re: [PATCH v6 00/11] An effort to bring DT bindings compliance within U-Boot

2024-03-11 Thread Tony Dinh
Hi Sumit, On Sun, Mar 10, 2024 at 11:24 PM Sumit Garg wrote: > > Hi Tony, > > On Mon, 11 Mar 2024 at 09:20, Tony Dinh wrote: > > > > Hi Sumit, > > Hi Tom, > > > > On Mon, Mar 4, 2024 at 4:29 AM Fabio Estevam wrote: > > > > > > On Mo

Re: [PATCH] Makefile: Add missing OF_UPSTREAM Makefile for 32bit ARM

2024-03-19 Thread Tony Dinh
STREAM . > > > > Signed-off-by: Marek Vasut > > Tested-by: Adam Ford #am3517-evm Tested-by: Tony Dinh All the best, Tony > > > --- > > Cc: Adam Ford > > Cc: Biju Das > > Cc: Lad Prabhakar > > Cc: Paul Barker > >

[PATCH] arm: dts: kirkwood: Enable upstream DT on Kirkwood boards

2024-03-21 Thread Tony Dinh
Zyxel NSA325 (Kirkwood 88F6282) and Zyxel NSA310S (Kirkwood 88F6281). The Zyxel NSA325 board has a USB 3.0 controller attached to the PCIe bus. And the Zyxel NSA310S has an extensive overhaul in bindings and styles in upstream DTS version. Signed-off-by: Tony Dinh --- arch/arm/dts/kirkwood-dreamp

Re: [PATCH] arm: dts: kirkwood: Enable upstream DT on Kirkwood boards

2024-03-22 Thread Tony Dinh
Hi Michael, On Fri, Mar 22, 2024 at 2:10 PM Michael Walle wrote: > > Hi Tony, > > On Fri Mar 22, 2024 at 3:17 AM CET, Tony Dinh wrote: > > Enable OF_UPSTREAM to use upstream DT and add marvell/ prefix to the > > DEFAULT_DEVICE_TREE for Kirkwood boards. And so we can dire

[PATCH] arm: dts: kirkwood: Remove DTS files for Kirkwood boards

2024-03-26 Thread Tony Dinh
Remove DTS and DTSI files for Kirkwood boards that have upstream supports. This patch depends on "arm: dts: kirkwood: Enable upstream DT on Kirkwood boards" https://patchwork.ozlabs.org/project/uboot/patch/20240322021747.14873-1-mibo...@gmail.com/ Signed-off-by: Tony Dinh --- ar

Re: [PATCH] arm: dts: kirkwood: Enable upstream DT on Kirkwood boards

2024-03-26 Thread Tony Dinh
Hi Sumit, On Tue, Mar 26, 2024 at 9:21 PM Sumit Garg wrote: > > Hi Tony, > > On Fri, 22 Mar 2024 at 07:48, Tony Dinh wrote: > > > > Enable OF_UPSTREAM to use upstream DT and add marvell/ prefix to the > > DEFAULT_DEVICE_TREE for Kirkwood boards. And so we can di

Re: [PATCH] arm: dts: kirkwood: Remove DTS files for Kirkwood boards

2024-03-26 Thread Tony Dinh
Hi Sumit, On Tue, Mar 26, 2024 at 9:30 PM Sumit Garg wrote: > > On Wed, 27 Mar 2024 at 02:43, Tony Dinh wrote: > > > > Remove DTS and DTSI files for Kirkwood boards that have upstream supports. > > nit: s/supports/support/ > > > > > This patch depends on &

[PATCH v2] arm: dts: kirkwood: Enable upstream DT on Kirkwood boards

2024-03-27 Thread Tony Dinh
Zyxel NSA325 (Kirkwood 88F6282) and Zyxel NSA310S (Kirkwood 88F6281). The Zyxel NSA325 board has a USB 3.0 controller attached to the PCIe bus. And the Zyxel NSA310S has an extensive overhaul in bindings and styles in upstream DTS version. Signed-off-by: Tony Dinh --- Changes in v2: Remove unnecessar

Re: [PATCH v2] ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository

2023-01-17 Thread Tony Dinh
Hi Pali, On Tue, Jan 17, 2023 at 12:35 AM Pali Rohár wrote: > > Hello! Thank you for update. It is much better. > > On Monday 16 January 2023 21:34:39 Tony Dinh wrote: > > This syncs drivers/ddr/marvell/a38x/ with the master branch of > > repository &g

Re: [PATCH v2] ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository

2023-01-17 Thread Tony Dinh
Hi Pali, On Tue, Jan 17, 2023 at 1:25 PM Pali Rohár wrote: > > Hello! > > On Tuesday 17 January 2023 13:02:46 Tony Dinh wrote: > > Hi Pali, > > > > On Tue, Jan 17, 2023 at 12:35 AM Pali Rohár wrote: > > > > > > Hello! Thank you for update. It

Re: [PATCH v2] ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository

2023-01-18 Thread Tony Dinh
On Wed, Jan 18, 2023 at 10:30 AM Pali Rohár wrote: > > On Tuesday 17 January 2023 17:18:43 Tony Dinh wrote: > > Hi Pali, > > > > On Tue, Jan 17, 2023 at 1:25 PM Pali Rohár wrote: > > > > > > Hello! > > > > > > On Tuesd

Re: [PATCH v3] ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository

2023-01-19 Thread Tony Dinh
xes. Thanks for the review Palii. I will open a pull request and let you know so you can comment on it at Marvell repo. All the best, Tony > > On Wednesday 18 January 2023 19:03:04 Tony Dinh wrote: > > This syncs drivers/ddr/marvell/a38x/ with the master branch of repository > &

[PATCH] arm: kirkwood: Use Kirkwood common early malloc area for various Kirkwood boards

2023-01-23 Thread Tony Dinh
-by: Tony Dinh --- configs/dockstar_defconfig | 3 --- configs/dreamplug_defconfig | 3 --- configs/goflexhome_defconfig | 3 --- configs/iconnect_defconfig | 3 --- configs/nsa310s_defconfig| 3 --- configs/pogo_e02_defconfig | 3 --- configs/pogo_v4_defconfig| 3 --- configs

DM_SERIAL is broken for Kirkwood boards

2023-01-26 Thread Tony Dinh
Hi all, I ran some tests today (Pogo V4 and NSA310S boards) with the latest master branch and saw the same behavior we've seen before. The boards hung, and the serial console was silent after kwboot finished transferring the u-boot image. I'm running with this DTSI patch below (to enable dm-pre-re

Re: [PATCH v3] ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository

2023-01-26 Thread Tony Dinh
Hi Pali, On Thu, Jan 26, 2023 at 1:26 AM Stefan Roese wrote: > > On 1/19/23 04:03, Tony Dinh wrote: > > This syncs drivers/ddr/marvell/a38x/ with the master branch of repository > > https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell.git > > > > up to the

Re: DM_SERIAL is broken for Kirkwood boards

2023-01-26 Thread Tony Dinh
Hi all, On Thu, Jan 26, 2023 at 3:38 PM Tony Dinh wrote: > > Hi all, > > I ran some tests today (Pogo V4 and NSA310S boards) with the latest > master branch and saw the same behavior we've seen before. The boards > hung, and the serial console was silent after kwboot fini

Re: DM_SERIAL is broken for Kirkwood boards

2023-01-27 Thread Tony Dinh
Hi Tom, On Fri, Jan 27, 2023 at 5:39 AM Tom Rini wrote: > > On Fri, Jan 27, 2023 at 01:31:06PM +0100, Stefan Roese wrote: > > Hi Tony, > > > > On 1/27/23 07:13, Tony Dinh wrote: > > > Hi all, > > > > > > On Thu, Jan 26, 2023 at 3:38 PM Tony Din

Re: DM_SERIAL is broken for Kirkwood boards

2023-01-27 Thread Tony Dinh
Hi Tom, On Fri, Jan 27, 2023 at 2:06 PM Tom Rini wrote: > > On Fri, Jan 27, 2023 at 01:56:34PM -0800, Tony Dinh wrote: > > Hi Tom, > > > > On Fri, Jan 27, 2023 at 5:39 AM Tom Rini wrote: > > > > > > On Fri, Jan 27, 2023 at 01:31:06PM

[PATCH] arm: mvebu: Add support for Thecus N2350 (Armada 385) board

2023-01-27 Thread Tony Dinh
slots) - 3x buttons - 10x LEDS - serial console Signed-off-by: Tony Dinh --- arch/arm/dts/Makefile | 1 + .../dts/armada-385-thecus-n2350-u-boot.dtsi | 5 + arch/arm/dts/armada-385-thecus-n2350.dts | 451 ++ arch/arm/mach-mvebu/Kconfig

Re: [PATCH] arm: mvebu: Add support for Thecus N2350 (Armada 385) board

2023-01-28 Thread Tony Dinh
Hi Pali, On Sat, Jan 28, 2023 at 5:00 AM Pali Rohár wrote: > > Hello! It is nice to see support for another A385 board! > I have few comments, see below... > > On Friday 27 January 2023 20:47:10 Tony Dinh wrote: > > Thecus N2350 is a NAS based on Marvell Armada 385 SoC.

Re: [PATCH] arm: mvebu: Add support for Thecus N2350 (Armada 385) board

2023-01-28 Thread Tony Dinh
Hi Pali, On Sat, Jan 28, 2023 at 5:36 PM Pali Rohár wrote: > > Hello! > > On Saturday 28 January 2023 16:17:32 Tony Dinh wrote: > > Hi Pali, > > > > On Sat, Jan 28, 2023 at 5:00 AM Pali Rohár wrote: > > > > > > Hello! It is nice to see support f

Re: [PATCH] arm: mvebu: Add support for Thecus N2350 (Armada 385) board

2023-01-29 Thread Tony Dinh
Hi Pali, On Sun, Jan 29, 2023 at 3:20 AM Pali Rohár wrote: > > On Saturday 28 January 2023 18:07:29 Tony Dinh wrote: > > > > > > +#define BOOT_TARGET_DEVICES(func) \ > > > > > > + func(SCSI, scsi, 0) \ > > > > > > +

Re: [PATCH] arm: kirkwood: Add nas440 board, Marvell 88SE6121 AHCI

2023-01-30 Thread Tony Dinh
it would be a good idea to submit adding the PCI-ids for the > > 88SE6121 controller (drivers/ata/ahci-pci.c) as a separate patch. The > > controller is not specific to the NAS440, to my knowledge it is also used > > on the Iomega ix4-200d for example. > > > >

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 c

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: 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://li

kwboot: Testing latest kwboot with Kirkwood SoC boards

2021-11-04 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 6702).

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

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 November 2021 09:38:28 Pal

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 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-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-07 Thread Tony Dinh
CI_COMPAT=y CONFIG_USB_XHCI_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,

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

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-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 22:34:5

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

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

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
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-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-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: kwboot: Marvell Dove UART booting

2022-01-01 Thread Tony Dinh
Hi Pali, On Sat, Jan 1, 2022 at 1:53 PM Pali Rohár wrote: > > On Sunday 26 December 2021 13:41:03 Tony Dinh wrote: > > Follow up on the UART booting session before. > > > > Thanks for the advice about the Reset Strapping documentation. I've

Re: kwboot: Marvell Dove UART booting

2022-01-01 Thread Tony Dinh
Hi Pali On Sat, Jan 1, 2022 at 3:12 PM Pali Rohár wrote: > > On Saturday 01 January 2022 14:54:34 Tony Dinh wrote: > > Hi Pali, > > > > On Sat, Jan 1, 2022 at 1:53 PM Pali Rohár wrote: > > > > > > On Sunday 26 December 2021 13:41:03 Tony Dinh wrote: >

[PATCH 0/3] Add PCIe support for Iomega iConnect board

2022-01-01 Thread Tony Dinh
maintaining it actively Tony Dinh (3): arm: kirkwood: iConnect : Add PCIe related configs arm: kirkwood: iConnect : Add PCIe late init arm: kirkwood: iConnect : Update board maintainer board/iomega/iconnect/MAINTAINERS | 1 + board/iomega/iconnect/iconnect.c | 7 +++ configs

[PATCH 1/3] arm: kirkwood: iConnect : Add PCIe related configs

2022-01-01 Thread Tony Dinh
- Add MVEBU PCIe configs - Also add SYS_THUMB_BUILD to keep u-boot image size within 512K Signed-off-by: Tony Dinh --- configs/iconnect_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/iconnect_defconfig b/configs/iconnect_defconfig index d8593bcdd2..bc44dbd218 100644

[PATCH 2/3] arm: kirkwood: iConnect : Add PCIe late init

2022-01-01 Thread Tony Dinh
- Add board_late_init function to enable pci_init Signed-off-by: Tony Dinh --- board/iomega/iconnect/iconnect.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/board/iomega/iconnect/iconnect.c b/board/iomega/iconnect/iconnect.c index fe4be28b13..9e123aab00 100644 --- a/board/iomega

[PATCH 3/3] arm: kirkwood: iConnect : Update board maintainer

2022-01-01 Thread Tony Dinh
Add myself as maintainer. Signed-off-by: Tony Dinh --- board/iomega/iconnect/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/iomega/iconnect/MAINTAINERS b/board/iomega/iconnect/MAINTAINERS index 167cf074b9..a1b018e816 100644 --- a/board/iomega/iconnect/MAINTAINERS +++ b

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

2022-01-13 Thread Tony Dinh
Hi Stefan & Tom, On Thu, Jan 13, 2022 at 5:40 AM Stefan Roese wrote: > > On 12/23/21 08:26, Tony Dinh wrote: > > Add board maintainer for Pogoplug V4 board > > > > Signed-off-by: Tony Dinh > > Hmm, just this one file? > > I would prefer to not have thi

Re: [PATCH] pci: pci_mvebu: Add support for Kirkwood PCIe controllers

2022-01-13 Thread Tony Dinh
Hi Pali, On Thu, Jan 13, 2022 at 5:28 AM Pali Rohár wrote: > > Kirkwood uses macros KW_DEFADR_PCI_MEM and KW_DEFADR_PCI_IO for base > address of PCIe mappings. Size of PCIe windows is not defined in any macro > yet, so export them in new KW_DEFADR_PCI_MEM_SIZE and KW_DEFADR_PCI_IO_SIZE > macros.

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

2022-01-13 Thread Tony Dinh
Hi Tom, On Thu, Jan 13, 2022 at 5:36 AM Tom Rini wrote: > > On Thu, Jan 13, 2022 at 02:32:00PM +0100, Stefan Roese wrote: > > On 12/23/21 08:26, Tony Dinh wrote: > > > Add include configs file for Pogoplug V4 board > > > > > > Signed-off-by: Tony Dinh >

Re: [PATCH] pci: pci_mvebu: Add support for Kirkwood PCIe controllers

2022-01-14 Thread Tony Dinh
Hi Pali, On Thu, Jan 13, 2022 at 3:35 PM Tony Dinh wrote: > > Hi Pali, > > On Thu, Jan 13, 2022 at 5:28 AM Pali Rohár wrote: > > > > Kirkwood uses macros KW_DEFADR_PCI_MEM and KW_DEFADR_PCI_IO for base > > address of PCIe mappings. Size of PCIe windows is not de

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

2022-01-17 Thread Tony Dinh
file - Move constants to .c file and remove header file Tony Dinh (4): arm: kirkwood: Pogoplug-V4 : Add DTS files arm: kirkwood: Pogoplug V4 : Add board include header and defconfig files arm: kirkwood: Pogoplug-V4 : Add Kconfig files arm: kirkwood: Pogoplug-V4 : Add board implementation

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

2022-01-17 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 v3 2/4] arm: kirkwood: Pogoplug V4 : Add board include header and defconfig files

2022-01-17 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

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

2022-01-17 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

<    1   2   3   4   5   6   >