* [PATCH] ubi: Depend on MTD
@ 2024-04-11 5:05 John Watts
2024-04-11 6:09 ` Michael Nazzareno Trimarchi
2024-04-15 5:55 ` Heiko Schocher
0 siblings, 2 replies; 7+ messages in thread
From: John Watts @ 2024-04-11 5:05 UTC (permalink / raw)
To: Kyungmin Park, Heiko Schocher, Tom Rini; +Cc: u-boot, John Watts
UBI required MTD to build correctly, add it as a Kconfig dependency.
Signed-off-by: John Watts <contact@jookia.org>
---
While working with UBI on my SPI NAND patch series I found it was
possible to enable it without enabling the MTD subsystem.
Add a Kconfig option to solve this.
---
drivers/mtd/ubi/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig
index 5783d36c04..fd446d6efb 100644
--- a/drivers/mtd/ubi/Kconfig
+++ b/drivers/mtd/ubi/Kconfig
@@ -9,6 +9,7 @@ config UBI_SILENCE_MSG
config MTD_UBI
bool "Enable UBI - Unsorted block images"
+ depends on MTD
select RBTREE
select MTD_PARTITIONS
help
---
base-commit: 777c28460947371ada40868dc994dfe8537d7115
change-id: 20240411-mtd-d2e811e17cc8
Best regards,
--
John Watts <contact@jookia.org>
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] ubi: Depend on MTD
2024-04-11 5:05 [PATCH] ubi: Depend on MTD John Watts
@ 2024-04-11 6:09 ` Michael Nazzareno Trimarchi
2024-04-26 5:18 ` Heiko Schocher
2024-04-15 5:55 ` Heiko Schocher
1 sibling, 1 reply; 7+ messages in thread
From: Michael Nazzareno Trimarchi @ 2024-04-11 6:09 UTC (permalink / raw)
To: John Watts; +Cc: Kyungmin Park, Heiko Schocher, Tom Rini, u-boot
Hi
On Thu, Apr 11, 2024 at 7:06 AM John Watts <contact@jookia.org> wrote:
>
> UBI required MTD to build correctly, add it as a Kconfig dependency.
>
> Signed-off-by: John Watts <contact@jookia.org>
> ---
> While working with UBI on my SPI NAND patch series I found it was
> possible to enable it without enabling the MTD subsystem.
> Add a Kconfig option to solve this.
> ---
> drivers/mtd/ubi/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig
> index 5783d36c04..fd446d6efb 100644
> --- a/drivers/mtd/ubi/Kconfig
> +++ b/drivers/mtd/ubi/Kconfig
> @@ -9,6 +9,7 @@ config UBI_SILENCE_MSG
>
> config MTD_UBI
> bool "Enable UBI - Unsorted block images"
> + depends on MTD
> select RBTREE
> select MTD_PARTITIONS
> help
>
> ---
Reviewed-by: Michael Trimarchi <michael@amarulasolutins.com>
> base-commit: 777c28460947371ada40868dc994dfe8537d7115
> change-id: 20240411-mtd-d2e811e17cc8
>
> Best regards,
> --
> John Watts <contact@jookia.org>
>
--
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
michael@amarulasolutions.com
__________________________________
Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
info@amarulasolutions.com
www.amarulasolutions.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ubi: Depend on MTD
2024-04-11 5:05 [PATCH] ubi: Depend on MTD John Watts
2024-04-11 6:09 ` Michael Nazzareno Trimarchi
@ 2024-04-15 5:55 ` Heiko Schocher
1 sibling, 0 replies; 7+ messages in thread
From: Heiko Schocher @ 2024-04-15 5:55 UTC (permalink / raw)
To: John Watts, Kyungmin Park, Tom Rini; +Cc: u-boot
Hello John,
On 11.04.24 07:05, John Watts wrote:
> UBI required MTD to build correctly, add it as a Kconfig dependency.
>
> Signed-off-by: John Watts <contact@jookia.org>
> ---
> While working with UBI on my SPI NAND patch series I found it was
> possible to enable it without enabling the MTD subsystem.
> Add a Kconfig option to solve this.
> ---
> drivers/mtd/ubi/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Heiko Schocher <hs@denx.de>
Thanks!
bye,
Heiko
--
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs@denx.de
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ubi: Depend on MTD
2024-04-11 6:09 ` Michael Nazzareno Trimarchi
@ 2024-04-26 5:18 ` Heiko Schocher
2024-04-26 15:52 ` Tom Rini
0 siblings, 1 reply; 7+ messages in thread
From: Heiko Schocher @ 2024-04-26 5:18 UTC (permalink / raw)
To: Tom Rini; +Cc: Kyungmin Park, u-boot, John Watts, Michael Nazzareno Trimarchi
Hello Tom,
On 11.04.24 08:09, Michael Nazzareno Trimarchi wrote:
> Hi
>
> On Thu, Apr 11, 2024 at 7:06 AM John Watts <contact@jookia.org> wrote:
>>
>> UBI required MTD to build correctly, add it as a Kconfig dependency.
>>
>> Signed-off-by: John Watts <contact@jookia.org>
>> ---
>> While working with UBI on my SPI NAND patch series I found it was
>> possible to enable it without enabling the MTD subsystem.
>> Add a Kconfig option to solve this.
>> ---
>> drivers/mtd/ubi/Kconfig | 1 +
>> 1 file changed, 1 insertion(+)
Seems I am too dummy to find this patch in Patchwork, nor is it
applied in master ... can you pick it up, or should I do this and
send you a pull request?
Thanks!
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs@denx.de
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ubi: Depend on MTD
2024-04-26 5:18 ` Heiko Schocher
@ 2024-04-26 15:52 ` Tom Rini
2024-04-26 15:56 ` Michael Nazzareno Trimarchi
0 siblings, 1 reply; 7+ messages in thread
From: Tom Rini @ 2024-04-26 15:52 UTC (permalink / raw)
To: Heiko Schocher
Cc: Kyungmin Park, u-boot, John Watts, Michael Nazzareno Trimarchi
[-- Attachment #1: Type: text/plain, Size: 1014 bytes --]
On Fri, Apr 26, 2024 at 07:18:18AM +0200, Heiko Schocher wrote:
> Hello Tom,
>
> On 11.04.24 08:09, Michael Nazzareno Trimarchi wrote:
> > Hi
> >
> > On Thu, Apr 11, 2024 at 7:06 AM John Watts <contact@jookia.org> wrote:
> > >
> > > UBI required MTD to build correctly, add it as a Kconfig dependency.
> > >
> > > Signed-off-by: John Watts <contact@jookia.org>
> > > ---
> > > While working with UBI on my SPI NAND patch series I found it was
> > > possible to enable it without enabling the MTD subsystem.
> > > Add a Kconfig option to solve this.
> > > ---
> > > drivers/mtd/ubi/Kconfig | 1 +
> > > 1 file changed, 1 insertion(+)
>
> Seems I am too dummy to find this patch in Patchwork, nor is it
> applied in master ... can you pick it up, or should I do this and
> send you a pull request?
It's over at
https://patchwork.ozlabs.org/project/uboot/patch/20240411-mtd-v1-1-fe300f6ab657@jookia.org/
currently but you can take it up and send it to me if you like.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ubi: Depend on MTD
2024-04-26 15:52 ` Tom Rini
@ 2024-04-26 15:56 ` Michael Nazzareno Trimarchi
2024-04-30 6:37 ` Dario Binacchi
0 siblings, 1 reply; 7+ messages in thread
From: Michael Nazzareno Trimarchi @ 2024-04-26 15:56 UTC (permalink / raw)
To: Tom Rini, Dario Binacchi
Cc: Heiko Schocher, Kyungmin Park, u-boot, John Watts
Hi Dario
On Fri, Apr 26, 2024 at 5:52 PM Tom Rini <trini@konsulko.com> wrote:
>
> On Fri, Apr 26, 2024 at 07:18:18AM +0200, Heiko Schocher wrote:
> > Hello Tom,
> >
> > On 11.04.24 08:09, Michael Nazzareno Trimarchi wrote:
> > > Hi
> > >
> > > On Thu, Apr 11, 2024 at 7:06 AM John Watts <contact@jookia.org> wrote:
> > > >
> > > > UBI required MTD to build correctly, add it as a Kconfig dependency.
> > > >
> > > > Signed-off-by: John Watts <contact@jookia.org>
> > > > ---
> > > > While working with UBI on my SPI NAND patch series I found it was
> > > > possible to enable it without enabling the MTD subsystem.
> > > > Add a Kconfig option to solve this.
> > > > ---
> > > > drivers/mtd/ubi/Kconfig | 1 +
> > > > 1 file changed, 1 insertion(+)
> >
> > Seems I am too dummy to find this patch in Patchwork, nor is it
> > applied in master ... can you pick it up, or should I do this and
> > send you a pull request?
>
> It's over at
> https://patchwork.ozlabs.org/project/uboot/patch/20240411-mtd-v1-1-fe300f6ab657@jookia.org/
> currently but you can take it up and send it to me if you like.
>
Can you pick it up? Seems that you are delegate and was already reviewed by me
Michael
> --
> Tom
--
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
michael@amarulasolutions.com
__________________________________
Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
info@amarulasolutions.com
www.amarulasolutions.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ubi: Depend on MTD
2024-04-26 15:56 ` Michael Nazzareno Trimarchi
@ 2024-04-30 6:37 ` Dario Binacchi
0 siblings, 0 replies; 7+ messages in thread
From: Dario Binacchi @ 2024-04-30 6:37 UTC (permalink / raw)
To: Michael Nazzareno Trimarchi
Cc: Tom Rini, Heiko Schocher, Kyungmin Park, u-boot, John Watts
Hi Michael,
On Fri, Apr 26, 2024 at 5:56 PM Michael Nazzareno Trimarchi
<michael@amarulasolutions.com> wrote:
>
> Hi Dario
>
> On Fri, Apr 26, 2024 at 5:52 PM Tom Rini <trini@konsulko.com> wrote:
> >
> > On Fri, Apr 26, 2024 at 07:18:18AM +0200, Heiko Schocher wrote:
> > > Hello Tom,
> > >
> > > On 11.04.24 08:09, Michael Nazzareno Trimarchi wrote:
> > > > Hi
> > > >
> > > > On Thu, Apr 11, 2024 at 7:06 AM John Watts <contact@jookia.org> wrote:
> > > > >
> > > > > UBI required MTD to build correctly, add it as a Kconfig dependency.
> > > > >
> > > > > Signed-off-by: John Watts <contact@jookia.org>
> > > > > ---
> > > > > While working with UBI on my SPI NAND patch series I found it was
> > > > > possible to enable it without enabling the MTD subsystem.
> > > > > Add a Kconfig option to solve this.
> > > > > ---
> > > > > drivers/mtd/ubi/Kconfig | 1 +
> > > > > 1 file changed, 1 insertion(+)
> > >
> > > Seems I am too dummy to find this patch in Patchwork, nor is it
> > > applied in master ... can you pick it up, or should I do this and
> > > send you a pull request?
> >
> > It's over at
> > https://patchwork.ozlabs.org/project/uboot/patch/20240411-mtd-v1-1-fe300f6ab657@jookia.org/
> > currently but you can take it up and send it to me if you like.
> >
>
> Can you pick it up? Seems that you are delegate and was already reviewed by me
Yes, I will apply the patch to nand-next branch and test it with the CI pipeline
Thanks and regards,
Dario
>
> Michael
>
> > --
> > Tom
>
>
>
> --
> Michael Nazzareno Trimarchi
> Co-Founder & Chief Executive Officer
> M. +39 347 913 2170
> michael@amarulasolutions.com
> __________________________________
>
> Amarula Solutions BV
> Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
> T. +31 (0)85 111 9172
> info@amarulasolutions.com
> www.amarulasolutions.com
--
Dario Binacchi
Senior Embedded Linux Developer
dario.binacchi@amarulasolutions.com
__________________________________
Amarula Solutions SRL
Via Le Canevare 30, 31100 Treviso, Veneto, IT
T. +39 042 243 5310
info@amarulasolutions.com
www.amarulasolutions.com
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-04-30 6:38 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-11 5:05 [PATCH] ubi: Depend on MTD John Watts
2024-04-11 6:09 ` Michael Nazzareno Trimarchi
2024-04-26 5:18 ` Heiko Schocher
2024-04-26 15:52 ` Tom Rini
2024-04-26 15:56 ` Michael Nazzareno Trimarchi
2024-04-30 6:37 ` Dario Binacchi
2024-04-15 5:55 ` Heiko Schocher
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.