concerns MPU's platform with introduction of STM32
> System Bus.
Excellent work as always Patrice,
Reviewed-by: Linus Walleij
Yours,
Linus Walleij
The Linux cmdline encoded in the defconfig is wrong, the
STM32 USART driver registers as ttySTM0 not ttyS0.
Signed-off-by: Linus Walleij
---
configs/stm32f769-disco_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/stm32f769-disco_defconfig
b/configs
On Mon, Jan 20, 2025 at 10:27 PM Simon Glass wrote:
> Use the new suite-runner to run these tests instead.
>
> It is not clear that these actually work, since they are not enabled on
> sandbox for some reason.
>
> Signed-off-by: Simon Glass
Acked-by: Linus Walleij
Yours,
Linus Walleij
hout_CONFIG_CMD_DHCP_or_PXE
> |
> ^
>
> Signed-off-by: Chanho Park
Makes sense to me:
Acked-by: Linus Walleij
Maybe expand the commit message to show how the current
config strings for PXE or DHCP boot will be passed on to the
actual strings landing on the target.
Can we enable both PXE and DHCP at
On Wed, Dec 18, 2024 at 4:40 PM Harrison Mutai wrote:
> When booting into the Linux kernel with semi-hosting, use the device
> tree provided by hardware unless one is provided in the current
> directory.
>
> Signed-off-by: Harrison Mutai
This looks helpful to me!
Reviewed-by
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
> Reviewed-by: Anand Gore
Looks like a reasonable step
Acked-by: Linus Walleij
But:
>
e are using imply in U-Boot is a bit worrisome
but I'm no expert. It may work better in our case because we
never have an option be "m" (module) as in Linux... This
works for sure.
Yours,
Linus Walleij
On Thu, Dec 5, 2024 at 9:30 PM Heinrich Schuchardt
wrote:
> Building qemu_arm64_defconfig with CONFIGS_DM_RTC=n and CONFIGS_RTC_PL031=y
> leads to a build failure.
>
> Signed-off-by: Heinrich Schuchardt
Reviewed-by: Linus Walleij
Yours,
Linus Walleij
On Wed, Nov 13, 2024 at 7:27 AM david regan wrote:
> Set parameter_page_big_endian to zero for bcmbca
>
> Signed-off-by: david regan
> Reviewed-by: William Zhang
> Reviewed-by: Anand Gore
Reviewed-by: Linus Walleij
Yours,
Linus Walleij
The patch looks fine, but shouldn't the existing brcmnand_read_data_bus()
in drivers/mtd/nand/raw/brcmnand/brcmnand.c also be replaced with
brcmnand_soc_data_bus_read()?
Maybe this is a problem in the upstream kernel driver though :/
Yours,
Linus Walleij
rnel.org/linux-mtd/20240223034758.13753-4-william.zh...@broadcom.com/
>
> Signed-off-by: david regan
Reviewed-by: Linus Walleij
Yours,
Linus Walleij
On Wed, Nov 6, 2024 at 10:04 PM david regan wrote:
> Make use of OF_UPSTREAM which uses Linux dts.
>
> Signed-off-by: david regan
Reviewed-by: Linus Walleij
Yours,
Linus Walleij
On Wed, Nov 6, 2024 at 10:03 PM david regan wrote:
> 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
I believe you!
Reviewed-by: Linus Walleij
Yours,
Linus Walleij
This board clearly develops first in Linux which had more
hardware listed, so let's start to use OF_UPSTREAM.
This makes the NAND driver work.
Suggested-by: Neil Armstrong
Signed-off-by: Linus Walleij
---
arch/arm/dts/bcm6846.dtsi| 103 ---
arc
the flash layout for BCM96846 so we can add this too so the
bcm96846_config is usable out of the box.
Signed-off-by: Linus Walleij
---
configs/bcm96846_defconfig | 12
1 file changed, 12 insertions(+)
diff --git a/configs/bcm96846_defconfig b/configs/bcm96846_defconfig
index ea643e
The BCM6846 has the BRCMBCA NAND controller so enable
it.
Reviewed-by: Michael Trimarchi
Signed-off-by: Linus Walleij
---
arch/arm/mach-bcmbca/bcm6846/Kconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-bcmbca/bcm6846/Kconfig
b/arch/arm/mach-bcmbca/bcm6846/Kconfig
The Broadcom BCA platforms are broadband access SoCs.
This is a port of the upstream Linux driver to U-Boot.
It was based on drivers/mtd/nand/raw/brcmnand/bcmbca_nand.c
from Linux v6.11.
Reviewed-by: Michael Trimarchi
Signed-off-by: Linus Walleij
---
drivers/mtd/nand/raw/Kconfig
which is
a derivative of the BCM96846 reference design, but probably
has a different flash layout, be sure to check the last
patch in the series for a comment on that.
Signed-off-by: Linus Walleij
---
Changes in v2:
- Switch to using OF_UPSTREAM instead of syncing DTS files.
- Mention the Linux
The BCM6846 has the BRCMBCA NAND controller so enable
it.
Signed-off-by: Linus Walleij
---
arch/arm/mach-bcmbca/bcm6846/Kconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-bcmbca/bcm6846/Kconfig
b/arch/arm/mach-bcmbca/bcm6846/Kconfig
index 229ab88dbb0d..5ef9535369ec
the flash layout for BCM96846 so we can add this too so the
bcm96846_config is usable out of the box.
Signed-off-by: Linus Walleij
---
configs/bcm96846_defconfig | 12
1 file changed, 12 insertions(+)
diff --git a/configs/bcm96846_defconfig b/configs/bcm96846_defconfig
index 467f4d
The Broadcom BCA platforms are broadband access SoCs.
This is a port of the upstream Linux driver to U-Boot.
Signed-off-by: Linus Walleij
---
drivers/mtd/nand/raw/Kconfig| 7 ++
drivers/mtd/nand/raw/brcmnand/Makefile | 1 +
drivers/mtd/nand/raw/brcmnand/bcmbca_nand.c
Update the devicetrees for the BCM6846 and the reference
design BCM96846 from the Linux kernel so we get support
for NAND. (Linux v6.11-rc7).
Signed-off-by: Linus Walleij
---
arch/arm/dts/bcm6846.dtsi | 34 ++
arch/arm/dts/bcm96846.dts | 14 ++
2
which is
a derivative of the BCM96846 reference design, but probably
has a different flash layout, be sure to check the last
patch in the series for a comment on that.
Signed-off-by: Linus Walleij
---
Linus Walleij (4):
mtd: rawnand: brcmnand: Add BCMBCA RAW NAND driver
arm: dts: bcm
On Sat, Sep 28, 2024 at 2:51 AM Michael Nazzareno Trimarchi
wrote:
> I have already seen all of them and I follow the thread
>
> We will pick them up
Thanks Michael, I will send out the remaining patches adding BCMBCA
support to the NAND driver as well.
Yours,
Linus Walleij
Hi Dario,
On Wed, Sep 11, 2024 at 9:11 AM Linus Walleij wrote:
> These are a number of assorted upstream Linux fixes to the
> BRCMNAND driver that I have backported in an attempt to get
> BRCMBCA working with U-Boot (still not there).
The patches are ACKed and tested, could you merge
ects
and works fine on Genexis XG6846B, see here for a full
session where I do some ubifs inspection:
https://dflund.se/~triad/krad/genexis-xg6846b/ubi-info.txt
Yours,
Linus Walleij
/linux-mtd/20240301173308.226004-1-william.zh...@broadcom.com
Signed-off-by: Linus Walleij
---
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 70 ++--
1 file changed, 66 insertions(+), 4 deletions(-)
diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c
b/drivers/mtd/nand/ra
ard
dts on per board basis.
Signed-off-by: William Zhang
Reviewed-by: Florian Fainelli
Reviewed-by: Kamal Dasu
Reviewed-by: David Regan
Signed-off-by: Miquel Raynal
Link:
https://lore.kernel.org/linux-mtd/20240223034758.13753-14-william.zh...@broadcom.com
Signed-off-by: Linus Walleij
---
This is a port of the read data bus interface from the Linux
brcmnand driver, commit 546e425991205f59281e160a0d0daed47b7ca9b3
"mtd: rawnand: brcmnand: Add BCMBCA read data bus interface"
This is needed for the BCMBCA RAW NAND driver.
Signed-off-by: William Zhang
Signed-off-by: Lin
ible spare
area size.
Fixes: a7ab085d7c16 ("mtd: rawnand: Initialize the nand_device object")
Signed-off-by: William Zhang
Signed-off-by: Miquel Raynal
Link:
https://lore.kernel.org/linux-mtd/20230706182909.79151-6-william.zh...@broadcom.com
Signed-off-by: Linus Walleij
---
drivers/mtd/na
/linux-mtd/20230706182909.79151-5-william.zh...@broadcom.com
Signed-off-by: Linus Walleij
---
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 18 --
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c
b/drivers/mtd/nand/raw/brcmnand/
cessor and successor controller. It needs
to be set specifically.
Signed-off-by: William Zhang
Reviewed-by: Florian Fainelli
Signed-off-by: Miquel Raynal
Link:
https://lore.kernel.org/linux-mtd/20230706182909.79151-2-william.zh...@broadcom.com
Signed-off-by: Linus Walleij
---
drivers/mtd/nand/ra
william.zh...@broadcom.com
Signed-off-by: Linus Walleij
---
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/raw/brcmnand/brcmnand.c
index 700d1122639f..46a4107a83a9 100644
--- a/drivers/mt
ize 2048 b
OOB size64 b
Erase size 131072 b
ecc strength 4 bits
ecc step size 512 b
subpagesize 2048 b
options 0x00104200
bbt options 0x0006
Signed-off-by: Linus Walleij
---
Changes in v2:
- Augment the write protect handling to a
On Mon, Sep 16, 2024 at 6:45 AM William Zhang
wrote:
> Yes we have it working. And your patches works too after fixing two
> Issues that I will comment on the specific patch.
Yay!
> You will need to
> enable the NAND related configurations and the nand dts node.
Aha maybe I simply missed th
, excellent, I guess you guys know the stuff better than me
so I prefer if your patches are used.
Do you even have U-Boot working on BCMBCA? I didn't get the
NAND to detect properly yet despite all the backported patches. :/
Yours,
Linus Walleij
/linux-mtd/20240301173308.226004-1-william.zh...@broadcom.com
Signed-off-by: Linus Walleij
---
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 70 ++--
1 file changed, 66 insertions(+), 4 deletions(-)
diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c
b/drivers/mtd/nand/ra
y: Florian Fainelli
Reviewed-by: Kamal Dasu
Reviewed-by: David Regan
Signed-off-by: Miquel Raynal
Link:
https://lore.kernel.org/linux-mtd/20240223034758.13753-14-william.zh...@broadcom.com
Signed-off-by: Linus Walleij
---
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 8
1 file changed, 8
This is a port of the read data bus interface from the Linux
brcmnand driver, commit 546e425991205f59281e160a0d0daed47b7ca9b3
"mtd: rawnand: brcmnand: Add BCMBCA read data bus interface"
This is needed for the BCMBCA RAW NAND driver.
Signed-off-by: William Zhang
Signed-off-by: Lin
ible spare
area size.
Fixes: a7ab085d7c16 ("mtd: rawnand: Initialize the nand_device object")
Signed-off-by: William Zhang
Signed-off-by: Miquel Raynal
Link:
https://lore.kernel.org/linux-mtd/20230706182909.79151-6-william.zh...@broadcom.com
Signed-off-by: Linus Walleij
---
drivers/mtd/na
/linux-mtd/20230706182909.79151-5-william.zh...@broadcom.com
Signed-off-by: Linus Walleij
---
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 18 --
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c
b/drivers/mtd/nand/raw/brcmnand/
william.zh...@broadcom.com
Signed-off-by: Linus Walleij
---
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/raw/brcmnand/brcmnand.c
index 700d1122639f..46a4107a83a9 100644
--- a/drivers/mt
cessor and successor controller. It needs
to be set specifically.
Signed-off-by: William Zhang
Reviewed-by: Florian Fainelli
Signed-off-by: Miquel Raynal
Link:
https://lore.kernel.org/linux-mtd/20230706182909.79151-2-william.zh...@broadcom.com
Signed-off-by: Linus Walleij
---
drivers/mtd/nand/ra
but
I know the maintainers have some nice test farms so try to
put these to test and see if we can merge them. I bet the
Broadcom folks has this on their TODO list anyway.
Signed-off-by: Linus Walleij
---
Linus Walleij (1):
mtd: rawnand: brcmnand: Add read data bus interface
William Zhang (6
the UDC core, which does not happen right now. Switch UDC core to
> use struct udevice outright and drop the casts.
>
> UX500 has to be updated slightly, as that is the last place which does
> correctly use private struct device instance.
>
> Signed-off-by: Marek Vasut
Reviewed-by
On Tue, Apr 30, 2024 at 3:36 PM Tom Rini wrote:
> Remove from all mach-u8500 files and when needed add missing
> include files directly.
>
> Signed-off-by: Tom Rini
Reviewed-by: Linus Walleij
Yours,
Linus Walleij
: Linus Walleij
---
drivers/mmc/Kconfig | 1 +
drivers/mmc/arm_pl180_mmci.c | 66 ++--
2 files changed, 3 insertions(+), 64 deletions(-)
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index 17618c3bdcc1..59716c3966e5 100644
--- a/drivers/mmc
.35
Filename 'zImage'.
Load address: 0x6200
Loading: smc911x: MAC 00:02:f7:00:3c:9d
Yours,
Linus Walleij
On Mon, Jan 29, 2024 at 12:54 PM Kristian Amlie
wrote:
> On 29/01/2024 12:41, Ole Orhagen wrote:
> > On Fri, Jan 26, 2024 at 8:57 PM Linus Walleij > <mailto:linus.wall...@linaro.org>> wrote:
> > Are you using the actual hardware, or QEMU?
> >
&
e in the device tree.
>
> Signed-off-by: Ole P. Orhagen
Nice!
Reviewed-by: Linus Walleij
Are you using the actual hardware, or QEMU?
> - chosen { };
> + chosen {
> + stdout-path = &v2m_serial0;
> + };
Can you please send this patch also to the Linux codebase.
Yours,
Linus Walleij
On Tue, Sep 26, 2023 at 11:23 AM Linus Walleij wrote:
> This adds support for the Inteno XG6846 board based on the
> Broadcom MIPS 6328 SoC.
>
> The default boot will read a uImage from flash and boot it.
>
> Reviewed-by: Daniel Schwierzeck
> Signed-off-by: Linus Walleij
On Wed, Oct 18, 2023 at 8:28 AM Qi Feng wrote:
> From: Wei Chen >
> Add MMC disk to FVP's BOOT_TARGET_DEVICES. This allows the user to boot
> from MMC devices.
>
> Signed-off-by: Wei Chen
> Signed-off-by: Qi Feng
Reviewed-by: Linus Walleij
Yours,
Linus Walleij
g
Looks like a reasonable solution to me!
Reviewed-by: Linus Walleij
Yours,
Linus Walleij
This adds support for the Inteno XG6846 board based on the
Broadcom MIPS 6328 SoC.
The default boot will read a uImage from flash and boot it.
Reviewed-by: Daniel Schwierzeck
Signed-off-by: Linus Walleij
---
ChangeLog v1->v2:
- Rebase on top of Tom's patches making Makefile option
nywhere with this? If it's on the master I'll just rebase and
be done with it, else I can go with an empty Makefile simply.
Yours,
Linus Walleij
);
> return ret;
> }
>
> #endif /* BITS_PER_LONG == 32 */
>
> What do you think?
Looks good to me!
You can just modify the patch, sign off and apply,
I guess? Go ahead!
Yours,
Linus Walleij
ed to be
upstreamed before the device trees can be upstreamed.
But I can try to bring in more of it for sure :)
> > +++ b/board/inteno/xg6846/xg6846.c
> > @@ -0,0 +1,6 @@
> > +// SPDX-License-Identifier: GPL-2.0+
> > +/*
> > + * Copyright (C) 2023 Linus Walleij
> &
This adds support for the Inteno XG6846 board based on the
Broadcom MIPS 6328 SoC.
The default boot will read a uImage from flash and boot it.
Cc: Daniel Schwierzeck
Signed-off-by: Linus Walleij
---
arch/mips/dts/Makefile | 1 +
arch/mips/dts/inteno,xg6846.dts | 57
Mauro Condarelli
Cc: Ralf Baechle
Signed-off-by: Linus Walleij
---
I can't test this because it didn't work for MTD devices
as I had expected, but I saw Mauro had this problem
before so I think I might have fixed it. I better put
the patch out there rather than let it sit on my drive.
---
ey need to
create a separate DTS file and augment the code, but I don't
know if any other users will turn up.
Cc: Rafał Miłecki
Signed-off-by: Linus Walleij
---
ChangeLog v4->v5:
- Rebase on the U-Boot master branch
- Add some documentation
ChangeLog v3->v4:
- No changes
ChangeLog v1-&
Linux kernel and OpenWrt
as it is used in many routers.
Since we currently don't need any chip-specific quirks
and can get the system up from just the device tree, a
mach-* directory doesn't even need to be added, just
some small Kconfig fragments.
Cc: Rafał Miłecki
Signed-off-by: Lin
This brings in the main SoC device tree used by the
Broadcom Northstar chipset, i.e. BCM4709x and BCM5301x.
This is taken from the v6.3 Linux kernel.
Cc: Rafał Miłecki
Signed-off-by: Linus Walleij
---
ChangeLog v4->v5:
- Rebase on the U-Boot master branch
ChangeLog v3->v4:
- No c
with the iproc NAND and nand base pacthes
as the iproc patch is a prerequisite.
- Jump from v1->v3 as the other patches was at version
v3.
Linus Walleij (3):
arm: dts: Import device tree for Broadcom Northstar
arm: Add support for the Broadcom Northstar SoCs
board: Add new Broadcom Nort
On Wed, Apr 19, 2023 at 6:13 PM Dario Binacchi
wrote:
> On Wed, Apr 19, 2023 at 4:00 PM Linus Walleij
> wrote:
> >
> > On Wed, Apr 19, 2023 at 3:19 PM Dario Binacchi
> > wrote:
> > > On Wed, Apr 19, 2023 at 3:04 PM Linus Walleij
> > > wrote:
> &
On Wed, Apr 19, 2023 at 3:19 PM Dario Binacchi
wrote:
> On Wed, Apr 19, 2023 at 3:04 PM Linus Walleij
> wrote:
> >
> > On Mon, Apr 17, 2023 at 10:37 AM Dario Binacchi
> > wrote:
> >
> > > Applied to nand-next ( as well as the patch "mtd: rawnand:
ernel.org/u-boot/20230407134008.1939717-2-linus.wall...@linaro.org/
https://lore.kernel.org/u-boot/20230407134008.1939717-3-linus.wall...@linaro.org/
Otherwise please use these versions instead, because the second
patch needed some fixing for Tom's system. Thanks a lot!
Yours,
Linus Walleij
On Fri, Apr 7, 2023 at 11:40 PM Tom Rini wrote:
> On Fri, Apr 07, 2023 at 11:31:03PM +0200, Linus Walleij wrote:
> > On Fri, Apr 7, 2023 at 7:46 PM Tom Rini wrote:
> > > On Fri, Apr 07, 2023 at 03:40:08PM +0200, Linus Walleij wrote:
> > > > This adds a simple North
On Fri, Apr 7, 2023 at 7:46 PM Tom Rini wrote:
> On Fri, Apr 07, 2023 at 03:40:08PM +0200, Linus Walleij wrote:
> > This adds a simple Northstar "BRCMNS" board to be used with
> > the BCM4709x and BCM5301x chips.
> >
> > The main intention is to use this with
On Fri, Apr 7, 2023 at 7:46 PM Tom Rini wrote:
> On Fri, Apr 07, 2023 at 03:40:06PM +0200, Linus Walleij wrote:
>
> > This brings in the main SoC device tree used by the
> > Broadcom Northstar chipset, i.e. BCM4709x and BCM5301x.
> > This is taken from the latest Linux k
ad command, so we are currently not adding
support for things such as networking.
If other board need other ECC for example, they need to
create a separate DTS file and augment the code, but I don't
know if any other users will turn up.
Cc: Rafał Miłecki
Signed-off-by: Linus Walleij
---
C
This brings in the main SoC device tree used by the
Broadcom Northstar chipset, i.e. BCM4709x and BCM5301x.
This is taken from the latest Linux kernel.
Cc: Rafał Miłecki
Signed-off-by: Linus Walleij
---
ChangeLog v3->v4:
- No changes
ChangeLog v1->v3:
- Bundle with the iproc nand an
Linux kernel and OpenWrt
as it is used in many routers.
Since we currently don't need any chip-specific quirks
and can get the system up from just the device tree, a
mach-* directory doesn't even need to be added, just
some small Kconfig fragments.
Cc: Rafał Miłecki
Signed-off-by: Lin
inux kernel but U-Boot core does
not respect this. Fix it up by parsing the algorithm and
preserve the behaviour using this property to select
software BCH as far as possible.
Reviewed-by: Michael Trimarchi
Acked-by: William Zhang
Signed-off-by: Linus Walleij
---
ChangeLog v3->v4:
- After a bug
Add support for the iproc Broadcom NAND controller,
used in Northstar SoCs for example. Based on the Linux
driver.
Cc: Philippe Reynes
Cc: Dario Binacchi
Acked-by: William Zhang
Reviewed-by: Michael Trimarchi
Signed-off-by: Linus Walleij
---
ChangeLog v3->v4:
- No changes
ChangeLog v2-
to me who can merge this patches...
BRCM custodian?
Linus Walleij (5):
nand: brcmnand: add iproc support
mtd: rawnand: nand_base: Handle algorithm selection
arm: dts: Import device tree for Broadcom Northstar
arm: Add support for the Broadcom Northstar SoCs
board: Add new Broadcom Northst
This brings in the main SoC device tree used by the
Broadcom Northstar chipset, i.e. BCM4709x and BCM5301x.
This is taken from the latest Linux kernel.
Cc: Rafał Miłecki
Signed-off-by: Linus Walleij
---
ChangeLog v1->v3:
- Bundle with the iproc nand and algo select patches
---
arch/arm/
Linux kernel and OpenWrt
as it is used in many routers.
Since we currently don't need any chip-specific quirks
and can get the system up from just the device tree, a
mach-* directory doesn't even need to be added, just
some small Kconfig fragments.
Cc: Rafał Miłecki
Signed-off-by: Lin
ad command, so we are currently not adding
support for things such as networking.
If other board need other ECC for example, they need to
create a separate DTS file and augment the code, but I don't
know if any other users will turn up.
Cc: Rafał Miłecki
Signed-off-by: Linus Walleij
---
C
Add support for the iproc Broadcom NAND controller,
used in Northstar SoCs for example. Based on the Linux
driver.
Cc: Philippe Reynes
Cc: Dario Binacchi
Acked-by: William Zhang
Reviewed-by: Michael Trimarchi
Signed-off-by: Linus Walleij
---
ChangeLog v2->v3:
- Collect William Zhang
inux kernel but U-Boot core does
not respect this. Fix it up by parsing the algorithm and
preserve the behaviour using this property to select
software BCH as far as possible.
Reviewed-by: Michael Trimarchi
Acked-by: William Zhang
Signed-off-by: Linus Walleij
---
ChangeLog v2->v3:
- Collect rev
- Bundle with the iproc NAND and nand base pacthes
as the iproc patch is a prerequisite.
- Jump from v1->v3 as the other patches was at version
v3.
It is a bit of a mystery to me who can merge this patches...
BRCM custodian?
Linus Walleij (5):
nand: brcmnand: add iproc support
m
On Fri, Feb 10, 2023 at 6:49 PM Tom Rini wrote:
> On Thu, Feb 02, 2023 at 12:37:45AM +0100, Linus Walleij wrote:
>
> > This adds a simple Northstar "BRCMNS" board to be used with
> > the BCM4709x and BCM5301x chips.
> >
> > The main intention is to use t
Add support for the iproc Broadcom NAND controller,
used in Northstar SoCs for example. Based on the Linux
driver.
Cc: Philippe Reynes
Cc: Dario Binacchi
Reviewed-by: Michael Trimarchi
Signed-off-by: Linus Walleij
---
ChangeLog v1->v2:
- Check return value of dev_read_resource()
-
inux kernel but U-Boot core does
not respect this. Fix it up by parsing the algorithm and
preserve the behaviour using this property to select
software BCH as far as possible.
Signed-off-by: Linus Walleij
---
ChangeLog v1->v2:
- Drop pointless check for ecc_algo >= 0, it is always
>
On Wed, Mar 8, 2023 at 5:54 PM Tom Rini wrote:
> On Wed, Mar 08, 2023 at 12:04:53AM +0100, Linus Walleij wrote:
> > On Sun, Jan 22, 2023 at 12:45 AM Linus Walleij
> > wrote:
> >
> > > Add support for the iproc Broadcom NAND controller,
> > > used in N
On Sun, Jan 22, 2023 at 12:43 AM Linus Walleij wrote:
> For BRCMNAND with 1-bit BCH ECC (BCH-1) such as used on the
> D-Link DIR-885L and DIR-890L routers, we need to explicitly
> select the ECC like this in the device tree:
>
> nand-ecc-algo = "bch";
> nand-ecc-
On Sun, Jan 22, 2023 at 12:45 AM Linus Walleij wrote:
> Add support for the iproc Broadcom NAND controller,
> used in Northstar SoCs for example. Based on the Linux
> driver.
>
> Cc: Philippe Reynes
> Signed-off-by: Linus Walleij
It's been 1 1/2 month, could we apply th
nto the rk_gpio relevant DTS files as well,
so this is not a good solution to your problem.
What has been used in the past is just some unique hardware ID in the
device tree, so I would just add that.
Yours,
Linus Walleij
lore.kernel.org/linux-mtd/20210224080210.23686-1-nolt...@gmail.com
[Ported to U-Boot from the Linux kernel]
Signed-off-by: Linus Walleij
---
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c
b/drivers/mtd/nand/raw/
...@gmail.com
[Ported to U-Boot from the Linux kernel]
Signed-off-by: Linus Walleij
---
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 85 +---
1 file changed, 76 insertions(+), 9 deletions(-)
diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c
b/drivers/mtd/nand/raw/brcmnand/brcmnand.c
by: Florian Fainelli
Signed-off-by: Miquel Raynal
Link:
https://lore.kernel.org/linux-mtd/20200522121524.4161539-3-nolt...@gmail.com
[Ported to U-Boot from the Linux kernel]
Signed-off-by: Linus Walleij
---
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 5 +++--
1 file changed, 3 insertions(+), 2 dele
kernel]
Signed-off-by: Linus Walleij
---
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c
b/drivers/mtd/nand/raw/brcmnand/brcmnand.c
index 1ea9091e6497..10a2e2c0f599 100644
--- a/drivers/mtd
from the Linux kernel]
Signed-off-by: Linus Walleij
---
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c
b/drivers/mtd/nand/raw/brcmnand/brcmnand.c
index 5d3fb460d89a..ee7c3a21602e 100644
Fixes: 02b88eea9f9c ("mtd: brcmnand: Add check for erased page bitflips")
Signed-off-by: Álvaro Fernández Rojas
Signed-off-by: Miquel Raynal
Link:
https://lore.kernel.org/linux-mtd/20200512082451.771212-1-nolt...@gmail.com
[Ported to U-Boot from the Linux kernel]
Signed-off-by: Linus Walleij
-
From: Kamal Dasu
This change adds support for flash dma v0.0.
Signed-off-by: Kamal Dasu
Signed-off-by: Miquel Raynal
[Ported to U-Boot from the Linux kernel]
Signed-off-by: Linus Walleij
---
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 21 +++--
1 file changed, 19 insertions
Kamal Dasu
Signed-off-by: Miquel Raynal
[Ported to U-Boot from the Linux kernel]
Signed-off-by: Linus Walleij
---
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c
b/drivers/mtd/nand/ra
: Linus Walleij
---
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 106 ++-
1 file changed, 84 insertions(+), 22 deletions(-)
diff --git a/drivers/mtd/nand/raw/brcmnand/brcmnand.c
b/drivers/mtd/nand/raw/brcmnand/brcmnand.c
index 571f1c795da0..170aece0aa79 100644
--- a/drivers/mtd/nand
From: Kamal Dasu
Refactored NAND ECC and CMD address configuration code to use helper
functions.
Signed-off-by: Kamal Dasu
Signed-off-by: Miquel Raynal
[Ported to U-Boot from the Linux kernel]
Signed-off-by: Linus Walleij
---
drivers/mtd/nand/raw/brcmnand/brcmnand.c | 100
Hunting down a bug on my system I took to back-porting
all reasonable changes from the Linux brcmnand driver that
were not yet in the U-Boot derivative.
I noticed that a simple diff -ur between brcmnand.c
between the file in Linux and U-Boot was possible to see
what differs. Combining this with so
On Fri, Feb 3, 2023 at 9:48 AM Michael Nazzareno Trimarchi
wrote:
> On Thu, Jan 26, 2023 at 6:39 PM William Zhang
> wrote:
> >
> >
> >
> > On 01/26/2023 12:43 AM, Linus Walleij wrote:
> > > On Thu, Jan 26, 2023 at 2:02 AM William Zhang
> > > wrote
1 - 100 of 423 matches
Mail list logo