Skip to contentSkip to conversation

boot/at91bootstrap: add legal information

PATCH New Thomas Petazzoni 3 participants 9 messages Apr 5, 2021 – Apr 26, 2021 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 boot/at91bootstrap: add legal information

The old at91bootstrap version (1.x) uses a strange variant of the BSD license, called "BSD Source Code Attribution" and referenced by SPDX as BSD-Source-Code.

---
 boot/at91bootstrap/at91bootstrap.hash | 1 +
 boot/at91bootstrap/at91bootstrap.mk   | 2 ++
 2 files changed, 3 insertions(+)
boot/at91bootstrap/at91bootstrap.hash +1 -0
index b1f963b825..e4a6760f12 100644
@@ -1,2 +1,3 @@
 # locally computed
 sha256  d66192a274247f4baa39fa932eadf903d7add55641d89d30402f967c4f2282a5  AT91Bootstrap1.16.zip
+sha256  cb53ea8cf7a54929944de5de10569f51068af4f6d63ddfe8735759bdd8cebf38  main.c
boot/at91bootstrap/at91bootstrap.mk +2 -0
index c68b56b6ec..001427855f 100644
@@ -7,6 +7,8 @@
 AT91BOOTSTRAP_VERSION = 1.16
 AT91BOOTSTRAP_SITE = ftp://www.at91.com/pub/at91bootstrap
 AT91BOOTSTRAP_SOURCE = AT91Bootstrap$(AT91BOOTSTRAP_VERSION).zip
+AT91BOOTSTRAP_LICENSE = BSD-Source-Code
+AT91BOOTSTRAP_LICENSE_FILES = main.c
 
 AT91BOOTSTRAP_BOARD = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP_BOARD))
 AT91BOOTSTRAP_MEMORY = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP_MEMORY))
Signature · 1 line
2.30.2
#1 lore raw

PATCH 1/1 boot/at91bootstrap: add legal information

Quoted 25 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

The old at91bootstrap version (1.x) uses a strange variant of the BSD license, called "BSD Source Code Attribution" and referenced by SPDX as BSD-Source-Code.

---
 boot/at91bootstrap/at91bootstrap.hash | 1 +
 boot/at91bootstrap/at91bootstrap.mk   | 2 ++
 2 files changed, 3 insertions(+)
boot/at91bootstrap/at91bootstrap.hash +1 -0
index b1f963b825..e4a6760f12 100644
@@ -1,2 +1,3 @@
 # locally computed
 sha256  d66192a274247f4baa39fa932eadf903d7add55641d89d30402f967c4f2282a5  AT91Bootstrap1.16.zip
+sha256  cb53ea8cf7a54929944de5de10569f51068af4f6d63ddfe8735759bdd8cebf38  main.c
boot/at91bootstrap/at91bootstrap.mk +0 -0
index c68b56b6ec..001427855f 100644

boot/at91bootstrap/at91bootstrap.mk line 11

Quoted 5 lines
boot/at91bootstrap/at91bootstrap.mk +2 -0
@@ -7,6 +7,8 @@
 AT91BOOTSTRAP_VERSION = 1.16
 AT91BOOTSTRAP_SITE = ftp://www.at91.com/pub/at91bootstrap
 AT91BOOTSTRAP_SOURCE = AT91Bootstrap$(AT91BOOTSTRAP_VERSION).zip
+AT91BOOTSTRAP_LICENSE = BSD-Source-Code
+AT91BOOTSTRAP_LICENSE_FILES = main.c

Hmm, this doesn't work very well if someone patches main.c :/ But OK, I don't really know how common that is / what to do about it.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 boot/at91bootstrap: add legal information

Hei hei,

Quoted 25 lines · Peter Korsgaard
Quoted 25 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

The old at91bootstrap version (1.x) uses a strange variant of the BSD license, called "BSD Source Code Attribution" and referenced by SPDX as BSD-Source-Code.

---
 boot/at91bootstrap/at91bootstrap.hash | 1 +
 boot/at91bootstrap/at91bootstrap.mk   | 2 ++
 2 files changed, 3 insertions(+)
boot/at91bootstrap/at91bootstrap.hash +1 -0
index b1f963b825..e4a6760f12 100644
@@ -1,2 +1,3 @@
 # locally computed
 sha256  d66192a274247f4baa39fa932eadf903d7add55641d89d30402f967c4f2282a5  AT91Bootstrap1.16.zip
+sha256  cb53ea8cf7a54929944de5de10569f51068af4f6d63ddfe8735759bdd8cebf38  main.c
boot/at91bootstrap/at91bootstrap.mk +0 -0
index c68b56b6ec..001427855f 100644
@@ -7,6 +7,8 @@
Quoted 8 lines

boot/at91bootstrap/at91bootstrap.mk line 11

Quoted 5 lines
boot/at91bootstrap/at91bootstrap.mk +2 -0
 AT91BOOTSTRAP_VERSION = 1.16
 AT91BOOTSTRAP_SITE = ftp://www.at91.com/pub/at91bootstrap
 AT91BOOTSTRAP_SOURCE = AT91Bootstrap$(AT91BOOTSTRAP_VERSION).zip
+AT91BOOTSTRAP_LICENSE = BSD-Source-Code
+AT91BOOTSTRAP_LICENSE_FILES = main.c

Hmm, this doesn't work very well if someone patches main.c :/ But OK, I don't really know how common that is / what to do about it.

Two remarks here:

1) atbootstrap 1.16 seems to be the final version, no updates anymore. However patching is likely for someone with a certain combination board and soc not supported out of the box.

2) in ptxdist license information or let's say hashes for license texts for packages not shipping a separate
license file is frequently based on comment sections in source files, but not based on the whole file but on the comment section only. The packages contain information on which file and _from_ which line _to_ which line. Only those lines containing the license information are extracted and hashed, making it possible to patch the file. Maybe that's an idea to copy?

