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.

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

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

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

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

[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

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

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 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-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] ddr: marvell: a38x: Add support for DDR4 from Marvell mv-ddr-marvell repository

2023-01-16 Thread Tony Dinh
On Mon, Jan 16, 2023 at 4:33 PM Tony Dinh wrote: > > Hi all, > > On Sat, Jan 14, 2023 at 1:45 PM Tony Dinh wrote: > > > > Hi Pali & Tom, > > > > On Sat, Jan 14, 2023 at 12:06 PM Pali Rohár wrote: > > > > > > On Saturday 14 January 2023 1

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

2023-01-16 Thread Tony Dinh
Hi all, On Sat, Jan 14, 2023 at 1:45 PM Tony Dinh wrote: > > Hi Pali & Tom, > > On Sat, Jan 14, 2023 at 12:06 PM Pali Rohár wrote: > > > > On Saturday 14 January 2023 15:03:41 Tom Rini wrote: > > > On Sat, Jan 14, 2023 at 07:51:00PM +0100, Pali Rohár wrote:

Re: [bug] timer: orion-timer: static variable patch breaks armada-388-clearfog boot

2023-01-15 Thread Tony Dinh
Hi Martin, On Sat, Jan 14, 2023 at 9:31 PM Martin Rowe wrote: > > Hi, > > Commit 5387b093 was a fix for early_init_done causing issues on Pogo > v4 [1]. The fix breaks armada-388-clearfog because the boot hangs > indefinitely. > > It appears that the cause is an infinite loop in __udelay due to

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-14 Thread Tony Dinh
On Sat, Jan 14, 2023 at 2:53 PM Pali Rohár wrote: > > On Saturday 14 January 2023 14:48:28 Tony Dinh wrote: > > Hi Pali, > > > > On Sat, Jan 14, 2023 at 2:12 PM Tony Dinh wrote: > > > > > > Hi Pali, > > > > > > On Sat, Jan 14, 2023

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-14 Thread Tony Dinh
Hi Pali, On Sat, Jan 14, 2023 at 2:12 PM Tony Dinh wrote: > > Hi Pali, > > On Sat, Jan 14, 2023 at 1:44 PM Pali Rohár wrote: > > > > On Saturday 14 January 2023 13:35:08 Tony Dinh wrote: > > > Hi Pali, > > > > > > On Fri, Jan 13, 2023 at 5:32

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-14 Thread Tony Dinh
Hi Pali, On Sat, Jan 14, 2023 at 1:44 PM Pali Rohár wrote: > > On Saturday 14 January 2023 13:35:08 Tony Dinh wrote: > > Hi Pali, > > > > On Fri, Jan 13, 2023 at 5:32 PM Pali Rohár wrote: > > > > > > On Wednesday 11 January 2023 21:56:41 Pali Rohár wrot

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

2023-01-14 Thread Tony Dinh
Sat, Jan 14, 2023 at 02:41:32AM +0100, Pali Rohár wrote: > > > > > On Friday 13 January 2023 16:38:55 Tony Dinh wrote: > > > > > > @@ -16,4 +19,9 @@ obj-$(CONFIG_SPL_BUILD) += mv_ddr_build_message.o > > > > > > obj-$(CONFIG_SPL_BUILD)

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-14 Thread Tony Dinh
Hi Pali, On Fri, Jan 13, 2023 at 5:32 PM Pali Rohár wrote: > > On Wednesday 11 January 2023 21:56:41 Pali Rohár wrote: > > On Wednesday 11 January 2023 12:44:45 Tony Dinh wrote: > > > Hi Pali, > > > > > > On Wed, Jan 11, 2023 at 12:04 AM Pali Rohár wrote

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-12 Thread Tony Dinh
Hi Stefan, On Thu, Jan 12, 2023 at 10:13 PM Stefan Roese wrote: > > Hi Tony, > > (added Tom to Cc) > > On 1/13/23 02:40, Tony Dinh wrote: > > Hi Stefan, > > > > On Wed, Jan 11, 2023 at 12:56 PM Pali Rohár wrote: > >> > >> On Wednesday 1

