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, 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 v2 0/8] Enable CONFIG_TIMER for all Kirkwood / MVEBU boards

2022-09-02 Thread Tony Dinh
s are very 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 com

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 CONFIG_IS_E

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

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 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
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 RFC u-boot-mvebu 0/6] arm: mvebu: Fix boot mode detection

2023-03-25 Thread Tony Dinh
Hi Pali, On Sat, Mar 25, 2023 at 6:30 AM Pali Rohár wrote: > > On Saturday 04 March 2023 11:50:30 Pali Rohár wrote: > > Improve code for checking strapping pins which specifies boot mode source. > > > > Martin, could you test if Clearfog can be still configured into UART > > booting mode via HW s

Re: [PATCH RFC u-boot-mvebu 0/6] arm: mvebu: Fix boot mode detection

2023-03-25 Thread Tony Dinh
On Sat, Mar 25, 2023 at 12:27 PM Tony Dinh wrote: > > Hi Pali, > > On Sat, Mar 25, 2023 at 6:30 AM Pali Rohár wrote: > > > > On Saturday 04 March 2023 11:50:30 Pali Rohár wrote: > > > Improve code for checking strapping pins which specifies boot mode source. >

DM SPI flash improvements

2023-03-26 Thread Tony Dinh
Hi Simon, I'm investigating a problem with the Thecus N2350 board that has SPI flash on controller 1, but not on controller 0. Booting with SPI SPL is not possible with CONFIG_SF_DEFAULT_BUS=1. Reference: https://lists.denx.de/pipermail/u-boot/2023-March/511517.html That led me to the drivers/mt

Re: DM SPI flash improvements

2023-03-26 Thread Tony Dinh
Hi Simon, On Sun, Mar 26, 2023 at 9:01 PM Simon Glass wrote: > > Hi Tony, > > On Mon, 27 Mar 2023 at 12:28, Tony Dinh wrote: > > > > Hi Simon, > > > > I'm investigating a problem with the Thecus N2350 board that has SPI > > flash on controller 1

Re: [RFC PATCH v7 23/23] DO NOT MERGE: only to make CI happy

2023-03-30 Thread Tony Dinh
Hi Francis, On Thu, Mar 30, 2023 at 12:50 PM Francis Laniel wrote: > > This commit set CONFIG_HUSH_PARSER_2021 as the default to trigger the CI with > this parser. > > Nonetheless, the keymile (i.e. VENDOR_KM) board family is not compatible with > new 2021 hush parser. > Indeed, This boards used

Re: [PATCH u-boot-mvebu 0/7] arm: mvebu: Boot support for 4K Native disks

2023-03-30 Thread Tony Dinh
hould be power > of two. I don't have any board that can boot from SATA. But I ran regression tests on the Pogo V4 (Kirkwood 6192). kwboot and boot from NAND works fine. Tested-by: Tony Dinh Thanks, Tony > Pali Rohár (7): > arm: mvebu: spl: Do not hardcode SATA block size to 512

Re: [RFC PATCH v7 23/23] DO NOT MERGE: only to make CI happy

2023-03-31 Thread Tony Dinh
Hi Francis, On Thu, Mar 30, 2023 at 3:14 PM Francis Laniel wrote: > > Hi. > > Le jeudi 30 mars 2023, 21:17:33 WEST Tony Dinh a écrit : > > Hi Francis, > > > > On Thu, Mar 30, 2023 at 12:50 PM Francis Laniel > > > > wrote: > > > This commit se

Re: [RFC PATCH v1] arm: lib: add __gnu_thumb1_case_si

2023-04-01 Thread Tony Dinh
Hi Francis, On Sat, Apr 1, 2023 at 2:55 PM Francis Laniel wrote: > > The assembly for __gnu_thumb1_case_si was taken from upstream gcc and adapted > as width suffix was removed for the add instruction [1]. > > Signed-off-by: Francis Laniel > Tested-by: Tony Dinh > [1] >

[PATCH v2] netconsole: various improvements

