Skip to contentSkip to conversation

Make RBTREE selectable by Kconfig

PATCH New Lars Poeschel 3 participants 32 messages Jun 10, 2015 – Dec 16, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

Users who want to use RBTREE can now select it by Kconfig. Selecting it by board config include is still possible.

---
 lib/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)
lib/Kconfig +7 -0
index 3c8de86..fc2be56 100644
@@ -47,6 +47,13 @@ config REGEX
 config LIB_RAND
 	bool
 
+config RBTREE
+	bool "Red-black Trees (rbtree)"
+	help
+	  Red-black trees are a type of self-balancing binary search
+	  tree, used for storing sortable key/value data pairs.
+	  This is currently used in u-boot for ubi and ubifs.
+
 source lib/rsa/Kconfig
 
 menu "Hashing Support"
Signature · 1 line
2.1.4
#1 lore raw

PATCH 2/5 Make MTD_PARTITIONS selectable by Kconfig

Users who want to use MTD_PARTITIONS can now select it by Kconfig. Selecting it by board config include is still possible.

---
 drivers/mtd/Kconfig | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
drivers/mtd/Kconfig +10 -1
index 59278d1..787b1cd 100644
@@ -1,3 +1,12 @@
-source "drivers/mtd/nand/Kconfig"
+menu "Memory Technology Device (MTD) support"
+
+config MTD_PARTITIONS
+	bool "mtd partitions support"
+	help
+	  Adds the MTD partitioning infrastructure from the Linux
+	  kernel. Needed for UBI support.
 
+endmenu
+
+source "drivers/mtd/nand/Kconfig"
 source "drivers/mtd/spi/Kconfig"
Signature · 1 line
2.1.4
#2 lore raw

PATCH 2/5 Make MTD_PARTITIONS selectable by Kconfig

Quoted 4 lines · Lars Poeschel

Users who want to use MTD_PARTITIONS can now select it by Kconfig. Selecting it by board config include is still possible.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150619/f8051dfd/attachment.sig>
#3 lore raw

PATCH 2/5 Make MTD_PARTITIONS selectable by Kconfig

In reply to Lars Poeschel
Quoted 4 lines · Lars Poeschel

Users who want to use MTD_PARTITIONS can now select it by Kconfig. Selecting it by board config include is still possible.

For the record, not applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150619/e20cb0bf/attachment.sig>
#4 lore raw

PATCH 3/5 Make ubi selectable by Kconfig

In reply to Lars Poeschel

Users who want to use ubi can now select it by Kconfig. Selecting it by board config include is still possible.

---
 common/Kconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)
common/Kconfig +10 -0
index f6478fa..bc2836a 100644
@@ -310,6 +310,16 @@ config CMD_FPGA
 	help
 	  FPGA support.
 
+config CMD_UBI
+	bool "ubi"
+	select RBTREE
+	depends on MTD_PARTITIONS
+	help
+	  UBI is a software layer above MTD layer which admits of LVM-like
+	  logical volumes on top of MTD devices, hides some complexities of
+	  flash chips like wear and bad blocks and provides some other useful
+	  capabilities. Please, consult the MTD web site for more details
+	  (www.linux-mtd.infradead.org).
 endmenu
 
 
Signature · 1 line
2.1.4
#5 lore raw

PATCH 3/5 Make ubi selectable by Kconfig

Quoted 4 lines · Lars Poeschel

Users who want to use ubi can now select it by Kconfig. Selecting it by board config include is still possible.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150619/ef268b3b/attachment.sig>
#6 lore raw

PATCH 3/5 Make ubi selectable by Kconfig

In reply to Lars Poeschel
Quoted 4 lines · Lars Poeschel

Users who want to use ubi can now select it by Kconfig. Selecting it by board config include is still possible.

For the record, not applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150619/1952e57e/attachment.sig>
#7 lore raw

PATCH 4/5 Make lzo decompression selectable by Kconfig

In reply to Lars Poeschel

Users who want to use lzo decompression can now select it by Kconfig. Selecting it by board config include is still possible.

---
 lib/Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)
lib/Kconfig +6 -0
index fc2be56..0fe4932 100644
@@ -54,6 +54,12 @@ config RBTREE
 	  tree, used for storing sortable key/value data pairs.
 	  This is currently used in u-boot for ubi and ubifs.
 
+config LZO
+	bool "lzo decompression support"
+	help
+	  This adds a library for lzo decrompression.
+	  This is currently used in u-boot for ubifs.
+
 source lib/rsa/Kconfig
 
 menu "Hashing Support"
Signature · 1 line
2.1.4
#8 lore raw

PATCH 4/5 Make lzo decompression selectable by Kconfig

Quoted 4 lines · Lars Poeschel

Users who want to use lzo decompression can now select it by Kconfig. Selecting it by board config include is still possible.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150619/1e02ce17/attachment.sig>
#9 lore raw

PATCH 4/5 Make lzo decompression selectable by Kconfig

In reply to Lars Poeschel
Quoted 4 lines · Lars Poeschel

Users who want to use lzo decompression can now select it by Kconfig. Selecting it by board config include is still possible.

For the record, not applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150619/3dd3c1ad/attachment.sig>
#10 lore raw

PATCH 5/5 Make ubifs selectable by Kconfig

In reply to Lars Poeschel

Users who want to use ubifs can now select it by Kconfig. Selecting it by board config include is still possible.

---
 fs/ubifs/Kconfig | 8 ++++++++
 1 file changed, 8 insertions(+)
fs/ubifs/Kconfig +8 -0
index e69de29..c5f9714 100644
@@ -0,0 +1,8 @@
+config CMD_UBIFS
+	bool "ubifs"
+	depends on CMD_UBI
+	select LZO
+	help
+	  UBIFS is a file system for flash devices which works on top of UBI.
+	  Please, consult the MTD web site for more details
+	  (www.linux-mtd.infradead.org)
Signature · 1 line
2.1.4
#11 lore raw

PATCH 5/5 Make ubifs selectable by Kconfig

Quoted 4 lines · Lars Poeschel

Users who want to use ubifs can now select it by Kconfig. Selecting it by board config include is still possible.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150619/e69f7c9c/attachment.sig>
#12 lore raw

PATCH 5/5 Make ubifs selectable by Kconfig

In reply to Lars Poeschel
Quoted 4 lines · Lars Poeschel

Users who want to use ubifs can now select it by Kconfig. Selecting it by board config include is still possible.

For the record, not applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150619/cbeb4c1d/attachment.sig>
#13 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

In reply to Lars Poeschel

Hi Lars,

Quoted 5 lines · Lars Poeschel

Users who want to use RBTREE can now select it by Kconfig. Selecting it by board config include is still possible.

---

I beat you to it: http://lists.denx.de/pipermail/u-boot/2015-May/214261.html

Also, you need to use the tools/moveconfig.py tool to update the headers and defconfigs. So...

NAK

Thanks,
-Joe

#14 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

Quoted 10 lines · Joe Hershberger

Hi Lars,

Quoted 5 lines · Lars Poeschel

Users who want to use RBTREE can now select it by Kconfig. Selecting it by board config include is still possible.

---

I beat you to it: http://lists.denx.de/pipermail/u-boot/2015-May/214261.html

Well, ... ok. You won ;-) Your patchset is by far more comprehensive than mine.
If I see this right in the archives, you did not receive any comments since nearly a month. This was RFC will you resend this as a "real" PATCH ? Could you then include two of the dependencies from my patches:
I think CMD_UBI has to depend on MTD_PARTITIONS and obivously CMD_UBIFS has to depend on CMD_UBI.

Thanks,
Lars

#15 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

Hi Lars,

Quoted 10 lines · Lars Poeschel
Quoted 9 lines · Joe Hershberger

Hi Lars,

Quoted 5 lines · Lars Poeschel

Users who want to use RBTREE can now select it by Kconfig. Selecting it by board config include is still possible.

---

Quoted 6 lines
Quoted 1 line