Re: patman: ModuleNotFoundError

2023-01-12 Thread Tony Dinh
Hi Maxim, On Thu, Jan 12, 2023 at 5:22 PM Maxim Cournoyer wrote: > > Hi, > > - Original Message - > > From: "Tony Dinh" > > To: "Simon Glass" , "Maxim Cournoyer" > > , "U-Boot Mailing List" > > > > Cc: &

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-12 Thread Tony Dinh
Hi Stefan, On Wed, Jan 11, 2023 at 12:56 PM Pali Rohár wrote: > > On Wednesday 11 January 2023 12:44:45 Tony Dinh wrote: > > Hi Pali, > > > > On Wed, Jan 11, 2023 at 12:04 AM Pali Rohár wrote: > > > > > > On Tuesday 10 January 2023 21:07:45 Tony Dinh

patman: ModuleNotFoundError

2023-01-12 Thread Tony Dinh
Hi Simon, I've updated to the latest u-boot master, and saw this error. ./tools/patman/patman --help Traceback (most recent call last): File "/usr/src/u-boot-master/./tools/patman/patman", line 23, in from patman import func_test File

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-11 Thread Tony Dinh
Hi Pali, On Wed, Jan 11, 2023 at 12:04 AM Pali Rohár wrote: > > On Tuesday 10 January 2023 21:07:45 Tony Dinh wrote: > > Hi Pali, > > > > On Mon, Jan 9, 2023 at 5:44 PM Tony Dinh wrote: > > > > > > On Mon, Jan 9, 2023 at 5:38 PM Pali Rohár wrote: >

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-10 Thread Tony Dinh
Hi Pali, On Mon, Jan 9, 2023 at 5:44 PM Tony Dinh wrote: > > On Mon, Jan 9, 2023 at 5:38 PM Pali Rohár wrote: > > > > On Monday 09 January 2023 17:35:24 Tony Dinh wrote: > > > Hi Pali, > > > > > > On Mon, Jan 9, 2023 at 5:02 PM Pali Rohár wrote: &g

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-09 Thread Tony Dinh
On Mon, Jan 9, 2023 at 5:38 PM Pali Rohár wrote: > > On Monday 09 January 2023 17:35:24 Tony Dinh wrote: > > Hi Pali, > > > > On Mon, Jan 9, 2023 at 5:02 PM Pali Rohár wrote: > > > > > > On Monday 09 January 2023 16:55:56 Tony Dinh wrote: > > >

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-09 Thread Tony Dinh
Hi Pali, On Mon, Jan 9, 2023 at 5:02 PM Pali Rohár wrote: > > On Monday 09 January 2023 16:55:56 Tony Dinh wrote: > > Hi Pali, > > > > On Wed, Jan 4, 2023 at 1:04 PM Tony Dinh wrote: > > > > > > Hello, > > > > > > On Wed, Jan 4, 2023 a

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-09 Thread Tony Dinh
Hi Pali, On Wed, Jan 4, 2023 at 1:04 PM Tony Dinh wrote: > > Hello, > > On Wed, Jan 4, 2023 at 9:44 AM Pali Rohár wrote: > > > > On Wednesday 04 January 2023 23:41:05 Chris Packham wrote: > > > On Wed, 4 Jan 2023, 8:52 PM Pali Rohár, wrote: > > > >

Re: linksys wrt1900acs v2 boot problem

2023-01-06 Thread Tony Dinh
Hi all, On Fri, Jan 6, 2023 at 9:35 AM Pali Rohár wrote: > > Hello Dilyan! > > On Tuesday 28 September 2021 22:01:40 Dilyan Lazarov wrote: > > Hi, > > I have a problem with my linksys wrt1900acs. > > My main question is this a hardware problem or software problem? > > Is it possible to address?