2023-04-02 Thread Tony Dinh
the list of devices in stdin/stdout/stderr. Signed-off-by: Tony Dinh --- Changes in v2: - Select CONFIG_CONSOLE_MUX if CONFIG_NETCONSOLE is enabled - Add new functions in netconsole driver to support CONSOLE_MUX - Add new function to encapsulate the process of stopping netconsole from bootm

[PATCH] ddr: marvell: a38x: Perform DDR training sequence again for 2nd boot

2023-04-02 Thread Tony Dinh
limbo state, where the BootROM has recorded that it is already in a 2nd boot. The training must be repeated in this scenario to get out of this limbo state, but due to the check it cannot be performed. Signed-off-by: Tony Dinh --- drivers/ddr/marvell/a38x/mv_ddr_plat.c | 7 --- 1 file

Re: [PATCH v2] netconsole: various improvements

2023-04-03 Thread Tony Dinh
Hi all, I've missed one line of code in bootm.c. +#include So I will resend this patch. Thanks, Tony On Sun, Apr 2, 2023 at 1:31 PM Tony Dinh wrote: > > Use CONFIG_CONSOLE_MUX for netconsole. When netconsole is running, > stdin/stdout/stder must be set to some primary console,

[RESEND PATCH v2] netconsole: various improvements

2023-04-03 Thread Tony Dinh
the list of devices in stdin/stdout/stderr. Signed-off-by: Tony Dinh --- Changes in v2: - Select CONFIG_CONSOLE_MUX if CONFIG_NETCONSOLE is enabled - Add new functions in netconsole driver to support CONSOLE_MUX - Add new function to encapsulate the process of stopping netconsole from bootm

Re: [RFC PATCH v1] arm: lib: add __gnu_thumb1_case_si

2023-04-04 Thread Tony Dinh
Hi Francis, On Sun, Apr 2, 2023 at 3:17 AM Pali Rohár wrote: > > On Saturday 01 April 2023 15:17:59 Tony Dinh wrote: > > Hi Francis, > > > > On Sat, Apr 1, 2023 at 2:55 PM Francis Laniel > > wrote: > > > > > > The assembly for __gnu_thumb1_case_s

Re: [PATCH] ddr: marvell: a38x: Perform DDR training sequence again for 2nd boot

2023-04-06 Thread Tony Dinh
Hi Pali, Could you review this patch? Thanks, Tony On Sun, Apr 2, 2023 at 9:42 PM Tony Dinh wrote: > > - DDR Training sequence happens very fast. The speedup in boot time is > negligible by skipping the training sequence during 2nd boot or after. > So remove the check and skip. >

Re: [PATCH] ddr: marvell: a38x: Perform DDR training sequence again for 2nd boot

2023-04-11 Thread Tony Dinh
Hi Stefan, On Tue, Apr 11, 2023 at 1:36 AM Stefan Roese wrote: > > Hi Tony, > > On 4/3/23 06:42, Tony Dinh wrote: > > - DDR Training sequence happens very fast. The speedup in boot time is > > negligible by skipping the training sequence during 2nd boot or after. > >

Re: [RESEND PATCH v2] netconsole: various improvements

2023-04-13 Thread Tony Dinh
Hi Ramon, Hi Joe, Any comments on this patch? Thanks, Tony On Mon, Apr 3, 2023 at 2:42 PM Tony Dinh wrote: > > Use CONFIG_CONSOLE_MUX for netconsole. When netconsole is running, > stdin/stdout/stder must be set to some primary console, in addtion to nc. > For example, stdin=ser

Re: [PATCH] ddr: marvell: a38x: Perform DDR training sequence again for 2nd boot

2023-04-15 Thread Tony Dinh
Hi Pali, I've created a pull request for this patch to the Marvell repo. https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell/pull/41 Thanks, Tony On Thu, Apr 13, 2023 at 11:06 PM Stefan Roese wrote: > > On 4/3/23 06:42, Tony Dinh wrote: > > - DDR Training sequence

Re: [RESEND PATCH v2] netconsole: various improvements

