Skip to contentSkip to conversation

bloblist: Drop BSD license

PATCH Applied Simon Glass 4 participants 18 messages Jan 1, 2025 – Apr 30, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bloblist: Drop BSD license

Linaro has decided to write their own version of bloblist from scratch, so there is no point in having a non-GPL license on this file. Change it, to better fit with the U-Boot project.

---

 common/bloblist.c  | 2 +-
 include/bloblist.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
common/bloblist.c +1 -1
index ecce3da9331..c441498ec56 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright 2018 Google, Inc
  * Written by Simon Glass <[email protected]>
include/bloblist.h +1 -1
index 7d462e71914..be7303e1504 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * This provides a standard way of passing information between boot phases
  * (TPL -> SPL -> U-Boot proper.)
Signature · 1 line
2.43.0
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Simon Glass

Linaro has decided to write their own version of bloblist from scratch, so there is no point in having a non-GPL license on this file. Change it, to better fit with the U-Boot project.

Nit: I'd prefer to word this more neutrally, "TF-A has created a BSD-3 licensed version of bloblist support, so there is no point...".

Quoted 2 lines

But, once we get everyone else that touched it since commit 6c9e3d1fc085 ("bloblist: Relicense to allow BSD-3-Clause") I'm fine with it.

Signature · 1 line
Tom
#2 lore raw
In reply to Simon Glass

Apologies for the formatting, replying on mobile.

Quoted 4 lines · On Wed, Jan 1, 2025, 21:58 Simon Glass <[email protected]> wrote:

Linaro has decided to write their own version of bloblist from scratch, so there is no point in having a non-GPL license on this file. Change it, to better fit with the U-Boot project.

Apart from the commit message being wrong, it's also intentionally provoking. There was no bloblist in TF-A.

The TF-A code is implementing the firmware hand-off spec [0], which Linaro participated in the creation. The U-Boot implementation was adjusted to adhere to the same spec after the TF-A code was merged.

[0] https://github.com/FirmwareHandoff/firmware_handoff

Ilias

Quoted 2 lines
Quoted 32 lines

---

 common/bloblist.c  | 2 +-
 include/bloblist.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
common/bloblist.c +1 -1
index ecce3da9331..c441498ec56 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright 2018 Google, Inc
  * Written by Simon Glass <[email protected]>
include/bloblist.h +1 -2
index 7d462e71914..be7303e1504 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * This provides a standard way of passing information between boot phases
  * (TPL -> SPL -> U-Boot proper.)
--

2.43.0

#3 lore raw

Hi Ilias,

Quoted 6 lines · Ilias Apalodimas

Apologies for the formatting, replying on mobile.

Quoted 1 line · On Wed, Jan 1, 2025, 21:58 Simon Glass <[email protected]> wrote:
Quoted 8 lines
Quoted 3 lines

Linaro has decided to write their own version of bloblist from scratch, so there is no point in having a non-GPL license on this file. Change it, to better fit with the U-Boot project.

Apart from the commit message being wrong, it's also intentionally provoking. There was no bloblist in TF-A.

The TF-A code is implementing the firmware hand-off spec [0], which Linaro participated in the creation. The U-Boot implementation was adjusted to adhere to the same spec after the TF-A code was merged.

The U-Boot series was [1], for reference. This was mostly about using different tags and shrinking the headers. My clear understanding was that we were going to try to have a single codebase, which is why I changed the license.

So, since you have a different view of events, why did Linaro write it from scratch? Was it to avoid having U-Boot code in TF-A? Or was the author just unaware of the original intention? It isn't relevant for the commit message, but if you can find out I would be interested.

[..]

Regards,
Simon

Quoted 1 line

[0] https://github.com/FirmwareHandoff/firmware_handoff

[1] https://patchwork.ozlabs.org/project/uboot/list/?series=387200&state=*

#4 lore raw

Hi again Ilias,

Quoted 25 lines · Simon Glass

Hi Ilias,

Quoted 6 lines · Ilias Apalodimas

Apologies for the formatting, replying on mobile.

Quoted 1 line · On Wed, Jan 1, 2025, 21:58 Simon Glass <[email protected]> wrote:
Quoted 8 lines
Quoted 3 lines