Re: kwboot : bug when board stops acking

2023-01-06 Thread Tony Dinh
Hello, On Fri, Jan 6, 2023 at 9:52 AM Pali Rohár wrote: > > Hello Stephane! > > On Wednesday 08 January 2020 15:21:12 SC wrote: > > Hi list, > > > > I think there's a bug in kwboot. > > I have a faulty board that stops acking xmodem frames after a certain > > number of packets and kwboot > >

Re: kwboot: UART booting with bin_hdr u-boot (Marvell Armada 385)

2023-01-04 Thread Tony Dinh
; > > > > > > > On Tuesday 03 January 2023 17:55:41 Tony Dinh wrote: > > > > > Hi Pali, > > > > > > > > > > I'm building a new u-boot for the Thecus N2350 board (Armada 385 > > > > > dual-core 1Ghz

[PATCH] arm: kirkwood: Convert to DM Serial for various Kirkwood boards

2022-12-29 Thread Tony Dinh
that this will work for boards that have either non-DM serial and DM_SERIAL. Also, add the CONFIG_KIRKWOOD_COMMON option to enable DM_SERIAL as a common option for boards that have been tested. Signed-off-by: Tony Dinh --- arch/arm/mach-kirkwood/Kconfig | 22 ++ 1 file changed

Re: Converting to DM SERIAL for Kirkwood boards

2022-12-22 Thread Tony Dinh
Hi Stefan, On Thu, Dec 15, 2022 at 10:29 PM Stefan Roese wrote: > > Hi Tony, > > On 12/16/22 03:42, Tony Dinh wrote: > > Hi all, > > > > On Mon, Dec 12, 2022 at 5:18 PM Tony Dinh wrote: > >> > >> Hi Michael, > >> > >> On Mon, D

Re: [PATCH] timer: orion-timer: Fix problem with early static variable

2022-12-21 Thread Tony Dinh
which does > not work correctly before relocation in all cases. > > This patch removes this static variable and replaces it's functionality > via a function that detects if the timer is already initialized. > > Signed-off-by: Stefan Roese > Cc: Pali Rohár > Cc: Michael

Re: Converting to DM SERIAL for Kirkwood boards

2022-12-21 Thread Tony Dinh
Hi Stefan, On Wed, Dec 21, 2022 at 1:29 AM Stefan Roese wrote: > > Hi Pali, > > On 12/20/22 09:07, Pali Rohár wrote: > > On Tuesday 20 December 2022 07:20:15 Stefan Roese wrote: > >> Hi Tony, > >> > >> On 12/20/22 02:36, Tony Dinh wrote: > >>

Re: Converting to DM SERIAL for Kirkwood boards

2022-12-19 Thread Tony Dinh
Hi Stefan, On Mon, Dec 19, 2022 at 4:06 PM Tony Dinh wrote: > > Hi Stefan, > > On Mon, Dec 19, 2022 at 1:22 PM Tony Dinh wrote: > > > > Hi Stefan, > > > > On Sun, Dec 18, 2022 at 11:29 PM Stefan Roese wrote: > > > > > > Hi T

Re: Converting to DM SERIAL for Kirkwood boards

2022-12-19 Thread Tony Dinh
Hi Stefan, On Mon, Dec 19, 2022 at 1:22 PM Tony Dinh wrote: > > Hi Stefan, > > On Sun, Dec 18, 2022 at 11:29 PM Stefan Roese wrote: > > > > Hi Tony, > > > > On 12/19/22 07:17, Stefan Roese wrote: > > > > > > > > >> git chec

Re: Converting to DM SERIAL for Kirkwood boards

2022-12-19 Thread Tony Dinh
Hi Stefan, On Sun, Dec 18, 2022 at 11:29 PM Stefan Roese wrote: > > Hi Tony, > > On 12/19/22 07:17, Stefan Roese wrote: > > > > >> git checkout 37bb396669b27aa62fe8bc5eeb6bfde92e09c2d3 > >> Previous HEAD position was 3b44b3fdf2 arm: mvebu: Add support for > >> programming LD0 and LD1 eFuse > >>

