Commit Graph

2756 Commits

Author SHA1 Message Date
Neal Frager
8271323649 configs/versal_vck190_defconfig: migrate to xilinx-prebuilt
Migrate versal_vck190_defconfig to xilinx-prebuilt.

Signed-off-by: Neal Frager <neal.frager@amd.com>
Reviewed-by: Brandon Maier <brandon.maier@collins.com>
[yann.morin.1998@free.fr: drop default from defconfig]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-06-15 23:15:09 +02:00
Neal Frager
551ba16a0f configs/zynqmp_*: migrate to xilinx-prebuilt
Migrate zynqmp defconfigs to xilinx-prebuilt.

Signed-off-by: Neal Frager <neal.frager@amd.com>
Reviewed-by: Brandon Maier <brandon.maier@collins.com>
[yann.morin.1998@free.fr: drop defaults from defconfigs]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-06-15 23:13:57 +02:00
Dario Binacchi
a4d38ef61c configs: stm32f429_disco_xip: use same headers as kernel
Instead of downloading a different version of the kernel for the headers as
for the runtime kernel itself, use the same one.  By doing so, we now need
to add the hash file for linux-headers.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-06-14 18:48:05 +02:00
Peter Korsgaard
876d24578c Merge branch 'next' 2024-06-13 11:16:07 +02:00
Neal Frager
089943812e configs/zynqmp_zcu106_defconfig: bump to xilinx-v2024.1
This patch bumps the zynqmp_zcu106_defconfig to xilinx-v2024.1 which includes
the following updates:

- Linux v6.6.10
- U-Boot v2024.01
- ATF v2.10
- PMUFW xilinx-v2024.1

Signed-off-by: Neal Frager <neal.frager@amd.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-06-06 17:15:10 +02:00
Neal Frager
c0ec5438d9 configs/zynqmp_zcu104_defconfig: bump to xilinx-v2024.1
This patch bumps the zynqmp_zcu104_defconfig to xilinx-v2024.1 which includes
the following updates:

- Linux v6.6.10
- U-Boot v2024.01
- ATF v2.10
- PMUFW xilinx-v2024.1

Signed-off-by: Neal Frager <neal.frager@amd.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-06-06 17:15:05 +02:00
Neal Frager
8e2f5c106f configs/zynqmp_zcu102_defconfig: bump to xilinx-v2024.1
This patch bumps the zynqmp_zcu102_defconfig to xilinx-v2024.1 which includes
the following updates:

- Linux v6.6.10
- U-Boot v2024.01
- ATF v2.10
- PMUFW xilinx-v2024.1

Signed-off-by: Neal Frager <neal.frager@amd.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-06-06 17:09:19 +02:00
Gaël PORTAY
d9a0954288 configs: add raspberrypi 5 defconfig
This configuration builds an image for the RaspberryPi 5.

Cc: Adam Duskett <adam.duskett@amarulasolutions.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr>
[yann.morin.1998@free.fr: check hashes]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-06-06 16:18:09 +02:00
Peter Korsgaard
ee12457487 configs/qemu_ppc64_pseries_defconfig: Linux needs host-openssl
Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/7019514677

The kernel build needs host-openssl since commit 9982e0b5a6
(configs/qemu: update defconfigs to Linux 6.6.18), so enable it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-06-06 15:38:27 +02:00
Peter Korsgaard
b53d2d2575 configs/qemu_ppc64le_pseries_defconfig: Linux needs host-openssl
Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/7019514688

The kernel build needs host-openssl since commit 9982e0b5a6
(configs/qemu: update defconfigs to Linux 6.6.18), so enable it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-06-06 15:37:32 +02:00
Neal Frager
c1554df688 configs/versal_vck190_defconfig: add hashes
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Signed-off-by: Neal Frager <neal.frager@amd.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-06-06 15:32:04 +02:00
Dario Binacchi
9eb7eb456a configs/stm32f429_disco_xip: add hashes
The patch adds the .hash file for Linux, which then allow to enable
BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the
defconfig from .checkpackageignore.