Greets
Alex

Signature · 11 lines
/"\ ASCII RIBBON | ?With the first link, the chain is forged. The first
\ / CAMPAIGN     | speech censured, the first thought forbidden, the
 X  AGAINST      | first freedom denied, chains us all irrevocably.?
/ \ HTML MAIL    | (Jean-Luc Picard, quoting Judge Aaron Satie)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210405/6cfe8ad1/attachment.asc>
#3 lore raw

PATCH 1/1 boot/at91bootstrap: add legal information

In reply to Peter Korsgaard
Quoted 8 lines · On Mon, 05 Apr 2021 18:37:43 +0200 Peter Korsgaard <[email protected]> wrote:

boot/at91bootstrap/at91bootstrap.mk line 11

Quoted 5 lines

AT91BOOTSTRAP_VERSION = 1.16
AT91BOOTSTRAP_SITE = ftp://www.at91.com/pub/at91bootstrap AT91BOOTSTRAP_SOURCE = AT91Bootstrap$(AT91BOOTSTRAP_VERSION).zip

boot/at91bootstrap/at91bootstrap.mk +2 -0
+AT91BOOTSTRAP_LICENSE = BSD-Source-Code
+AT91BOOTSTRAP_LICENSE_FILES = main.c  

Hmm, this doesn't work very well if someone patches main.c :/ But OK, I don't really know how common that is / what to do about it.

As Alexander pointed out, at91bootstrap (in this 1.x branch) is no longer developed, so main.c will never be changed :)

Thomas

Signature · 3 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#4 lore raw

PATCH 1/1 boot/at91bootstrap: add legal information

Quoted 14 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Quoted 8 lines · On Mon, 05 Apr 2021 18:37:43 +0200 Peter Korsgaard <[email protected]> wrote:

boot/at91bootstrap/at91bootstrap.mk line 11

Quoted 5 lines

AT91BOOTSTRAP_VERSION = 1.16
AT91BOOTSTRAP_SITE = ftp://www.at91.com/pub/at91bootstrap AT91BOOTSTRAP_SOURCE = AT91Bootstrap$(AT91BOOTSTRAP_VERSION).zip

boot/at91bootstrap/at91bootstrap.mk +2 -0
+AT91BOOTSTRAP_LICENSE = BSD-Source-Code
+AT91BOOTSTRAP_LICENSE_FILES = main.c  

Hmm, this doesn't work very well if someone patches main.c :/ But OK, I don't really know how common that is / what to do about it.

Quoted 2 lines

As Alexander pointed out, at91bootstrap (in this 1.x branch) is no longer developed, so main.c will never be changed :)

"Never" is probably a bit too strong. I know I have done it in the past, and there's even a bootlin blog entry about doing it ;)

https://bootlin.com/blog/at91bootstrap-linux/

Signature · 1 line
Bye, Peter Korsgaard
#5 lore raw

PATCH 1/1 boot/at91bootstrap: add legal information

Quoted 4 lines · On Mon, 05 Apr 2021 21:07:53 +0200 Peter Korsgaard <[email protected]> wrote:

"Never" is probably a bit too strong. I know I have done it in the past, and there's even a bootlin blog entry about doing it ;)

https://bootlin.com/blog/at91bootstrap-linux/

Fair enough :-)

Then we could use include/sdramc.h, which is even smaller, and less likely to be changed. Let me know if that makes sense, or if you're fine with keeping main.c.

Thomas

Signature · 3 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#6 lore raw

PATCH 1/1 boot/at91bootstrap: add legal information

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Quoted 4 lines · On Mon, 05 Apr 2021 21:07:53 +0200 Peter Korsgaard <[email protected]> wrote:

"Never" is probably a bit too strong. I know I have done it in the past, and there's even a bootlin blog entry about doing it ;)

https://bootlin.com/blog/at91bootstrap-linux/

Fair enough :-)

;)

Quoted 3 lines

Then we could use include/sdramc.h, which is even smaller, and less likely to be changed. Let me know if that makes sense, or if you're fine with keeping main.c.

Given that we have 2 examples of people changing main.c, I would indeed prefer to to use sdramc.h instead.

Signature · 1 line
Bye, Peter Korsgaard
author Applied
#7 lore raw

PATCH 1/1 boot/at91bootstrap: add legal information

In reply to Thomas Petazzoni
Quoted 9 lines · On Mon, 5 Apr 2021 17:32:48 +0200 Thomas Petazzoni…

The old at91bootstrap version (1.x) uses a strange variant of the BSD license, called "BSD Source Code Attribution" and referenced by SPDX as BSD-Source-Code.

---
 boot/at91bootstrap/at91bootstrap.hash | 1 +
 boot/at91bootstrap/at91bootstrap.mk   | 2 ++
 2 files changed, 3 insertions(+)

Applied to master after using include/sdramc.h as the license file, which is much less likely to be changed by local patches.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#8 lore raw

PATCH 1/1 boot/at91bootstrap: add legal information

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Quoted 4 lines · On Mon, 5 Apr 2021 17:32:48 +0200 Thomas Petazzoni…

The old at91bootstrap version (1.x) uses a strange variant of the BSD license, called "BSD Source Code Attribution" and referenced by SPDX as BSD-Source-Code.

Quoted 8 lines
Quoted 5 lines

---
boot/at91bootstrap/at91bootstrap.hash | 1 +
boot/at91bootstrap/at91bootstrap.mk | 2 ++

2 files changed, 3 insertions(+)

Applied to master after using include/sdramc.h as the license file, which is much less likely to be changed by local patches.

Committed to 2021.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard