buildroot/boot
Eugen Hristev e009816c67 boot/at91bootstrap3: add support for at91bootstrap 4.x series
The project at https://github.com/linux4sam/at91bootstrap was until
now releasing 3.x versions, which were packaged using
boot/at91bootstrap3/ in Buildroot. Microchip has now started a new
branch of at91bootstrap, called 4.x, which will only support the
following devices: sam9x60, sama5d2, sama5d3, sama5d4, sama7g5. A
number of older devices from Microchip will only be supported by the
existing 3.x series.

Therefore, we cannot simply remove support for the 3.x series, and
allow using only the 4.x series.

So what this commit does is extend the boot/at91bootstrap3 package to
support building both 3.x and 4.x versions. In detail, this implies:

 * Having the BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION symbol point to
   the latest 4.x version. Indeed, we want
   BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION to really point to the
   latest upstream version, even if that means potential breakage for
   users. Users who want to use a fixed version of at91bootstrap
   should anyway not be using
   BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION.

 * Introduce BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION_3X for users who
   would like to use the latest 3.x series.

 * Adjust the installation logic, as images to install are now in
   build/binaries/*.bin instead of binaries/*.bin. In order to not
   have to differentiate 3.x and 4.x, we simply use $(wildcard ...) to
   expand the list of files to install.

 * To make it clear that boot/at91bootstrap3 supports both 3.x and
   4.x, we also update the prompt of the package.

at911bootstrap does not carry a license file; so far we were using
main.c as the license file, as it carries the license blurb. Now that we
have a known alternate version, we would need a per-version hash for
that file. However, this is a bit too cumbersome to handle, so just drop
using main.c as the license file. When upstream introduces a proper
license file, we can revisit the situation.

Update the two defconfigs that were using the upstream 3.9.3 version;
all other defconfigs are using custom tarballs or custom git trees.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
[Thomas: while this patch is based on previous work by Eugen, it was
reworked quite significantly.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[yann.morin.1998@free.fr:
  - drop main.c as license file, explain why
  - update the two defconfigs
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-05-19 11:15:29 +02:00
..
afboot-stm32 boot/afboot-stm32: fix build with gcc 10 2020-09-10 20:26:27 +02:00
arm-trusted-firmware boot/edk2: new package 2021-05-17 16:52:33 +02:00
at91bootstrap boot/at91bootstrap: add legal information 2021-04-20 23:00:55 +02:00
at91bootstrap3 boot/at91bootstrap3: add support for at91bootstrap 4.x series 2021-05-19 11:15:29 +02:00
at91dataflashboot boot/*/Config.in: fix attributes order 2018-04-01 08:06:37 +02:00
barebox boot/barebox: bump version to 2021.01.0 2021-02-23 13:43:32 +01:00
beaglev-ddrinit boot/beaglev-ddrlnit: rename to beaglev-ddrinit to match renamed upstream repo 2021-05-10 22:04:38 +02:00
beaglev-secondboot boot/beaglev-secondboot: new package 2021-05-07 23:11:33 +02:00
binaries-marvell binaries-marvell: bump version and switch to common firmware 2019-09-21 18:31:26 +02:00
boot-wrapper-aarch64 boot/boot-wrapper-aarch64: bump version 2021-01-02 18:42:57 +01:00
edk2 boot/edk2: new package 2021-05-17 16:52:33 +02:00
grub2 boot/grub2: ignore the last 3 remaining CVEs 2021-04-06 09:36:48 +02:00
gummiboot boot/gummiboot: fix linking for non-host compatible targets 2019-03-26 18:53:47 +01:00
lpc32xxcdl boot/lpc32xxcdl: switch upstream location 2020-12-29 18:11:49 +01:00
mv-ddr-marvell boot/mv-ddr-marvell: Bump to HEAD as of 20201207 2020-12-30 10:29:05 +01:00
mxs-bootlets boot/*/Config.in: fix attributes order 2018-04-01 08:06:37 +02:00
opensbi boot/opensbi: unconditionally disable SSP 2021-05-12 09:43:18 +02:00
optee-os boot/optee-os: bump to version 3.12.0 2021-03-06 23:32:37 +01:00
s500-bootloader boot: add s500-bootloader package 2016-05-26 10:35:34 +02:00
shim boot/shim: re-enable on ARM32 2021-04-06 11:46:09 +02:00
syslinux boot/syslinux: fix gcc-10.x compile 2021-03-20 23:01:38 +01:00
uboot boot/uboot: bump to version 2021.04 2021-04-20 21:31:49 +02:00
vexpress-firmware support/download: change format of archives generated from git 2021-01-10 22:06:58 +01:00
common.mk Fix build reproducibility in Make 3.82 2013-09-06 23:27:42 +02:00
Config.in boot/edk2: new package 2021-05-17 16:52:33 +02:00