Note that the defconfig uses linux-headers that are not the same as
the kernel (although the same series), and instead use the 6.1.x
version from the linux-headers package choice. So we don't need to
add a .hash file for linux-headers.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
[yann.morin.1998@free.fr: don't add linux-headers symlink; explain why]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-06-06 15:20:13 +02:00
Dario Binacchi
9c1fabc1ac configs/stm32f769_disco_sd: add hashes
The patch adds .hash files for Linux, Linux headers and U-Boot and then
enables BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the
defconfig from .checkpackageignore.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-06-06 15:14:36 +02:00
Neal Frager
49fa6ebb71 configs/zynq_*: move hashes
This patch moves the linux and uboot hashes from 'board/zynq/patches' to
'board/xilinx/patches'.  The reason for this is that all of the Xilinx boards
including zynq, zynqmp and versal will be using the same linux and uboot repo.
By putting the hashes in 'board/xilinx/patches', the same hashes can be shared
amongst all of the Xilinx boards.

Signed-off-by: Neal Frager <neal.frager@amd.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-06-06 10:42:44 +02:00
Neal Frager
3137e5bf8f configs/zynqmp_kria_kr260_defconfig: bump to xilinx-v2024.1
This patch bumps the zynqmp_kria_kr260_defconfig to xilinx-v2024.1 which includes
the following updates:

- Linux v6.6.10
- U-Boot v2024.01
- ATF v2.10
- PMUFW xilinx-v2024.1

Migrated u-boot to xilinx_zynqmp_kria_defconfig, so uboot.fragment no longer
needed.

With u-boot 2024.1, CONFIG_SYS_SPI_U_BOOT_OFFS has a new meaning. It is now
the offset between the base address of the boot.bin and u-boot.itb instead of
a raw base address of u-boot.itb. This allows for A/B firmware updates since
the u-boot.itb is set by default to a 0x80000 offset of the boot.bin.

Thus, Kria SOMs come with the following QSPI address table.

Partition A:
0x200000 - boot.bin
0x280000 - u-boot.itb

Partition B:
0xF80000 - boot.bin
0x1000000 - u-boot.itb

This patch updates the addressing in the readme.txt accordingly.

Signed-off-by: Neal Frager <neal.frager@amd.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-06-06 10:42:42 +02:00
Neal Frager
24b6340bac configs/zynqmp_kria_kv260_defconfig: bump to xilinx-v2024.1
This patch bumps the zynqmp_kria_kv260_defconfig to xilinx-v2024.1 which includes
the following updates:

- Linux v6.6.10
- U-Boot v2024.01
- ATF v2.10
- PMUFW xilinx-v2024.1

Migrated u-boot to xilinx_zynqmp_kria_defconfig, so uboot.fragment no longer
needed.

With u-boot 2024.1, CONFIG_SYS_SPI_U_BOOT_OFFS has a new meaning. It is now
the offset between the base address of the boot.bin and u-boot.itb instead of
a raw base address of u-boot.itb. This allows for A/B firmware updates since
the u-boot.itb is set by default to a 0x80000 offset of the boot.bin.

Thus, Kria SOMs come with the following QSPI address table.

Partition A:
0x200000 - boot.bin
0x280000 - u-boot.itb

Partition B:
0xF80000 - boot.bin
0x1000000 - u-boot.itb

This patch updates the addressing in the readme.txt accordingly.

Signed-off-by: Neal Frager <neal.frager@amd.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-06-06 10:42:41 +02:00
Neal Frager
6614e2f9da configs/versal_vck190_defconfig: bump to xilinx-v2024.1
This patch bumps the versal_vck190_defconfig to xilinx-v2024.1 which includes
the following updates:

- Linux v6.6.10
- U-Boot v2024.01
- ATF v2.10
- PLM xilinx-v2024.1
- PSMFW xilinx-v2024.1

Removed ATF patches that were needed for ATF v2.8.

Signed-off-by: Neal Frager <neal.frager@amd.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2024-06-06 10:42:36 +02:00
Dario Binacchi
7db4dc07c4 configs/imx8mn_bsh_smm_s2[_pro]: add hashes
The patch adds .hash files for Arm trusted firmware, Linux, Linux headers
and U-Boot and then enables BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we
can now drop the defconfig from .checkpackageignore.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-06-05 22:54:30 +02:00
Dario Binacchi
5f576c3142 configs/beaglebone_qt5_defconfig: add hashes for Linux/headers/U-Boot
The patch adds .hash files for Linux, Linux headers and U-Boot and then
enables BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the
defconfig from .checkpackageignore.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-06-05 22:37:20 +02:00
Dario Binacchi
407b25219d configs/beaglebone_qt5_defconfig: fix Linux compilation errors
Bumping to TI's most recent Linux 4.19 version (i.e. linux-4.19.94-ti-r72)
does not fix compilation errors but allows you to cleanly apply the
necessary patches.

Two errors have been fixed:

 1 Since commit e88225ed88 ("package/binutils: make 2.41 the default
   version"), the Linux kernel is failing to build with this output:

   arch/arm/mm/proc-v6.S:267: Error: junk at end of line, first unrecognized character is `#'
   make[3]: *** [scripts/Makefile.build:403: arch/arm/mm/proc-v6.o] Error 1

   The patch [1] fixes the issue.

 2 Since commit dc0f7215c6 ("package/gcc: switch to 13.x as default"),
   the Linux kernel is failing to build with this output:

   In file included from ./include/linux/kernel.h:10,
                    from drivers/ata/libahci.c:35:
   drivers/ata/libahci.c: In function ‘ahci_led_store’:
   ./include/linux/compiler.h:348:45: error: call to ‘__compiletime_assert_1154’ declared with attribute error: BUILD_BUG_ON failed: sizeof(_s) > sizeof(long)
     348 |         _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)

   The patch [2] allows to cleanly apply patch [3] that fixes the issue.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=762d2dcd9e233e3025f8627ea65f23e568045edb
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=67a00c299c5c143817c948fbc7de1a2fa1af38fb
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4c3ddc06cedb62f2904e58fd95170bf206bee149

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-06-05 22:35:58 +02:00
Francois Perrad
b71c5936ad configs/mx6cubox: add hashes
and enable BR2_DOWNLOAD_FORCE_CHECK_HASHES

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-06-04 15:19:03 +02:00
Francois Perrad
f7f2c82496 configs/ls1028ardb: add hashes
and enable BR2_DOWNLOAD_FORCE_CHECK_HASHES

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-06-04 15:16:41 +02:00
Francois Perrad
4456bec6ab configs/olimex_stmp157_olinuxino_lime: add hashes
and enable BR2_DOWNLOAD_FORCE_CHECK_HASHES

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-06-02 20:24:54 +02:00
Dario Binacchi
e5dff2797c configs/acmesystems_arietta_*: add hashes for at91bootstrap3/Linux/headers
And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the
defconfig from .checkpackageignore.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-31 15:36:49 +02:00
Dario Binacchi
0611216ee7 configs/acmesystems_arietta_*: bump Linux to 4.19.315 to fix compilation error
The Linux kernel failed to build since commit e88225ed88 (package/binutils:
make 2.41 the default version). The new version contains the commit
790756c7e0229 ("ARM: 8933/1: replace Sun/Solaris style flag on section
directive") that fixes the issue.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-31 15:36:29 +02:00
Dario Binacchi
4700e2104f configs/acmesystems_aria_*: add hashes for at91bootstrap3/Linux/headers
And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the
defconfig from .checkpackageignore.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-31 15:35:45 +02:00
Dario Binacchi
19cffcb979 configs/acmesystems_aria_*: bump Linux to 4.19.315 to fix compilation error
The Linux kernel failed to build since commit e88225ed88 (package/binutils:
make 2.41 the default version). The new version contains the commit
790756c7e0229 ("ARM: 8933/1: replace Sun/Solaris style flag on section
directive") that fixes the issue.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-31 15:35:33 +02:00
Neal Frager
622d3b2530 configs/zynq_microzed_defconfig: bump to xilinx-v2024.1
This patch bumps the zynq_microzed_defconfig to xilinx-v2024.1 which includes
the following updates:

- Linux v6.6.10
- U-Boot v2024.01

Signed-off-by: Neal Frager <neal.frager@amd.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-31 14:19:08 +02:00
Neal Frager
f555bffb8e configs/zynq_zed_defconfig: bump to xilinx-v2024.1
This patch bumps the zynq_zed_defconfig to xilinx-v2024.1 which includes
the following updates:

- Linux v6.6.10
- U-Boot v2024.01

Signed-off-by: Neal Frager <neal.frager@amd.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-31 14:18:42 +02:00
Neal Frager
3e0cedb2ab configs/zynq_zc706_defconfig: bump to xilinx-v2024.1
This patch bumps the zynq_zc706_defconfig to xilinx-v2024.1 which includes
the following updates:

- Linux v6.6.10
- U-Boot v2024.01

Signed-off-by: Neal Frager <neal.frager@amd.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-31 14:17:44 +02:00
Neal Frager
2770ab249c configs/zynq_zc702_defconfig: bump to xilinx-v2024.1
This patch bumps the zynq_zc702_defconfig to xilinx-v2024.1 which includes
the following updates:

- Linux v6.6.10
- U-Boot v2024.01

Signed-off-by: Neal Frager <neal.frager@amd.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-31 14:00:14 +02:00
Dario Binacchi
84a9ab91d3 configs/at91sam9x5ek*_defconfig: add hashes for at91bootstrap3/Linux/headers/u-boot
And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the
defconfig from .checkpackageignore.

Furthermore, the use of the directory board/atmel/at91sam9x5ek/patches
for all 4 at91sam9x5ek*_defconfig configurations automatically fixes the
Linux compilation failure for the at91sam9x5ek_defconfig,
at91sam9x5ek_mmc_defconfig, and at91sam9x5ek_mmc_dev_defconfig
configurations as well.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
[Peter: fix u-boot hash]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-30 21:11:13 +02:00
Dario Binacchi
14bb97ff9d configs/lego_ev3_defconfig: add hashes for Linux/headers/u-boot
And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop
the defconfig from .checkpackageignore.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Acked-by: David Lechner <david@lechnology.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-30 20:19:08 +02:00
Dario Binacchi
2f5723e386 configs/lego_ev3_defconfig: bump Linux to 4.19.315 to fix compilation error
The Linux kernel failed to build since commit e88225ed88 (package/binutils:
make 2.41 the default version). The new version contains the commit
790756c7e0229 ("ARM: 8933/1: replace Sun/Solaris style flag on section
directive") that fixes the issue.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Acked-by: David Lechner <david@lechnology.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-30 20:18:52 +02:00
Brandon Maier
47da55f969 configs/raspberrypi: add hashes
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-29 08:52:02 +02:00
Brandon Maier
f5e82c2235 configs/zynq_*: add hashes
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Reviewed-by: Neal Frager <neal.frager@amd.com>
[Peter: use symlink for linux-headers.hash]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-27 16:32:53 +02:00
Julien Olivain
d71c90a301 configs/pine64_star64: uboot needs openssl
The defconfig fails in uboot build, with output:

    In file included from tools/imagetool.c:10:
    include/image.h:1178:12: fatal error: openssl/evp.h: No such file or directory
     1178 | #  include <openssl/evp.h>
          |            ^~~~~~~~~~~~~~~

This commit fixes the issue by adding
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y to the defconfig.

Fixes:
- https://gitlab.com/buildroot.org/buildroot/-/jobs/6918689164

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-27 11:15:23 +02:00
Dario Binacchi
1b2ad3aea8 configs/at91sam9x5ek_dev_defconfig: fix Linux compilation error with binutils 2.41+
The Linux kernel fails to build since commit e88225ed88 (package/binutils:
make 2.41 the default version).  This commit applies the backport patch of
upstream commit 790756c7e0229dedc83bf058ac69633045b1000e to the 4.19.y
stable kernel.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
[Peter: extend description to mention binutils 2.41]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-27 11:11:55 +02:00
Julien Olivain
6f9cf3b5fa configs/mx51evk: bump kernel to 5.10.218 to fix build
Since commit dc0f721 "package/gcc: switch to 13.x as default",
mx51evk_defconfig is failing to build in Kernel (see [1]),
with output:

    drivers/ata/libahci.c: In function 'ahci_led_store':
    ././include/linux/compiler_types.h:315:45: error: call to '__compiletime_assert_328' declared with attribute error: BUILD_BUG_ON failed: sizeof(_s) > sizeof(long)
      315 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
          |                                             ^

This commit fixes the issue by bumping the Kernel to 5.10.218.

The kernel commit fixing the build failure is [2], first included in
v5.10.184. There is also many other gcc-13 fixes.

While bumping the Kernel, this commit also enables
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y, add the relevant archive hash files,
and removes the defconfig entry in ".checkpackageignore".

Fixes: [1]

[1] https://gitlab.com/buildroot.org/buildroot/-/jobs/6918688967
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4c3ddc06cedb62f2904e58fd95170bf206bee149

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-27 08:43:39 +02:00
Giulio Benetti
a808203c90 configs/amarula_vyasa_rk3288_defconfig: add uboot, linux, linux-headers hashes
Add global patch directory pointing to board specific .hash files
for uboot, linux, linux-headers and add BR2_DOWNLOAD_FORCE_CHECK_HASHES.
This way we can drop this defconfig entry in .checkpackageignore.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-25 18:48:55 +02:00
Peter Korsgaard
96e41a849e configs/orangepi_pc_defconfig: u-boot 2024.01 needs host-openssl
Commit 2e349be94a (configs/orangepi_pc_defconfig: bump U-boot to
v2024.01 to fix compatibility with setuptools >= 69) bumped U-Boot, but
forgot to add a dependency on host-openssl.  Fix that.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-25 18:48:27 +02:00
Peter Korsgaard
8eae5a07d2 configs/orangepi_r1_defconfig: u-boot 2024.01 needs host-openssl
Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/6918689094

Commit 113eeb55d6 (configs/orangepi_r1_defconfig: bump U-boot to v2024.01
to fix compatibility with setuptools >= 69) bumped U-Boot, but forgot to add
a dependency on host-openssl.  Fix that.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-25 18:48:21 +02:00
Julien Olivain
3ccc6d9c39 configs/visionfive2: uboot needs openssl
The defconfig fails in uboot build, with output:

    scripts/sign-file.c:25:10: fatal error: openssl/opensslv.h: No such file or directory
       25 | #include <openssl/opensslv.h>
          |          ^~~~~~~~~~~~~~~~~~~~

This commit fixes the issue by adding
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y to the defconfig.

Fixes:
- https://gitlab.com/buildroot.org/buildroot/-/jobs/6929002318

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-25 11:40:50 +02:00
Giulio Benetti
898b794faa configs/amarula_vyasa_rk3288_defconfig: bump to Linux version 6.1.91
Build fails with gcc 13 with:
drivers/ata/libahci.c: In function 'ahci_led_store':
././include/linux/compiler_types.h:357:45: error: call to
'__compiletime_assert_302' declared with attribute error: BUILD_BUG_ON failed:
sizeof(_s) > sizeof(long)
  357 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)

As explained in Linux commit[0] that fixes the build, sizeof() of enum
like '(1<<31)' translate to a 64-bit type, but we expect a 32-bit type.
So commit[0] makes sure the data type to be 32-bits wide by using BIT()
macro.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/6865596548

[0]:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=97e28deab8bfe70d5687650f94484f8f9101e566

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-24 23:13:52 +02:00
Peter Korsgaard
6ee86ada72 configs/orangepi_pc_defconfig: add hashes for Linux/headers/u-boot
And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES.  With this, we can now drop the
defconfig from .checkpackageignore.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-24 14:53:48 +02:00
Peter Korsgaard
b92c88a09c configs/orangepi_pc_defconfig: bump Linux kernel to 6.1.91
Linux 6.6.x crashes during boot, so stick to 6.1.x for now.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-24 14:53:35 +02:00
Peter Korsgaard
dc67176354 configs/orangepi_pc_defconfig: bump Linux to 5.10.217 to fix gcc 13.x build
The 5.10.9 kernel fails to build with GCC 13.x:

In file included from <command-line>:
drivers/ata/libahci.c: In function ‘ahci_led_store’:
././include/linux/compiler_types.h:315:45: error: call to ‘__compiletime_assert_321’ declared with attribute error: BUILD_BUG_ON failed: sizeof(_s) > sizeof(long)
  315 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                             ^
././include/linux/compiler_types.h:296:25: note: in definition of macro ‘__compiletime_assert’
  296 |                         prefix ## suffix();                             \
      |                         ^~~~~~
././include/linux/compiler_types.h:315:9: note: in expansion of macro ‘_compiletime_assert’
  315 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |         ^~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
   50 |         BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |         ^~~~~~~~~~~~~~~~
./include/linux/nospec.h:58:9: note: in expansion of macro ‘BUILD_BUG_ON’
   58 |         BUILD_BUG_ON(sizeof(_s) > sizeof(long));                        \
      |         ^~~~~~~~~~~~
drivers/ata/libahci.c:1137:23: note: in expansion of macro ‘array_index_nospec’
 1137 |                 pmp = array_index_nospec(pmp, EM_MAX_SLOTS);
      |                       ^~~~~~~~~~~~~~~~~~

This is fixed upstream by commit f07788079f515ca (ata: ahci: fix enum
constants for gcc-13), which has been backported to 5.10.x as of 5.10.184,
so bump to v5.10.217 to fix the build.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-24 14:53:20 +02:00
Peter Korsgaard
2e349be94a configs/orangepi_pc_defconfig: bump U-boot to v2024.01 to fix compatibility with setuptools >= 69
Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/6865597706

setuptools.extern.packaging.version.InvalidVersion: Invalid version: 'u-boot-2020.10'
make[5]: *** [scripts/dtc/pylibfdt/Makefile:30: scripts/dtc/pylibfdt/_libfdt.so] Error 1
make[4]: *** [scripts/Makefile.build:419: scripts/dtc/pylibfdt] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:419: scripts/dtc] Error 2
make[2]: *** [Makefile:577: scripts] Error 2
make[1]: *** [package/pkg-generic.mk:283: /builds/buildroot.org/buildroot/output/build/uboot-2020.10/.stamp_built] Error 2

Commit 6b62384e3d (package/python-setuptools: bump to version 69.0.3)
bumped setuptools, which now errors out when passed a version with a prefix
string.  This u-boot- prefix string is dropped since U-Boot 2023.01 with
commit c977b1843504 (libfdt: Fix invalid version warning), so bump U-Boot to
v2024.01 to fix this issue.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-05-24 14:53:09 +02:00
Peter Korsgaard
459c8c95c7 configs/orangepi_r1_defconfig: add hashes for Linux/headers/u-boot
And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES.  With this, we can now drop the
defconfig from .checkpackageignore.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
2024-05-22 17:54:04 +02:00
Peter Korsgaard
f3a78b1176 configs/orangepi_r1_defconfig: bump Linux kernel to 6.6.31
And update the dts path to match the updated location after commit
724ba6751532 ("ARM: dts: Move .dts files to vendor sub-directories").

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
2024-05-22 17:54:00 +02:00