Re: Converting to DM SERIAL for Kirkwood boards

2022-12-18 Thread Tony Dinh
Hi Stefan, On Fri, Dec 16, 2022 at 1:49 PM Tony Dinh wrote: > > Hi Stefan, > Yes, I also think we need Kconfig changes for Kirwood. I will try that > and send in patches. > > Hi Pali, > I hope debugging this will be a bit quicker now that I can tell that > it got stuc

Re: Converting to DM SERIAL for Kirkwood boards

2022-12-16 Thread Tony Dinh
Hi Stefan, Yes, I also think we need Kconfig changes for Kirwood. I will try that and send in patches. Hi Pali, I hope debugging this will be a bit quicker now that I can tell that it got stuck (hung or infinite loop) in nand_init() in ./common/board_r.c. U-Boot

Re: Converting to DM SERIAL for Kirkwood boards

2022-12-15 Thread Tony Dinh
Hi all, On Mon, Dec 12, 2022 at 5:18 PM Tony Dinh wrote: > > Hi Michael, > > On Mon, Dec 12, 2022 at 1:03 AM Michael Walle wrote: > > > > >> On 12/9/22 04:55, Tony Dinh wrote: > > >> > Hi Simon et al, > > >> > > > >> > (

Re: Converting to DM SERIAL for Kirkwood boards

2022-12-12 Thread Tony Dinh
Hi Michael, On Mon, Dec 12, 2022 at 1:03 AM Michael Walle wrote: > > >> 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 con

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. I &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

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

Re: [PATCH 0/9] Nokia RX-51: Small cleanups and UBI boot test case

2022-09-05 Thread Tony Dinh
Thanks Damiel! On Sun, Sep 4, 2022 at 3:10 PM Pali Rohár wrote: > > On Sunday 04 September 2022 22:58:19 Daniel Golle wrote: > > On Sun, Sep 04, 2022 at 12:28:24PM -0700, Tony Dinh wrote: > > > Hi Pali, > > > > > > On Sun, Sep 4, 2022 at 2:37 AM Pali Rohár

Re: [PATCH 0/9] Nokia RX-51: Small cleanups and UBI boot test case

2022-09-04 Thread Tony Dinh
On Sun, Sep 4, 2022 at 12:28 PM Tony Dinh wrote: > > Hi Pali, > > On Sun, Sep 4, 2022 at 2:37 AM Pali Rohár wrote: > > > > On Saturday 03 September 2022 20:01:45 Tony Dinh wrote: > > > Hi Pali, > > > > > > On Sat, Sep 3, 2022 at 6:29 PM Pali R

Re: [PATCH v2 3/8] timer: orion-timer: Add timer_get_boot_us() for BOOTSTAGE support

2022-09-04 Thread Tony Dinh
Hi Michael, On Sun, Sep 4, 2022 at 1:54 AM Michael Walle wrote: > > Am 2022-09-04 02:02, schrieb Tony Dinh: > > Hi Stefan, > > > > Sorry, that message was prematurely sent (fat finger). Please see the > > continuation below. > > > > On Sat, Sep 3, 2022

Re: [PATCH 0/9] Nokia RX-51: Small cleanups and UBI boot test case

2022-09-04 Thread Tony Dinh
Hi Pali, On Sun, Sep 4, 2022 at 2:37 AM Pali Rohár wrote: > > On Saturday 03 September 2022 20:01:45 Tony Dinh wrote: > > Hi Pali, > > > > On Sat, Sep 3, 2022 at 6:29 PM Pali Rohár wrote: > > > > > > Do various small fixup/cleanups and extend test

Re: [PATCH 0/9] Nokia RX-51: Small cleanups and UBI boot test case

2022-09-03 Thread Tony Dinh
Hi Pali, On Sat, Sep 3, 2022 at 6:29 PM Pali Rohár wrote: > > Do various small fixup/cleanups and extend test script to boot kernel > image from UBI volume. This test verifies that U-Boot UBI implementation > is working and U-Boot can read volume with bootable kernel code > correctly. And

Re: [PATCH v2 3/8] timer: orion-timer: Add timer_get_boot_us() for BOOTSTAGE support

2022-09-03 Thread Tony Dinh
Hi Pali, On Sat, Sep 3, 2022 at 6:08 PM Pali Rohár wrote: > > On Saturday 03 September 2022 17:38:01 Tony Dinh wrote: > > Hi Pali, > > > > Is there a way to get the CPU frequency from the board upon start up? > > > > Thanks, > > Tony > > Hello! Eac

Re: [PATCH v2 3/8] timer: orion-timer: Add timer_get_boot_us() for BOOTSTAGE support

2022-09-03 Thread Tony Dinh
Hi Pali, On Sat, Sep 3, 2022 at 5:02 PM Tony Dinh wrote: > > Hi Stefan, > > Sorry, that message was prematurely sent (fat finger). Please see the > continuation below. > > On Sat, Sep 3, 2022 at 4:43 PM Tony Dinh wrote: > > > > Hi Stefan, > > > >

Re: [PATCH v2 3/8] timer: orion-timer: Add timer_get_boot_us() for BOOTSTAGE support

2022-09-03 Thread Tony Dinh
Hi Stefan, Sorry, that message was prematurely sent (fat finger). Please see the continuation below. On Sat, Sep 3, 2022 at 4:43 PM Tony Dinh wrote: > > Hi Stefan, > > On Sat, Sep 3, 2022 at 3:44 AM Stefan Roese wrote: > > > > Hi Tony, > > > > On 03.09

Re: [PATCH v2 3/8] timer: orion-timer: Add timer_get_boot_us() for BOOTSTAGE support

2022-09-03 Thread Tony Dinh
Hi Stefan, On Sat, Sep 3, 2022 at 3:44 AM Stefan Roese wrote: > > Hi Tony, > > On 03.09.22 11:44, Tony Dinh wrote: > > Hi Stefan, > > > > On Thu, Sep 1, 2022 at 11:25 PM Stefan Roese wrote: > >> > >> Add timer_get_boot_us() to support board

Re: [PATCH v2 3/8] timer: orion-timer: Add timer_get_boot_us() for BOOTSTAGE support

2022-09-03 Thread Tony Dinh
Hi Stefan, On Thu, Sep 1, 2022 at 11:25 PM Stefan Roese wrote: > > Add timer_get_boot_us() to support boards, that have CONFIG_BOOTSTAGE > enabled, like pogo_v4. > > Signed-off-by: Stefan Roese > --- > v2: > - Change timer_get_boot_us() to use the timer_early functions > - Remove #if

Re: [PATCH v2 0/8] Enable CONFIG_TIMER for all Kirkwood / MVEBU boards

2022-09-02 Thread Tony Dinh
welcome and necessary. I've also discovered that the timer command (CONFIG_CMD_TIMER) was broken at some time in the past. It does not keep time correctly (lagging realtime badly), with or without this patch set . I think we would want to investigate that issue later. The sleep command works perf

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-09-01 Thread Tony Dinh
Hi Stefan, On Thu, Sep 1, 2022 at 7:51 PM Tony Dinh wrote: > > Hello, > > On Thu, Sep 1, 2022 at 4:46 PM Tony Dinh wrote: > > > > Hi Stefan R, > > > > On Thu, Sep 1, 2022 at 7:35 AM Simon Glass wrote: > > > > > > Hi, > &g

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-09-01 Thread Tony Dinh
Hello, On Thu, Sep 1, 2022 at 4:46 PM Tony Dinh wrote: > > Hi Stefan R, > > On Thu, Sep 1, 2022 at 7:35 AM Simon Glass wrote: > > > > Hi, > > > > On Thu, 1 Sept 2022 at 03:27, Stefan Roese wrote: > > > > > > H

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-09-01 Thread Tony Dinh
Hi Stefan R, On Thu, Sep 1, 2022 at 7:35 AM Simon Glass wrote: > > Hi, > > On Thu, 1 Sept 2022 at 03:27, Stefan Roese wrote: > > > > Hi Tony, > > > > On 01.09.22 09:39, Tony Dinh wrote: > > > > > > > > >>> Some ideas. >

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-09-01 Thread Tony Dinh
Hi Simon, On Wed, Aug 31, 2022 at 7:27 PM Simon Glass wrote: > > Hi Tony, > > On Wed, 31 Aug 2022 at 19:39, Tony Dinh wrote: > > > > Hi Stefan, > > > > On Wed, Aug 31, 2022 at 2:53 PM Tony Dinh wrote: > > > > > > Hi Stefan, > &

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-08-31 Thread Tony Dinh
Hi Stefan, On Wed, Aug 31, 2022 at 2:53 PM Tony Dinh wrote: > > Hi Stefan, > > On Wed, Aug 31, 2022 at 8:08 AM Tony Dinh wrote: > > > > Hi Stefan, > > > > On Wed, Aug 31, 2022 at 12:22 AM Stefan Roese wrote: > > > > > > Hi Tony, > > &

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-08-31 Thread Tony Dinh
Hi Stefan, On Wed, Aug 31, 2022 at 8:08 AM Tony Dinh wrote: > > Hi Stefan, > > On Wed, Aug 31, 2022 at 12:22 AM Stefan Roese wrote: > > > > Hi Tony, > > > > On 31.08.22 08:30, Tony Dinh wrote: > > > Hi Stefan, > > > > > > On Tue,

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-08-31 Thread Tony Dinh
Hi Stefan, On Wed, Aug 31, 2022 at 12:22 AM Stefan Roese wrote: > > Hi Tony, > > On 31.08.22 08:30, Tony Dinh wrote: > > Hi Stefan, > > > > On Tue, Aug 30, 2022 at 10:08 PM Stefan Roese wrote: > >> > >> Hi Tony, > >>

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-08-31 Thread Tony Dinh
Hi Stefan, On Tue, Aug 30, 2022 at 11:19 PM Stefan Roese wrote: > > Hi Tony, > > On 31.08.22 07:08, Stefan Roese wrote: > > Hi Tony, > > > > On 31.08.22 07:02, Stefan Roese wrote: > >> Hi Tony, > >> > >> On 31.08.22 00:15, Tony Dinh wrot

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-08-31 Thread Tony Dinh
Hi Stefan, On Tue, Aug 30, 2022 at 10:08 PM Stefan Roese wrote: > > Hi Tony, > > On 31.08.22 07:02, Stefan Roese wrote: > > Hi Tony, > > > > On 31.08.22 00:15, Tony Dinh wrote: > >> Hi Stefan, > >> > >> On Tue, Aug 30, 2022 at 4:53

Re: [PATCH 0/6] Enable CONFIG_TIMER for all Kirwood / MVEBU boards

2022-08-30 Thread Tony Dinh
Hi Stefan, On Tue, Aug 30, 2022 at 4:53 AM Stefan Roese wrote: > > This patchset enhaces the recently added Orion Timer driver to support > all other Kirkwood & 32bit MVEBU Armada platforms. Additionally, this > timer support is then enabled per default for those platforms, so that > the board

Re: mvebu - switch to orion-timer

2022-08-29 Thread Tony Dinh
Hi Stefan, On Mon, Aug 29, 2022 at 5:50 AM Pali Rohár wrote: > > On Monday 29 August 2022 14:07:29 Stefan Roese wrote: > > Hi Michael, Pali, Tony & all, > > > > On 24.08.22 09:35, Michael Walle wrote: > > > Hi, > > > > > > > On 24.08.22 00:33, Pali Rohár wrote: > > > > > Hello Stefan! Now when

Re: mvebu - switch to orion-timer

2022-08-23 Thread Tony Dinh
Hi Stefan, I would like to see this too. I was thinking of doing it per board, but it is more appropriate to enable it for Arch_Kirkwood and Arch_MVEBU. Thanks, Tony On Tue, Aug 23, 2022 at 3:33 PM Pali Rohár wrote: > > Hello Stefan! Now when U-Boot contains new orion-timer.c driver, which >

Re: [PATCH] arm: mvebu: mbus: Fix mbus driver to work also after U-Boot relocation

2022-08-22 Thread Tony Dinh
Hi Pali, On Mon, Aug 22, 2022 at 4:00 PM Pali Rohár wrote: > > On Wednesday 17 August 2022 08:17:36 Stefan Roese wrote: > > On 10.08.22 14:46, Pali Rohár wrote: > > > mbus driver is initialized from arch_cpu_init() callback which is called > > > before relocation. This driver stores lot of

[PATCH] arm: kirkwood: Add CONFIG_SUPPORT_PASSING_ATAGS

2022-08-17 Thread Tony Dinh
Add CONFIG_SUPPORT_PASSING_ATAGS and friends to support legacy image method of booting. Debian and OpenWrt installer use uImage with appended DTB for these Kirkwood boards. Signed-off-by: Tony Dinh --- configs/dockstar_defconfig | 3 +++ configs/dreamplug_defconfig | 3 +++ configs

Re: [RESEND PATCH] arm: kirkwood: nsa310s: Add Distro boot capability

2022-08-12 Thread Tony Dinh
Hi Stefan, On Thu, Aug 11, 2022 at 10:29 PM Stefan Roese wrote: > > Hi Tony, > > On 12.08.22 01:40, Tony Dinh wrote: > > - Add distro boot to board include file and deconfig file > > - Miscellaneous changes: > > - Remove Gerald from maintainer list (

[RESEND PATCH] arm: kirkwood: nsa310s: Add Distro boot capability

2022-08-11 Thread Tony Dinh
CONFIG_UBIFS_SILENCE_MSG to reduce binary size. Note that this patch is depended on the following patch: https://patchwork.ozlabs.org/project/uboot/patch/20220807192709.21717-1-p...@kernel.org/ Signed-off-by: Tony Dinh --- board/zyxel/nsa310s/MAINTAINERS | 1 - configs/nsa310s_defconfig

Re: [PATCH] arm: kirkwood: nsa310s: Add Distro boot capability

2022-08-08 Thread Tony Dinh
Hi Stefan, I need to resend this patch. Sorry for the noise! Thanks, Tony On Mon, Aug 8, 2022 at 7:35 PM Tony Dinh wrote: > > - Add distro boot to board include file and deconfig file > - Miscellaneous changes: > - Remove Gerald from maintainer list (email bounced) >

[PATCH] arm: kirkwood: pogo_v4: Add Distro boot capability

2022-08-08 Thread Tony Dinh
unused configs to reduce binary size. Note that this patch is depended on the following patch: https://patchwork.ozlabs.org/project/uboot/patch/20220807192709.21717-1-p...@kernel.org/ Signed-off-by: Tony Dinh --- configs/pogo_v4_defconfig | 25 -- include/configs/pogo_v4.h

[PATCH] arm: kirkwood: nsa310s: Add Distro boot capability

2022-08-08 Thread Tony Dinh
CONFIG_UBIFS_SILENCE_MSG to reduce binary size. Note that this patch is depended on the following patch: https://patchwork.ozlabs.org/project/uboot/patch/20220807192709.21717-1-p...@kernel.org/ Signed-off-by: Tony Dinh --- board/zyxel/nsa310s/MAINTAINERS | 1 - configs/nsa310s_defconfig

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 co

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

2022-08-07 Thread Tony Dinh
ced by 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, 3

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

2022-08-04 Thread Tony Dinh
DTS is 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] arm: mvebu: spl: Always fallback to BootROM boot method

2022-08-04 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 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-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] 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: [MVEBU] SPI flash offset was depecrated?

2022-07-30 Thread Tony Dinh
, 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 > explanation!

Re: [MVEBU] SPI flash offset was depecrated?

2022-07-30 Thread Tony Dinh
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 needed to speci

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

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

Re: MVEBU A38x Regulator

2022-07-25 Thread Tony Dinh
USB 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. > > Tha

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-24 Thread Tony Dinh
hár 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 using Stefan ./b

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

Re: [PATCH] net: marvell: mvgbe: Set PHY page 0 before phy_connect

2022-04-25 Thread Tony Dinh
Hi Stefan, On Mon, Apr 25, 2022 at 4:18 AM Stefan Roese wrote: > > Hi Tony, > > On 4/25/22 11:33, Tony Dinh wrote: > > Hi Stefan, > > > > On Sun, Apr 24, 2022 at 11:00 PM Stefan Roese wrote: > >> > >> Hi Tony, > >> > >> On 4/23/

Re: [PATCH] net: marvell: mvgbe: Set PHY page 0 before phy_connect

2022-04-25 Thread Tony Dinh
Hi Stefan, On Sun, Apr 24, 2022 at 11:00 PM Stefan Roese wrote: > > Hi Tony, > > On 4/23/22 04:15, Tony Dinh wrote: > > Hi Stefan, > > > > Please see my various comments below. And my thoughts at the end. > > > > On Thu, Apr 21, 2022 at 11:15