Linaro has decided to write their own version of bloblist from scratch, so there is no point in having a non-GPL license on this file. Change it, to better fit with the U-Boot project.

Apart from the commit message being wrong, it's also intentionally provoking. There was no bloblist in TF-A.

The TF-A code is implementing the firmware hand-off spec [0], which Linaro participated in the creation. The U-Boot implementation was adjusted to adhere to the same spec after the TF-A code was merged.

The U-Boot series was [1], for reference. This was mostly about using different tags and shrinking the headers. My clear understanding was that we were going to try to have a single codebase, which is why I changed the license.

Quoted 4 lines

So, since you have a different view of events, why did Linaro write it from scratch? Was it to avoid having U-Boot code in TF-A? Or was the author just unaware of the original intention? It isn't relevant for the commit message, but if you can find out I would be interested.

Just following up on this as I'm not sure of the status of this patch. Can you perhaps write your own commit message with your version of what Linaro has done?

Quoted 8 lines

[..]

Regards,
Simon

Quoted 1 line

[0] https://github.com/FirmwareHandoff/firmware_handoff

[1] https://patchwork.ozlabs.org/project/uboot/list/?series=387200&state=*

#5 lore raw

Hi Simon,

Quoted 32 lines · Simon Glass

Hi again Ilias,

Quoted 28 lines · Simon Glass

Hi Ilias,

Quoted 6 lines · Ilias Apalodimas

Apologies for the formatting, replying on mobile.

Quoted 1 line · On Wed, Jan 1, 2025, 21:58 Simon Glass <[email protected]> wrote:
Quoted 8 lines
Quoted 3 lines

Linaro has decided to write their own version of bloblist from scratch, so there is no point in having a non-GPL license on this file. Change it, to better fit with the U-Boot project.

Apart from the commit message being wrong, it's also intentionally provoking. There was no bloblist in TF-A.

The TF-A code is implementing the firmware hand-off spec [0], which Linaro participated in the creation. The U-Boot implementation was adjusted to adhere to the same spec after the TF-A code was merged.

The U-Boot series was [1], for reference. This was mostly about using different tags and shrinking the headers. My clear understanding was that we were going to try to have a single codebase, which is why I changed the license.

So, since you have a different view of events, why did Linaro write it from scratch? Was it to avoid having U-Boot code in TF-A? Or was the author just unaware of the original intention?

I am not sure I am following 'from scratch'. Firmware handoff is a doc describing a list. Raymond implemented it in U-Boot and TF-A. The right way to do this is to move the firmware handoff code to a library that can be used across projects.

Quoted 6 lines

It isn't relevant for

Quoted 1 line

the commit message, but if you can find out I would be interested.

Just following up on this as I'm not sure of the status of this patch. Can you perhaps write your own commit message with your version of what Linaro has done?

"The non-GPL license was inadvertently added, remove it". Raymond wrote that code so I don't think he minds removing the extra license.

/Ilias

Quoted 10 lines
Quoted 10 lines

[..]

Regards,
Simon

Quoted 1 line

[0] https://github.com/FirmwareHandoff/firmware_handoff

[1] https://patchwork.ozlabs.org/project/uboot/list/?series=387200&state=*

#6 lore raw

Hi Ilias,

Quoted 33 lines · Ilias Apalodimas

Hi Simon,

Quoted 29 lines · Simon Glass

Hi again Ilias,

Quoted 25 lines · Simon Glass

Hi Ilias,

Quoted 6 lines · Ilias Apalodimas

Apologies for the formatting, replying on mobile.

Quoted 1 line · On Wed, Jan 1, 2025, 21:58 Simon Glass <[email protected]> wrote:
Quoted 8 lines
Quoted 3 lines

Linaro has decided to write their own version of bloblist from scratch, so there is no point in having a non-GPL license on this file. Change it, to better fit with the U-Boot project.

Apart from the commit message being wrong, it's also intentionally provoking. There was no bloblist in TF-A.

The TF-A code is implementing the firmware hand-off spec [0], which Linaro participated in the creation. The U-Boot implementation was adjusted to adhere to the same spec after the TF-A code was merged.

The U-Boot series was [1], for reference. This was mostly about using different tags and shrinking the headers. My clear understanding was that we were going to try to have a single codebase, which is why I changed the license.

Quoted 6 lines
Quoted 3 lines
Quoted 3 lines

So, since you have a different view of events, why did Linaro write it from scratch? Was it to avoid having U-Boot code in TF-A? Or was the author just unaware of the original intention?

I am not sure I am following 'from scratch'. Firmware handoff is a doc describing a list. Raymond implemented it in U-Boot and TF-A.

So in your mind, Raymond implemented it in U-Boot? Have you taken a look at 'git log' or 'git blame'?

Quoted 2 lines

The right way to do this is to move the firmware handoff code to a library that can be used across projects.

Not always. Probably not in this case. It has quite a bit of logic which depends on its environment. So I think it is better to have 'similar' code in several projects. Certainly, writing it from scratch (meaning not based on existing code) is not the best approach.

Quoted 10 lines
Quoted 7 lines

It isn't relevant for

Quoted 1 line

the commit message, but if you can find out I would be interested.

Just following up on this as I'm not sure of the status of this patch. Can you perhaps write your own commit message with your version of what Linaro has done?

"The non-GPL license was inadvertently added, remove it". Raymond wrote that code so I don't think he minds removing the extra license.

Again, please check your assertion here. I for one am very surprised to hear that Raymond wrote the bloblist code :-)

But it does help to explain why you objected to my commit message.

Regards,
Simon

#7 lore raw

Hi Simon,

Quoted 64 lines · Simon Glass

Hi Ilias,

Quoted 33 lines · Ilias Apalodimas

Hi Simon,

Quoted 29 lines · Simon Glass

Hi again Ilias,

Quoted 25 lines · Simon Glass

Hi Ilias,

Quoted 6 lines · Ilias Apalodimas

Apologies for the formatting, replying on mobile.

Quoted 1 line · On Wed, Jan 1, 2025, 21:58 Simon Glass <[email protected]> wrote:
Quoted 8 lines
Quoted 3 lines

Linaro has decided to write their own version of bloblist from scratch, so there is no point in having a non-GPL license on this file. Change it, to better fit with the U-Boot project.

Apart from the commit message being wrong, it's also intentionally provoking. There was no bloblist in TF-A.

The TF-A code is implementing the firmware hand-off spec [0], which Linaro participated in the creation. The U-Boot implementation was adjusted to adhere to the same spec after the TF-A code was merged.

The U-Boot series was [1], for reference. This was mostly about using different tags and shrinking the headers. My clear understanding was that we were going to try to have a single codebase, which is why I changed the license.

Quoted 6 lines
Quoted 3 lines
Quoted 3 lines

So, since you have a different view of events, why did Linaro write it from scratch? Was it to avoid having U-Boot code in TF-A? Or was the author just unaware of the original intention?

I am not sure I am following 'from scratch'. Firmware handoff is a doc describing a list. Raymond implemented it in U-Boot and TF-A.

So in your mind, Raymond implemented it in U-Boot? Have you taken a look at 'git log' or 'git blame'?

Quoted 2 lines

The right way to do this is to move the firmware handoff code to a library that can be used across projects.

Not always. Probably not in this case. It has quite a bit of logic which depends on its environment. So I think it is better to have 'similar' code in several projects. Certainly, writing it from scratch (meaning not based on existing code) is not the best approach.

Quoted 8 lines
Quoted 7 lines

It isn't relevant for

Quoted 1 line

the commit message, but if you can find out I would be interested.

Just following up on this as I'm not sure of the status of this patch. Can you perhaps write your own commit message with your version of what Linaro has done?

Quoted 5 lines
Quoted 2 lines

"The non-GPL license was inadvertently added, remove it". Raymond wrote that code so I don't think he minds removing the extra license.

Again, please check your assertion here. I for one am very surprised to hear that Raymond wrote the bloblist code :-)

All of the patches carry his co-developed by or his signed off by. A big portion of those are sent by you as well

Quoted 2 lines

