Re: [PATCH v2 0/4] cmd: nand: various updates

2025-08-25 Thread David Regan
Thank you very much Michael! -Dave On Sun, Aug 24, 2025 at 3:37 AM Michael Nazzareno Trimarchi wrote: > > Hi > > On Thu, Aug 14, 2025 at 8:07 PM david regan wrote: >> >> Bug fix of name changed OOB placement option >> Change ambiguous 'count' to 'p

[PATCH v2 4/4] cmd: nand: nand dump with ecc option

2025-08-14 Thread david regan
option to show nand dump data ecc corrected as opposed to just raw Signed-off-by: david regan --- v2: no change --- cmd/nand.c | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/cmd/nand.c b/cmd/nand.c index 832e990108c5..b5678b0a0085 100644 --- a

[PATCH v2 3/4] cmd: nand: nand dump display update

2025-08-14 Thread david regan
show characters with nand dump similar to md along with offset into NAND Signed-off-by: david regan --- v2: no change --- cmd/nand.c | 25 +++-- 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/cmd/nand.c b/cmd/nand.c index cb2a61a2e57c..832e990108c5 100644

[PATCH v2 2/4] cmd: nand: more descriptive help info

2025-08-14 Thread david regan
nand read/write raw change 'count' to 'pages' since count is ambiguous Signed-off-by: david regan --- v2: no change --- cmd/nand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/nand.c b/cmd/nand.c index e09e145bc2d8..cb2a61a2e57c 100644 --- a/

[PATCH v2 1/4] cmd: nand: bug fix MTD_OOB_AUTO to MTD_OPS_AUTO_OOB

2025-08-14 Thread david regan
bug fix MTD_OOB_AUTO to MTD_OPS_AUTO_OOB since MTD_OOB_AUTO does not exist Fixes: dfe64e2c8973 ("mtd: resync with Linux-3.7.1") Signed-off-by: david regan --- v2: applied fix to env/nand.c per Quentin request & added Fixes tag --- cmd/nand.c | 2 +- env/nand.c | 2 +- 2 fi

[PATCH v2 0/4] cmd: nand: various updates

2025-08-14 Thread david regan
OB fix to env/nand.c per Quentin request & added Fixes tag david regan (4): cmd: nand: bug fix MTD_OOB_AUTO to MTD_OPS_AUTO_OOB cmd: nand: more descriptive help info cmd: nand: nand dump display update cmd: nand: nand dump with ecc

Re: [PATCH 1/4] cmd: nand: bug fix MTD_OOB_AUTO to MTD_OPS_AUTO_OOB

2025-08-11 Thread David Regan
On Mon, Aug 11, 2025 at 7:08 AM Quentin Schulz wrote: > > Hi David, > > On 8/6/25 8:14 PM, david regan wrote: > > bug fix MTD_OOB_AUTO to MTD_OPS_AUTO_OOB since MTD_OOB_AUTO does not exist > > > > There's also env/nand.c which uses this, can you also fix it?

[PATCH 2/4] cmd: nand: more descriptive help info

2025-08-06 Thread david regan
nand read/write raw change 'count' to 'pages' since count is ambiguous Signed-off-by: david regan --- cmd/nand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/nand.c b/cmd/nand.c index e09e145bc2d8..cb2a61a2e57c 100644 --- a/cmd/nand.c +++ b/c

[PATCH 4/4] cmd: nand: nand dump with ecc option

2025-08-06 Thread david regan
option to show nand dump data ecc corrected as opposed to just raw Signed-off-by: david regan --- cmd/nand.c | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/cmd/nand.c b/cmd/nand.c index 832e990108c5..b5678b0a0085 100644 --- a/cmd/nand.c +++ b/cmd

[PATCH 0/4] cmd: nand: various updates

2025-08-06 Thread david regan
Bug fix of name changed OOB placement option Change ambiguous 'count' to 'pages' for read/write raw nand dump display update to show ASCII characters and data offset into NAND Add option to nand dump with ECC corrected data david regan (4): cmd: nand: bug fix MTD_OOB_AUTO

[PATCH 3/4] cmd: nand: nand dump display update

2025-08-06 Thread david regan
show characters with nand dump similar to md along with offset into NAND Signed-off-by: david regan --- cmd/nand.c | 25 +++-- 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/cmd/nand.c b/cmd/nand.c index cb2a61a2e57c..832e990108c5 100644 --- a/cmd/nand.c

[PATCH 1/4] cmd: nand: bug fix MTD_OOB_AUTO to MTD_OPS_AUTO_OOB

2025-08-06 Thread david regan
bug fix MTD_OOB_AUTO to MTD_OPS_AUTO_OOB since MTD_OOB_AUTO does not exist Signed-off-by: david regan --- cmd/nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/nand.c b/cmd/nand.c index 2f785deeb7f6..e09e145bc2d8 100644 --- a/cmd/nand.c +++ b/cmd/nand.c @@ -412,7

[PATCH v2 3/3] arm: dts: Enable basic nand functionality for bcmbca devices

2025-01-13 Thread david regan
Enable rudimentary nand read/write capability. Changes in v2: - New patch in series added enabling of nand functionality Signed-off-by: david regan Reviewed-by: William Zhang Reviewed-by: Anand Gore --- configs/bcm94908_defconfig | 8 configs/bcm963138_defconfig | 8

[PATCH v2 2/3] arm: dts: Update nand node for bcmbca board dts

2025-01-13 Thread david regan
Update bcmbca dts to current nand node naming convention. Changes in v2: - Removed addition of nand-on-flash-bbt parameter Signed-off-by: david regan Reviewed-by: William Zhang Reviewed-by: Anand Gore --- arch/arm/dts/bcm96753ref.dts | 18 +++--- arch/arm/dts/bcm968360bg.dts

[PATCH v2 1/3] arm: dts: Use upstream dts for additional bcmbca devices

2025-01-13 Thread david regan
Make use of OF_UPSTREAM which uses Linux dts. Changes in v2: - Removed enabling of nand functionality Signed-off-by: david degan Reviewed-by: William Zhang Reviewed-by: Anand Gore --- arch/arm/dts/bcm4908.dtsi | 127 -- arch/arm/dts/bcm63138.dtsi| 1

[PATCH v2 0/3] Broadcom bcmbca dts updates

2025-01-13 Thread david regan
to a new patch added to the series david regan (3): arm: dts: Use upstream dts for additional bcmbca devices arm: dts: Update nand node for bcmbca board dts arm: dts: Enable basic nand functionality for bcmbca devices arch/arm/dts/bcm4908.dtsi | 127

Re: [PATCH 2/2] arm: dts: Update nand node for bcmbca board dts

2025-01-09 Thread David Regan
I'm not seeing any response back from the author and since I didn't create the files I will post a patch update taking into account other suggestions but leave the original non-strap settings in place. -Dave On Fri, Dec 20, 2024 at 2:18 PM David Regan wrote: > On Fri, Dec 20, 202

Re: [PATCH 2/2] arm: dts: Update nand node for bcmbca board dts

2024-12-20 Thread David Regan
On Fri, Dec 20, 2024 at 12:04 AM Linus Walleij wrote: > > On Thu, Dec 19, 2024 at 7:50 PM david regan wrote: > > > Update bcmbca dts to current nand node naming convention. > > > > Signed-off-by: david regan > > Reviewed-by: William Zhang > > Re

Re: [PATCH 1/2] arm: dts: Use upstream dts for additional bcmbca devices

2024-12-20 Thread David Regan
Thank you, I'll update the patch set. -Dave On Thu, Dec 19, 2024 at 11:56 AM Marek Vasut wrote: > On 12/19/24 7:49 PM, david regan wrote: > > Make use of OF_UPSTREAM which uses Linux dts. > > ... > > > --- a/configs/bcm963148_defconfig > > +++ b/configs/b

[PATCH 2/2] arm: dts: Update nand node for bcmbca board dts

2024-12-19 Thread david regan
Update bcmbca dts to current nand node naming convention. Signed-off-by: david regan Reviewed-by: William Zhang Reviewed-by: Anand Gore --- arch/arm/dts/bcm96753ref.dts | 19 --- arch/arm/dts/bcm968360bg.dts | 19 --- arch/arm/dts/bcm968580xref.dts | 19

[PATCH 1/2] arm: dts: Use upstream dts for additional bcmbca devices

2024-12-19 Thread david regan
Make use of OF_UPSTREAM which uses Linux dts. Signed-off-by: david degan Reviewed-by: William Zhang Reviewed-by: Anand Gore --- arch/arm/dts/bcm4908.dtsi | 127 -- arch/arm/dts/bcm63138.dtsi| 149 -- arch/arm/dts/bcm63148.dtsi

[PATCH 0/2] Broadcom bcmbca dts updates

2024-12-19 Thread david regan
Updates for Broadcom bcmbca devices, make use of OF_UPSTREAM which uses Linux dts, update bcmbca dts to current nand node naming convention. david regan (2): arm: dts: Use upstream dts arm: dts: Update nand node arch/arm/dts/bcm4908.dtsi | 127 -- arch/arm

[PATCH v2 4/4] mtd: rawnand: brcmnand: update log level messages

2024-11-13 Thread david regan
Update log level messages so that more critical messages can be logged to console and help the troubleshooting with field devices. This is a port of the upstream Linux patch to U-Boot. https://lore.kernel.org/linux-mtd/20240223034758.13753-4-william.zh...@broadcom.com/ Signed-off-by: david

[PATCH v2 2/4] arm: dts: Use upstream dts

2024-11-13 Thread david regan
Make use of OF_UPSTREAM which uses Linux dts. Signed-off-by: david regan Reviewed-by: Linus Walleij Reviewed-by: Sumit Garg Reviewed-by: William Zhang Reviewed-by: Anand Gore --- arch/arm/dts/bcm47622.dtsi| 126 arch/arm/dts/bcm4912.dtsi | 128

[PATCH v2 3/4] mtd: rawnand: brcmnand: Default bcmbca parameter_page_big_endian to zero

2024-11-13 Thread david regan
Set parameter_page_big_endian to zero for bcmbca Signed-off-by: david regan Reviewed-by: William Zhang Reviewed-by: Anand Gore --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c b/drivers/mtd/nand

[PATCH v2 0/4] Broadcom BCMBCA nand updates

2024-11-13 Thread david regan
/ --- Changes in v2: - Set parameter_page_big_endian to zero for bcmbca instead of using an extra bit of endian translation code. david regan (4): mtd: nand: brcmnand: remove device specific nand driver files arm: dts: Use upstream dts mtd: rawnand: brcmnand: Default bcmbca

[PATCH v2 1/4] mtd: nand: brcmnand: remove device specific nand driver files

2024-11-13 Thread david regan
These device specific nand driver files can be removed because they are now replaced by a common driver bcmbca_nand.c Signed-off-by: david regan Reviewed-by: Linus Walleij Reviewed-by: William Zhang Reviewed-by: Anand Gore --- drivers/mtd/nand/raw/Kconfig | 24 drivers

[PATCH 4/4] mtd: rawnand: brcmnand: update log level messages

2024-11-06 Thread david regan
Update log level messages so that more critical messages can be logged to console and help the troubleshooting with field devices. This is a port of the upstream Linux patch to U-Boot. https://lore.kernel.org/linux-mtd/20240223034758.13753-4-william.zh...@broadcom.com/ Signed-off-by: david

[PATCH 2/4] arm: dts: Use upstream dts

2024-11-06 Thread david regan
Make use of OF_UPSTREAM which uses Linux dts. Signed-off-by: david regan --- arch/arm/dts/bcm47622.dtsi| 126 arch/arm/dts/bcm4912.dtsi | 128 arch/arm/dts/bcm63146.dtsi| 110 -- arch/arm/dts/bcm63158.dtsi| 278

[PATCH 3/4] mtd: rawnand: brcmnand: Add BCMBCA read data bus interface

2024-11-06 Thread david regan
memory. This is a port of the upstream Linux patch to U-Boot. https://lore.kernel.org/linux-mtd/20240223034758.13753-12-william.zh...@broadcom.com/ Signed-off-by: david regan --- drivers/mtd/nand/raw/brcmnand/brcmnand.c | 17 ++--- drivers/mtd/nand/raw/brcmnand/brcmnand.h | 18

[PATCH 1/4] mtd: nand: brcmnand: remove device specific nand driver files

2024-11-06 Thread david regan
These device specific nand driver files can be removed because they are now replaced by a common driver bcmbca_nand.c Signed-off-by: david regan --- drivers/mtd/nand/raw/Kconfig | 24 drivers/mtd/nand/raw/brcmnand/Makefile| 4 - drivers/mtd/nand/raw/brcmnand

[PATCH 0/4] Broadcom BCMBCA nand updates

2024-11-06 Thread david regan
://lore.kernel.org/linux-mtd/20240223034758.13753-4-william.zh...@broadcom.com/ david regan (4): mtd: nand: brcmnand: remove device specific nand driver files arm: dts: Use upstream dts mtd: rawnand: brcmnand: Add BCMBCA read data bus interface mtd: rawnand: brcmnand: update log level messages arch/arm