2023-04-19 Thread Tony Dinh
HI Simon, On Tue, Apr 18, 2023 at 6:46 PM Simon Glass wrote: > > Hi Tony, > > On Mon, 3 Apr 2023 at 15:42, Tony Dinh wrote: > > > > Use CONFIG_CONSOLE_MUX for netconsole. When netconsole is running, > > stdin/stdout/stder must be set to some primary console, in

Re: [RESEND PATCH v2] netconsole: various improvements

2023-04-19 Thread Tony Dinh
On Wed, Apr 19, 2023 at 6:22 PM Tony Dinh wrote: > > HI Simon, > > On Tue, Apr 18, 2023 at 6:46 PM Simon Glass wrote: > > > > Hi Tony, > > > > On Mon, 3 Apr 2023 at 15:42, Tony Dinh wrote: > > > > > > Use CONFIG_CONSOLE_MUX for netconsole

[PATCH v4] bootstd: sata: Add bootstd support for ahci sata

2023-09-17 Thread Tony Dinh
Add ahci sata bootdev and corresponding hunting function. Signed-off-by: Tony Dinh --- Changes in v4: - Revise logic in bootmeth_script() to set devtype to sata for non-scsi SATA device - Rewrite sata_rescan() logic to properly remove all devices before probing - Add description to sata_rescan

[PATCH] bootstd: use ARCH_DMA_MINALIGN in memalign() when allocating memory

2023-09-19 Thread Tony Dinh
://patchwork.ozlabs.org/project/uboot/patch/20230917230649.30357-1-mibo...@gmail.com/ Signed-off-by: Tony Dinh --- boot/bootmeth_script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/bootmeth_script.c b/boot/bootmeth_script.c index 96e0ec5efa..de2e510da1 100644 --- a

Re: [PATCH] arm: mvebu: sata_mv: Add bootstd hook to enable sata_bootdev

2023-09-23 Thread Tony Dinh
Hi Stefan, In case you forgot, please review this patch! Thanks, Tony On Tue, Sep 5, 2023 at 10:23 PM Tony Dinh wrote: > > Add hook in sata_mv probe to enable bootstd bootdev. > > Note: bootdev_setup_for_sibling_blk() invocation is a noop if bootsd is > not enabled fo

Re: [PATCH] arm: mvebu: sata_mv: Add bootstd hook to enable sata_bootdev

2023-09-24 Thread Tony Dinh
Hi Simon, On Sun, Sep 24, 2023 at 1:40 PM Simon Glass wrote: > > Hi Tony, > > On Tue, 5 Sept 2023 at 23:23, Tony Dinh wrote: > > > > Add hook in sata_mv probe to enable bootstd bootdev. > > > > Note: bootdev_setup_for_sibling_blk() invocation is a noop if boo

Re: [PATCH] arm: mvebu: sata_mv: Add bootstd hook to enable sata_bootdev

2023-09-25 Thread Tony Dinh
Thanks Stefan! All the best, Tony On Mon, Sep 25, 2023 at 1:14 AM Stefan Roese wrote: > > On 9/6/23 07:22, Tony Dinh wrote: > > Add hook in sata_mv probe to enable bootstd bootdev. > > > > Note: bootdev_setup_for_sibling_blk() invocation is a noop if bootsd is > >

bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-09-25 Thread Tony Dinh
Hi Simon, Here is an observation during testing the bootflow command. If there is a SCSI bootflow, scanning for USB bootflow will remove that existing SCSI bootflow. To bring it back, I scanned for SCSI bootflow again, and it was back to normal. Perhaps there is some kind of indexing problem? Pl

Re: bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-09-26 Thread Tony Dinh
Hi Simon, On Tue, Sep 26, 2023 at 4:37 AM Simon Glass wrote: > > Hi Tony, > > On Mon, 25 Sept 2023 at 14:02, Tony Dinh wrote: > > > > Hi Simon, > > > > Here is an observation during testing the bootflow command. > > > > If there is a SCSI boot