I beat you to it: http://lists.denx.de/pipermail/u-boot/2015-May/214261.html

Well, ... ok. You won ;-) Your patchset is by far more comprehensive than mine.
If I see this right in the archives, you did not receive any comments since nearly a month.

That is true. I really would like a little feedback on it... or maybe I can just drop the controversial one and only include these things... they seem to be mostly straightforward.

Quoted 1 line

This was RFC will you resend this as a "real" PATCH ?

Yes.

Quoted 3 lines

Could you then include two of the dependencies from my patches:
I think CMD_UBI has to depend on MTD_PARTITIONS and obivously CMD_UBIFS has to depend on CMD_UBI.

Will do.

Cheers,
-Joe

#16 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

Hi Joe,

Quoted 13 lines · Joe Hershberger
Quoted 6 lines
Quoted 1 line

I beat you to it: http://lists.denx.de/pipermail/u-boot/2015-May/214261.html

Well, ... ok. You won ;-) Your patchset is by far more comprehensive than mine.
If I see this right in the archives, you did not receive any comments since nearly a month.

That is true. I really would like a little feedback on it... or maybe I can just drop the controversial one and only include these things... they seem to be mostly straightforward.

Quoted 1 line

This was RFC will you resend this as a "real" PATCH ?

Quoted 7 lines

Yes.

Quoted 3 lines

Could you then include two of the dependencies from my patches:
I think CMD_UBI has to depend on MTD_PARTITIONS and obivously CMD_UBIFS has to depend on CMD_UBI.

Will do.

I saw no action from you on this one. Can I help out - at least for the decompression / ubi / ubifs part ?

I think the setexpr / env location parts from your patchset can then go in as seperate patches.

Regards,
Lars

#17 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

Hi Lars,

Quoted 18 lines · Lars Poeschel

Hi Joe,

Quoted 15 lines · Joe Hershberger
Quoted 6 lines
Quoted 1 line

I beat you to it: http://lists.denx.de/pipermail/u-boot/2015-May/214261.html

Well, ... ok. You won ;-) Your patchset is by far more comprehensive than mine.
If I see this right in the archives, you did not receive any comments since nearly a month.

That is true. I really would like a little feedback on it... or maybe I can just drop the controversial one and only include these things... they seem to be mostly straightforward.

Quoted 1 line

This was RFC will you resend this as a "real" PATCH ?

Yes.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Could you then include two of the dependencies from my patches:
I think CMD_UBI has to depend on MTD_PARTITIONS and obivously CMD_UBIFS has to depend on CMD_UBI.

Will do.

I saw no action from you on this one. Can I help out - at least for the decompression / ubi / ubifs part ?

Sorry about that... the end of last release got a little crazy.

Quoted 2 lines

I think the setexpr / env location parts from your patchset can then go in as seperate patches.

I agree. I'll split them apart and send these out.

Cheers,
-Joe

#18 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

Hi Lars,

Quoted 30 lines · Joe Hershberger

Hi Lars,

Quoted 18 lines · Lars Poeschel

Hi Joe,

Quoted 15 lines · Joe Hershberger
Quoted 6 lines
Quoted 1 line

I beat you to it: http://lists.denx.de/pipermail/u-boot/2015-May/214261.html

Well, ... ok. You won ;-) Your patchset is by far more comprehensive than mine.
If I see this right in the archives, you did not receive any comments since nearly a month.

That is true. I really would like a little feedback on it... or maybe I can just drop the controversial one and only include these things... they seem to be mostly straightforward.

Quoted 1 line

This was RFC will you resend this as a "real" PATCH ?

Yes.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Could you then include two of the dependencies from my patches:
I think CMD_UBI has to depend on MTD_PARTITIONS and obivously CMD_UBIFS has to depend on CMD_UBI.

Will do.

I saw no action from you on this one. Can I help out - at least for the decompression / ubi / ubifs part ?

Quoted 6 lines

Sorry about that... the end of last release got a little crazy.

Quoted 2 lines

I think the setexpr / env location parts from your patchset can then go in as seperate patches.

I agree. I'll split them apart and send these out.

I haven't forgotten about this... I plan to get this sent out this week.

-Joe

#19 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

Hi Lars,

Quoted 27 lines · Joe Hershberger

Hi Lars,

Quoted 23 lines · Joe Hershberger

Hi Lars,

Quoted 20 lines · Lars Poeschel

Hi Joe,

Quoted 17 lines · Joe Hershberger
Quoted 6 lines
Quoted 1 line

I beat you to it: http://lists.denx.de/pipermail/u-boot/2015-May/214261.html

Well, ... ok. You won ;-) Your patchset is by far more comprehensive than mine.
If I see this right in the archives, you did not receive any comments since nearly a month.

That is true. I really would like a little feedback on it... or maybe I can just drop the controversial one and only include these things... they seem to be mostly straightforward.

Quoted 1 line

This was RFC will you resend this as a "real" PATCH ?

Yes.

Quoted 2 lines

Could you then include two of the dependencies from my patches:
I think CMD_UBI has to depend on MTD_PARTITIONS and obivously CMD_UBIFS

I noticed when adding MTD_PARTITIONS that MTD_DEVICE is not moved over yet. Do you know what the dependency relationship is there? If not I'll dig into it a bit.

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

has to depend on CMD_UBI.

Will do.

I saw no action from you on this one. Can I help out - at least for the decompression / ubi / ubifs part ?

Quoted 8 lines
Quoted 6 lines

Sorry about that... the end of last release got a little crazy.

Quoted 2 lines

I think the setexpr / env location parts from your patchset can then go in as seperate patches.

I agree. I'll split them apart and send these out.

I haven't forgotten about this... I plan to get this sent out this week.

I had this ready to go, but conflicts with
https://patchwork.ozlabs.org/patch/508134/, so I'm gonna have to regenerate the moves after that goes in.

-Joe

#20 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

Quoted 48 lines · Joe Hershberger

Hi Lars,

Quoted 27 lines · Joe Hershberger

Hi Lars,

Quoted 23 lines · Joe Hershberger

Hi Lars,

Quoted 20 lines · Lars Poeschel

Hi Joe,

Quoted 17 lines · Joe Hershberger
Quoted 6 lines
Quoted 1 line

I beat you to it: http://lists.denx.de/pipermail/u-boot/2015-May/214261.html

Well, ... ok. You won ;-) Your patchset is by far more comprehensive than mine.
If I see this right in the archives, you did not receive any comments since nearly a month.

That is true. I really would like a little feedback on it... or maybe I can just drop the controversial one and only include these things... they seem to be mostly straightforward.

Quoted 1 line

This was RFC will you resend this as a "real" PATCH ?

Yes.

Quoted 2 lines

Could you then include two of the dependencies from my patches:
I think CMD_UBI has to depend on MTD_PARTITIONS and obivously CMD_UBIFS

I noticed when adding MTD_PARTITIONS that MTD_DEVICE is not moved over yet. Do you know what the dependency relationship is there? If not I'll dig into it a bit.

Quoted 12 lines
Quoted 12 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

has to depend on CMD_UBI.

Will do.

I saw no action from you on this one. Can I help out - at least for the decompression / ubi / ubifs part ?

Sorry about that... the end of last release got a little crazy.

Quoted 2 lines

I think the setexpr / env location parts from your patchset can then go in as seperate patches.

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

I agree. I'll split them apart and send these out.

I haven't forgotten about this... I plan to get this sent out this week.

I had this ready to go, but conflicts with
https://patchwork.ozlabs.org/patch/508134/, so I'm gonna have to regenerate the moves after that goes in.

Note that since it's part of the E1000 series I gave it to you in patchwork :)

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150818/5242df92/attachment.sig>
#21 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

Quoted 51 lines · Tom Rini
Quoted 50 lines · Joe Hershberger

Hi Lars,

Quoted 27 lines · Joe Hershberger

Hi Lars,

Quoted 23 lines · Joe Hershberger

Hi Lars,

Quoted 20 lines · Lars Poeschel

Hi Joe,

Quoted 17 lines · Joe Hershberger
Quoted 6 lines
Quoted 1 line

I beat you to it: http://lists.denx.de/pipermail/u-boot/2015-May/214261.html

Well, ... ok. You won ;-) Your patchset is by far more comprehensive than mine.
If I see this right in the archives, you did not receive any comments since nearly a month.

That is true. I really would like a little feedback on it... or maybe I can just drop the controversial one and only include these things... they seem to be mostly straightforward.

Quoted 1 line

This was RFC will you resend this as a "real" PATCH ?

Yes.

Quoted 2 lines

Could you then include two of the dependencies from my patches:
I think CMD_UBI has to depend on MTD_PARTITIONS and obivously CMD_UBIFS

I noticed when adding MTD_PARTITIONS that MTD_DEVICE is not moved over yet. Do you know what the dependency relationship is there? If not I'll dig into it a bit.

Quoted 14 lines
Quoted 13 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

has to depend on CMD_UBI.

Will do.

I saw no action from you on this one. Can I help out - at least for the decompression / ubi / ubifs part ?

Sorry about that... the end of last release got a little crazy.

Quoted 2 lines

I think the setexpr / env location parts from your patchset can then go in as seperate patches.

I agree. I'll split them apart and send these out.

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

I haven't forgotten about this... I plan to get this sent out this week.

I had this ready to go, but conflicts with
https://patchwork.ozlabs.org/patch/508134/, so I'm gonna have to regenerate the moves after that goes in.

Note that since it's part of the E1000 series I gave it to you in patchwork :)

Sure, I expect to take it in once all feedback is addressed on that series. :)

-Joe

#22 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

Am Dienstag, 18. August 2015, 14:32:13 schrieb Joe Hershberger:

Quoted 15 lines · Tom Rini
Quoted 14 lines · Joe Hershberger
Quoted 13 lines

Hi Lars,

On Tue, Aug 11, 2015 at 2:29 PM, Joe Hershberger

Quoted 8 lines · <[email protected]> wrote:

Hi Lars,

On Tue, Jul 28, 2015 at 11:01 AM, Joe Hershberger

Quoted 3 lines · <[email protected]> wrote:

Hi Lars,

On Tue, Jul 28, 2015 at 3:25 AM, Lars Poeschel <[email protected]>

Quoted 54 lines · wrote:
Quoted 54 lines
Quoted 53 lines
Quoted 19 lines
Quoted 19 lines
Quoted 19 lines

Hi Joe,

Quoted 16 lines · Joe Hershberger
Quoted 9 lines
Quoted 2 lines

I beat you to it:
http://lists.denx.de/pipermail/u-boot/2015-May/214261.html>> >>>>

Well, ... ok. You won ;-) Your patchset is by far more comprehensive than
mine.
If I see this right in the archives, you did not receive any comments
since nearly a month.

That is true. I really would like a little feedback on it... or maybe
I can just drop the controversial one and only include these things...
they seem to be mostly straightforward.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line

This was RFC will you resend this as a "real" PATCH ?

Yes.

Quoted 3 lines

Could you then include two of the dependencies from my patches:
I think CMD_UBI has to depend on MTD_PARTITIONS and obivously CMD_UBIFS

I noticed when adding MTD_PARTITIONS that MTD_DEVICE is not moved over yet. Do you know what the dependency relationship is there? If not I'll dig into it a bit.

Quoted 10 lines
Quoted 10 lines
Quoted 7 lines
Quoted 3 lines
Quoted 1 line

has to depend on CMD_UBI.

Will do.

I saw no action from you on this one. Can I help out - at least for the
decompression / ubi / ubifs part ?

Sorry about that... the end of last release got a little crazy.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

I think the setexpr / env location parts from your patchset can then go
in as seperate patches.

I agree. I'll split them apart and send these out.

I haven't forgotten about this... I plan to get this sent out this week.