Re: [PATCH] net: marvell: mvgbe: Set PHY page 0 before phy_connect

2022-04-22 Thread Tony Dinh
Hi Stefan, Please see my various comments below. And my thoughts at the end. On Thu, Apr 21, 2022 at 11:15 PM Stefan Roese wrote: > > Hi Tony, > > On 4/21/22 23:21, Tony Dinh wrote: > > > > >> What really puzzles me is, why the page address is set to a non-zero &

Re: [PATCH] net: marvell: mvgbe: Set PHY page 0 before phy_connect

2022-04-21 Thread Tony Dinh
Hi Stefan, On Thu, Apr 21, 2022 at 7:26 AM Stefan Roese wrote: > > Hi Tony, > > On 4/21/22 03:45, Tony Dinh wrote: > > Hi Stefan, > > > > On Tue, Apr 19, 2022 at 1:47 PM Tony Dinh wrote: > >> > >> Hi Stefan, > >> > >> On Tue

Re: [PATCH] net: marvell: mvgbe: Set PHY page 0 before phy_connect

2022-04-20 Thread Tony Dinh
Hi Stefan, On Tue, Apr 19, 2022 at 1:47 PM Tony Dinh wrote: > > Hi Stefan, > > On Tue, Apr 19, 2022 at 3:29 AM Stefan Roese wrote: > > > > Hi Tony, > > > > On 4/12/22 22:18, Tony Dinh wrote: > > > For most Kirkwood boards, the PHY page is alread

Re: [PATCH] net: marvell: mvgbe: Set PHY page 0 before phy_connect

2022-04-19 Thread Tony Dinh
Hi Stefan, On Tue, Apr 19, 2022 at 3:29 AM Stefan Roese wrote: > > Hi Tony, > > On 4/12/22 22:18, Tony Dinh wrote: > > For most Kirkwood boards, the PHY page is already set to page 0 > > (in register 22) before phy_connect is invoked. But some board like > >

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

2022-04-17 Thread Tony Dinh
. - Enable CONFIG_PHY_MARVELL to properly configure the network. - Miscellaneous changes: Move constants to .c file and remove header file board/Marvell/sheevaplug/sheevaplug.h, use BIT macro, and add/cleanup comments. Signed-off-by: Tony Dinh --- Changes in v2: - Remove CONFIG_RESET_PHY_R from configs

<    1   2   3   4   5   >