Re: bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-10-02 Thread Tony Dinh
Hi Simon, On Sun, Oct 1, 2023 at 6:22 PM Simon Glass wrote: > > Hi Tony, > > On Tue, 26 Sept 2023 at 13:40, Tony Dinh wrote: > > > > Hi Simon, > > > > On Tue, Sep 26, 2023 at 4:37 AM Simon Glass wrote: > > > > > > Hi Tony, >

Re: bootstd: Scanning for USB bootflow will remove existing SCSI bootflow

2023-10-04 Thread Tony Dinh
Hi Simon, On Mon, Oct 2, 2023 at 12:25 PM Tony Dinh wrote: > > Hi Simon, > > On Sun, Oct 1, 2023 at 6:22 PM Simon Glass wrote: > > > > Hi Tony, > > > > On Tue, 26 Sept 2023 at 13:40, Tony Dinh wrote: > > > > > > Hi Simon, > >

[PATCH] bootstd: sata: bootdev scanning for ahci sata with no drive attached

2023-10-06 Thread Tony Dinh
ff-by: Tony Dinh --- drivers/ata/sata.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/ata/sata.c b/drivers/ata/sata.c index f126b84e05..59c40a829f 100644 --- a/drivers/ata/sata.c +++ b/drivers/ata/sata.c @@ -79,6 +79,11 @@ int sata_rescan(bool verbose) ret = uclass_prob

Re: [PATCH] bootstd: sata: bootdev scanning for ahci sata with no drive attached

2023-10-06 Thread Tony Dinh
On Fri, Oct 6, 2023 at 5:49 PM Tony Dinh wrote: > > It's normal to have no SATA drive attached to the controller, so return a > successful status when there is no block device found after probing. > > Note: this patch depends on the previous patch > https://patchwork.o

[RESEND PATCH] bootstd: sata: bootdev scanning for ahci sata with no drive attached

2023-10-06 Thread Tony Dinh
d the right patch. Signed-off-by: Tony Dinh --- drivers/ata/sata.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/ata/sata.c b/drivers/ata/sata.c index f126b84e05..dcb5fcf476 100644 --- a/drivers/ata/sata.c +++ b/drivers/ata/sata.c @@ -79,6 +79,12 @@ int sata_rescan(bool ve

[PATCH] arm: mvebu: Enable bootstd for Synology DS116 board

2023-10-07 Thread Tony Dinh
Enable bootstd for Synology DS116 board, and remove distroboot. Signed-off-by: Tony Dinh --- configs/ds116_defconfig | 3 ++- include/configs/ds116.h | 12 +--- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/configs/ds116_defconfig b/configs/ds116_defconfig index

[PATCH] arm: mvebu: Enable bootstd for Thecus N2350 board

2023-10-07 Thread Tony Dinh
Enable bootstd for Thecus N2350 board, and remove distroboot. Signed-off-by: Tony Dinh --- configs/n2350_defconfig | 3 ++- include/configs/n2350.h | 12 +--- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/configs/n2350_defconfig b/configs/n2350_defconfig index

When do we merge bug fixes and new functionality

2023-10-10 Thread Tony Dinh
Hi Tom, Simon, Stefan, I have a few people waiting for these patches to get merged. So I hope you don't mind (I'm not sure about the merging schedule), I'd bug you guys about these patches. Wondering if these will be in v2024.01-rc1 or subsequence rc? bootstd: sata: bootdev scanning for ahci sata

Re: [RESEND PATCH v2] netconsole: various improvements

2023-04-24 Thread Tony Dinh
Hi Simon, On Mon, Apr 24, 2023 at 12:43 PM Simon Glass wrote: > > Hi Tony, > > On Wed, 19 Apr 2023 at 21:55, Tony Dinh wrote: > > > > On Wed, Apr 19, 2023 at 6:22 PM Tony Dinh wrote: > > > > > > HI Simon, > > > > > > On Tue, Apr 18,

Re: [RESEND PATCH v2] netconsole: various improvements

