912 Commits

Author SHA1 Message Date
Simon A. Eugster
11098a9725 grub-efi-cfg: Add GRUB_TITLE for custom GRUB titles
Until now, the default title of a boot entry is its label. The label is
a variable which determines the script to run during an early boot stage
and is not necessarily human readable.

This patch allows to provide a human-readable title for each boot entry.

(From OE-Core rev: a5a7f6ada786b7f2c1a317f20b7e642f1e978de9)

Signed-off-by: Simon A. Eugster <simon.eu@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-20 13:38:59 +00:00
Fabio Estevam
b98fae135c u-boot: upgrade 2024.10 -> 2025.01
Upgrade to U-Boot 2025.01.

Remove the patch as it has been upstreamed.

(From OE-Core rev: e16a24f04b56ca3fec6509a3286e2e3bb5c21c1e)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-09 15:26:50 +00:00
Maxin John
c36f116385 formfactor: add support for qemuriscv64 and qemuriscv32
Add machine config files for qemuriscv64 and qemuriscv32.

Fixes [YOCTO #15427].

(From OE-Core rev: ec01090759677f8b69352c56aa29940314ca73e7)

Signed-off-by: Maxin John <maxin.john@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-01-03 11:05:03 +00:00
Thomas Perrot
4ae3f0e0cd opensbi: bump to 1.6
This release has:
- Support for parsing riscv,isa-extensions DT property
- Setup serial console very early in cold boot path
- Support for multiple heaps and aligned memory allocation
- Support for shadow stacks (Zicfiss) ISA extension
- Support for landing pads (Zicfilp) ISA extension
- Support for per-domain data
- Support for double-trap (Smdbltrp/Ssdbltrp) ISA extensions
- DT-based configurable heap size
- Common fdt_driver and helpers for driver initialization
- Support for SBI PMU raw event v2 (Experimental)
- Simple FDT based mailbox driver framework
- RPMI shared memory transport driver (Experimental)
- RPMI system reset driver (Experimental)
- Simple FDT based system suspend driver framework
- RPMI system suspend driver (Experimental)
- Simple FDT based HSM driver framework
- RPMI HSM driver (Experimental)
- Simple FDT based CPPC driver framework
- RPMI CPPC driver (Experimental)
- SBI Message Proxy (MPXY) extension (Experimental)
- Simple FDT based MPXY driver framework
- Common RPMI client driver for MPXY (Experimental)
- Support for vector misaligned load/store

Overall, this release adds more ISA extensions, drivers, and other improvements.

(From OE-Core rev: 2757297b54f5436d341cb1fdeeb756703e5349af)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-28 10:52:35 +00:00
Wang Mingyu
3291a8faa4 barebox: upgrade 2024.10.0 -> 2024.12.0
0001-lib-lz4-use-lz4-instead-of-lz4c.patch
removed since it's included in 2024.12.0

Changelog:
===========
* ARM: omap: fix NS16550 UART setup in omap_debug_ll_init
* Documentation: imd: update information on barebox_update
* partitions: efi: Check GPT header size against minimum limit
* checkpatch: fix detection of barebox root directory
* ARM: omap: add two smaller MLO defconfigs for AM335x
* crc: crc-itu-t: generate lookup table on first use
* of: fdt: fix possible overflow during parsing of fdt
* remoteproc: use I/O memory variants of memcpy/memset
* dlmalloc: Fix integer overflow in request2size()
* remoteproc: imx: add support for loading ELF data sections into DRAM
* remoteproc: elf_loader: skip segment with memsz as zero
* of: fdt: fix overflow caused by fdt_prop extending beyond fdt
* usb: typec: fix freeing uninitialized memory  Ahmad Fatoum
* startup: do not bring up networking if console input disabled
* sandbox: noshell_defconfig: set CONFIG_CONSOLE_DISABLE_INPUT=y
* ARM: dts: i.MX8MP: disable NPU node if hardware is missing
* clk: clk-composite: fix callback guard in clk_composite_round_rate
* partitions: efi: fix overflow issues while allocating gpt entries
* lib: lz4: use lz4 instead of lz4c
* clk: rockchip: make it compile again
* ARM: i.MX: ele: fix forward_lifecycle
* ARM: i.MX9: tqma93xx: workaround warning in variant detection
* partitions: efi: fix GPT header size exceeding allocation size
* video: Rockchip: add missing dma_alloc_coherent a device parameter
* dma: give dma_alloc_coherent a device parameter
* common: buffer access out-of-bounds
* include: Include <linux/math.h> to resolve implicit declaration of do_div()
* i2c: lpi2c: fix potential read of uninitialized variable

(From OE-Core rev: b8c26b320abce65862632f0e832d93ba37c6dc41)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-13 12:26:01 +00:00
Alexander Kanavin
166e5bdd7e barebox: add more common items into shared .inc with barebox-tools
barebox-tools needs to be updated in lockstep with barebox,
and was already once erroneously updated to 2024.10 without
barebox itself.

Particularly, this change puts PV into .inc as well for both
recipes. This will allow AUH to produce correct update patches,
as barebox recipe is mutually exclusive with u-boot, and
so isn't handled by AUH. mesa-gl recipe uses a similar trick
with mesa.

(From OE-Core rev: 555a637d467364f896b72436a83b118e29ee5550)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-05 17:07:10 +00:00
Ross Burton
03753c52dd lrzsz: update SRC_URI to avoid redirect
This server redirects to https:, so we might as well avoid the redirect.

(From OE-Core rev: 244779cc4d5e46cd3611c73862e653d38c8b99dd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-05 17:07:10 +00:00
Ross Burton
2a163834b0 gnu-efi: upgrade to 4.0.0
gnu-efi isn't making releases on SourceForge anymore, so switch to git
clones and track releases on GitHub.

License-Update: "Copright" typo fixed.

(From OE-Core rev: 958a1e5e911a3cd7912f9207528a2c9d61c2af6a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-29 22:13:25 +00:00
Ross Burton
e18c3d72d6 gnu-efi: fix license
gnu-efi is a mix of BSD and GPL licensed source code, not a choice
between the two.

(From OE-Core rev: 186ccb678a83468c8d1b8a457ed600921c932627)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-29 22:13:25 +00:00
Ross Burton
08d004cdc4 gnu-efi: remove obsolete patch
The original patch in 2013[1] did this:

+-libefi.a: libefi.a($(OBJS))
++libefi.a: $(OBJS)

The Makefile no longer uses this syntax and simply replacing $^ with
$(OBJS) is a no-op, so this patch isn't needed.

[1] meta-intel c2c13d4dba2d9c70862891adf0b250ce2be65f68

(From OE-Core rev: fd80af9abce3547f7e929e592bababd3c736bcee)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-29 22:13:25 +00:00
Ross Burton
1e34a24ff5 gnu-efi: pass HOSTCC and INCLUDEDIR
Pass the correct host compiler (HOSTCC) and include directory to the
build.

Also enable verbose builds (V=1).

(From OE-Core rev: 093e4222948b29dafc272c97b9f200e4b126cadd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-29 22:13:25 +00:00
Enrico Jörns
f9c0a50128 barebox: move version checksum to common .inc
This makes it more obvious to update barebox and barebox-tools together
and should help the AUH to update both.

Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
(From OE-Core rev: 9753d5cb44c2d648e19a2e7706590ca4390b2965)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-28 12:27:12 +00:00
Enrico Jörns
0f73caa1b2 barebox: upgrade 2024.09.0 -> 2024.10.0
Regular barebox release.

* cleanups and bug fixes
* larger font for high-res displays

Changelog: https://lore.barebox.org/barebox/ZxIdBi3xLj0dHqzi@pengutronix.de/T/

(From OE-Core rev: 39166d2a5d5ab11513697c1a1c94284e30837a21)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-28 12:27:12 +00:00
Maik Otto
906e8291eb u-boot: Set CVE_PRODUCT
The CPE vendor is "denx" and the CPE product is "u-boot".
Set CVE_PRODUCT for properly matching in the NVD database.

(From OE-Core rev: d2e5d427de13b33694a1d802f5ac833b2c04ced6)

Signed-off-by: Maik Otto <m.otto@phytec.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-18 22:09:03 +00:00
Wang Mingyu
10a2dd4d67 barebox-tools: upgrade 2024.09.0 -> 2024.10.0
(From OE-Core rev: 828b3767406f11822a900c148a97b341c86f4fad)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-18 22:09:02 +00:00
Justin Bronder
7626a6b4c0 barebox: use lz4 instead of lz4c
lz4c has been considered deprecated by upstream since at least 2018 [1]
and has been disabled by default recently [2].  openSUSE Tumbleweed is
no longer packaging the deprecated version and others will likely
follow.

Going back as far as Ubuntu 16.04/Fedora 25, both lz4 and lz4c are
installed as part of the same package so switching should be safe.

1. https://github.com/lz4/lz4/pull/553
2. https://github.com/lz4/lz4/pull/1479

Upstream-Status: Submitted [http://lists.infradead.org/pipermail/barebox/2024-November/048491.html]
(From OE-Core rev: d25c027c6c5ca5cc4b93d3dc394d5bbae15dbafc)

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-07 22:17:24 +00:00
Fabio Estevam
6ddfb2a5e4 u-boot: Update Upstream-Status
0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch is now
applied in U-Boot upstream.

Update the Upstream-Status accordingly.

(From OE-Core rev: 718f97d90b13c190e2b1852447764c31464ebdf1)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-01 12:58:19 +00:00
Markus Volk
b30351ca09 u-boot: Add patch to use SWIG_AppendOutput
Swig has changed language specific AppendOutput functions. The helper
macro SWIG_AppendOutput remains unchanged. Use that instead
of SWIG_Python_AppendOutput, which would require an extra parameter
since swig 4.3.0.

(From OE-Core rev: 4eae7888e91c7c864bf490dee38716267be6202e)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-01 12:58:19 +00:00
Fabio Estevam
f1f814c4f7 usbutils: Update to version 018
Update to version 018, which has been converted to meson.

Patch 0001-usbutils.pc.in-Fix-Cflags-entry.patch is no longer needed
as usbutils now uses meson.

Patch 0001-usb-devices-Fix-usb-devices-with-busybox.patch has been
upstreamed.

Add CC0-1.0, LGPL-2.1-or-later, and MIT to the LICENSES entry
due to the following usbutils commits:

32154d0dbe

d04e63e551

License-Update: Add CC0-1.0, LGPL-2.1-or-later, and MIT entries.

(From OE-Core rev: d10843f712f9e14e744f60243b995dc1e65f891c)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-01 12:07:12 +00:00
Enrico Jörns
e4b18be0d4 barebox: upgrade 2024.08.0 -> 2024.09.0
Regular barebox release.

Key changes:

* added eMMC/SD card erase support
* overhaul of the README

Changelog: https://lore.barebox.org/barebox/ZuP5DC_fmAqC45Oh@pengutronix.de/

(From OE-Core rev: b090d888cbf912866bc43a2ed16f2b83eb65c9ae)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-01 11:53:27 +00:00
Enrico Jörns
d217fae210 barebox-tools: upgrade 2024.08.0 -> 2024.09.0
Regular barebox release.

Changelog: https://lore.barebox.org/barebox/ZuP5DC_fmAqC45Oh@pengutronix.de/

(From OE-Core rev: 21cdd00abb7f48d31a30e4525b05b12702d2ebb3)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-11-01 11:53:27 +00:00
Wang Mingyu
4ae3d8d86e libubootenv: upgrade 0.3.5 -> 0.3.6
(From OE-Core rev: 63395c91357a691fc65c96be2e4734166d5a5dc3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-29 11:19:57 +00:00
Fabio Estevam
bdaf69fe10 u-boot: upgrade 2024.07 -> 2024.10
Upgrade to U-Boot 2024.10.

Add the gnutls-native dependency because now U-Boot needs it installed
on the host machine to handle the CONFIG_TOOLS_MKEFICAPSULE option.

(From OE-Core rev: e3ece22060725c9eebc0feed9b2be2d00ce4bf8e)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-22 12:28:17 +01:00
Alexander Kanavin
9c1efb65c9 meta: use explicit uri for all sourceforge upstream version checks
Previously the check for some recipes relied on sourceforge redirecting from
downloads.sourceforge.net (SRC_URI is set to that) into the actual project page.

Sourceforge does this for interactive browsers, but not for wget.

With the check no longer mimicking a browser, and being truthful
about coming from wget we need to explicitly fetch
the project page in all cases, which is what this commit does.
(many recipes already set this explicitly and don't need to be tweaked)

(From OE-Core rev: 4c21ce6e34f6ce8fbf4db7bc2fd017c8f7a811b4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-15 11:47:24 +01:00
Marco Felsch
a9531159c5 barebox-tools: add initial barebox tools support
Add initial support to build the barebox tools for the host and the
target.

Some of the tools are generic barebox utilities (like 'bareboximd' for
image meta data inspection or 'bareboxenv' for accessing the barebox
environment) some are SoC family-specific specific utilities (like
'imx-usb-loader' or 'omap3-usb-loader').

(From OE-Core rev: cb3de34a28cde3f9ebd52ba842da9f91c6f0fa66)

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-11 15:57:44 +01:00
Marco Felsch
8ca1fd0b72 barebox: add initial support
This adds the support for the barebox bootloader to oe-core. The recipe
is inspired by meta-ptx [1] but is a major rework of the one found there.

Barebox comes with a wide range of supported architectures and follows
the concepts of Linux in various aspects like the driver model, the
shell, or the virtual file system.
This not only eases porting Linux drivers but also makes barebox a
developer-friendly and feature-rich bootloader alternative [2].

For barebox (like for the kernel or other bootloaders) it is quite
likely that people will not just build the original recipe but need to
adapt it, point to custom repositories, apply patch stacks,
COMPATIBLE_MACHINE etc. They may also choose to have different recipe
names for different variants.
Having only a single .bb file and requiring to copy or .bbappend it is
inconvenient and results in unnecessary code duplication. Therefore, the
base support for building barebox is encapsulated in barebox.bbclass
(like kernel.bbclass for the kernel).

Adds barebox to maintainers.inc but excludes it from the maintainers
check since with the current check mechanism barebox would be skipped
(and making the check fail) due to not being the PREFERRED_PROVIDER for
virtual/bootloader.

[1] https://github.com/pengutronix/meta-ptx/tree/master/recipes-bsp/barebox
[2] https://www.barebox.org/demo/?graphic=0

(From OE-Core rev: 5c69f5626278a6e9756188a5771b18075380f52d)

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-11 15:57:44 +01:00
Khem Raj
8b97035692 efivar: Drop addend to PV
We are at exact PR release point 39, drop the appends to PV

(From OE-Core rev: 325f7982459c8febacaf8a156a32764dcec9da96)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-30 17:07:18 +01:00
Teresa Remmet
185fd2b28c recipes-bsp: usbutils: Fix usb-devices command using busybox
Unknown find parameter -printf makes usb-devices script unusable with
busybox. Replace the parameter to fix this issue.

(From OE-Core rev: c7c9f827e914b7c27856d995da553a2e41372321)

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-07 07:31:22 +01:00
Adrian Freihofer
64eb8c9c26 cml1: add do_savedefconfig
Move the do_savedefconfig task definition from u-boot and kernel to
cml1.bbclass. There are more recipes which use the kbuild framework and
benefit from a do_savedefconfig task.

(From OE-Core rev: 2b2ed48903e09196ee20da7f66b1d3689e4a4473)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:48:47 +01:00
Otavio Salvador
7897e51da3 u-boot: Ensure we use BFD as linker even if using GCC for it
If we are using 'ld-is-gold' as DISTRO_FEATURE, the U-Boot Makefile has
mechanisms to ensure that we use BFD as linker. However, this does not
work for the GCC when it is used as linking tool.

To support that, we added explicit BFD use whenever we have the
DISTRO_FEATURE feature enabled.

(From OE-Core rev: d36ee7a87c0d89b2820eea4bfcdae342adc75019)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-01 11:05:20 +01:00
Ryan Eatmon
469c371e55 u-boot.inc: Refactor do_* steps into functions that can be overridden
The looping logic for handling (and not handling) UBOOT_CONFIG has led
to the various do_* functions to be large and unwieldy.  In order to
modify one of the functional blocks inside of a loop (or in the else
condition) means you either have to replace the function entirely, or
append the function and undo something it did and then do what you need
for your change.

This refactor breaks out all of the inner loops and else clauses into
new functions that themselves can be overridden without needing to
worry about the bulk of the looping logic.

It should not break any existing recipes doing prepends, appends, or
overrides.  None of the functional blocks were changed, just refactored
out into new functions.

(From OE-Core rev: 937bcc229502fcc154cc676b4fcc93c561873def)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Thomas Perrot
9fd5ab769c opensbi: bump to 1.5.1
This intermediate release has following fixes:
- Save/restore menvcfg only when it exists
- Adjust Sscofpmf mhpmevent mask for upper 8 bits
- Fix potential NULL pointer dereferences in SBI DBTR
- Fix incorrect size passed to sbi_zalloc() in SBI FWFT
- Check result of pmp_get() in is_pmp_entry_mapped()

(From OE-Core rev: f102511f3a7707d2564e17af5dfdb1406177d7bb)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:36 +01:00
Chen Qi
83fc33db5e pciutils: remove textrel INSANE_SKIP
The current pciutils does not have this textrel problem any more.

(From OE-Core rev: 48fd3134097ce81c94c1ce67f218d83f1a5c2f6f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-10 10:52:20 +01:00
Fabio Estevam
a727d81671 u-boot: upgrade 2024.04 -> 2024.07
Upgrade to U-Boot 2024.07.

(From OE-Core rev: 377e8d7fc019b0b2a0fd020e51741a4543f5f209)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
Thomas Perrot
522aa5de1a opensbi: bump to 1.5
This release has:
- SBI debug triggers (DBTR) extension (Experimental)
- Support to specify coldboot harts in DT
- Relocatable FW_JUMP_ADDR and FW_JUMP_FDT_ADDR
- Smcsrind and Smcdeleg extensions support
- SBIUnit testing framework
- Initial domain context management support
- Platform specific load/store emulation callbacks
-  New trap context
- Improved sbi_trap_error() to dump state in a nested trap
- SBI supervisor software events (SSE) extension (Experimental)
- Simplified wait_for_coldboot() implementation
- Early wakeup of non-coldboot HART in the coldboot path
- Sophgo CV18XX/SG200X series support
- APLIC delegation DT property fix
- Svade and Svadu extensions support
- SBI firmware features (FWFT) extension (Experimental)

Overall, this release mainly adds more ISA extensions, SBI
extensions and other improvements.

(From OE-Core rev: 9922ebd8dcd145af8c7a6b8a5a16dce1ee8e92cb)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
Florian Amstutz
221e778021 u-boot: Fix potential index error issues in do_deploy with multiple u-boot configurations
If i or j have not been unset in do_deploy:prepend functions, images are not correctly
copied to DEPLOYDIR.

(From OE-Core rev: 5a0764eaac90bd62dac4a387eed5eb68f556412f)

Signed-off-by: Florian Amstutz <florian.amstutz@scs.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
Leon Anavi
583f1e55cc u-boot.inc: WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR and B for U-Boot script
and variable UBOOT_ENV_BINARY, for example for boot.scr.

(From OE-Core rev: 62ff94ff40e823065178318133d54e44a3d8a46d)

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-01 13:56:02 +01:00
Wang Mingyu
54e410fd96 pciutils: upgrade 3.12.0 -> 3.13.0
Changelog:
===========
* lspci decodes CXL 1.1 device link status information.
  This requires a recent kernel which exports rcd_* atributes via
  sysfs.
* Further development of the pcilmr (the link margining utility)
* Dump parsing supports 6-digit domain numbers.
* Bug fixes in PCIe link state reporting.
* Decode more fields in PCIe AER capability.
* Fixed build on Linux systems with musl libc.
* Updated pci.ids.

(From OE-Core rev: cdd6e828cae9b3b1fcf866dfdcf6409426abfe2c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-25 11:50:58 +01:00
Alexander Kanavin
cebbe9a638 libacpi: mark patches as inactive-upstream
(From OE-Core rev: 722ac78f151fb6c433379ff50394b34ec06ca816)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:41 +01:00
Khem Raj
d6afc28dee grub,grub-efi: Remove -mfpmath=sse on x86
This option fails with clang compiler when testing for soft-float because
OE enforces this option via CCARGS however, gtub's
makefile/configure does disable all sse options when checking for
soft-float support, but it can not disable -mfpmath=sse as its inserted
by OE, therefore remove it in recipe

Fixes build errors seen with clang/musl like on x86
error: the 'sse' unit is not supported with this instruction set

(From OE-Core rev: ad76da4ff6d7110747b620621ae3728de9905465)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-10 15:59:29 +01:00
Ross Burton
66c8d2b625 pciutils: rewrite recipe
The upstream Makefiles are bespoke so need to be handheld, but this
recipe has workarounds for code removed a decade ago.

Add more PACKAGECONFIGs for the other configuration options (zlib, kmod),
and use hwdb by default (non-systemd builds also have hwdb, as it's part
of eudev too).

Instead of using 'make -e', pass the variables that we want the Makefile
to respect explicitly (CC, CFLAGS, etc).

Construct an appropriate HOST so that lib/configure does the right thing
without needing patches.

This now results in text relocations (apparently from the versioned
symbols in libpci), so add an INSANE_SKIP for that.

Update the homepage URL.

(From OE-Core rev: e943b74ffe0fd2c37e35540a2d6bd92a1dd61a3a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-10 14:27:23 +01:00
Yi Zhao
86a297c631 gnu-efi: upgrade 3.0.17 -> 3.0.18
* Drop backport patches.
* Refresh patches.

(From OE-Core rev: 89088a504052f7b748d12a37372aea5ceeb790da)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Alexander Kanavin
b09396f08f grub: remove unneeded 0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch
Verified on qemux86 and qemux86-64 with grub and grub-efi.

(From OE-Core rev: d06ee594e1bbe15b3a45c9efaaddb1e869a69cb3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Alexander Kanavin
e896d87b0f grub: mark grub-module-explicitly-keeps-symbole-.module_license.patch as a workaround
(From OE-Core rev: 6307adb5b0644845f4062c21ac5717eb62a61dd3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Richard Purdie
7033add161 usbinit: Drop recipe
This recipe is poorly named, it is a gadget ethernet driver. Gadget ethernet
is of questionable use now and usbinit isn't referenced/used anywhere within
OE-Core. Drop it.

(From OE-Core rev: 1ffd62b6198ba7967793f7fa3d5a31380c3d5d96)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Chen Qi
060bc9d4d4 pciutils: upgrade from 3.11.1 to 3.12.0
configure.patch is rebased against the new version.

(From OE-Core rev: 88ab0efeda625892f393576fbcc87e9b517103f5)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:26 +01:00
Richard Purdie
d6ae8d2004 recipes: Switch away from S = WORKDIR
Where recipes use S = ${WORKDIR}, change them to set UNPACKDIR to
a subdir of WORKDIR and make S point at this instead.

I've chosen not to force S into any standard UNPACKDIR we may pick in
future just so the S = UNPACKDIR case is clearly visible by the
directory naming under WORKDIR as that should aid usability.

(From OE-Core rev: d9328e3b0b062f0621de3d114584b44f384a1c02)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:08:04 +01:00
Richard Purdie
71c6db8e65 recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

(From OE-Core rev: 1f18b9a512800860d5153d89eb82b56388efad6f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:08:04 +01:00
Martin Jansa
c629ee6b92 lrzsz connman-gnome libfm: ignore various issues fatal with gcc-14
work arounds for:
oe-core/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb:do_compile
oe-core/meta/recipes-connectivity/connman/connman-gnome_0.7.bb:do_compile
oe-core/meta/recipes-support/libfm/libfm_1.3.2.bb:do_compile

http://errors.yoctoproject.org/Errors/Build/183127/

More fixes on ML (especially for -native with gcc-14 on host)
cdrtools: https://lists.openembedded.org/g/openembedded-core/message/198899
syslinux: https://lists.openembedded.org/g/openembedded-core/message/198901

(From OE-Core rev: 856ffc7d0893c1dc549baf401899947f70d31896)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 15:42:27 +01:00
Richard Purdie
0ea63b6a43 recipes: Update WORKDIR references to UNPACKDIR
Since we want to be able to stop unpacking to WORKDIR, correct the WORKDIR
references in recipe do_compile/do_install tasks to use UNPACKDIR in the
appropraite places instead.

(From OE-Core rev: d73595df69667fe9d12ecd407b77a0b8dae2109c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 15:15:51 +01:00