But it does help to explain why you objected to my commit message.

The reason I object to the commit message is because it's *intentionally* misleading.
The BSD-3 clause was added by you in 6c9e3d1fc0859 with the intention of other projects using 'bloblist'.

The actual firmware handoff code was added much later in e266d2731145. All of the patches in that series is co-developped by Raymond. Those were added Wed Dec 27 while the TF-A patches were merged much much earlier. commit 3ba2c15147c in TF-A was merged Tue Jul 25

/Ilias

Quoted 3 lines

Regards,
Simon

#8 lore raw

Hi Ilias,

Quoted 68 lines · Ilias Apalodimas

Hi Simon,

Quoted 64 lines · Simon Glass

Hi Ilias,

Quoted 33 lines · Ilias Apalodimas

Hi Simon,

Quoted 29 lines · Simon Glass

Hi again Ilias,

Quoted 25 lines · Simon Glass

Hi Ilias,

Quoted 6 lines · Ilias Apalodimas

Apologies for the formatting, replying on mobile.

Quoted 1 line · On Wed, Jan 1, 2025, 21:58 Simon Glass <[email protected]> wrote:
Quoted 8 lines
Quoted 3 lines

Linaro has decided to write their own version of bloblist from scratch, so there is no point in having a non-GPL license on this file. Change it, to better fit with the U-Boot project.

Apart from the commit message being wrong, it's also intentionally provoking. There was no bloblist in TF-A.

The TF-A code is implementing the firmware hand-off spec [0], which Linaro participated in the creation. The U-Boot implementation was adjusted to adhere to the same spec after the TF-A code was merged.

The U-Boot series was [1], for reference. This was mostly about using different tags and shrinking the headers. My clear understanding was that we were going to try to have a single codebase, which is why I changed the license.

Quoted 6 lines
Quoted 3 lines
Quoted 3 lines

So, since you have a different view of events, why did Linaro write it from scratch? Was it to avoid having U-Boot code in TF-A? Or was the author just unaware of the original intention?

I am not sure I am following 'from scratch'. Firmware handoff is a doc describing a list. Raymond implemented it in U-Boot and TF-A.

So in your mind, Raymond implemented it in U-Boot? Have you taken a look at 'git log' or 'git blame'?

Quoted 2 lines

The right way to do this is to move the firmware handoff code to a library that can be used across projects.

Not always. Probably not in this case. It has quite a bit of logic which depends on its environment. So I think it is better to have 'similar' code in several projects. Certainly, writing it from scratch (meaning not based on existing code) is not the best approach.

Quoted 8 lines
Quoted 7 lines

It isn't relevant for

Quoted 1 line

the commit message, but if you can find out I would be interested.

Just following up on this as I'm not sure of the status of this patch. Can you perhaps write your own commit message with your version of what Linaro has done?

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

"The non-GPL license was inadvertently added, remove it". Raymond wrote that code so I don't think he minds removing the extra license.

Again, please check your assertion here. I for one am very surprised to hear that Raymond wrote the bloblist code :-)

All of the patches carry his co-developed by or his signed off by. A big portion of those are sent by you as well

So here you are referring just to the patches which changed the header formats, not the original bloblist code.

Quoted 8 lines
Quoted 3 lines

But it does help to explain why you objected to my commit message.

The reason I object to the commit message is because it's *intentionally* misleading.
The BSD-3 clause was added by you in 6c9e3d1fc0859 with the intention of other projects using 'bloblist'.

Yes, that's why I added the license, since I was led to believe that TF-A would use the U-Boot code with some modifications.

Quoted 5 lines

The actual firmware handoff code was added much later in e266d2731145. All of the patches in that series is co-developped by Raymond. Those were added Wed Dec 27 while the TF-A patches were merged much much earlier. commit 3ba2c15147c in TF-A was merged Tue Jul 25

The original bloblist impl was in 2018:

commit 9f407d4ef092c2ce7ab0f4f366aee252611dab3c

Author: Simon Glass <[email protected]>
Date:   Thu Nov 15 18:43:50 2018 -0700

Add core support for a bloblist to convey data from SPL