I had this ready to go, but conflicts with
https://patchwork.ozlabs.org/patch/508134/, so I'm gonna have to regenerate the moves after that goes in.

Quoted 5 lines
Quoted 2 lines

Note that since it's part of the E1000 series I gave it to you in patchwork :)

Sure, I expect to take it in once all feedback is addressed on that series. :)

Joe,
a gentle ping on this.
I don't see RBTREE, MTD_PARTIONS and UBIFS in Kconfig yet.

Regards,
Lars

#23 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

Hi Lars,

Quoted 74 lines · Lars Poeschel

Am Dienstag, 18. August 2015, 14:32:13 schrieb Joe Hershberger:

Quoted 15 lines · Tom Rini
Quoted 14 lines · Joe Hershberger
Quoted 13 lines

Hi Lars,

On Tue, Aug 11, 2015 at 2:29 PM, Joe Hershberger

Quoted 8 lines · <[email protected]> wrote:

Hi Lars,

On Tue, Jul 28, 2015 at 11:01 AM, Joe Hershberger

Quoted 3 lines · <[email protected]> wrote:

Hi Lars,

On Tue, Jul 28, 2015 at 3:25 AM, Lars Poeschel <[email protected]>

Quoted 57 lines · wrote:
Quoted 56 lines
Quoted 45 lines
Quoted 19 lines
Quoted 19 lines
Quoted 19 lines

Hi Joe,

Quoted 16 lines · Joe Hershberger
Quoted 9 lines
Quoted 2 lines

I beat you to it:
http://lists.denx.de/pipermail/u-boot/2015-May/214261.html>> >>>>

Well, ... ok. You won ;-) Your patchset is by far more comprehensive than
mine.
If I see this right in the archives, you did not receive any comments
since nearly a month.

That is true. I really would like a little feedback on it... or maybe
I can just drop the controversial one and only include these things...
they seem to be mostly straightforward.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line

This was RFC will you resend this as a "real" PATCH ?

Yes.

Quoted 3 lines

Could you then include two of the dependencies from my patches:
I think CMD_UBI has to depend on MTD_PARTITIONS and obivously CMD_UBIFS

I noticed when adding MTD_PARTITIONS that MTD_DEVICE is not moved over yet. Do you know what the dependency relationship is there? If not I'll dig into it a bit.

Quoted 14 lines
Quoted 14 lines
Quoted 7 lines
Quoted 3 lines
Quoted 1 line

has to depend on CMD_UBI.

Will do.

I saw no action from you on this one. Can I help out - at least for the
decompression / ubi / ubifs part ?

Sorry about that... the end of last release got a little crazy.

Quoted 3 lines

I think the setexpr / env location parts from your patchset can then go
in as seperate patches.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

I agree. I'll split them apart and send these out.

I haven't forgotten about this... I plan to get this sent out this week.

I had this ready to go, but conflicts with
https://patchwork.ozlabs.org/patch/508134/, so I'm gonna have to regenerate the moves after that goes in.

Note that since it's part of the E1000 series I gave it to you in patchwork :)

Quoted 6 lines
Quoted 2 lines

Sure, I expect to take it in once all feedback is addressed on that series. :)

Joe,
a gentle ping on this.
I don't see RBTREE, MTD_PARTIONS and UBIFS in Kconfig yet.

Argh! I forgot that I had this sitting in a branch that still had a few targets not building cleanly. This moving configs stuff is a pain when so many boards use them and in odd / slightly different ways.

Now all the work has to be regenerated and reanalyzed for build failures. Maybe I'll just start with one dependency... get that in, then focus on the next, etc. There are so many boards that conflict readily if you have to spend any amount of time resolving issues.

Sorry for the delay.
-Joe

#24 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

Am Dienstag, 15. Dezember 2015, 16:54:45 schrieb Joe Hershberger:

Quoted 91 lines

Hi Lars,

Quoted 79 lines · Lars Poeschel

Am Dienstag, 18. August 2015, 14:32:13 schrieb Joe Hershberger:

Quoted 16 lines · Tom Rini
Quoted 15 lines · Joe Hershberger
Quoted 14 lines