2023-05-07 Thread Tony Dinh
Hi Tom, On Fri, May 5, 2023 at 11:34 AM Tom Rini wrote: > > On Mon, Apr 03, 2023 at 02:41:52PM -0700, Tony Dinh wrote: > > > Use CONFIG_CONSOLE_MUX for netconsole. When netconsole is running, > > stdin/stdout/stder must be set to some primary console, in addtion to nc. &

Re: [RESEND PATCH v2] netconsole: various improvements

2023-05-08 Thread Tony Dinh
Hi Simon, On Mon, May 8, 2023 at 2:23 PM Simon Glass wrote: > > Hi Tony, > > On Sun, 7 May 2023 at 22:25, Tony Dinh wrote: > > > > Hi Tom, > > > > On Fri, May 5, 2023 at 11:34 AM Tom Rini wrote: > > > > > > On Mon, Apr 03, 2023 a

Re: [RESEND PATCH v2] netconsole: various improvements

2023-05-08 Thread Tony Dinh
On Mon, May 8, 2023 at 3:53 PM Tony Dinh wrote: > > Hi Simon, > > On Mon, May 8, 2023 at 2:23 PM Simon Glass wrote: > > > > Hi Tony, > > > > On Sun, 7 May 2023 at 22:25, Tony Dinh wrote: > > > > > > Hi Tom, > > > > > > On F

Re: [RFC PATCH v8 23/23] DO NOT MERGE: only to make CI happy

2023-05-12 Thread Tony Dinh
set CONFIG_LTO for kirkwoord sheevaplug and phytec bk4r1, otherwise it > hits its board size limit. For Sheevaplug CONFIG_LTO: Acked-by: Tony Dinh All the best, Tony > > We also disable some check for pylint as it was not able to find future for > commit object. > > Signed-off-

Re: mmc: Read eMMC partition access bits before card reset

2023-05-18 Thread Tony Dinh
Hi Stefan, On Wed, May 17, 2023 at 1:26 AM Stefan Roese wrote: > > Hi Pali, > > On 5/17/23 00:30, Pali Rohár wrote: > > On Tuesday 16 May 2023 14:56:46 Tom Rini wrote: > >> On Tue, May 16, 2023 at 08:52:23PM +0200, Pali Rohár wrote: > >>> On Tuesday 16 May 2023 11:36:20 Tom Rini wrote: > On

Re: [PATCH] kirkwood: dns325: Enable 2nd harddrive