At present there is no standard way in U-Boot to pass information from SPL to U-Boot proper. But sometimes SPL wants to convey information to U-Boot that U-Boot cannot easily figure out. For example, if SPL sets up SDRAM then it might want to pass the size of SDRAM, or the location of each bank, to U-Boot proper.

Add a new 'bloblist' feature which provides this. A bloblist is set up in the first phase of U-Boot that runs (i.e. TPL or SPL). The location of this info may be in SRAM or CAR (x86 cache-as-RAM) or somewhere else.
...

Regards,
Simon

#9 lore raw
Quoted 76 lines · Simon Glass

Hi Ilias,

Quoted 71 lines · Ilias Apalodimas

Hi Simon,

Quoted 67 lines · Simon Glass

Hi Ilias,

Quoted 33 lines · Ilias Apalodimas

Hi Simon,

Quoted 29 lines · Simon Glass

Hi again Ilias,

Quoted 25 lines · Simon Glass

Hi Ilias,

Quoted 6 lines · Ilias Apalodimas

Apologies for the formatting, replying on mobile.

Quoted 1 line · On Wed, Jan 1, 2025, 21:58 Simon Glass <[email protected]> wrote:
Quoted 8 lines
Quoted 3 lines

Linaro has decided to write their own version of bloblist from scratch, so there is no point in having a non-GPL license on this file. Change it, to better fit with the U-Boot project.

Apart from the commit message being wrong, it's also intentionally provoking. There was no bloblist in TF-A.

The TF-A code is implementing the firmware hand-off spec [0], which Linaro participated in the creation. The U-Boot implementation was adjusted to adhere to the same spec after the TF-A code was merged.

The U-Boot series was [1], for reference. This was mostly about using different tags and shrinking the headers. My clear understanding was that we were going to try to have a single codebase, which is why I changed the license.

Quoted 6 lines
Quoted 3 lines
Quoted 3 lines

So, since you have a different view of events, why did Linaro write it from scratch? Was it to avoid having U-Boot code in TF-A? Or was the author just unaware of the original intention?

I am not sure I am following 'from scratch'. Firmware handoff is a doc describing a list. Raymond implemented it in U-Boot and TF-A.

So in your mind, Raymond implemented it in U-Boot? Have you taken a look at 'git log' or 'git blame'?

Quoted 2 lines

The right way to do this is to move the firmware handoff code to a library that can be used across projects.

Not always. Probably not in this case. It has quite a bit of logic which depends on its environment. So I think it is better to have 'similar' code in several projects. Certainly, writing it from scratch (meaning not based on existing code) is not the best approach.

Quoted 10 lines
Quoted 7 lines

It isn't relevant for

Quoted 1 line

the commit message, but if you can find out I would be interested.

Just following up on this as I'm not sure of the status of this patch. Can you perhaps write your own commit message with your version of what Linaro has done?

"The non-GPL license was inadvertently added, remove it". Raymond wrote that code so I don't think he minds removing the extra license.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Again, please check your assertion here. I for one am very surprised to hear that Raymond wrote the bloblist code :-)

All of the patches carry his co-developed by or his signed off by. A big portion of those are sent by you as well

So here you are referring just to the patches which changed the header formats, not the original bloblist code.

I never said bloblist in any of my emails. I only mentioned the firmware handoff.

Quoted 33 lines
Quoted 9 lines
Quoted 4 lines

But it does help to explain why you objected to my commit message.

The reason I object to the commit message is because it's *intentionally* misleading.
The BSD-3 clause was added by you in 6c9e3d1fc0859 with the intention of other projects using 'bloblist'.

Yes, that's why I added the license, since I was led to believe that TF-A would use the U-Boot code with some modifications.

Quoted 5 lines

The actual firmware handoff code was added much later in e266d2731145. All of the patches in that series is co-developped by Raymond. Those were added Wed Dec 27 while the TF-A patches were merged much much earlier. commit 3ba2c15147c in TF-A was merged Tue Jul 25

The original bloblist impl was in 2018:

commit 9f407d4ef092c2ce7ab0f4f366aee252611dab3c

Author: Simon Glass <[email protected]>
Date:   Thu Nov 15 18:43:50 2018 -0700

Add core support for a bloblist to convey data from SPL

At present there is no standard way in U-Boot to pass information from SPL to U-Boot proper. But sometimes SPL wants to convey information to U-Boot that U-Boot cannot easily figure out. For example, if SPL sets up SDRAM then it might want to pass the size of SDRAM, or the location of each bank, to U-Boot proper.

Quoted 5 lines

Add a new 'bloblist' feature which provides this. A bloblist is set up in the first phase of U-Boot that runs (i.e. TPL or SPL). The location of this info may be in SRAM or CAR (x86 cache-as-RAM) or somewhere else.
...

So the tl;dr is that when the firmware handoff code was added in TF-A, there was no u-boot implementation. It all got added afterwards. The way the development happened is that Raymond implemented the TF-A code, and also plugged in the transfer mechanism so we use that info. The fact that there was a similar implementation in U-Boot, which did not adhere to the standard to begin with doesn't justify your commit message. As I said we didn't decide to write a 'bloblist' we implemented the spec in TF-A.

/Ilias

Quoted 2 lines

Regards,
Simon

#10 lore raw

Hi Ilias,

Quoted 81 lines · Ilias Apalodimas
Quoted 79 lines · Simon Glass

Hi Ilias,

Quoted 74 lines · Ilias Apalodimas

Hi Simon,

Quoted 69 lines · Simon Glass

Hi Ilias,

Quoted 33 lines · Ilias Apalodimas

Hi Simon,

Quoted 29 lines · Simon Glass

Hi again Ilias,

Quoted 25 lines · Simon Glass

Hi Ilias,

Quoted 6 lines · Ilias Apalodimas

Apologies for the formatting, replying on mobile.

Quoted 1 line · On Wed, Jan 1, 2025, 21:58 Simon Glass <[email protected]> wrote:
Quoted 8 lines
Quoted 3 lines

Linaro has decided to write their own version of bloblist from scratch, so there is no point in having a non-GPL license on this file. Change it, to better fit with the U-Boot project.

Apart from the commit message being wrong, it's also intentionally provoking. There was no bloblist in TF-A.

The TF-A code is implementing the firmware hand-off spec [0], which Linaro participated in the creation. The U-Boot implementation was adjusted to adhere to the same spec after the TF-A code was merged.

The U-Boot series was [1], for reference. This was mostly about using different tags and shrinking the headers. My clear understanding was that we were going to try to have a single codebase, which is why I changed the license.

Quoted 6 lines
Quoted 3 lines
Quoted 3 lines

So, since you have a different view of events, why did Linaro write it from scratch? Was it to avoid having U-Boot code in TF-A? Or was the author just unaware of the original intention?

I am not sure I am following 'from scratch'. Firmware handoff is a doc describing a list. Raymond implemented it in U-Boot and TF-A.

So in your mind, Raymond implemented it in U-Boot? Have you taken a look at 'git log' or 'git blame'?

Quoted 2 lines

The right way to do this is to move the firmware handoff code to a library that can be used across projects.

Not always. Probably not in this case. It has quite a bit of logic which depends on its environment. So I think it is better to have 'similar' code in several projects. Certainly, writing it from scratch (meaning not based on existing code) is not the best approach.

Quoted 10 lines
Quoted 7 lines

It isn't relevant for

Quoted 1 line

the commit message, but if you can find out I would be interested.

Just following up on this as I'm not sure of the status of this patch. Can you perhaps write your own commit message with your version of what Linaro has done?

"The non-GPL license was inadvertently added, remove it". Raymond wrote that code so I don't think he minds removing the extra license.

Again, please check your assertion here. I for one am very surprised to hear that Raymond wrote the bloblist code :-)

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

All of the patches carry his co-developed by or his signed off by. A big portion of those are sent by you as well

So here you are referring just to the patches which changed the header formats, not the original bloblist code.

I never said bloblist in any of my emails. I only mentioned the firmware handoff.

Er, they are the same thing.

But I am relieved you didn't add a new common/firmware_ho.c into U-Boot

Quoted 34 lines
Quoted 34 lines
Quoted 10 lines
Quoted 5 lines