Hi Lars,

On Tue, Aug 11, 2015 at 2:29 PM, Joe Hershberger

Quoted 9 lines · <[email protected]> wrote:

Hi Lars,

On Tue, Jul 28, 2015 at 11:01 AM, Joe Hershberger

Quoted 4 lines · <[email protected]> wrote:

Hi Lars,

On Tue, Jul 28, 2015 at 3:25 AM, Lars Poeschel
<[email protected]>

Quoted 60 lines · wrote:
Quoted 59 lines
Quoted 48 lines
Quoted 20 lines
Quoted 20 lines
Quoted 20 lines

Hi Joe,

Quoted 17 lines · Joe Hershberger
Quoted 10 lines
Quoted 3 lines

I beat you to it:
http://lists.denx.de/pipermail/u-boot/2015-May/214261.html>>

Quoted 1 line
Quoted 1 line

Well, ... ok. You won ;-) Your patchset is by far more comprehensive than
mine.
If I see this right in the archives, you did not receive any comments
since nearly a month.

That is true. I really would like a little feedback on it... or maybe
I can just drop the controversial one and only include these things...
they seem to be mostly straightforward.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line

This was RFC will you resend this as a "real" PATCH ?

Yes.

Quoted 3 lines

Could you then include two of the dependencies from my patches:
I think CMD_UBI has to depend on MTD_PARTITIONS and obivously CMD_UBIFS

I noticed when adding MTD_PARTITIONS that MTD_DEVICE is not moved over yet. Do you know what the dependency relationship is there? If not I'll dig into it a bit.

Quoted 16 lines
Quoted 16 lines
Quoted 8 lines
Quoted 3 lines
Quoted 1 line

has to depend on CMD_UBI.

Will do.

I saw no action from you on this one. Can I help out - at least for
the
decompression / ubi / ubifs part ?

Sorry about that... the end of last release got a little crazy.

Quoted 4 lines

I think the setexpr / env location parts from your patchset can then
go
in as seperate patches.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

I agree. I'll split them apart and send these out.

I haven't forgotten about this... I plan to get this sent out this week.

I had this ready to go, but conflicts with
https://patchwork.ozlabs.org/patch/508134/, so I'm gonna have to regenerate the moves after that goes in.

Note that since it's part of the E1000 series I gave it to you in patchwork :)

Quoted 8 lines
Quoted 4 lines

Sure, I expect to take it in once all feedback is addressed on that series.

:)

Joe,
a gentle ping on this.
I don't see RBTREE, MTD_PARTIONS and UBIFS in Kconfig yet.

Quoted 8 lines

Argh! I forgot that I had this sitting in a branch that still had a few targets not building cleanly. This moving configs stuff is a pain when so many boards use them and in odd / slightly different ways.

Now all the work has to be regenerated and reanalyzed for build failures. Maybe I'll just start with one dependency... get that in, then focus on the next, etc. There are so many boards that conflict readily if you have to spend any amount of time resolving issues.

I had another idea: Is it reasonable to put the parameters into Kconfig and only change the non-problematic board configs and leave the rest as they are ? That shouldn't harm ?
But I think you are right. It is propably the best if you do it step by step and bring one patch after the other in.

Regards,
Lars

#25 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

In reply to Joe Hershberger

Am Dienstag, 18. August 2015, 13:47:20 schrieb Joe Hershberger:

Quoted 13 lines

Hi Lars,

On Tue, Aug 11, 2015 at 2:29 PM, Joe Hershberger

Quoted 8 lines · <[email protected]> wrote:

Hi Lars,

On Tue, Jul 28, 2015 at 11:01 AM, Joe Hershberger

Quoted 3 lines · <[email protected]> wrote:

Hi Lars,

On Tue, Jul 28, 2015 at 3:25 AM, Lars Poeschel <[email protected]>

Quoted 19 lines · wrote:
Quoted 19 lines
Quoted 19 lines
Quoted 19 lines

Hi Joe,

Quoted 16 lines · Joe Hershberger
Quoted 7 lines
Quoted 2 lines

I beat you to it:
http://lists.denx.de/pipermail/u-boot/2015-May/214261.html>>>> >

Well, ... ok. You won ;-) Your patchset is by far more comprehensive than
mine.
If I see this right in the archives, you did not receive any comments since nearly a month.

That is true. I really would like a little feedback on it... or maybe I can just drop the controversial one and only include these things... they seem to be mostly straightforward.

Quoted 1 line

This was RFC will you resend this as a "real" PATCH ?

Yes.

Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Could you then include two of the dependencies from my patches:
I think CMD_UBI has to depend on MTD_PARTITIONS and obivously CMD_UBIFS

I noticed when adding MTD_PARTITIONS that MTD_DEVICE is not moved over yet. Do you know what the dependency relationship is there? If not I'll dig into it a bit.

Sorry, I am really not sure about this.
I think in my configuration MTD_PARTITIONS worked even without MTD_DEVICE. But maybe looking into drivers/mtd/Makefile:8 helps here. It seems that MTD_PARTITIONS needs either MTD_DEVICE, CMD_NAND, CMD_ONENAND or CMD_SF.

Lars

#26 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

In reply to Joe Hershberger
Quoted 9 lines · Joe Hershberger

Hi Lars,

Quoted 5 lines · Lars Poeschel

Users who want to use RBTREE can now select it by Kconfig. Selecting it by board config include is still possible.

---

Quoted 6 lines

I beat you to it: http://lists.denx.de/pipermail/u-boot/2015-May/214261.html

Also, you need to use the tools/moveconfig.py tool to update the headers and defconfigs. So...

NAK

Oh blarg, I missed this part somehow, dang it.. So now what?

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150619/5388f544/attachment.sig>
#27 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

Quoted 11 lines · Tom Rini
Quoted 9 lines · Joe Hershberger

Hi Lars,

Quoted 5 lines · Lars Poeschel

Users who want to use RBTREE can now select it by Kconfig. Selecting it by board config include is still possible.

---

Quoted 8 lines
Quoted 6 lines

I beat you to it: http://lists.denx.de/pipermail/u-boot/2015-May/214261.html

Also, you need to use the tools/moveconfig.py tool to update the headers and defconfigs. So...

NAK

Oh blarg, I missed this part somehow, dang it.. So now what?

If you haven't pushed it yet you can back it out, right?

-Joe

#28 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

Quoted 14 lines · Joe Hershberger
Quoted 13 lines · Tom Rini
Quoted 11 lines · Joe Hershberger

Hi Lars,

Quoted 5 lines · Lars Poeschel

Users who want to use RBTREE can now select it by Kconfig. Selecting it by board config include is still possible.

---

I beat you to it: http://lists.denx.de/pipermail/u-boot/2015-May/214261.html

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

Also, you need to use the tools/moveconfig.py tool to update the headers and defconfigs. So...

NAK

Oh blarg, I missed this part somehow, dang it.. So now what?

If you haven't pushed it yet you can back it out, right?

Yay for getting side-tracked. Dropping this series on the floor.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150619/fdcb907e/attachment.sig>
#29 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

In reply to Lars Poeschel
Quoted 4 lines · Lars Poeschel

Users who want to use RBTREE can now select it by Kconfig. Selecting it by board config include is still possible.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150619/6eb89aac/attachment.sig>
#30 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

Hey Tom,

Quoted 8 lines · Tom Rini
Quoted 4 lines · Lars Poeschel

Users who want to use RBTREE can now select it by Kconfig. Selecting it by board config include is still possible.

Applied to u-boot/master, thanks!

Please note the discussion on this. Did you mean to apply it?

Thanks,
-Joe

#31 lore raw

PATCH 1/5 Make RBTREE selectable by Kconfig

In reply to Lars Poeschel
Quoted 4 lines · Lars Poeschel

Users who want to use RBTREE can now select it by Kconfig. Selecting it by board config include is still possible.

For the record, not applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150619/3a72a1df/attachment.sig>