2023-08-11 Thread Tony Dinh
t; @@ -89,6 +89,7 @@ int board_early_init_f(void) > kw_gpio_set_blink(DNS325_GPIO_LED_POWER , 1); > > kw_gpio_set_value(DNS325_GPIO_SATA0_EN , 1); > + kw_gpio_set_value(DNS325_GPIO_SATA1_EN , 1); > return 0; > } > > -- > 2.41.0 > Reviewed-by: Tony Dinh All the best, Tony

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 o

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-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 2023.01-rc3-00048-gc917865c7f-dirt

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 stuck (h

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-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 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-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: [PATCH] timer: orion-timer: Fix problem with early static variable

2022-12-21 Thread Tony Dinh
quot; 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

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

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

2022-12-29 Thread Tony Dinh
Note 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 ch

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

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

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

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 "/usr/src/u-boot-master/tools/patman/../patman/func_

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

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 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: 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: [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 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: 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
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: [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: [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: [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 0/8] An effort to bring DT bindings compliance within U-boot

2023-12-26 Thread Tony Dinh
Hi Sumit Hi Simon, On Tue, Dec 26, 2023 at 2:13 AM Sumit Garg wrote: > > Hi Simon, > > On Tue, 26 Dec 2023 at 15:17, Simon Glass wrote: > > > > Hi Sumit, > > > > On Fri, Dec 22, 2023 at 5:34 AM Sumit Garg wrote: > > > > > > On Thu, 21 Dec 2023 at 20:48, Simon Glass wrote: > > > > > > > > Hi, >

Re: I'm looking for the source code of a specific u-boot version.

2023-12-27 Thread Tony Dinh
Hi Mario and Heinrich, On Wed, Dec 27, 2023 at 12:23 PM Mario Marietto wrote: > > Hello. > > I'm trying to boot FreeBSD for arm32 bit as DomU on my ARM Chromebook > SNOW with xen. Basically there are two ways to accomplish this task : > > > 1) to write a patch that allows the FreeBSD kernel to bo

Re: I'm looking for the source code of a specific u-boot version.

2023-12-28 Thread Tony Dinh
the best, Tony > > Regards, > Simon > > > > > > On Thu, Dec 28, 2023 at 3:47 PM Mario Marietto > > wrote: > > > > > > Hello. > > > > > > Can someone provide the right link to download u-boot-2017.0.5 , please ? > > > >

[PATCH] arm: mvebu: env_sf_get_env_addr() missing check for CONFIG_ENV_IS_IN_SPI_FLASH

2024-06-05 Thread Tony Dinh
The CONFIG_ENV_OFFSET is undefined if boot device is UART (CONFIG_MVEBU_SPL_BOOT_DEVICE_UART), or envs are not stored on flash (CONFIG_ENV_IS_NOWHERE). Check for CONFIG_ENV_IS_IN_SPI_FLASH as the first condition to determine whether env_sf_get_env_addr() should be provided. Signed-off-by: Tony

[PATCH] arm: mvebu: Enable bootstd and other modernization for Synology DS414 (Armada XP) board

2024-06-06 Thread Tony Dinh
IDENT_STRING to indicate this u-boot supports both Synology DS414 and DS214+ boards - Add SYS_THUMB_BUILD to reduce binary size - Add NET_RANDOM_ETHADDR - Add CONFIG_LBA48 and CONFIG_SYS_64BIT_LBA to support >2TB HDD/SDD Signed-off-by: Tony Dinh --- board/Synology/ds414/ds414.c | 15 +++ conf

Re: [PATCH] arm: mvebu: Enable bootstd and other modernization for Synology DS414 (Armada XP) board

2024-06-07 Thread Tony Dinh
Hi Phil, On Fri, Jun 7, 2024 at 6:45 AM Phil Sutter wrote: > > Hi Tony, > > On Thu, Jun 06, 2024 at 04:44:36PM -0700, Tony Dinh wrote: > > - Switch to standard boot (in include/configs/ds414.h and > > configs/ds414_defconfig) > > - Implement board_late_init() to

Re: [PATCH] arm: mvebu: Enable bootstd and other modernization for Synology DS414 (Armada XP) board

2024-06-09 Thread Tony Dinh
Hi Phil, On Sat, Jun 8, 2024 at 4:32 PM Phil Sutter wrote: > > On Fri, Jun 07, 2024 at 04:14:26PM -0700, Tony Dinh wrote: > > On Fri, Jun 7, 2024 at 6:45 AM Phil Sutter wrote: > > > On Thu, Jun 06, 2024 at 04:44:36PM -0700, Tony Dinh wrote: > > > > - Switch to

[PATCH] arm: dts: mvebu: Update DTS for Thecus N2350 board

2024-06-09 Thread Tony Dinh
-MX25L6405D-Macronix-MX25L3205DM2I-12G-datasheet.pdf Signed-off-by: Tony Dinh --- arch/arm/dts/armada-385-thecus-n2350.dts | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/dts/armada-385-thecus-n2350.dts b/arch/arm/dts/armada-385-thecus-n2350.dts index

Re: [PATCH] arm: dts: mvebu: Update DTS for Thecus N2350 board

2024-06-11 Thread Tony Dinh
Hi Dragan, On Sun, Jun 9, 2024 at 6:07 PM Dragan Simic wrote: > > Hello Tony, > > Please see a few comments below. > > On 2024-06-10 02:34, Tony Dinh wrote: > > - Change the spi-max-frequency to 5000 (50 Mhz). According to the > > data sheet[1], the MX25L3205D

Re: [PATCH v2] Makefile: Fix include directory for OF_UPSTREAM

2024-06-12 Thread Tony Dinh
for the people that wanted the commit message > > clarified to Ack/Review the patch. Did I just miss that? Sorry. > > > > Agreed, let's wait for more feedback I have migrated to OF_UPSTREAM for ARCH_KIRWOOD boards, and also for a single board (DS116, Armada 385), and have given a lot of thoughts about this problem. I agreed with Michael. Either the whole Arch is migrated at the same time, or we need to prioritize upstream includes to avoid breakage for boards that have been migrated and also boards that have not been. Reviewed-by: Tony Dinh All the best, Tony > > Michael > > > -- > > Tom

[PATCH v2] arm: mvebu: Enable bootstd and other modernization for Synology DS414 (Armada XP) board

2024-06-15 Thread Tony Dinh
IDENT_STRING to indicate this u-boot supports both Synology DS414 and DS214+ boards - Add SYS_THUMB_BUILD to reduce binary size - Add NET_RANDOM_ETHADDR - Add CONFIG_LBA48 and CONFIG_SYS_64BIT_LBA to support >2TB HDD/SDD Signed-off-by: Tony Dinh --- Changes in v2: - Define EXTRA_ENV_SETTINGS_LEGACY

Re: [PATCH v2] arm: mvebu: Enable bootstd and other modernization for Synology DS414 (Armada XP) board

2024-06-28 Thread Tony Dinh
Hi Phil, On Wed, Jun 26, 2024 at 3:31 AM Phil Sutter wrote: > > Hi Tony, > > On Sat, Jun 15, 2024 at 03:06:54PM -0700, Tony Dinh wrote: > [...] > > diff --git a/board/Synology/ds414/ds414.c b/board/Synology/ds414/ds414.c > > index abe6f9eb5e..f0b55fa095 100644 >

Re: [PATCH v2] arm: mvebu: Enable bootstd and other modernization for Synology DS414 (Armada XP) board

2024-06-28 Thread Tony Dinh
Hi Phil, On Fri, Jun 28, 2024 at 3:04 PM Tony Dinh wrote: > > Hi Phil, > > On Wed, Jun 26, 2024 at 3:31 AM Phil Sutter wrote: > > > > Hi Tony, > > > > On Sat, Jun 15, 2024 at 03:06:54PM -0700, Tony Dinh wrote: > > [...] > > > diff --git a/

Re: [PATCH v2] arm: mvebu: Enable bootstd and other modernization for Synology DS414 (Armada XP) board

2024-07-04 Thread Tony Dinh
Hi Phil, On Thu, Jul 4, 2024 at 4:27 AM Phil Sutter wrote: > > Hi Tony, > > On Fri, Jun 28, 2024 at 03:44:01PM -0700, Tony Dinh wrote: > > On Fri, Jun 28, 2024 at 3:04 PM Tony Dinh wrote: > > > On Wed, Jun 26, 2024 at 3:31 AM Phil Sutter wrote: > > > > O

[PATCH v3] arm: mvebu: Enable bootstd and other modernization for Synology DS414 (Armada XP) board

2024-07-07 Thread Tony Dinh
SYS_THUMB_BUILD to reduce binary size - Add NET_RANDOM_ETHADDR - Add CONFIG_LBA48 and CONFIG_SYS_64BIT_LBA to support >2TB HDD/SDD Signed-off-by: Tony Dinh --- Changes in v3: - Restore misc_init_r() to support booting legacy FW. - Correct scripting error in EXTRA_ENV_SETTINGS_LEGACY in /incl

Re: [PATCH] arm: dts: mvebu: Migrate to upstream DT for Synology DS116 (Armada 385) board

2024-07-09 Thread Tony Dinh
Hi Stefan, On Thu, May 23, 2024 at 12:27 AM Sumit Garg wrote: > > On Thu, 23 May 2024 at 03:22, Tony Dinh wrote: > > > > Enable OF_UPSTREAM to use upstream DT and add marvell/ prefix to the > > DEFAULT_DEVICE_TREE in DS116 defconfig. Remove current DTS in >

<    1   2   3   4   5   6   >