But it does help to explain why you objected to my commit message.

The reason I object to the commit message is because it's *intentionally* misleading.
The BSD-3 clause was added by you in 6c9e3d1fc0859 with the intention of other projects using 'bloblist'.

Yes, that's why I added the license, since I was led to believe that TF-A would use the U-Boot code with some modifications.

Quoted 5 lines

The actual firmware handoff code was added much later in e266d2731145. All of the patches in that series is co-developped by Raymond. Those were added Wed Dec 27 while the TF-A patches were merged much much earlier. commit 3ba2c15147c in TF-A was merged Tue Jul 25

The original bloblist impl was in 2018:

commit 9f407d4ef092c2ce7ab0f4f366aee252611dab3c

Author: Simon Glass <[email protected]>
Date:   Thu Nov 15 18:43:50 2018 -0700

Add core support for a bloblist to convey data from SPL

At present there is no standard way in U-Boot to pass information from SPL to U-Boot proper. But sometimes SPL wants to convey information to U-Boot that U-Boot cannot easily figure out. For example, if SPL sets up SDRAM then it might want to pass the size of SDRAM, or the location of each bank, to U-Boot proper.

Quoted 8 lines
Quoted 5 lines

Add a new 'bloblist' feature which provides this. A bloblist is set up in the first phase of U-Boot that runs (i.e. TPL or SPL). The location of this info may be in SRAM or CAR (x86 cache-as-RAM) or somewhere else.
...

So the tl;dr is that when the firmware handoff code was added in TF-A, there was no u-boot implementation. It all got added afterwards.

No, sorry.

Quoted 5 lines

The way the development happened is that Raymond implemented the TF-A code, and also plugged in the transfer mechanism so we use that info. The fact that there was a similar implementation in U-Boot, which did not adhere to the standard to begin with doesn't justify your commit message.

No, this is not correct either.

Firmware handoff started as an ARM effort. I influenced the design early on, suggesting that bloblist would be a good fit and it went that way and version 0.8 was the result. Then a work colleague pushed for halving the size of the headers by using smaller fields, so we did that and also renumbered the tags, to get 0.9. Then I did a U-Boot series to update bloblist to suit that[1]. Then Raymond picked it up, took it through several revisions and got it submitted to U-Boot.

After that, we had the OF_BLOBLIST fiasco.

Quoted 2 lines

As I said we didn't decide to write a 'bloblist' we implemented the spec in TF-A.

Whatever you say here, the fact is that in TF-A the code was written from scratch, by which I mean not using the existing U-Boot code. That was not my expectation at the time.

Regards,
Simon

[1] https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/

author Applied
#11 lore raw
In reply to Simon Glass
Quoted 5 lines · Simon Glass

Linaro has decided to write their own version of bloblist from scratch, so there is no point in having a non-GPL license on this file. Change it, to better fit with the U-Boot project.

Quoted 8 lines

---

 common/bloblist.c  | 2 +-
 include/bloblist.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Applied to sjg/master, thanks!

(Tom, this one seemed to get dropped but I'm not sure why)

#12 lore raw
Quoted 11 lines · Simon Glass
Quoted 10 lines · Simon Glass

Linaro has decided to write their own version of bloblist from scratch, so there is no point in having a non-GPL license on this file. Change it, to better fit with the U-Boot project.

---

Quoted 7 lines
Quoted 3 lines
 common/bloblist.c  | 2 +-
 include/bloblist.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Applied to sjg/master, thanks!

(Tom, this one seemed to get dropped but I'm not sure why)

Because AFAICT you legally cannot unilaterally change the license as others have changed the code.

Signature · 1 line
Tom
#13 lore raw

Hi Tom,

Quoted 17 lines · Tom Rini
Quoted 15 lines · Simon Glass
Quoted 13 lines · Simon Glass

Linaro has decided to write their own version of bloblist from scratch, so there is no point in having a non-GPL license on this file. Change it, to better fit with the U-Boot project.

---

 common/bloblist.c  | 2 +-
 include/bloblist.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Quoted 6 lines
Quoted 3 lines

Applied to sjg/master, thanks!

(Tom, this one seemed to get dropped but I'm not sure why)

Because AFAICT you legally cannot unilaterally change the license as others have changed the code.

OK, let's put this on the list of things to discuss.

Regards,
Simon

#14 lore raw
Quoted 20 lines · Simon Glass

Hi Tom,

Quoted 17 lines · Tom Rini
Quoted 15 lines · Simon Glass
Quoted 13 lines · Simon Glass

Linaro has decided to write their own version of bloblist from scratch, so there is no point in having a non-GPL license on this file. Change it, to better fit with the U-Boot project.

---

 common/bloblist.c  | 2 +-
 include/bloblist.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

Applied to sjg/master, thanks!

(Tom, this one seemed to get dropped but I'm not sure why)

Because AFAICT you legally cannot unilaterally change the license as others have changed the code.

OK, let's put this on the list of things to discuss.

Sure. And I know I'm behind on getting process going with Conservancy but Karen can you or someone else please be on the call next Tuesday (22nd, same time/dial in as before)? For background
https://lore.kernel.org/u-boot/[email protected]/
is hopefully enough but I'm sure Simon and myself would be happy to point at any other links that might help. Thanks!

Signature · 1 line
Tom
#15 lore raw
Quoted 28 lines · Tom Rini
Quoted 27 lines · Simon Glass

Hi Tom,

Quoted 23 lines · Tom Rini
Quoted 11 lines · Simon Glass
Quoted 10 lines · Simon Glass

Linaro has decided to write their own version of bloblist from scratch, so there is no point in having a non-GPL license on this file. Change it, to better fit with the U-Boot project.

---

Quoted 7 lines
Quoted 3 lines
 common/bloblist.c  | 2 +-
 include/bloblist.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Applied to sjg/master, thanks!

(Tom, this one seemed to get dropped but I'm not sure why)

Because AFAICT you legally cannot unilaterally change the license as others have changed the code.

Quoted 8 lines
Quoted 1 line

OK, let's put this on the list of things to discuss.

Sure. And I know I'm behind on getting process going with Conservancy but Karen can you or someone else please be on the call next Tuesday (22nd, same time/dial in as before)? For background
https://lore.kernel.org/u-boot/[email protected]/
is hopefully enough but I'm sure Simon and myself would be happy to point at any other links that might help. Thanks!

Sure, at least one of us will attend.

karen

#16 lore raw

Hi,

Just to note that I won't be attending tomorrow, but can attend next week.

Regards,
Simon

Quoted 43 lines · Karen M. Sandler
Quoted 28 lines · Tom Rini
Quoted 27 lines · Simon Glass

Hi Tom,

Quoted 23 lines · Tom Rini
Quoted 11 lines · Simon Glass
Quoted 10 lines · Simon Glass

Linaro has decided to write their own version of bloblist from scratch, so there is no point in having a non-GPL license on this file. Change it, to better fit with the U-Boot project.

---

Quoted 7 lines
Quoted 3 lines
 common/bloblist.c  | 2 +-
 include/bloblist.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Applied to sjg/master, thanks!

(Tom, this one seemed to get dropped but I'm not sure why)

Because AFAICT you legally cannot unilaterally change the license as others have changed the code.

Quoted 8 lines
Quoted 1 line

OK, let's put this on the list of things to discuss.

Sure. And I know I'm behind on getting process going with Conservancy but Karen can you or someone else please be on the call next Tuesday (22nd, same time/dial in as before)? For background
https://lore.kernel.org/u-boot/[email protected]/
is hopefully enough but I'm sure Simon and myself would be happy to point at any other links that might help. Thanks!

Sure, at least one of us will attend.

karen

#17 lore raw
In reply to Simon Glass
Quoted 8 lines · Simon Glass

Linaro has decided to write their own version of bloblist from scratch, so there is no point in having a non-GPL license on this file. Change it, to better fit with the U-Boot project.

In summary, this change is valid, however the commit message is at best misleading and argumentative. For v2, please just simply state that you no longer wish the code to be available under a BSD-3-Clause license as well and only GPL-2.0+.

Signature · 1 line
Tom