Compare commits
92
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2555f47788 | ||
|
|
38b5b42086 | ||
|
|
13d564b62e | ||
|
|
70cd92cae1 | ||
|
|
26226496c0 | ||
|
|
1697eca986 | ||
|
|
e77fa97f59 | ||
|
|
a11afff771 | ||
|
|
2598a0cffc | ||
|
|
7b3d3e52ac | ||
|
|
077861ec24 | ||
|
|
9a71dd347a | ||
|
|
0660fb5ed8 | ||
|
|
d19fb80b36 | ||
|
|
df75cdfe4c | ||
|
|
94daade68d | ||
|
|
8ac7ef5684 | ||
|
|
167680d773 | ||
|
|
d4c1151632 | ||
|
|
e7f124e9b6 | ||
|
|
30252c3e0a | ||
|
|
89a2fd6385 | ||
|
|
3c88f5d5ed | ||
|
|
eba94bc4d2 | ||
|
|
c366ecb95e | ||
|
|
34b358bf2c | ||
|
|
0eccc6d090 | ||
|
|
124b8f724e | ||
|
|
14e82c1f17 | ||
|
|
e1c896b10f | ||
|
|
99e58bdad0 | ||
|
|
9d22642eb1 | ||
|
|
2ebca64aab | ||
|
|
07ead503de | ||
|
|
327a5c349d | ||
|
|
db309fb4fa | ||
|
|
94808d630d | ||
|
|
5bdb98d537 | ||
|
|
b54a3e5a3d | ||
|
|
18a7440bb8 | ||
|
|
c35da01963 | ||
|
|
4ef5ca26a5 | ||
|
|
583ecdb8b4 | ||
|
|
9edaaea06f | ||
|
|
50ff485793 | ||
|
|
65c66c2ba1 | ||
|
|
9b2c10bc06 | ||
|
|
6a1f9b3c0c | ||
|
|
85736a27c8 | ||
|
|
8b8f5e3366 | ||
|
|
12b2860d75 | ||
|
|
893c39ba4c | ||
|
|
436d86840a | ||
|
|
a1efb5427b | ||
|
|
139e478617 | ||
|
|
7d249dab51 | ||
|
|
e6b30e2392 | ||
|
|
311bb82c9e | ||
|
|
671b8f4c57 | ||
|
|
4f8167b5ca | ||
|
|
d3f47c2486 | ||
|
|
5fcc4e1960 | ||
|
|
9c628fc156 | ||
|
|
ed05bfcab6 | ||
|
|
4dafb8b5c2 | ||
|
|
e4b8380503 | ||
|
|
4fb7eb8285 | ||
|
|
9755de9336 | ||
|
|
ee12457487 | ||
|
|
b53d2d2575 | ||
|
|
9eb7eb456a | ||
|
|
9c1fabc1ac | ||
|
|
c3344a3a5f | ||
|
|
d1853f898e | ||
|
|
f77d698f83 | ||
|
|
c013836ae6 | ||
|
|
84309d7071 | ||
|
|
86f6c7929e | ||
|
|
ce6b48c2cf | ||
|
|
68fd0009e3 | ||
|
|
c6ee0ea47c | ||
|
|
9fb9d71bfc | ||
|
|
f84c8d1716 | ||
|
|
093a0ccb93 | ||
|
|
ba19e5162e | ||
|
|
7db4dc07c4 | ||
|
|
38669bbf0c | ||
|
|
5f576c3142 | ||
|
|
407b25219d | ||
|
|
ed9288505c | ||
|
|
90167378de | ||
|
|
e26e0caf38 |
@@ -145,7 +145,6 @@ configs/bananapi_m2_zero_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/bananapro_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/beagleboardx15_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/beaglebone_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/beaglebone_qt5_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/beaglev_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/beelink_gs1_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/broadcom_northstar_defconfig lib_defconfig.ForceCheckHash
|
||||
@@ -196,8 +195,6 @@ configs/imx6ullevk_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/imx6ulpico_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/imx7d-sdb_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/imx7dpico_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/imx8mn_bsh_smm_s2_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/imx8mn_bsh_smm_s2_pro_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/imx8mpico_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/imx8mqevk_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/imxrt1050-evk_defconfig lib_defconfig.ForceCheckHash
|
||||
@@ -333,10 +330,8 @@ configs/solidrun_clearfog_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/solidrun_clearfog_gt_8k_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/solidrun_macchiatobin_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/spike_riscv64_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/stm32f429_disco_xip_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/stm32f469_disco_sd_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/stm32f469_disco_xip_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/stm32f769_disco_sd_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/stm32mp157a_dk1_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/stm32mp157c_dk2_defconfig lib_defconfig.ForceCheckHash
|
||||
configs/stm32mp157c_odyssey_defconfig lib_defconfig.ForceCheckHash
|
||||
@@ -1653,7 +1648,6 @@ support/dependencies/check-host-xzcat.sh Shellcheck
|
||||
support/dependencies/dependencies.sh Shellcheck
|
||||
support/download/bzr Shellcheck lib_shellscript.ConsecutiveEmptyLines
|
||||
support/download/cargo-post-process Shellcheck
|
||||
support/download/cvs Shellcheck
|
||||
support/download/dl-wrapper Shellcheck
|
||||
support/download/file Shellcheck
|
||||
support/download/go-post-process Shellcheck
|
||||
|
||||
@@ -29,6 +29,9 @@ indent_size = tab
|
||||
indent_style = tab
|
||||
indent_size = tab
|
||||
|
||||
[*.patch]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[S{0..9}{0..9}*]
|
||||
indent_style = tab
|
||||
indent_size = tab
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
Thank you for opening a new issue. To help solve it faster and more easily,
|
||||
please review this check-list, and fill in the sections below. Adapt as
|
||||
needed.
|
||||
|
||||
Do not open an issue to request a new feature; instead, post a message to
|
||||
[the mailing list](https://lists.buildroot.org/mailman/listinfo/buildroot).
|
||||
|
||||
_Note: issues missing any information may get closed without further ado._
|
||||
|
||||
---
|
||||
### Check-list
|
||||
|
||||
- [ ] I did not find the issue in the existing issues
|
||||
- [ ] I can reproduce the issue with unmodified Buildroot from [this
|
||||
repository](https://gitlab.com/buildroot.org/buildroot), not from a
|
||||
fork somewhere else
|
||||
- [ ] I can reproduce the issue on the latest commit of the branch I'm using:
|
||||
- [ ] master
|
||||
- [ ] stable (i.e. 20NN.MM.x - please specify)
|
||||
- [ ] LTS (i.e. 20NN.02.x - please specify)
|
||||
- [ ] I can reproduce the issue after running `make clean; make`
|
||||
- [ ] I attached the full build log file (e.g. `make 2>&1 |tee build.log`)
|
||||
- [ ] I attached a **minimal** defconfig file that can reproduce the
|
||||
issue (`make BR2_DEFCONFIG=$(pwd)/issue_defconfig savedefconfig`)
|
||||
- [ ] I also attached the configuration for kconfig-based packages that
|
||||
are enabled (and necessary to reproduce the issue), most notably:
|
||||
- [ ] busybox
|
||||
- [ ] linux
|
||||
- [ ] uclibc
|
||||
- [ ] uboot
|
||||
- [ ] …
|
||||
|
||||
---
|
||||
### What I did
|
||||
|
||||
**Buildroot commit sha1**: _get this with `git describe HEAD`_
|
||||
**Distribution of the build machine**: _get this with `NAME` and `VERSION` from `/etc/os-release`_
|
||||
|
||||
_Here, describe what you did:_
|
||||
- _any special environment variables: CC, CXX, TARGET, CROSS_COMPILE, etc…_
|
||||
- _the commands you ran:_
|
||||
```sh
|
||||
$ make [...]
|
||||
```
|
||||
- _anything else that you might think is important…_
|
||||
|
||||
---
|
||||
### What happens
|
||||
|
||||
_Here, describe what happens that you believe was incorrect._
|
||||
|
||||
---
|
||||
### What was expected
|
||||
|
||||
_Here, describe the behaviour you expected._
|
||||
|
||||
---
|
||||
### Extra information
|
||||
|
||||
_Here, you may write additional information that does not fit above_
|
||||
@@ -1,3 +1,39 @@
|
||||
2024.05.1, released July 13th, 2024
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Infrastructure: Ensure support/scripts/apply-patches can be
|
||||
used outside Buildroot (regression in 2024.05).
|
||||
|
||||
Defconfig: Pine64 rockpro64: Build ethernet driver in kernel
|
||||
rather than as module. QEMU sh4: Change to initramfs to
|
||||
workaround regression in QEMU. Visionfive2: Correct kernel
|
||||
headers version
|
||||
|
||||
Updated/fixed packages: apache, avro-c, daq, dav1d,
|
||||
fluent-bit, ghostscript, glibc, libmad, libopenssl,
|
||||
linux-firmware, mesa3d, network-manager, ntp, nut, octave,
|
||||
openssh, openvpn, php, raspberrypi-usbboot, redis, sentry-cli,
|
||||
tor, uuu, vlc, xmrig, znc
|
||||
|
||||
2024.05, released June 12th, 2024
|
||||
|
||||
Various fixes.
|
||||
|
||||
Infrastructure: Ensure a custom tar program specified with
|
||||
make TAR=/path/to/custom/tar is used everwhere.
|
||||
|
||||
Defconfigs: Fix build issues and runtime warnings for
|
||||
Beaglebone qt5, Qemu ppc64/le pseries, TI am62x/am64x.
|
||||
|
||||
Add hashes for Beaglebone qt5, imx8mn bsh sm s2 / pro,
|
||||
stm32f429 disco XIP, stm32f769 disco sd.
|
||||
|
||||
Updated/fixed packages: bc, collectd, composer, cvs,
|
||||
docker-compose, flutter-engine, git, liblockfile, libzenoh-c,
|
||||
lightning, nginx, p11-kit, python-lxml, python3, qt6base,
|
||||
rrdtool, sofia-sip, syslog-ng, systemd, uclibc, unixodbc
|
||||
|
||||
2024.05-rc2, released June 4th, 2024
|
||||
|
||||
Fixes all over the tree.
|
||||
@@ -109,6 +145,64 @@
|
||||
#16036: android-tools version is too old
|
||||
#16075: Cannot use linux kernel extensions from external tree..
|
||||
|
||||
2024.02.3, released June 10th, 2024
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Misc:
|
||||
- Fixed a number of compilation issues for hosts using GCC
|
||||
14.x, including for kconfig.
|
||||
|
||||
Download:
|
||||
- Drop redundant --passive-ftp from default wget options and
|
||||
migrate a number of packages using FTP upstreams to HTTP(S)
|
||||
for compatibility with wget2 which does not have FTP support
|
||||
|
||||
- Ensure downloads are correctly shared for host packages that
|
||||
try to do so using <pkg>_DL_SUBDIR and ensure the correct
|
||||
toplevel directory name is used in generated tarballs when
|
||||
downloads are shared.
|
||||
|
||||
Arch: Enable SSE2 support for x86 Pentium M variant.
|
||||
|
||||
Defconfigs: Orangepi PC/R1, Raspberrypi zero2w, Sipeed
|
||||
licheepi nano, Wandboard: Fix compilation issues. PC x86-64
|
||||
bios/efi: add wireless regdb to fix kernel warning during
|
||||
boot, iMX.8 boards: Adjust FIT external data position to match
|
||||
imx-mkimage changes, fixing boot issues.
|
||||
|
||||
Updated/fixed packages: am33x-cm, apcupsd,
|
||||
arm-trusted-firmware, binutils-bare-metal, bpftool, catch2,
|
||||
ccache, cjson, clamav, cog, coreutils, cryptodev-linux,
|
||||
dhcpcd, dmraid, dnsmasq, docker-cli, docker-compose,
|
||||
docker-engine, doom-wad, duma, elf2flt, ebtables, elfutils,
|
||||
evemu, file, fluidsynth, freeradius-client, freeradius-server,
|
||||
freerdp, fwts, gcc, gcc-bare-metal, git, gnuplot, go,
|
||||
gr-osmosdr, gst1-plugins-good, hidapi, imagemagick,
|
||||
intel-gmmlib, ivi-homescreen, janus-gateway, kexec, kmod,
|
||||
kodi, libarchive, libdrm, libedit, libffi, libglib2, libhtp,
|
||||
libjwt, libkrb5, libmanette, libmdbx, libmnl,
|
||||
libnetfilter_acct, libnetfilter_log, libnpth, libopenssl,
|
||||
libpng, libuhttpd, liburiparser, libutempter, libvncserver,
|
||||
libwpe, lightning, linux-firmware, linux-pam, lua-cffi,
|
||||
luajit, lvm2, lynx, mariadb, mesa3d, micropython, minisign,
|
||||
musl, mutt, ncftp, network-manager, newlib-bare-metal, nfacct,
|
||||
nfs-utils, octave, openjpeg, openocd, oprofile,
|
||||
perl-dbd-mysql, php, postgresql, pppd, privoxy, procps-ng,
|
||||
proftpd, proj, putty, python-ml-dtypes, python-pillow,
|
||||
python-rds-py, qemu, qt5base, redis-plus-plus, rtl8189fs,
|
||||
ruby, samba4, shadow, smcroute, speech, squid, sscep,
|
||||
suricata, swupdate, systemd, ti-sgx-km, tinycbor, tinyproxy,
|
||||
tor, tpm2-tss, ttyd, uboot-tools, ulogd, vala, weston,
|
||||
wpewebkit, x11vnc, zbar, zeromq, zfs, zip, zxing-cpp
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#15766: BR2_PACKAGE_WESTON_XWAYLAND -- 12.0.1 -- fails to build..
|
||||
#15973: imx8m bootloader image generation broken since update..
|
||||
#16075: Cannot use linux kernel extensions from external tree..
|
||||
#16093: kmod and gcc-14 build error
|
||||
|
||||
2024.02.2, released May 7th, 2024
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
+3
-1
@@ -1870,6 +1870,8 @@ F: support/testing/tests/package/test_netsnmp/
|
||||
F: support/testing/tests/package/test_nftables.py
|
||||
F: support/testing/tests/package/test_nftables/
|
||||
F: support/testing/tests/package/test_ngrep.py
|
||||
F: support/testing/tests/package/test_ntp.py
|
||||
F: support/testing/tests/package/test_ntp/
|
||||
F: support/testing/tests/package/test_numactl.py
|
||||
F: support/testing/tests/package/test_numactl/
|
||||
F: support/testing/tests/package/test_octave.py
|
||||
@@ -1950,8 +1952,8 @@ F: package/libcamera/
|
||||
N: Kilian Zinnecker <kilian.zinnecker@mail.de>
|
||||
F: board/avnet/rzboard_v2l/
|
||||
F: board/radxa/rock5b/
|
||||
F: configs/rock5b_defconfig
|
||||
F: configs/avnet_rzboard_v2l_defconfig
|
||||
F: configs/rock5b_defconfig
|
||||
F: package/rockchip-rkbin/
|
||||
|
||||
N: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
|
||||
|
||||
@@ -90,9 +90,9 @@ all:
|
||||
.PHONY: all
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2024.05-rc2
|
||||
export BR2_VERSION := 2024.05.1
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1717537000
|
||||
BR2_VERSION_EPOCH = 1720871000
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
+432
@@ -0,0 +1,432 @@
|
||||
From 790756c7e0229dedc83bf058ac69633045b1000e Mon Sep 17 00:00:00 2001
|
||||
From: Nick Desaulniers <ndesaulniers@google.com>
|
||||
Date: Mon, 4 Nov 2019 19:31:45 +0100
|
||||
Subject: [PATCH] ARM: 8933/1: replace Sun/Solaris style flag on section
|
||||
directive
|
||||
|
||||
It looks like a section directive was using "Solaris style" to declare
|
||||
the section flags. Replace this with the GNU style so that Clang's
|
||||
integrated assembler can assemble this directive.
|
||||
|
||||
The modified instances were identified via:
|
||||
$ ag \.section | grep #
|
||||
|
||||
Link: https://ftp.gnu.org/old-gnu/Manuals/gas-2.9.1/html_chapter/as_7.html#SEC119
|
||||
Link: https://github.com/ClangBuiltLinux/linux/issues/744
|
||||
Link: https://bugs.llvm.org/show_bug.cgi?id=43759
|
||||
Link: https://reviews.llvm.org/D69296
|
||||
|
||||
Acked-by: Nicolas Pitre <nico@fluxnic.net>
|
||||
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
|
||||
Reviewed-by: Stefan Agner <stefan@agner.ch>
|
||||
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
|
||||
Suggested-by: Fangrui Song <maskray@google.com>
|
||||
Suggested-by: Jian Cai <jiancai@google.com>
|
||||
Suggested-by: Peter Smith <peter.smith@linaro.org>
|
||||
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
|
||||
Upstream: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=762d2dcd9e233e3025f8627ea65f23e568045edb
|
||||
---
|
||||
arch/arm/boot/bootp/init.S | 2 +-
|
||||
arch/arm/boot/compressed/big-endian.S | 2 +-
|
||||
arch/arm/boot/compressed/head.S | 2 +-
|
||||
arch/arm/boot/compressed/piggy.S | 2 +-
|
||||
arch/arm/mm/proc-arm1020.S | 2 +-
|
||||
arch/arm/mm/proc-arm1020e.S | 2 +-
|
||||
arch/arm/mm/proc-arm1022.S | 2 +-
|
||||
arch/arm/mm/proc-arm1026.S | 2 +-
|
||||
arch/arm/mm/proc-arm720.S | 2 +-
|
||||
arch/arm/mm/proc-arm740.S | 2 +-
|
||||
arch/arm/mm/proc-arm7tdmi.S | 2 +-
|
||||
arch/arm/mm/proc-arm920.S | 2 +-
|
||||
arch/arm/mm/proc-arm922.S | 2 +-
|
||||
arch/arm/mm/proc-arm925.S | 2 +-
|
||||
arch/arm/mm/proc-arm926.S | 2 +-
|
||||
arch/arm/mm/proc-arm940.S | 2 +-
|
||||
arch/arm/mm/proc-arm946.S | 2 +-
|
||||
arch/arm/mm/proc-arm9tdmi.S | 2 +-
|
||||
arch/arm/mm/proc-fa526.S | 2 +-
|
||||
arch/arm/mm/proc-feroceon.S | 2 +-
|
||||
arch/arm/mm/proc-mohawk.S | 2 +-
|
||||
arch/arm/mm/proc-sa110.S | 2 +-
|
||||
arch/arm/mm/proc-sa1100.S | 2 +-
|
||||
arch/arm/mm/proc-v6.S | 2 +-
|
||||
arch/arm/mm/proc-v7.S | 2 +-
|
||||
arch/arm/mm/proc-v7m.S | 4 ++--
|
||||
arch/arm/mm/proc-xsc3.S | 2 +-
|
||||
arch/arm/mm/proc-xscale.S | 2 +-
|
||||
28 files changed, 29 insertions(+), 29 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/boot/bootp/init.S b/arch/arm/boot/bootp/init.S
|
||||
index 5c476bd2b4ce..b562da2f7040 100644
|
||||
--- a/arch/arm/boot/bootp/init.S
|
||||
+++ b/arch/arm/boot/bootp/init.S
|
||||
@@ -13,7 +13,7 @@
|
||||
* size immediately following the kernel, we could build this into
|
||||
* a binary blob, and concatenate the zImage using the cat command.
|
||||
*/
|
||||
- .section .start,#alloc,#execinstr
|
||||
+ .section .start, "ax"
|
||||
.type _start, #function
|
||||
.globl _start
|
||||
|
||||
diff --git a/arch/arm/boot/compressed/big-endian.S b/arch/arm/boot/compressed/big-endian.S
|
||||
index 88e2a88d324b..0e092c36da2f 100644
|
||||
--- a/arch/arm/boot/compressed/big-endian.S
|
||||
+++ b/arch/arm/boot/compressed/big-endian.S
|
||||
@@ -6,7 +6,7 @@
|
||||
* Author: Nicolas Pitre
|
||||
*/
|
||||
|
||||
- .section ".start", #alloc, #execinstr
|
||||
+ .section ".start", "ax"
|
||||
|
||||
mrc p15, 0, r0, c1, c0, 0 @ read control reg
|
||||
orr r0, r0, #(1 << 7) @ enable big endian mode
|
||||
diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S
|
||||
index ae70754d003d..ead21e5f2b80 100644
|
||||
--- a/arch/arm/boot/compressed/head.S
|
||||
+++ b/arch/arm/boot/compressed/head.S
|
||||
@@ -140,7 +140,7 @@
|
||||
#endif
|
||||
.endm
|
||||
|
||||
- .section ".start", #alloc, #execinstr
|
||||
+ .section ".start", "ax"
|
||||
/*
|
||||
* sort out different calling conventions
|
||||
*/
|
||||
diff --git a/arch/arm/boot/compressed/piggy.S b/arch/arm/boot/compressed/piggy.S
|
||||
index 0284f84dcf38..27577644ee72 100644
|
||||
--- a/arch/arm/boot/compressed/piggy.S
|
||||
+++ b/arch/arm/boot/compressed/piggy.S
|
||||
@@ -1,5 +1,5 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
- .section .piggydata,#alloc
|
||||
+ .section .piggydata, "a"
|
||||
.globl input_data
|
||||
input_data:
|
||||
.incbin "arch/arm/boot/compressed/piggy_data"
|
||||
diff --git a/arch/arm/mm/proc-arm1020.S b/arch/arm/mm/proc-arm1020.S
|
||||
index 4fa5371bc662..2785da387c91 100644
|
||||
--- a/arch/arm/mm/proc-arm1020.S
|
||||
+++ b/arch/arm/mm/proc-arm1020.S
|
||||
@@ -491,7 +491,7 @@ cpu_arm1020_name:
|
||||
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.type __arm1020_proc_info,#object
|
||||
__arm1020_proc_info:
|
||||
diff --git a/arch/arm/mm/proc-arm1020e.S b/arch/arm/mm/proc-arm1020e.S
|
||||
index 5d8a8339e09a..e9ea237ed785 100644
|
||||
--- a/arch/arm/mm/proc-arm1020e.S
|
||||
+++ b/arch/arm/mm/proc-arm1020e.S
|
||||
@@ -449,7 +449,7 @@ arm1020e_crval:
|
||||
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.type __arm1020e_proc_info,#object
|
||||
__arm1020e_proc_info:
|
||||
diff --git a/arch/arm/mm/proc-arm1022.S b/arch/arm/mm/proc-arm1022.S
|
||||
index b3dd95c345e4..920c279e7879 100644
|
||||
--- a/arch/arm/mm/proc-arm1022.S
|
||||
+++ b/arch/arm/mm/proc-arm1022.S
|
||||
@@ -443,7 +443,7 @@ arm1022_crval:
|
||||
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.type __arm1022_proc_info,#object
|
||||
__arm1022_proc_info:
|
||||
diff --git a/arch/arm/mm/proc-arm1026.S b/arch/arm/mm/proc-arm1026.S
|
||||
index e927187157d7..0bdf25a95b10 100644
|
||||
--- a/arch/arm/mm/proc-arm1026.S
|
||||
+++ b/arch/arm/mm/proc-arm1026.S
|
||||
@@ -437,7 +437,7 @@ arm1026_crval:
|
||||
string cpu_arm1026_name, "ARM1026EJ-S"
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.type __arm1026_proc_info,#object
|
||||
__arm1026_proc_info:
|
||||
diff --git a/arch/arm/mm/proc-arm720.S b/arch/arm/mm/proc-arm720.S
|
||||
index c99d24363f32..39361e196d61 100644
|
||||
--- a/arch/arm/mm/proc-arm720.S
|
||||
+++ b/arch/arm/mm/proc-arm720.S
|
||||
@@ -172,7 +172,7 @@ arm720_crval:
|
||||
* See <asm/procinfo.h> for a definition of this structure.
|
||||
*/
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.macro arm720_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req, cpu_flush:req
|
||||
.type __\name\()_proc_info,#object
|
||||
diff --git a/arch/arm/mm/proc-arm740.S b/arch/arm/mm/proc-arm740.S
|
||||
index 1b4a3838393f..1a94bbf6e53f 100644
|
||||
--- a/arch/arm/mm/proc-arm740.S
|
||||
+++ b/arch/arm/mm/proc-arm740.S
|
||||
@@ -128,7 +128,7 @@ __arm740_setup:
|
||||
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
.type __arm740_proc_info,#object
|
||||
__arm740_proc_info:
|
||||
.long 0x41807400
|
||||
diff --git a/arch/arm/mm/proc-arm7tdmi.S b/arch/arm/mm/proc-arm7tdmi.S
|
||||
index 17a4687065c7..52b66cf0259e 100644
|
||||
--- a/arch/arm/mm/proc-arm7tdmi.S
|
||||
+++ b/arch/arm/mm/proc-arm7tdmi.S
|
||||
@@ -72,7 +72,7 @@ __arm7tdmi_setup:
|
||||
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.macro arm7tdmi_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req, \
|
||||
extra_hwcaps=0
|
||||
diff --git a/arch/arm/mm/proc-arm920.S b/arch/arm/mm/proc-arm920.S
|
||||
index 298c76b47749..31ac8acc34dc 100644
|
||||
--- a/arch/arm/mm/proc-arm920.S
|
||||
+++ b/arch/arm/mm/proc-arm920.S
|
||||
@@ -434,7 +434,7 @@ arm920_crval:
|
||||
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.type __arm920_proc_info,#object
|
||||
__arm920_proc_info:
|
||||
diff --git a/arch/arm/mm/proc-arm922.S b/arch/arm/mm/proc-arm922.S
|
||||
index 824be3a0bc23..ca2c7ca8af21 100644
|
||||
--- a/arch/arm/mm/proc-arm922.S
|
||||
+++ b/arch/arm/mm/proc-arm922.S
|
||||
@@ -412,7 +412,7 @@ arm922_crval:
|
||||
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.type __arm922_proc_info,#object
|
||||
__arm922_proc_info:
|
||||
diff --git a/arch/arm/mm/proc-arm925.S b/arch/arm/mm/proc-arm925.S
|
||||
index d40cff8f102c..a381a0c9f109 100644
|
||||
--- a/arch/arm/mm/proc-arm925.S
|
||||
+++ b/arch/arm/mm/proc-arm925.S
|
||||
@@ -477,7 +477,7 @@ arm925_crval:
|
||||
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.macro arm925_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req, cache
|
||||
.type __\name\()_proc_info,#object
|
||||
diff --git a/arch/arm/mm/proc-arm926.S b/arch/arm/mm/proc-arm926.S
|
||||
index 4ef89e1d1127..1ba253c2bce1 100644
|
||||
--- a/arch/arm/mm/proc-arm926.S
|
||||
+++ b/arch/arm/mm/proc-arm926.S
|
||||
@@ -460,7 +460,7 @@ arm926_crval:
|
||||
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.type __arm926_proc_info,#object
|
||||
__arm926_proc_info:
|
||||
diff --git a/arch/arm/mm/proc-arm940.S b/arch/arm/mm/proc-arm940.S
|
||||
index 1c26d991386d..4b8a00220cc9 100644
|
||||
--- a/arch/arm/mm/proc-arm940.S
|
||||
+++ b/arch/arm/mm/proc-arm940.S
|
||||
@@ -340,7 +340,7 @@ __arm940_setup:
|
||||
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.type __arm940_proc_info,#object
|
||||
__arm940_proc_info:
|
||||
diff --git a/arch/arm/mm/proc-arm946.S b/arch/arm/mm/proc-arm946.S
|
||||
index 2dc1c75a4fd4..555becf9c758 100644
|
||||
--- a/arch/arm/mm/proc-arm946.S
|
||||
+++ b/arch/arm/mm/proc-arm946.S
|
||||
@@ -395,7 +395,7 @@ __arm946_setup:
|
||||
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
.type __arm946_proc_info,#object
|
||||
__arm946_proc_info:
|
||||
.long 0x41009460
|
||||
diff --git a/arch/arm/mm/proc-arm9tdmi.S b/arch/arm/mm/proc-arm9tdmi.S
|
||||
index 913c06e590af..ef517530130b 100644
|
||||
--- a/arch/arm/mm/proc-arm9tdmi.S
|
||||
+++ b/arch/arm/mm/proc-arm9tdmi.S
|
||||
@@ -66,7 +66,7 @@ __arm9tdmi_setup:
|
||||
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.macro arm9tdmi_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req
|
||||
.type __\name\()_proc_info, #object
|
||||
diff --git a/arch/arm/mm/proc-fa526.S b/arch/arm/mm/proc-fa526.S
|
||||
index 8120b6f4dbb8..dddf833fe000 100644
|
||||
--- a/arch/arm/mm/proc-fa526.S
|
||||
+++ b/arch/arm/mm/proc-fa526.S
|
||||
@@ -185,7 +185,7 @@ fa526_cr1_set:
|
||||
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.type __fa526_proc_info,#object
|
||||
__fa526_proc_info:
|
||||
diff --git a/arch/arm/mm/proc-feroceon.S b/arch/arm/mm/proc-feroceon.S
|
||||
index bb6dc34d42a3..b12b76bc8d30 100644
|
||||
--- a/arch/arm/mm/proc-feroceon.S
|
||||
+++ b/arch/arm/mm/proc-feroceon.S
|
||||
@@ -571,7 +571,7 @@ feroceon_crval:
|
||||
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.macro feroceon_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req, cache:req
|
||||
.type __\name\()_proc_info,#object
|
||||
diff --git a/arch/arm/mm/proc-mohawk.S b/arch/arm/mm/proc-mohawk.S
|
||||
index f08308578885..d47d6c5cee63 100644
|
||||
--- a/arch/arm/mm/proc-mohawk.S
|
||||
+++ b/arch/arm/mm/proc-mohawk.S
|
||||
@@ -416,7 +416,7 @@ mohawk_crval:
|
||||
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.type __88sv331x_proc_info,#object
|
||||
__88sv331x_proc_info:
|
||||
diff --git a/arch/arm/mm/proc-sa110.S b/arch/arm/mm/proc-sa110.S
|
||||
index d5bc5d702563..baba503ba816 100644
|
||||
--- a/arch/arm/mm/proc-sa110.S
|
||||
+++ b/arch/arm/mm/proc-sa110.S
|
||||
@@ -196,7 +196,7 @@ sa110_crval:
|
||||
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.type __sa110_proc_info,#object
|
||||
__sa110_proc_info:
|
||||
diff --git a/arch/arm/mm/proc-sa1100.S b/arch/arm/mm/proc-sa1100.S
|
||||
index be7b611c76c7..75ebacc8e4e5 100644
|
||||
--- a/arch/arm/mm/proc-sa1100.S
|
||||
+++ b/arch/arm/mm/proc-sa1100.S
|
||||
@@ -239,7 +239,7 @@ sa1100_crval:
|
||||
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.macro sa1100_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req
|
||||
.type __\name\()_proc_info,#object
|
||||
diff --git a/arch/arm/mm/proc-v6.S b/arch/arm/mm/proc-v6.S
|
||||
index c1c85eb3484f..1dd0d5ca27da 100644
|
||||
--- a/arch/arm/mm/proc-v6.S
|
||||
+++ b/arch/arm/mm/proc-v6.S
|
||||
@@ -261,7 +261,7 @@ v6_crval:
|
||||
string cpu_elf_name, "v6"
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
/*
|
||||
* Match any ARMv6 processor core.
|
||||
diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S
|
||||
index c4e8006a1a8c..48e0ef6f0dcc 100644
|
||||
--- a/arch/arm/mm/proc-v7.S
|
||||
+++ b/arch/arm/mm/proc-v7.S
|
||||
@@ -644,7 +644,7 @@ __v7_setup_stack:
|
||||
string cpu_elf_name, "v7"
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
/*
|
||||
* Standard v7 proc info content
|
||||
diff --git a/arch/arm/mm/proc-v7m.S b/arch/arm/mm/proc-v7m.S
|
||||
index 1a49d503eafc..84459c1d31b8 100644
|
||||
--- a/arch/arm/mm/proc-v7m.S
|
||||
+++ b/arch/arm/mm/proc-v7m.S
|
||||
@@ -93,7 +93,7 @@ ENTRY(cpu_cm7_proc_fin)
|
||||
ret lr
|
||||
ENDPROC(cpu_cm7_proc_fin)
|
||||
|
||||
- .section ".init.text", #alloc, #execinstr
|
||||
+ .section ".init.text", "ax"
|
||||
|
||||
__v7m_cm7_setup:
|
||||
mov r8, #(V7M_SCB_CCR_DC | V7M_SCB_CCR_IC| V7M_SCB_CCR_BP)
|
||||
@@ -177,7 +177,7 @@ ENDPROC(__v7m_setup)
|
||||
string cpu_elf_name "v7m"
|
||||
string cpu_v7m_name "ARMv7-M"
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.macro __v7m_proc name, initfunc, cache_fns = nop_cache_fns, hwcaps = 0, proc_fns = v7m_processor_functions
|
||||
.long 0 /* proc_info_list.__cpu_mm_mmu_flags */
|
||||
diff --git a/arch/arm/mm/proc-xsc3.S b/arch/arm/mm/proc-xsc3.S
|
||||
index 1ac0fbbe9f12..42eaecc43cfe 100644
|
||||
--- a/arch/arm/mm/proc-xsc3.S
|
||||
+++ b/arch/arm/mm/proc-xsc3.S
|
||||
@@ -496,7 +496,7 @@ xsc3_crval:
|
||||
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.macro xsc3_proc_info name:req, cpu_val:req, cpu_mask:req
|
||||
.type __\name\()_proc_info,#object
|
||||
diff --git a/arch/arm/mm/proc-xscale.S b/arch/arm/mm/proc-xscale.S
|
||||
index bdb2b7749b03..18ac5a1f8922 100644
|
||||
--- a/arch/arm/mm/proc-xscale.S
|
||||
+++ b/arch/arm/mm/proc-xscale.S
|
||||
@@ -610,7 +610,7 @@ xscale_crval:
|
||||
|
||||
.align
|
||||
|
||||
- .section ".proc.info.init", #alloc
|
||||
+ .section ".proc.info.init", "a"
|
||||
|
||||
.macro xscale_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req, cache
|
||||
.type __\name\()_proc_info,#object
|
||||
--
|
||||
2.43.0
|
||||
|
||||
+80
@@ -0,0 +1,80 @@
|
||||
From 67a00c299c5c143817c948fbc7de1a2fa1af38fb Mon Sep 17 00:00:00 2001
|
||||
From: Kai-Heng Feng <kai.heng.feng@canonical.com>
|
||||
Date: Tue, 11 Oct 2022 10:46:17 +0800
|
||||
Subject: [PATCH] ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS
|
||||
|
||||
commit 1e41e693f458eef2d5728207dbd327cd3b16580a upstream.
|
||||
|
||||
UBSAN complains about array-index-out-of-bounds:
|
||||
[ 1.980703] kernel: UBSAN: array-index-out-of-bounds in /build/linux-9H675w/linux-5.15.0/drivers/ata/libahci.c:968:41
|
||||
[ 1.980709] kernel: index 15 is out of range for type 'ahci_em_priv [8]'
|
||||
[ 1.980713] kernel: CPU: 0 PID: 209 Comm: scsi_eh_8 Not tainted 5.15.0-25-generic #25-Ubuntu
|
||||
[ 1.980716] kernel: Hardware name: System manufacturer System Product Name/P5Q3, BIOS 1102 06/11/2010
|
||||
[ 1.980718] kernel: Call Trace:
|
||||
[ 1.980721] kernel: <TASK>
|
||||
[ 1.980723] kernel: show_stack+0x52/0x58
|
||||
[ 1.980729] kernel: dump_stack_lvl+0x4a/0x5f
|
||||
[ 1.980734] kernel: dump_stack+0x10/0x12
|
||||
[ 1.980736] kernel: ubsan_epilogue+0x9/0x45
|
||||
[ 1.980739] kernel: __ubsan_handle_out_of_bounds.cold+0x44/0x49
|
||||
[ 1.980742] kernel: ahci_qc_issue+0x166/0x170 [libahci]
|
||||
[ 1.980748] kernel: ata_qc_issue+0x135/0x240
|
||||
[ 1.980752] kernel: ata_exec_internal_sg+0x2c4/0x580
|
||||
[ 1.980754] kernel: ? vprintk_default+0x1d/0x20
|
||||
[ 1.980759] kernel: ata_exec_internal+0x67/0xa0
|
||||
[ 1.980762] kernel: sata_pmp_read+0x8d/0xc0
|
||||
[ 1.980765] kernel: sata_pmp_read_gscr+0x3c/0x90
|
||||
[ 1.980768] kernel: sata_pmp_attach+0x8b/0x310
|
||||
[ 1.980771] kernel: ata_eh_revalidate_and_attach+0x28c/0x4b0
|
||||
[ 1.980775] kernel: ata_eh_recover+0x6b6/0xb30
|
||||
[ 1.980778] kernel: ? ahci_do_hardreset+0x180/0x180 [libahci]
|
||||
[ 1.980783] kernel: ? ahci_stop_engine+0xb0/0xb0 [libahci]
|
||||
[ 1.980787] kernel: ? ahci_do_softreset+0x290/0x290 [libahci]
|
||||
[ 1.980792] kernel: ? trace_event_raw_event_ata_eh_link_autopsy_qc+0xe0/0xe0
|
||||
[ 1.980795] kernel: sata_pmp_eh_recover.isra.0+0x214/0x560
|
||||
[ 1.980799] kernel: sata_pmp_error_handler+0x23/0x40
|
||||
[ 1.980802] kernel: ahci_error_handler+0x43/0x80 [libahci]
|
||||
[ 1.980806] kernel: ata_scsi_port_error_handler+0x2b1/0x600
|
||||
[ 1.980810] kernel: ata_scsi_error+0x9c/0xd0
|
||||
[ 1.980813] kernel: scsi_error_handler+0xa1/0x180
|
||||
[ 1.980817] kernel: ? scsi_unjam_host+0x1c0/0x1c0
|
||||
[ 1.980820] kernel: kthread+0x12a/0x150
|
||||
[ 1.980823] kernel: ? set_kthread_struct+0x50/0x50
|
||||
[ 1.980826] kernel: ret_from_fork+0x22/0x30
|
||||
[ 1.980831] kernel: </TASK>
|
||||
|
||||
This happens because sata_pmp_init_links() initialize link->pmp up to
|
||||
SATA_PMP_MAX_PORTS while em_priv is declared as 8 elements array.
|
||||
|
||||
I can't find the maximum Enclosure Management ports specified in AHCI
|
||||
spec v1.3.1, but "12.2.1 LED message type" states that "Port Multiplier
|
||||
Information" can utilize 4 bits, which implies it can support up to 16
|
||||
ports. Hence, use SATA_PMP_MAX_PORTS as EM_MAX_SLOTS to resolve the
|
||||
issue.
|
||||
|
||||
BugLink: https://bugs.launchpad.net/bugs/1970074
|
||||
Cc: stable@vger.kernel.org
|
||||
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
|
||||
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
|
||||
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||||
Upstream: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=67a00c299c5c143817c948fbc7de1a2fa1af38fb
|
||||
---
|
||||
drivers/ata/ahci.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h
|
||||
index 9290e787abdc..d5b9f9689877 100644
|
||||
--- a/drivers/ata/ahci.h
|
||||
+++ b/drivers/ata/ahci.h
|
||||
@@ -265,7 +265,7 @@ enum {
|
||||
PCS_7 = 0x94, /* 7+ port PCS (Denverton) */
|
||||
|
||||
/* em constants */
|
||||
- EM_MAX_SLOTS = 8,
|
||||
+ EM_MAX_SLOTS = SATA_PMP_MAX_PORTS,
|
||||
EM_MAX_RETRY = 5,
|
||||
|
||||
/* em_ctl bits */
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@@ -0,0 +1,357 @@
|
||||
From ba6e23d2c9e3bcabda328467ba4eeca12f37e2ae Mon Sep 17 00:00:00 2001
|
||||
From: Arnd Bergmann <arnd@arndb.de>
|
||||
Date: Sat, 3 Dec 2022 11:54:25 +0100
|
||||
Subject: [PATCH] ata: ahci: fix enum constants for gcc-13
|
||||
|
||||
commit f07788079f515ca4a681c5f595bdad19cfbd7b1d upstream.
|
||||
|
||||
gcc-13 slightly changes the type of constant expressions that are defined
|
||||
in an enum, which triggers a compile time sanity check in libata:
|
||||
|
||||
linux/drivers/ata/libahci.c: In function 'ahci_led_store':
|
||||
linux/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__)
|
||||
|
||||
The new behavior is that sizeof() returns the same value for the
|
||||
constant as it does for the enum type, which is generally more sensible
|
||||
and consistent.
|
||||
|
||||
The problem in libata is that it contains a single enum definition for
|
||||
lots of unrelated constants, some of which are large positive (unsigned)
|
||||
integers like 0xffffffff, while others like (1<<31) are interpreted as
|
||||
negative integers, and this forces the enum type to become 64 bit wide
|
||||
even though most constants would still fit into a signed 32-bit 'int'.
|
||||
|
||||
Fix this by changing the entire enum definition to use BIT(x) in place
|
||||
of (1<<x), which results in all values being seen as 'unsigned' and
|
||||
fitting into an unsigned 32-bit type.
|
||||
|
||||
Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107917
|
||||
Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107405
|
||||
Reported-by: Luis Machado <luis.machado@arm.com>
|
||||
Cc: linux-ide@vger.kernel.org
|
||||
Cc: Damien Le Moal <damien.lemoal@opensource.wdc.com>
|
||||
Cc: stable@vger.kernel.org
|
||||
Cc: Randy Dunlap <rdunlap@infradead.org>
|
||||
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
|
||||
Tested-by: Luis Machado <luis.machado@arm.com>
|
||||
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
|
||||
[Backport to linux-4.19.y]
|
||||
Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
|
||||
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||||
Upstream: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4c3ddc06cedb62f2904e58fd95170bf206bee149
|
||||
---
|
||||
drivers/ata/ahci.h | 232 +++++++++++++++++++++++----------------------
|
||||
1 file changed, 117 insertions(+), 115 deletions(-)
|
||||
|
||||
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h
|
||||
index d5b9f9689877..8cc6cb14767b 100644
|
||||
--- a/drivers/ata/ahci.h
|
||||
+++ b/drivers/ata/ahci.h
|
||||
@@ -40,6 +40,7 @@
|
||||
#include <linux/libata.h>
|
||||
#include <linux/phy/phy.h>
|
||||
#include <linux/regulator/consumer.h>
|
||||
+#include <linux/bits.h>
|
||||
|
||||
/* Enclosure Management Control */
|
||||
#define EM_CTRL_MSG_TYPE 0x000f0000
|
||||
@@ -70,12 +71,12 @@ enum {
|
||||
AHCI_PORT_PRIV_FBS_DMA_SZ = AHCI_CMD_SLOT_SZ +
|
||||
AHCI_CMD_TBL_AR_SZ +
|
||||
(AHCI_RX_FIS_SZ * 16),
|
||||
- AHCI_IRQ_ON_SG = (1 << 31),
|
||||
- AHCI_CMD_ATAPI = (1 << 5),
|
||||
- AHCI_CMD_WRITE = (1 << 6),
|
||||
- AHCI_CMD_PREFETCH = (1 << 7),
|
||||
- AHCI_CMD_RESET = (1 << 8),
|
||||
- AHCI_CMD_CLR_BUSY = (1 << 10),
|
||||
+ AHCI_IRQ_ON_SG = BIT(31),
|
||||
+ AHCI_CMD_ATAPI = BIT(5),
|
||||
+ AHCI_CMD_WRITE = BIT(6),
|
||||
+ AHCI_CMD_PREFETCH = BIT(7),
|
||||
+ AHCI_CMD_RESET = BIT(8),
|
||||
+ AHCI_CMD_CLR_BUSY = BIT(10),
|
||||
|
||||
RX_FIS_PIO_SETUP = 0x20, /* offset of PIO Setup FIS data */
|
||||
RX_FIS_D2H_REG = 0x40, /* offset of D2H Register FIS data */
|
||||
@@ -93,37 +94,37 @@ enum {
|
||||
HOST_CAP2 = 0x24, /* host capabilities, extended */
|
||||
|
||||
/* HOST_CTL bits */
|
||||
- HOST_RESET = (1 << 0), /* reset controller; self-clear */
|
||||
- HOST_IRQ_EN = (1 << 1), /* global IRQ enable */
|
||||
- HOST_MRSM = (1 << 2), /* MSI Revert to Single Message */
|
||||
- HOST_AHCI_EN = (1 << 31), /* AHCI enabled */
|
||||
+ HOST_RESET = BIT(0), /* reset controller; self-clear */
|
||||
+ HOST_IRQ_EN = BIT(1), /* global IRQ enable */
|
||||
+ HOST_MRSM = BIT(2), /* MSI Revert to Single Message */
|
||||
+ HOST_AHCI_EN = BIT(31), /* AHCI enabled */
|
||||
|
||||
/* HOST_CAP bits */
|
||||
- HOST_CAP_SXS = (1 << 5), /* Supports External SATA */
|
||||
- HOST_CAP_EMS = (1 << 6), /* Enclosure Management support */
|
||||
- HOST_CAP_CCC = (1 << 7), /* Command Completion Coalescing */
|
||||
- HOST_CAP_PART = (1 << 13), /* Partial state capable */
|
||||
- HOST_CAP_SSC = (1 << 14), /* Slumber state capable */
|
||||
- HOST_CAP_PIO_MULTI = (1 << 15), /* PIO multiple DRQ support */
|
||||
- HOST_CAP_FBS = (1 << 16), /* FIS-based switching support */
|
||||
- HOST_CAP_PMP = (1 << 17), /* Port Multiplier support */
|
||||
- HOST_CAP_ONLY = (1 << 18), /* Supports AHCI mode only */
|
||||
- HOST_CAP_CLO = (1 << 24), /* Command List Override support */
|
||||
- HOST_CAP_LED = (1 << 25), /* Supports activity LED */
|
||||
- HOST_CAP_ALPM = (1 << 26), /* Aggressive Link PM support */
|
||||
- HOST_CAP_SSS = (1 << 27), /* Staggered Spin-up */
|
||||
- HOST_CAP_MPS = (1 << 28), /* Mechanical presence switch */
|
||||
- HOST_CAP_SNTF = (1 << 29), /* SNotification register */
|
||||
- HOST_CAP_NCQ = (1 << 30), /* Native Command Queueing */
|
||||
- HOST_CAP_64 = (1 << 31), /* PCI DAC (64-bit DMA) support */
|
||||
+ HOST_CAP_SXS = BIT(5), /* Supports External SATA */
|
||||
+ HOST_CAP_EMS = BIT(6), /* Enclosure Management support */
|
||||
+ HOST_CAP_CCC = BIT(7), /* Command Completion Coalescing */
|
||||
+ HOST_CAP_PART = BIT(13), /* Partial state capable */
|
||||
+ HOST_CAP_SSC = BIT(14), /* Slumber state capable */
|
||||
+ HOST_CAP_PIO_MULTI = BIT(15), /* PIO multiple DRQ support */
|
||||
+ HOST_CAP_FBS = BIT(16), /* FIS-based switching support */
|
||||
+ HOST_CAP_PMP = BIT(17), /* Port Multiplier support */
|
||||
+ HOST_CAP_ONLY = BIT(18), /* Supports AHCI mode only */
|
||||
+ HOST_CAP_CLO = BIT(24), /* Command List Override support */
|
||||
+ HOST_CAP_LED = BIT(25), /* Supports activity LED */
|
||||
+ HOST_CAP_ALPM = BIT(26), /* Aggressive Link PM support */
|
||||
+ HOST_CAP_SSS = BIT(27), /* Staggered Spin-up */
|
||||
+ HOST_CAP_MPS = BIT(28), /* Mechanical presence switch */
|
||||
+ HOST_CAP_SNTF = BIT(29), /* SNotification register */
|
||||
+ HOST_CAP_NCQ = BIT(30), /* Native Command Queueing */
|
||||
+ HOST_CAP_64 = BIT(31), /* PCI DAC (64-bit DMA) support */
|
||||
|
||||
/* HOST_CAP2 bits */
|
||||
- HOST_CAP2_BOH = (1 << 0), /* BIOS/OS handoff supported */
|
||||
- HOST_CAP2_NVMHCI = (1 << 1), /* NVMHCI supported */
|
||||
- HOST_CAP2_APST = (1 << 2), /* Automatic partial to slumber */
|
||||
- HOST_CAP2_SDS = (1 << 3), /* Support device sleep */
|
||||
- HOST_CAP2_SADM = (1 << 4), /* Support aggressive DevSlp */
|
||||
- HOST_CAP2_DESO = (1 << 5), /* DevSlp from slumber only */
|
||||
+ HOST_CAP2_BOH = BIT(0), /* BIOS/OS handoff supported */
|
||||
+ HOST_CAP2_NVMHCI = BIT(1), /* NVMHCI supported */
|
||||
+ HOST_CAP2_APST = BIT(2), /* Automatic partial to slumber */
|
||||
+ HOST_CAP2_SDS = BIT(3), /* Support device sleep */
|
||||
+ HOST_CAP2_SADM = BIT(4), /* Support aggressive DevSlp */
|
||||
+ HOST_CAP2_DESO = BIT(5), /* DevSlp from slumber only */
|
||||
|
||||
/* registers for each SATA port */
|
||||
PORT_LST_ADDR = 0x00, /* command list DMA addr */
|
||||
@@ -145,24 +146,25 @@ enum {
|
||||
PORT_DEVSLP = 0x44, /* device sleep */
|
||||
|
||||
/* PORT_IRQ_{STAT,MASK} bits */
|
||||
- PORT_IRQ_COLD_PRES = (1 << 31), /* cold presence detect */
|
||||
- PORT_IRQ_TF_ERR = (1 << 30), /* task file error */
|
||||
- PORT_IRQ_HBUS_ERR = (1 << 29), /* host bus fatal error */
|
||||
- PORT_IRQ_HBUS_DATA_ERR = (1 << 28), /* host bus data error */
|
||||
- PORT_IRQ_IF_ERR = (1 << 27), /* interface fatal error */
|
||||
- PORT_IRQ_IF_NONFATAL = (1 << 26), /* interface non-fatal error */
|
||||
- PORT_IRQ_OVERFLOW = (1 << 24), /* xfer exhausted available S/G */
|
||||
- PORT_IRQ_BAD_PMP = (1 << 23), /* incorrect port multiplier */
|
||||
-
|
||||
- PORT_IRQ_PHYRDY = (1 << 22), /* PhyRdy changed */
|
||||
- PORT_IRQ_DEV_ILCK = (1 << 7), /* device interlock */
|
||||
- PORT_IRQ_CONNECT = (1 << 6), /* port connect change status */
|
||||
- PORT_IRQ_SG_DONE = (1 << 5), /* descriptor processed */
|
||||
- PORT_IRQ_UNK_FIS = (1 << 4), /* unknown FIS rx'd */
|
||||
- PORT_IRQ_SDB_FIS = (1 << 3), /* Set Device Bits FIS rx'd */
|
||||
- PORT_IRQ_DMAS_FIS = (1 << 2), /* DMA Setup FIS rx'd */
|
||||
- PORT_IRQ_PIOS_FIS = (1 << 1), /* PIO Setup FIS rx'd */
|
||||
- PORT_IRQ_D2H_REG_FIS = (1 << 0), /* D2H Register FIS rx'd */
|
||||
+ PORT_IRQ_COLD_PRES = BIT(31), /* cold presence detect */
|
||||
+ PORT_IRQ_TF_ERR = BIT(30), /* task file error */
|
||||
+ PORT_IRQ_HBUS_ERR = BIT(29), /* host bus fatal error */
|
||||
+ PORT_IRQ_HBUS_DATA_ERR = BIT(28), /* host bus data error */
|
||||
+ PORT_IRQ_IF_ERR = BIT(27), /* interface fatal error */
|
||||
+ PORT_IRQ_IF_NONFATAL = BIT(26), /* interface non-fatal error */
|
||||
+ PORT_IRQ_OVERFLOW = BIT(24), /* xfer exhausted available S/G */
|
||||
+ PORT_IRQ_BAD_PMP = BIT(23), /* incorrect port multiplier */
|
||||
+
|
||||
+ PORT_IRQ_PHYRDY = BIT(22), /* PhyRdy changed */
|
||||
+ PORT_IRQ_DEV_ILCK = BIT(7), /* device interlock */
|
||||
+ PORT_IRQ_DMPS = BIT(7), /* mechanical presence status */
|
||||
+ PORT_IRQ_CONNECT = BIT(6), /* port connect change status */
|
||||
+ PORT_IRQ_SG_DONE = BIT(5), /* descriptor processed */
|
||||
+ PORT_IRQ_UNK_FIS = BIT(4), /* unknown FIS rx'd */
|
||||
+ PORT_IRQ_SDB_FIS = BIT(3), /* Set Device Bits FIS rx'd */
|
||||
+ PORT_IRQ_DMAS_FIS = BIT(2), /* DMA Setup FIS rx'd */
|
||||
+ PORT_IRQ_PIOS_FIS = BIT(1), /* PIO Setup FIS rx'd */
|
||||
+ PORT_IRQ_D2H_REG_FIS = BIT(0), /* D2H Register FIS rx'd */
|
||||
|
||||
PORT_IRQ_FREEZE = PORT_IRQ_HBUS_ERR |
|
||||
PORT_IRQ_IF_ERR |
|
||||
@@ -178,34 +180,34 @@ enum {
|
||||
PORT_IRQ_PIOS_FIS | PORT_IRQ_D2H_REG_FIS,
|
||||
|
||||
/* PORT_CMD bits */
|
||||
- PORT_CMD_ASP = (1 << 27), /* Aggressive Slumber/Partial */
|
||||
- PORT_CMD_ALPE = (1 << 26), /* Aggressive Link PM enable */
|
||||
- PORT_CMD_ATAPI = (1 << 24), /* Device is ATAPI */
|
||||
- PORT_CMD_FBSCP = (1 << 22), /* FBS Capable Port */
|
||||
- PORT_CMD_ESP = (1 << 21), /* External Sata Port */
|
||||
- PORT_CMD_HPCP = (1 << 18), /* HotPlug Capable Port */
|
||||
- PORT_CMD_PMP = (1 << 17), /* PMP attached */
|
||||
- PORT_CMD_LIST_ON = (1 << 15), /* cmd list DMA engine running */
|
||||
- PORT_CMD_FIS_ON = (1 << 14), /* FIS DMA engine running */
|
||||
- PORT_CMD_FIS_RX = (1 << 4), /* Enable FIS receive DMA engine */
|
||||
- PORT_CMD_CLO = (1 << 3), /* Command list override */
|
||||
- PORT_CMD_POWER_ON = (1 << 2), /* Power up device */
|
||||
- PORT_CMD_SPIN_UP = (1 << 1), /* Spin up device */
|
||||
- PORT_CMD_START = (1 << 0), /* Enable port DMA engine */
|
||||
-
|
||||
- PORT_CMD_ICC_MASK = (0xf << 28), /* i/f ICC state mask */
|
||||
- PORT_CMD_ICC_ACTIVE = (0x1 << 28), /* Put i/f in active state */
|
||||
- PORT_CMD_ICC_PARTIAL = (0x2 << 28), /* Put i/f in partial state */
|
||||
- PORT_CMD_ICC_SLUMBER = (0x6 << 28), /* Put i/f in slumber state */
|
||||
+ PORT_CMD_ASP = BIT(27), /* Aggressive Slumber/Partial */
|
||||
+ PORT_CMD_ALPE = BIT(26), /* Aggressive Link PM enable */
|
||||
+ PORT_CMD_ATAPI = BIT(24), /* Device is ATAPI */
|
||||
+ PORT_CMD_FBSCP = BIT(22), /* FBS Capable Port */
|
||||
+ PORT_CMD_ESP = BIT(21), /* External Sata Port */
|
||||
+ PORT_CMD_HPCP = BIT(18), /* HotPlug Capable Port */
|
||||
+ PORT_CMD_PMP = BIT(17), /* PMP attached */
|
||||
+ PORT_CMD_LIST_ON = BIT(15), /* cmd list DMA engine running */
|
||||
+ PORT_CMD_FIS_ON = BIT(14), /* FIS DMA engine running */
|
||||
+ PORT_CMD_FIS_RX = BIT(4), /* Enable FIS receive DMA engine */
|
||||
+ PORT_CMD_CLO = BIT(3), /* Command list override */
|
||||
+ PORT_CMD_POWER_ON = BIT(2), /* Power up device */
|
||||
+ PORT_CMD_SPIN_UP = BIT(1), /* Spin up device */
|
||||
+ PORT_CMD_START = BIT(0), /* Enable port DMA engine */
|
||||
+
|
||||
+ PORT_CMD_ICC_MASK = (0xfu << 28), /* i/f ICC state mask */
|
||||
+ PORT_CMD_ICC_ACTIVE = (0x1u << 28), /* Put i/f in active state */
|
||||
+ PORT_CMD_ICC_PARTIAL = (0x2u << 28), /* Put i/f in partial state */
|
||||
+ PORT_CMD_ICC_SLUMBER = (0x6u << 28), /* Put i/f in slumber state */
|
||||
|
||||
/* PORT_FBS bits */
|
||||
PORT_FBS_DWE_OFFSET = 16, /* FBS device with error offset */
|
||||
PORT_FBS_ADO_OFFSET = 12, /* FBS active dev optimization offset */
|
||||
PORT_FBS_DEV_OFFSET = 8, /* FBS device to issue offset */
|
||||
PORT_FBS_DEV_MASK = (0xf << PORT_FBS_DEV_OFFSET), /* FBS.DEV */
|
||||
- PORT_FBS_SDE = (1 << 2), /* FBS single device error */
|
||||
- PORT_FBS_DEC = (1 << 1), /* FBS device error clear */
|
||||
- PORT_FBS_EN = (1 << 0), /* Enable FBS */
|
||||
+ PORT_FBS_SDE = BIT(2), /* FBS single device error */
|
||||
+ PORT_FBS_DEC = BIT(1), /* FBS device error clear */
|
||||
+ PORT_FBS_EN = BIT(0), /* Enable FBS */
|
||||
|
||||
/* PORT_DEVSLP bits */
|
||||
PORT_DEVSLP_DM_OFFSET = 25, /* DITO multiplier offset */
|
||||
@@ -213,45 +215,45 @@ enum {
|
||||
PORT_DEVSLP_DITO_OFFSET = 15, /* DITO offset */
|
||||
PORT_DEVSLP_MDAT_OFFSET = 10, /* Minimum assertion time */
|
||||
PORT_DEVSLP_DETO_OFFSET = 2, /* DevSlp exit timeout */
|
||||
- PORT_DEVSLP_DSP = (1 << 1), /* DevSlp present */
|
||||
- PORT_DEVSLP_ADSE = (1 << 0), /* Aggressive DevSlp enable */
|
||||
+ PORT_DEVSLP_DSP = BIT(1), /* DevSlp present */
|
||||
+ PORT_DEVSLP_ADSE = BIT(0), /* Aggressive DevSlp enable */
|
||||
|
||||
/* hpriv->flags bits */
|
||||
|
||||
#define AHCI_HFLAGS(flags) .private_data = (void *)(flags)
|
||||
|
||||
- AHCI_HFLAG_NO_NCQ = (1 << 0),
|
||||
- AHCI_HFLAG_IGN_IRQ_IF_ERR = (1 << 1), /* ignore IRQ_IF_ERR */
|
||||
- AHCI_HFLAG_IGN_SERR_INTERNAL = (1 << 2), /* ignore SERR_INTERNAL */
|
||||
- AHCI_HFLAG_32BIT_ONLY = (1 << 3), /* force 32bit */
|
||||
- AHCI_HFLAG_MV_PATA = (1 << 4), /* PATA port */
|
||||
- AHCI_HFLAG_NO_MSI = (1 << 5), /* no PCI MSI */
|
||||
- AHCI_HFLAG_NO_PMP = (1 << 6), /* no PMP */
|
||||
- AHCI_HFLAG_SECT255 = (1 << 8), /* max 255 sectors */
|
||||
- AHCI_HFLAG_YES_NCQ = (1 << 9), /* force NCQ cap on */
|
||||
- AHCI_HFLAG_NO_SUSPEND = (1 << 10), /* don't suspend */
|
||||
- AHCI_HFLAG_SRST_TOUT_IS_OFFLINE = (1 << 11), /* treat SRST timeout as
|
||||
- link offline */
|
||||
- AHCI_HFLAG_NO_SNTF = (1 << 12), /* no sntf */
|
||||
- AHCI_HFLAG_NO_FPDMA_AA = (1 << 13), /* no FPDMA AA */
|
||||
- AHCI_HFLAG_YES_FBS = (1 << 14), /* force FBS cap on */
|
||||
- AHCI_HFLAG_DELAY_ENGINE = (1 << 15), /* do not start engine on
|
||||
- port start (wait until
|
||||
- error-handling stage) */
|
||||
- AHCI_HFLAG_NO_DEVSLP = (1 << 17), /* no device sleep */
|
||||
- AHCI_HFLAG_NO_FBS = (1 << 18), /* no FBS */
|
||||
+ AHCI_HFLAG_NO_NCQ = BIT(0),
|
||||
+ AHCI_HFLAG_IGN_IRQ_IF_ERR = BIT(1), /* ignore IRQ_IF_ERR */
|
||||
+ AHCI_HFLAG_IGN_SERR_INTERNAL = BIT(2), /* ignore SERR_INTERNAL */
|
||||
+ AHCI_HFLAG_32BIT_ONLY = BIT(3), /* force 32bit */
|
||||
+ AHCI_HFLAG_MV_PATA = BIT(4), /* PATA port */
|
||||
+ AHCI_HFLAG_NO_MSI = BIT(5), /* no PCI MSI */
|
||||
+ AHCI_HFLAG_NO_PMP = BIT(6), /* no PMP */
|
||||
+ AHCI_HFLAG_SECT255 = BIT(8), /* max 255 sectors */
|
||||
+ AHCI_HFLAG_YES_NCQ = BIT(9), /* force NCQ cap on */
|
||||
+ AHCI_HFLAG_NO_SUSPEND = BIT(10), /* don't suspend */
|
||||
+ AHCI_HFLAG_SRST_TOUT_IS_OFFLINE = BIT(11), /* treat SRST timeout as
|
||||
+ link offline */
|
||||
+ AHCI_HFLAG_NO_SNTF = BIT(12), /* no sntf */
|
||||
+ AHCI_HFLAG_NO_FPDMA_AA = BIT(13), /* no FPDMA AA */
|
||||
+ AHCI_HFLAG_YES_FBS = BIT(14), /* force FBS cap on */
|
||||
+ AHCI_HFLAG_DELAY_ENGINE = BIT(15), /* do not start engine on
|
||||
+ port start (wait until
|
||||
+ error-handling stage) */
|
||||
+ AHCI_HFLAG_NO_DEVSLP = BIT(17), /* no device sleep */
|
||||
+ AHCI_HFLAG_NO_FBS = BIT(18), /* no FBS */
|
||||
|
||||
#ifdef CONFIG_PCI_MSI
|
||||
- AHCI_HFLAG_MULTI_MSI = (1 << 20), /* per-port MSI(-X) */
|
||||
+ AHCI_HFLAG_MULTI_MSI = BIT(20), /* per-port MSI(-X) */
|
||||
#else
|
||||
/* compile out MSI infrastructure */
|
||||
AHCI_HFLAG_MULTI_MSI = 0,
|
||||
#endif
|
||||
- AHCI_HFLAG_WAKE_BEFORE_STOP = (1 << 22), /* wake before DMA stop */
|
||||
- AHCI_HFLAG_YES_ALPM = (1 << 23), /* force ALPM cap on */
|
||||
- AHCI_HFLAG_NO_WRITE_TO_RO = (1 << 24), /* don't write to read
|
||||
- only registers */
|
||||
- AHCI_HFLAG_IS_MOBILE = (1 << 25), /* mobile chipset, use
|
||||
+ AHCI_HFLAG_WAKE_BEFORE_STOP = BIT(22), /* wake before DMA stop */
|
||||
+ AHCI_HFLAG_YES_ALPM = BIT(23), /* force ALPM cap on */
|
||||
+ AHCI_HFLAG_NO_WRITE_TO_RO = BIT(24), /* don't write to read
|
||||
+ only registers */
|
||||
+ AHCI_HFLAG_IS_MOBILE = BIT(25), /* mobile chipset, use
|
||||
SATA_MOBILE_LPM_POLICY
|
||||
as default lpm_policy */
|
||||
|
||||
@@ -269,22 +271,22 @@ enum {
|
||||
EM_MAX_RETRY = 5,
|
||||
|
||||
/* em_ctl bits */
|
||||
- EM_CTL_RST = (1 << 9), /* Reset */
|
||||
- EM_CTL_TM = (1 << 8), /* Transmit Message */
|
||||
- EM_CTL_MR = (1 << 0), /* Message Received */
|
||||
- EM_CTL_ALHD = (1 << 26), /* Activity LED */
|
||||
- EM_CTL_XMT = (1 << 25), /* Transmit Only */
|
||||
- EM_CTL_SMB = (1 << 24), /* Single Message Buffer */
|
||||
- EM_CTL_SGPIO = (1 << 19), /* SGPIO messages supported */
|
||||
- EM_CTL_SES = (1 << 18), /* SES-2 messages supported */
|
||||
- EM_CTL_SAFTE = (1 << 17), /* SAF-TE messages supported */
|
||||
- EM_CTL_LED = (1 << 16), /* LED messages supported */
|
||||
+ EM_CTL_RST = BIT(9), /* Reset */
|
||||
+ EM_CTL_TM = BIT(8), /* Transmit Message */
|
||||
+ EM_CTL_MR = BIT(0), /* Message Received */
|
||||
+ EM_CTL_ALHD = BIT(26), /* Activity LED */
|
||||
+ EM_CTL_XMT = BIT(25), /* Transmit Only */
|
||||
+ EM_CTL_SMB = BIT(24), /* Single Message Buffer */
|
||||
+ EM_CTL_SGPIO = BIT(19), /* SGPIO messages supported */
|
||||
+ EM_CTL_SES = BIT(18), /* SES-2 messages supported */
|
||||
+ EM_CTL_SAFTE = BIT(17), /* SAF-TE messages supported */
|
||||
+ EM_CTL_LED = BIT(16), /* LED messages supported */
|
||||
|
||||
/* em message type */
|
||||
- EM_MSG_TYPE_LED = (1 << 0), /* LED */
|
||||
- EM_MSG_TYPE_SAFTE = (1 << 1), /* SAF-TE */
|
||||
- EM_MSG_TYPE_SES2 = (1 << 2), /* SES-2 */
|
||||
- EM_MSG_TYPE_SGPIO = (1 << 3), /* SGPIO */
|
||||
+ EM_MSG_TYPE_LED = BIT(0), /* LED */
|
||||
+ EM_MSG_TYPE_SAFTE = BIT(1), /* SAF-TE */
|
||||
+ EM_MSG_TYPE_SES2 = BIT(2), /* SES-2 */
|
||||
+ EM_MSG_TYPE_SGPIO = BIT(3), /* SGPIO */
|
||||
};
|
||||
|
||||
struct ahci_cmd_hdr {
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 394523e61eabf24bf920981ba967799ff90b6099a72dc1d1b92c918433439f61 linux-4.19.94-ti-r72.tar.gz
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 0d438b1bb5cceb57a18ea2de4a0d51f7be5b05b98717df05938636e0aadfe11a u-boot-2021.04.tar.bz2
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 fc4cdac7c08fc398b6d4b705285dc13ac2d2b30a7449c6f07e9ccd81207241df arm-trusted-firmware-v2.5.tar.gz
|
||||
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 3e4d8e561da5703a205ae8d7b2bed6c5c64fc4299eebcbfd20481e63b57d5ee3 linux-6.1.6.tar.xz
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 e31cac91545ff41b71cec5d8c22afd695645cd6e2a442ccdacacd60534069341 u-boot-2023.04.tar.bz2
|
||||
@@ -0,0 +1,3 @@
|
||||
CONFIG_STMMAC_ETH=y
|
||||
CONFIG_STMMAC_PLATFORM=y
|
||||
CONFIG_DWMAC_ROCKCHIP=y
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-sh4 -M r2d -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append "rootwait root=/dev/sda console=ttySC1,115200 noiotrap" -serial null -serial stdio -net nic,model=rtl8139 -net user # qemu_sh4_r2d_defconfig
|
||||
qemu-system-sh4 -M r2d -kernel output/images/zImage -append "console=ttySC1,115200 noiotrap" -serial null -serial stdio -net nic,model=rtl8139 -net user # qemu_sh4_r2d_defconfig
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
The graphical window is the framebuffer.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-sh4eb -M r2d -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append "rootwait root=/dev/sda console=ttySC1,115200 noiotrap" -serial null -serial stdio -net nic,model=rtl8139 -net user # qemu_sh4eb_r2d_defconfig
|
||||
qemu-system-sh4eb -M r2d -kernel output/images/zImage -append "console=ttySC1,115200 noiotrap" -serial null -serial stdio -net nic,model=rtl8139 -net user # qemu_sh4eb_r2d_defconfig
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
The graphical window is the framebuffer.
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 c2b74b96dd3d0cc9f300914ef7c4eef76d5fac9de6047961f49e69447ce9f905 linux-6.1.27.tar.xz
|
||||
+1
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 8beb69ada46f1cbca2f4cf901ec078846035c1cd925d9471422f65aff74243ba linux-5.15.108.tar.xz
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 e31cac91545ff41b71cec5d8c22afd695645cd6e2a442ccdacacd60534069341 u-boot-2023.04.tar.bz2
|
||||
+75
@@ -0,0 +1,75 @@
|
||||
From 750cdf4cb6791c45d479ed73a97728100394fb32 Mon Sep 17 00:00:00 2001
|
||||
From: Udit Kumar <u-kumar1@ti.com>
|
||||
Date: Tue, 13 Feb 2024 13:56:40 +0530
|
||||
Subject: [PATCH] clk: keystone: sci-clk: Adding support for non contiguous
|
||||
clocks
|
||||
X-Developer-Signature: v=1; a=openpgp-sha256; l=1876; i=bb@ti.com;
|
||||
h=from:subject; bh=CKSvD6FpqwRzx8blynhoCEc3XUR5TlwjFJdcgjQwpgg=;
|
||||
b=owNCWmg5MUFZJlNZHYzOLwAAZP/////7puP/r7v/9q9s+8t7wa8/97UZO//d+XvPsvfv2/+wA
|
||||
RsYHaQAAAAAAAAGg09IPUGmgAaAANBoAAAGmnqAPU9Q0DQ0HqMQDQ8ptTeqeogaABoPU0NAPUAA
|
||||
0GgDJ6gANAAMg0GmgNGgDEGh6jR6h6hp6mgepoPU2oDTIGho0IaHqA00yDQNBoGTRoDTRkAZNAD
|
||||
AmTIBkGjIGmQyAZDRkAaANAYIxBk0DQAAHODcFn1CAGBsJeG8ZtU3FQCBdLH7LjDIouHeAszY1j
|
||||
AFkqjaWIFXEVi8NV3giRplb1JjCYunXimTaK06SgQRYsUGRSbKOVQP2t1LlAYS93QjOMWF6CHXK
|
||||
69KzHyBDpXR2mHAAkHcHX0X3SAYJkxPElwJ1ZnHK1RfDKRfJcRQKzxnryM+4x2mCxpIFIIjpVLk
|
||||
nItd1Vl1SEF2QiWZIYV4b0lawcUqLGgTQZ0+qpJ5QORYrvPXE4DR89JlJYBU4DjxAoyACH6KN0o
|
||||
AiaknqZTfMwmF8iREpU4SgDEVun3X3OFlkBp3hBO+Ynb12GJoLSFBSz9IWE2ooLKFalh5XJMZfl
|
||||
+GthEEOnlrMQHOF8qCr+JAKqXEqSrwLGuEIMFbnGEjJYruo4ENGOmGVlkvW+kLRp5ibCXAAcDMM
|
||||
TPOUZ/i7kinChIDsZnF4A==
|
||||
X-Developer-Key: i=bb@ti.com; a=openpgp;
|
||||
fpr=D3D177E40A38DF4D1853FEEF41B90D5D71D56CE0
|
||||
|
||||
Most of clocks and their parents are defined in contiguous range,
|
||||
But in few cases, there is gap in clock numbers[0].
|
||||
Driver assumes clocks to be in contiguous range, and add their clock
|
||||
ids incrementally.
|
||||
|
||||
New firmware started returning error while calling get_freq and is_on
|
||||
API for non-available clock ids.
|
||||
|
||||
In this fix, driver checks and adds only valid clock ids.
|
||||
|
||||
[0] https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/j7200/clocks.html
|
||||
Section Clocks for NAVSS0_CPTS_0 Device, clock id 12-15 not present.
|
||||
|
||||
Fixes: 3c13933c6033 ("clk: keystone: sci-clk: add support for dynamically probing clocks")
|
||||
Signed-off-by: Udit Kumar <u-kumar1@ti.com>
|
||||
Reviewed-by: Nishanth Menon <nm@ti.com>
|
||||
Upstream: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ad3ac13c6ec318b43e769cc9ffde67528e58e555
|
||||
Signed-off-by: Bryan Brattlof <bb@ti.com>
|
||||
---
|
||||
drivers/clk/keystone/sci-clk.c | 10 ++++++++++
|
||||
1 file changed, 10 insertions(+)
|
||||
|
||||
diff --git a/drivers/clk/keystone/sci-clk.c b/drivers/clk/keystone/sci-clk.c
|
||||
index 35fe197dd303c..eb2ef44869b23 100644
|
||||
--- a/drivers/clk/keystone/sci-clk.c
|
||||
+++ b/drivers/clk/keystone/sci-clk.c
|
||||
@@ -516,6 +516,7 @@ static int ti_sci_scan_clocks_from_dt(struct sci_clk_provider *provider)
|
||||
struct sci_clk *sci_clk, *prev;
|
||||
int num_clks = 0;
|
||||
int num_parents;
|
||||
+ bool state;
|
||||
int clk_id;
|
||||
const char * const clk_names[] = {
|
||||
"clocks", "assigned-clocks", "assigned-clock-parents", NULL
|
||||
@@ -586,6 +587,15 @@ static int ti_sci_scan_clocks_from_dt(struct sci_clk_provider *provider)
|
||||
clk_id = args.args[1] + 1;
|
||||
|
||||
while (num_parents--) {
|
||||
+ /* Check if this clock id is valid */
|
||||
+ ret = provider->ops->is_auto(provider->sci,
|
||||
+ sci_clk->dev_id, clk_id, &state);
|
||||
+
|
||||
+ if (ret) {
|
||||
+ clk_id++;
|
||||
+ continue;
|
||||
+ }
|
||||
+
|
||||
sci_clk = devm_kzalloc(dev,
|
||||
sizeof(*sci_clk),
|
||||
GFP_KERNEL);
|
||||
|
||||
base-commit: 9fbb5fcb41e7e96fb8769a9f5a12a35a984c23bd
|
||||
--
|
||||
2.43.2
|
||||
|
||||
+75
@@ -0,0 +1,75 @@
|
||||
From 750cdf4cb6791c45d479ed73a97728100394fb32 Mon Sep 17 00:00:00 2001
|
||||
From: Udit Kumar <u-kumar1@ti.com>
|
||||
Date: Tue, 13 Feb 2024 13:56:40 +0530
|
||||
Subject: [PATCH] clk: keystone: sci-clk: Adding support for non contiguous
|
||||
clocks
|
||||
X-Developer-Signature: v=1; a=openpgp-sha256; l=1876; i=bb@ti.com;
|
||||
h=from:subject; bh=CKSvD6FpqwRzx8blynhoCEc3XUR5TlwjFJdcgjQwpgg=;
|
||||
b=owNCWmg5MUFZJlNZHYzOLwAAZP/////7puP/r7v/9q9s+8t7wa8/97UZO//d+XvPsvfv2/+wA
|
||||
RsYHaQAAAAAAAAGg09IPUGmgAaAANBoAAAGmnqAPU9Q0DQ0HqMQDQ8ptTeqeogaABoPU0NAPUAA
|
||||
0GgDJ6gANAAMg0GmgNGgDEGh6jR6h6hp6mgepoPU2oDTIGho0IaHqA00yDQNBoGTRoDTRkAZNAD
|
||||
AmTIBkGjIGmQyAZDRkAaANAYIxBk0DQAAHODcFn1CAGBsJeG8ZtU3FQCBdLH7LjDIouHeAszY1j
|
||||
AFkqjaWIFXEVi8NV3giRplb1JjCYunXimTaK06SgQRYsUGRSbKOVQP2t1LlAYS93QjOMWF6CHXK
|
||||
69KzHyBDpXR2mHAAkHcHX0X3SAYJkxPElwJ1ZnHK1RfDKRfJcRQKzxnryM+4x2mCxpIFIIjpVLk
|
||||
nItd1Vl1SEF2QiWZIYV4b0lawcUqLGgTQZ0+qpJ5QORYrvPXE4DR89JlJYBU4DjxAoyACH6KN0o
|
||||
AiaknqZTfMwmF8iREpU4SgDEVun3X3OFlkBp3hBO+Ynb12GJoLSFBSz9IWE2ooLKFalh5XJMZfl
|
||||
+GthEEOnlrMQHOF8qCr+JAKqXEqSrwLGuEIMFbnGEjJYruo4ENGOmGVlkvW+kLRp5ibCXAAcDMM
|
||||
TPOUZ/i7kinChIDsZnF4A==
|
||||
X-Developer-Key: i=bb@ti.com; a=openpgp;
|
||||
fpr=D3D177E40A38DF4D1853FEEF41B90D5D71D56CE0
|
||||
|
||||
Most of clocks and their parents are defined in contiguous range,
|
||||
But in few cases, there is gap in clock numbers[0].
|
||||
Driver assumes clocks to be in contiguous range, and add their clock
|
||||
ids incrementally.
|
||||
|
||||
New firmware started returning error while calling get_freq and is_on
|
||||
API for non-available clock ids.
|
||||
|
||||
In this fix, driver checks and adds only valid clock ids.
|
||||
|
||||
[0] https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/j7200/clocks.html
|
||||
Section Clocks for NAVSS0_CPTS_0 Device, clock id 12-15 not present.
|
||||
|
||||
Fixes: 3c13933c6033 ("clk: keystone: sci-clk: add support for dynamically probing clocks")
|
||||
Signed-off-by: Udit Kumar <u-kumar1@ti.com>
|
||||
Reviewed-by: Nishanth Menon <nm@ti.com>
|
||||
Upstream: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ad3ac13c6ec318b43e769cc9ffde67528e58e555
|
||||
Signed-off-by: Bryan Brattlof <bb@ti.com>
|
||||
---
|
||||
drivers/clk/keystone/sci-clk.c | 10 ++++++++++
|
||||
1 file changed, 10 insertions(+)
|
||||
|
||||
diff --git a/drivers/clk/keystone/sci-clk.c b/drivers/clk/keystone/sci-clk.c
|
||||
index 35fe197dd303c..eb2ef44869b23 100644
|
||||
--- a/drivers/clk/keystone/sci-clk.c
|
||||
+++ b/drivers/clk/keystone/sci-clk.c
|
||||
@@ -516,6 +516,7 @@ static int ti_sci_scan_clocks_from_dt(struct sci_clk_provider *provider)
|
||||
struct sci_clk *sci_clk, *prev;
|
||||
int num_clks = 0;
|
||||
int num_parents;
|
||||
+ bool state;
|
||||
int clk_id;
|
||||
const char * const clk_names[] = {
|
||||
"clocks", "assigned-clocks", "assigned-clock-parents", NULL
|
||||
@@ -586,6 +587,15 @@ static int ti_sci_scan_clocks_from_dt(struct sci_clk_provider *provider)
|
||||
clk_id = args.args[1] + 1;
|
||||
|
||||
while (num_parents--) {
|
||||
+ /* Check if this clock id is valid */
|
||||
+ ret = provider->ops->is_auto(provider->sci,
|
||||
+ sci_clk->dev_id, clk_id, &state);
|
||||
+
|
||||
+ if (ret) {
|
||||
+ clk_id++;
|
||||
+ continue;
|
||||
+ }
|
||||
+
|
||||
sci_clk = devm_kzalloc(dev,
|
||||
sizeof(*sci_clk),
|
||||
GFP_KERNEL);
|
||||
|
||||
base-commit: 9fbb5fcb41e7e96fb8769a9f5a12a35a984c23bd
|
||||
--
|
||||
2.43.2
|
||||
|
||||
@@ -4,6 +4,7 @@ BR2_GLOBAL_PATCH_DIR="board/beaglebone/patches"
|
||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_CXX=y
|
||||
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
|
||||
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
|
||||
BR2_ROOTFS_OVERLAY="board/beaglebone/rootfs_overlay"
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/beaglebone/post-build.sh"
|
||||
@@ -11,7 +12,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beaglebone/genimage.cfg"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,4.19.79-ti-r30)/linux-4.19.79-ti-r30.tar.gz"
|
||||
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,4.19.94-ti-r72)/linux-4.19.94-ti-r72.tar.gz"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="omap2plus"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/beaglebone/linux-sgx.fragment"
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
BR2_aarch64=y
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
|
||||
BR2_GLOBAL_PATCH_DIR="board/bsh/common/imx8mn-bsh-smm-s2/patches"
|
||||
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3"
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/bsh/imx8mn-bsh-smm-s2/post-build.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
BR2_aarch64=y
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
|
||||
BR2_GLOBAL_PATCH_DIR="board/bsh/common/imx8mn-bsh-smm-s2/patches"
|
||||
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3"
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/bsh/imx8mn-bsh-smm-s2-pro/post-image.sh"
|
||||
|
||||
@@ -23,6 +23,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.18"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="pseries"
|
||||
BR2_LINUX_KERNEL_VMLINUX=y
|
||||
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
||||
BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y
|
||||
|
||||
# host-qemu for gitlab testing
|
||||
|
||||
@@ -23,6 +23,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.18"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="pseries_le"
|
||||
BR2_LINUX_KERNEL_VMLINUX=y
|
||||
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
||||
BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y
|
||||
|
||||
# host-qemu for gitlab testing
|
||||
|
||||
@@ -7,7 +7,7 @@ BR2_SYSTEM_DHCP="eth0"
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttySC1"
|
||||
|
||||
# Filesystem
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
BR2_TARGET_ROOTFS_INITRAMFS=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
|
||||
# Image
|
||||
|
||||
@@ -6,7 +6,7 @@ BR2_sh4eb=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttySC1"
|
||||
|
||||
# Filesystem
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
BR2_TARGET_ROOTFS_INITRAMFS=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
|
||||
# Image
|
||||
|
||||
@@ -40,6 +40,7 @@ BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/rk3399-rockpro64"
|
||||
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/pine64/rockpro64/linux.fragment"
|
||||
|
||||
# Filesystem
|
||||
BR2_TARGET_GENERIC_HOSTNAME="rockpro64"
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
BR2_arm=y
|
||||
BR2_cortex_m4=y
|
||||
BR2_KERNEL_HEADERS_6_1=y
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
|
||||
# BR2_UCLIBC_INSTALL_UTILS is not set
|
||||
BR2_ENABLE_LTO=y
|
||||
BR2_GLOBAL_PATCH_DIR="board/stmicroelectronics/stm32f429-disco/patches"
|
||||
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
BR2_arm=y
|
||||
BR2_cortex_m7=y
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
|
||||
BR2_GLOBAL_PATCH_DIR="board/stmicroelectronics/stm32f769-disco/patches"
|
||||
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/stm32f769-disco/post-build.sh"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/stmicroelectronics/stm32f769-disco/genimage.cfg"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
BR2_riscv=y
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_8=y
|
||||
BR2_GLOBAL_PATCH_DIR="board/visionfive2/patches"
|
||||
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
|
||||
BR2_SYSTEM_DHCP="eth0"
|
||||
|
||||
+44
-44
@@ -8,74 +8,74 @@
|
||||
<div class="panel-heading">Download</div>
|
||||
<div class="panel-body">
|
||||
|
||||
<h3 style="text-align: center;">Latest stable / long term support release: <b>2024.02.2</b></h3>
|
||||
<h3 style="text-align: center;">Latest long term support release: <b>2024.02.3</b></h3>
|
||||
|
||||
<div class="row mt centered">
|
||||
<div class="col-sm-6">
|
||||
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
|
||||
<div class="flipper">
|
||||
<div class="front">
|
||||
<a href="/downloads/buildroot-2024.02.2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2024.02.3.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2024.02.2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2024.02.3.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h3><a href="/downloads/buildroot-2024.02.2.tar.gz">buildroot-2024.02.2.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2024.02.2.tar.gz.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2024.02.3.tar.gz">buildroot-2024.02.3.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2024.02.3.tar.gz.sign">PGP signature</a></p>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
|
||||
<div class="flipper">
|
||||
<div class="front">
|
||||
<a href="/downloads/buildroot-2024.02.2.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2024.02.3.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2024.02.2.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
<a href="/downloads/buildroot-2024.02.3.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2024.02.2.tar.xz">buildroot-2024.02.2.tar.xz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2024.02.2.tar.xz.sign">PGP signature</a></p>
|
||||
<h3><a href="/downloads/buildroot-2024.02.3.tar.xz">buildroot-2024.02.3.tar.xz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2024.02.3.tar.xz.sign">PGP signature</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 style="text-align: center;">Latest stable release: <b>2024.05</b></h3>
|
||||
|
||||
<div class="row mt centered">
|
||||
<div class="col-sm-6">
|
||||
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
|
||||
<div class="flipper">
|
||||
<div class="front">
|
||||
<a href="/downloads/buildroot-2024.05.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2024.05.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h3><a href="/downloads/buildroot-2024.05.tar.gz">buildroot-2024.05.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2024.05.tar.gz.sign">PGP signature</a></p>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
|
||||
<div class="flipper">
|
||||
<div class="front">
|
||||
<a href="/downloads/buildroot-2024.05.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2024.05.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2024.05.tar.xz">buildroot-2024.05.tar.xz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2024.05.tar.xz.sign">PGP signature</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<!--
|
||||
<h3 style="text-align: center;">Latest stable release: <b>2023.11.2</b></h3>
|
||||
|
||||
<div class="row mt centered">
|
||||
<div class="col-sm-6">
|
||||
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
|
||||
<div class="flipper">
|
||||
<div class="front">
|
||||
<a href="/downloads/buildroot-2023.11.2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2023.11.2.tar.gz"><img src="images/zip.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h3><a href="/downloads/buildroot-2023.11.2.tar.gz">buildroot-2023.11.2.tar.gz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2023.11.2.tar.gz.sign">PGP signature</a></p>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
|
||||
<div class="flipper">
|
||||
<div class="front">
|
||||
<a href="/downloads/buildroot-2023.11.2.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
<div class="back">
|
||||
<a href="/downloads/buildroot-2023.11.2.tar.xz"><img src="images/package.png" width="180" alt=""></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a href="/downloads/buildroot-2023.11.2.tar.xz">buildroot-2023.11.2.tar.xz</a></h3>
|
||||
<p><a href="/downloads/buildroot-2023.11.2.tar.xz.sign">PGP signature</a></p>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
<h3 style="text-align: center;">Latest release candidate: <b>2024.05-rc2</b></h3>
|
||||
<div class="row mt centered">
|
||||
<div class="col-sm-6">
|
||||
@@ -109,7 +109,7 @@
|
||||
<p><a href="/downloads/buildroot-2024.05-rc2.tar.xz.sign">PGP signature</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
-->
|
||||
This and earlier releases (and their PGP signatures) can always be downloaded from
|
||||
<a href="/downloads/">http://buildroot.net/downloads/</a>.
|
||||
</div>
|
||||
|
||||
@@ -9,6 +9,43 @@
|
||||
<h2>News</h2>
|
||||
<ul class="timeline">
|
||||
|
||||
<li>
|
||||
<div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
|
||||
<div class="timeline-panel">
|
||||
<div class="timeline-heading">
|
||||
<h4 class="timeline-title">2024.05 released</h4>
|
||||
<p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>12 June 2024</small></p>
|
||||
</div>
|
||||
<div class="timeline-body">
|
||||
<p>The stable 2024.05 release is out - Thanks to everyone
|
||||
contributing and testing the release candidates. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2024.05">CHANGES</a>
|
||||
file for more details
|
||||
and go to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2024.05.tar.xz">2024.05 release</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="timeline-inverted">
|
||||
<div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
|
||||
<div class="timeline-panel">
|
||||
<div class="timeline-heading">
|
||||
<h4 class="timeline-title">2024.02.3 released</h4>
|
||||
<p><small class="text-muted"><i class="glyphicon glyphicon-time"></i>10 June 2024</small></p>
|
||||
</div>
|
||||
<div class="timeline-body">
|
||||
<p>The 2024.02.3 bugfix release is out, fixing a number of important /
|
||||
security related issues discovered since the 2024.02.2 release. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2024.02.3">CHANGES</a>
|
||||
file for more details, read the
|
||||
<a href="https://lore.kernel.org/buildroot/87plsptdoq.fsf@dell.be.48ers.dk/T/#u">announcement</a>
|
||||
and go to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2024.02.3.tar.xz">2024.02.3 release</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="timeline-badge"><i class="glyphicon glyphicon-thumbs-up"></i></div>
|
||||
<div class="timeline-panel">
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ TAR_OPTS += --pax-option=exthdr.name=%d/PaxHeaders/%f,atime:=0,ctime:=0
|
||||
|
||||
define ROOTFS_TAR_CMD
|
||||
(cd $(TARGET_DIR); find -print0 | LC_ALL=C sort -z | \
|
||||
tar $(TAR_OPTS) -cf $@ --null --xattrs-include='*' --no-recursion -T - --numeric-owner)
|
||||
$(TAR) $(TAR_OPTS) -cf $@ --null --xattrs-include='*' --no-recursion -T - --numeric-owner)
|
||||
endef
|
||||
|
||||
$(eval $(rootfs))
|
||||
|
||||
+6
-6
@@ -1,13 +1,13 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 19b31956d229b5b9ca5671fa1c74320179682a3d8d00fc86794114b21da86039 linux-6.8.12.tar.xz
|
||||
sha256 aaa824eaf07f61911d22b75ff090a403c3dd0bd73e23933e0bba8b5971436ce1 linux-6.6.32.tar.xz
|
||||
sha256 9019f427bfdc9ced5bc954d760d37ac08c0cdffb45ad28087fc45a73e64336c9 linux-6.1.92.tar.xz
|
||||
sha256 f3976e77708694fe4a1f8d1307c315c8a36cbc58f038a38e006b91e29a1f3214 linux-6.6.37.tar.xz
|
||||
sha256 890b845f36452328716e62dd893b634584f607cdd44b4e685392d302d3be41af linux-6.1.97.tar.xz
|
||||
# From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
|
||||
sha256 f41e718e33b88f269a6b6a7653e5e9824c4ba541f6ffe5bf26ecc37c540a1b05 linux-5.15.160.tar.xz
|
||||
sha256 9c36b243e8c3ec1d5963366618f336710b84340bf95be2037b26c452392cb2d6 linux-5.10.218.tar.xz
|
||||
sha256 7e1f5b28588e49ddfd18e7772476e4e8b52bdc9c3e19beafcbb7c103e6c01f51 linux-5.4.277.tar.xz
|
||||
sha256 91bfc0ea152ce7b102a0b79d35a7c92843874ebf085c99d2ba8b4d85e62b1a7c linux-5.15.162.tar.xz
|
||||
sha256 da1dd47febac4f7856654038a47703666da3afba348b8e96e39584e0972e2725 linux-5.10.221.tar.xz
|
||||
sha256 b298436b26395b5c3ace6963836ba70d57cd61e01cff254b0e5443636c324a5e linux-5.4.279.tar.xz
|
||||
# From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
|
||||
sha256 6c5e4d3c87feadbfdb9f7d2e46f3f120b00286ba380491c5956708e0b94232c8 linux-4.19.315.tar.xz
|
||||
sha256 062b70cc132378e1c685df44ddf7e05bab4752b690ada17b080655a63f993581 linux-4.19.317.tar.xz
|
||||
# Locally computed
|
||||
sha256 fb0edc3c18e47d2b6974cb0880a0afb5c3fa08f50ee87dfdf24349405ea5f8ae linux-cip-5.10.162-cip24.tar.gz
|
||||
sha256 b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441 linux-cip-5.10.162-cip24-rt10.tar.gz
|
||||
|
||||
+1
-1
@@ -231,7 +231,7 @@ endif
|
||||
INSTALL := $(shell which install || type -p install)
|
||||
UNZIP := $(shell which unzip || type -p unzip) -q
|
||||
|
||||
APPLY_PATCHES = PATH=$(HOST_DIR)/bin:$$PATH support/scripts/apply-patches.sh $(if $(QUIET),-s)
|
||||
APPLY_PATCHES = TAR="$(TAR)" PATH=$(HOST_DIR)/bin:$$PATH support/scripts/apply-patches.sh $(if $(QUIET),-s)
|
||||
|
||||
HOST_CPPFLAGS = -I$(HOST_DIR)/include
|
||||
HOST_CFLAGS ?= -O2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From https://downloads.apache.org/httpd/httpd-2.4.59.tar.bz2.{sha256,sha512}
|
||||
sha256 ec51501ec480284ff52f637258135d333230a7d229c3afa6f6c2f9040e321323 httpd-2.4.59.tar.bz2
|
||||
sha512 209da0bbac5e2564d4590302515b35495be6402273ff4024aa93e85e44554c95e053201d606383936425a41e1b5b97e6b40055dcbb385eb691a5029a6f3158c2 httpd-2.4.59.tar.bz2
|
||||
# From https://downloads.apache.org/httpd/httpd-2.4.61.tar.bz2.{sha256,sha512}
|
||||
sha256 ea8ba86fd95bd594d15e46d25ac5bbda82ae0c9122ad93998cc539c133eaceb6 httpd-2.4.61.tar.bz2
|
||||
sha512 00656220ecc2b80788f539536553f0a3a57602fb981be22e63af87d0f98ffe5da3056e722ce52ae8cf9c2111ad1922b3aaea1fd7d69d0ed76795199203d593ff httpd-2.4.61.tar.bz2
|
||||
# Locally computed
|
||||
sha256 47b8c2b6c3309282a99d4a3001575c790fead690cc14734628c4667d2bbffc43 LICENSE
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
APACHE_VERSION = 2.4.59
|
||||
APACHE_VERSION = 2.4.61
|
||||
APACHE_SOURCE = httpd-$(APACHE_VERSION).tar.bz2
|
||||
APACHE_SITE = https://dlcdn.apache.org/httpd
|
||||
APACHE_LICENSE = Apache-2.0
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
From 52f051dbeefad0b7e73187becad6c33747b047d3 Mon Sep 17 00:00:00 2001
|
||||
From: Sahil Kang <sahil.kang@asilaycomputing.com>
|
||||
Date: Mon, 11 Mar 2024 03:01:21 -0700
|
||||
Subject: [PATCH] AVRO-3957: [C] Fix typos in docs and examples (#2795)
|
||||
|
||||
* AVRO-3957: [C] Fix misformatted type in docs
|
||||
|
||||
Signed-off-by: Sahil Kang <sahil.kang@asilaycomputing.com>
|
||||
Signed-off-by: Sahil Kang <sahilkang@google.com>
|
||||
|
||||
* AVRO-3957: [C] Fix type in quickstop example
|
||||
|
||||
This removes the following warning:
|
||||
|
||||
avro/lang/c/examples/quickstop.c:123:40: warning: incompatible pointer types passing 'int32_t **' (aka 'int **') to parameter of type
|
||||
'const char **' [-Wincompatible-pointer-types]
|
||||
avro_value_get_string(&first_value, &p, &size);
|
||||
|
||||
Signed-off-by: Sahil Kang <sahil.kang@asilaycomputing.com>
|
||||
Signed-off-by: Sahil Kang <sahilkang@google.com>
|
||||
|
||||
---------
|
||||
|
||||
Signed-off-by: Sahil Kang <sahil.kang@asilaycomputing.com>
|
||||
Signed-off-by: Sahil Kang <sahilkang@google.com>
|
||||
|
||||
Upstream: https://github.com/apache/avro/commit/52f051dbeefad0b7e73187becad6c33747b047d3
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
lang/c/docs/index.txt | 2 +-
|
||||
lang/c/examples/quickstop.c | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/docs/index.txt b/docs/index.txt
|
||||
index a439a052631..df16f9d9678 100644
|
||||
--- a/docs/index.txt
|
||||
+++ b/docs/index.txt
|
||||
@@ -178,7 +178,7 @@ different versions of the Avro library. That means that it's really
|
||||
only safe to use these hash values internally within the context of a
|
||||
single execution of a single application.
|
||||
|
||||
-The +reset+ method “clears out” an +avro_value_t instance, making sure
|
||||
+The +reset+ method “clears out” an +avro_value_t+ instance, making sure
|
||||
that it's ready to accept the contents of a new value. For scalars,
|
||||
this is usually a no-op, since the new value will just overwrite the old
|
||||
one. For arrays and maps, this removes any existing elements from the
|
||||
diff --git a/examples/quickstop.c b/examples/quickstop.c
|
||||
index ff9e9700590..b26dad10c04 100644
|
||||
--- a/examples/quickstop.c
|
||||
+++ b/examples/quickstop.c
|
||||
@@ -107,7 +107,7 @@ int print_person(avro_file_reader_t db, avro_schema_t reader_schema)
|
||||
if (rval == 0) {
|
||||
int64_t id;
|
||||
int32_t age;
|
||||
- int32_t *p;
|
||||
+ const char *p;
|
||||
size_t size;
|
||||
avro_value_t id_value;
|
||||
avro_value_t first_value;
|
||||
@@ -26,6 +26,10 @@ Origin: other
|
||||
Bug-Debian: http://bugs.debian.org/488735
|
||||
|
||||
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
[Bernd:
|
||||
Updated to incorporate changes by Matthias Klose <doko@debian.org>
|
||||
on 2024-03-13 that fix Debian bug https://bugs.debian.org/1065375]
|
||||
---
|
||||
bc/execute.c | 10 +++++++++-
|
||||
bc/main.c | 3 +++
|
||||
@@ -276,6 +280,14 @@ diff --git a/dc/dc.c b/dc/dc.c
|
||||
index 6a2bb26..ccdb1c2 100644
|
||||
--- a/dc/dc.c
|
||||
+++ b/dc/dc.c
|
||||
@@ -45,6 +45,7 @@
|
||||
#include <getopt.h>
|
||||
#include "dc.h"
|
||||
#include "dc-proto.h"
|
||||
+#include "number.h"
|
||||
|
||||
#ifndef EXIT_SUCCESS /* C89 <stdlib.h> */
|
||||
# define EXIT_SUCCESS 0
|
||||
@@ -59,6 +59,7 @@ static void
|
||||
bug_report_info DC_DECLVOID()
|
||||
{
|
||||
@@ -304,6 +316,14 @@ diff --git a/dc/eval.c b/dc/eval.c
|
||||
index 05a3d9e..6c54e61 100644
|
||||
--- a/dc/eval.c
|
||||
+++ b/dc/eval.c
|
||||
@@ -41,6 +41,7 @@
|
||||
#endif
|
||||
#include "dc.h"
|
||||
#include "dc-proto.h"
|
||||
+#include "number.h"
|
||||
|
||||
typedef enum {DC_FALSE, DC_TRUE} dc_boolean;
|
||||
|
||||
@@ -97,12 +97,15 @@ static int input_pushback;
|
||||
static int
|
||||
input_fil DC_DECLVOID()
|
||||
@@ -512,6 +532,14 @@ diff --git a/dc/misc.c b/dc/misc.c
|
||||
index cd23602..cd910b8 100644
|
||||
--- a/dc/misc.c
|
||||
+++ b/dc/misc.c
|
||||
@@ -47,6 +47,7 @@
|
||||
#include <getopt.h>
|
||||
#include "dc.h"
|
||||
#include "dc-proto.h"
|
||||
+#include "number.h"
|
||||
|
||||
#ifndef EXIT_FAILURE /* C89 <stdlib.h> */
|
||||
# define EXIT_FAILURE 1
|
||||
@@ -89,6 +89,7 @@ dc_show_id DC_DECLARG((fp, id, suffix))
|
||||
fprintf(fp, "'%c' (%#o)%s", (unsigned int) id, id, suffix);
|
||||
else
|
||||
@@ -593,8 +621,11 @@ diff --git a/dc/stack.c b/dc/stack.c
|
||||
index 49422df..174411d 100644
|
||||
--- a/dc/stack.c
|
||||
+++ b/dc/stack.c
|
||||
@@ -35,7 +35,10 @@
|
||||
@@ -33,9 +33,13 @@
|
||||
#include "dc.h"
|
||||
#include "dc-proto.h"
|
||||
#include "dc-regdef.h"
|
||||
+#include "number.h"
|
||||
|
||||
/* an oft-used error message: */
|
||||
-#define Empty_Stack fprintf(stderr, "%s: stack empty\n", progname)
|
||||
@@ -657,6 +688,14 @@ diff --git a/dc/string.c b/dc/string.c
|
||||
index dee9169..389d899 100644
|
||||
--- a/dc/string.c
|
||||
+++ b/dc/string.c
|
||||
@@ -45,6 +45,7 @@
|
||||
#endif
|
||||
#include "dc.h"
|
||||
#include "dc-proto.h"
|
||||
+#include "number.h"
|
||||
|
||||
/* here is the completion of the dc_string type: */
|
||||
struct dc_string {
|
||||
@@ -94,6 +94,7 @@ dc_out_str DC_DECLARG((value, discard_flag))
|
||||
dc_discard discard_flag DC_DECLEND
|
||||
{
|
||||
|
||||
@@ -0,0 +1,153 @@
|
||||
From d409ffa2a64cac3fc2abe2bb86ec3a80cb34d0a6 Mon Sep 17 00:00:00 2001
|
||||
From: Jim Klimov <jimklimov+nut@gmail.com>
|
||||
Date: Wed, 31 Aug 2022 11:40:01 +0200
|
||||
Subject: [PATCH] configure.ac, src/nut.c: detect int types required by NUT API
|
||||
we build against
|
||||
|
||||
Either use the stricter int types required by NUT headers since v2.8.0 release,
|
||||
or the relaxed (arch-dependent) types required by older NUT releases - depending
|
||||
on which NUT API version the collectd is building against at the moment.
|
||||
|
||||
Inspired by discussion at https://github.com/networkupstools/nut/issues/1638
|
||||
|
||||
Upstream: https://github.com/collectd/collectd/commit/d409ffa2a64cac3fc2abe2bb86ec3a80cb34d0a6
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
configure.ac | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
src/nut.c | 4 +--
|
||||
2 files changed, 102 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 1737aff316..f88ed26505 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -5881,6 +5881,106 @@ if test "x$with_libupsclient" = "xyes"; then
|
||||
CPPFLAGS="$SAVE_CPPFLAGS"
|
||||
fi
|
||||
|
||||
+if test "x$with_libupsclient" = "xyes"; then
|
||||
+ dnl The m4 script logic below is modelled after NUT_FUNC_GETNAMEINFO_ARGTYPES
|
||||
+ dnl further originating in curl autoconf scripts or beyond. See there for an
|
||||
+ dnl example of general-case logic to handle matching of numerous possible
|
||||
+ dnl data types for each argument in supported API variants.
|
||||
+ dnl Note: techically compiler complains here not about int types themselves,
|
||||
+ dnl but about pointers to such data. We know "out of band" that e.g. NUT
|
||||
+ dnl change to "size_t" happened at once for all arguments in the API, so
|
||||
+ dnl simplify the handling here and now with that assumption.
|
||||
+ AC_LANG_PUSH([C])
|
||||
+ SAVE_CPPFLAGS="$CPPFLAGS"
|
||||
+ SAVE_LDFLAGS="$LDFLAGS"
|
||||
+ SAVE_CFLAGS="$CFLAGS"
|
||||
+ CPPFLAGS="$CPPFLAGS $with_libupsclient_cflags"
|
||||
+ LDFLAGS="$LDFLAGS $with_libupsclient_libs"
|
||||
+ CFLAGS="$CFLAGS $with_libupsclient_cflags"
|
||||
+ if test "x$GCC" = "xyes"; then
|
||||
+ CFLAGS="$CFLAGS -Wall -Werror"
|
||||
+ fi
|
||||
+
|
||||
+ dnl upscli_splitname() *is* there forever (2007 or older)
|
||||
+ dnl but int types e.g. "port" changed in NUT 2.8.0
|
||||
+ dnl Also this is the UPSCONN_t::port field type:
|
||||
+ AC_CACHE_CHECK([int type of port argument for NUT upscli_splitname],
|
||||
+ [collectd_cv_func_upscli_splitname_args], [
|
||||
+ collectd_cv_func_upscli_splitname_args="unknown"
|
||||
+ for port_arg in 'uint16_t' 'int' ; do
|
||||
+ AC_COMPILE_IFELSE([
|
||||
+ AC_LANG_PROGRAM([
|
||||
+#include <upsclient.h>
|
||||
+/* int upscli_splitname(const char *buf, char **upsname, char **hostname, <port_arg> *port); */
|
||||
+ ],[
|
||||
+const char *origname = "ups@localhost:3493";
|
||||
+$port_arg port=0;
|
||||
+char *hostname;
|
||||
+char *upsname;
|
||||
+int res = upscli_splitname(origname, &upsname, &hostname, &port);
|
||||
+return(res);
|
||||
+ ])
|
||||
+ ],[
|
||||
+ collectd_cv_func_upscli_splitname_args="$port_arg"
|
||||
+ break
|
||||
+ ])
|
||||
+ done
|
||||
+ ])
|
||||
+
|
||||
+ AS_IF([test x"$collectd_cv_func_upscli_splitname_args" = xunknown],
|
||||
+ [AC_MSG_WARN([Can not find proper port type for upscli_splitname()])
|
||||
+ with_libupsclient="no (required data types for NUT API were not detected)"],
|
||||
+ [AC_DEFINE_UNQUOTED(NUT_PORT_TYPE, $collectd_cv_func_upscli_splitname_args,
|
||||
+ [Define to the integer type for TCP/IP ports used by NUT API we build against])
|
||||
+ ])
|
||||
+
|
||||
+
|
||||
+ AC_CACHE_CHECK([int type of length/numbering arguments for NUT upscli_list_next],
|
||||
+ [collectd_cv_func_upscli_list_next_args], [
|
||||
+ collectd_cv_func_upscli_list_next_args="unknown"
|
||||
+ for size_arg in 'size_t' 'unsigned int' 'int' ; do
|
||||
+ AC_COMPILE_IFELSE([
|
||||
+ AC_LANG_PROGRAM([
|
||||
+#include <upsclient.h>
|
||||
+/* int upscli_list_next(UPSCONN_t *ups, <size_arg> numq, const char **query, <size_arg> *numa, char ***answer); */
|
||||
+
|
||||
+#if HAVE_UPSCONN_T
|
||||
+typedef UPSCONN_t collectd_upsconn_t;
|
||||
+#elif HAVE_UPSCONN
|
||||
+typedef UPSCONN collectd_upsconn_t;
|
||||
+#else
|
||||
+#error "Unable to determine the UPS connection type."
|
||||
+#endif
|
||||
+ ],[
|
||||
+$size_arg query_num=0;
|
||||
+$size_arg answer_num=0;
|
||||
+const char * query;
|
||||
+char** answer;
|
||||
+collectd_upsconn_t ups;
|
||||
+int res = upscli_list_next(&ups, query_num, &query, &answer_num, &answer);
|
||||
+return(res);
|
||||
+ ])
|
||||
+ ],[
|
||||
+ collectd_cv_func_upscli_list_next_args="$size_arg"
|
||||
+ break
|
||||
+ ])
|
||||
+ done
|
||||
+ ])
|
||||
+
|
||||
+ AS_IF([test x"$collectd_cv_func_upscli_list_next_args" = xunknown],
|
||||
+ [AC_MSG_WARN([Can not find proper type for array sizes and string lengths used by upscli_list_next()])
|
||||
+ with_libupsclient="no (required data types for NUT API were not detected)"],
|
||||
+ [AC_DEFINE_UNQUOTED(NUT_SIZE_TYPE, $collectd_cv_func_upscli_list_next_args,
|
||||
+ [Define to the integer type for array sizes and string lengths used by NUT API we build against])
|
||||
+ ])
|
||||
+
|
||||
+
|
||||
+ CPPFLAGS="$SAVE_CPPFLAGS"
|
||||
+ LDFLAGS="$SAVE_LDFLAGS"
|
||||
+ CFLAGS="$SAVE_CFLAGS"
|
||||
+ AC_LANG_POP([C])
|
||||
+fi
|
||||
+
|
||||
if test "x$with_libupsclient" = "xyes"; then
|
||||
BUILD_WITH_LIBUPSCLIENT_CFLAGS="$with_libupsclient_cflags"
|
||||
BUILD_WITH_LIBUPSCLIENT_LIBS="$with_libupsclient_libs"
|
||||
diff --git a/src/nut.c b/src/nut.c
|
||||
index a9a6c98380..1a29438b07 100644
|
||||
--- a/src/nut.c
|
||||
+++ b/src/nut.c
|
||||
@@ -46,7 +46,7 @@ struct nut_ups_s {
|
||||
collectd_upsconn_t *conn;
|
||||
char *upsname;
|
||||
char *hostname;
|
||||
- int port;
|
||||
+ NUT_PORT_TYPE port;
|
||||
nut_ups_t *next;
|
||||
};
|
||||
|
||||
@@ -250,7 +250,7 @@ static int nut_read(user_data_t *user_data) {
|
||||
const char *query[3] = {"VAR", ups->upsname, NULL};
|
||||
unsigned int query_num = 2;
|
||||
char **answer;
|
||||
- unsigned int answer_num;
|
||||
+ NUT_SIZE_TYPE answer_num;
|
||||
int status;
|
||||
|
||||
/* (Re-)Connect if we have no connection */
|
||||
@@ -430,13 +430,14 @@ config BR2_PACKAGE_COLLECTD_NTPD
|
||||
config BR2_PACKAGE_COLLECTD_NUT
|
||||
bool "nut"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_NUT
|
||||
help
|
||||
The NUT plugin collects uninterruptible power supply (UPS)
|
||||
statistics using the Network UPS Tools (NUT).
|
||||
|
||||
comment "nut needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
comment "nut needs a toolchain w/ C++, threads"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
config BR2_PACKAGE_COLLECTD_OLSRD
|
||||
bool "olsrd"
|
||||
|
||||
@@ -9,8 +9,8 @@ COMPOSER_SOURCE = composer-$(COMPOSER_VERSION).phar
|
||||
# Here, we pass a dummy URL parameter in order to control the name the file
|
||||
# will have once downloaded.
|
||||
# Otherwise, the names will clash ifever we update the version.
|
||||
BASE_SITE = https://getcomposer.org/download/$(COMPOSER_VERSION)/composer.phar
|
||||
COMPOSER_SITE = $(BASE_SITE)?n=f/$(COMPOSER_SOURCE)
|
||||
COMPOSER_BASE_SITE = https://getcomposer.org/download/$(COMPOSER_VERSION)/composer.phar
|
||||
COMPOSER_SITE = $(COMPOSER_BASE_SITE)?n=f/$(COMPOSER_SOURCE)
|
||||
COMPOSER_LICENSE = MIT
|
||||
COMPOSER_LICENSE_FILES = LICENSE
|
||||
COMPOSER_CPE_ID_VENDOR = getcomposer
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ CVS_CONF_OPTS += --with-external-zlib
|
||||
endif
|
||||
|
||||
define CVS_BZIP_UNPACK
|
||||
$(BZCAT) $(@D)/cvs-$(CVS_VERSION).tar.bz2 | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
$(BZCAT) $(@D)/cvs-$(CVS_VERSION).tar.bz2 | $(TAR) -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||
rm -f $(@D)/cvs-$(CVS_VERSION).tar.bz2
|
||||
endef
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# From https://www.snort.org/downloads/snort/md5s
|
||||
md5 ea796f001d1b00302e4e69e337ab2460 daq-2.0.7.tar.gz
|
||||
md5 60e5ddcafb985fac7374884d28f299d1 daq-2.0.7-modified.tar.gz
|
||||
# Locally computed:
|
||||
sha256 bdc4e5a24d1ea492c39ee213a63c55466a2e8114b6a9abed609927ae13a7705e daq-2.0.7.tar.gz
|
||||
sha256 d1f6709bc5dbddee3fdf170cdc1e49fb926e2031d4869ecf367a8c47efc87279 daq-2.0.7-modified.tar.gz
|
||||
|
||||
# Hash for license files:
|
||||
sha256 07f28289c09fd9eb5a6ff7bc710ff40363601b1bbc6f3637d8ed412150e90819 COPYING
|
||||
|
||||
+5
-1
@@ -5,7 +5,11 @@
|
||||
################################################################################
|
||||
|
||||
DAQ_VERSION = 2.0.7
|
||||
DAQ_SITE = https://www.snort.org/downloads/snort
|
||||
# Upstream re-published a modified archive for the same 2.0.7 version, so change
|
||||
# its name locally, to avoid conflict with older BR versions which had a hash
|
||||
# for the previous archive.
|
||||
DAQ_SOURCE = daq-2.0.7-modified.tar.gz
|
||||
DAQ_SITE = https://www.snort.org/downloads/snort/daq-$(DAQ_VERSION).tar.gz?buildroot-path=filename
|
||||
DAQ_LICENSE = GPL-2.0
|
||||
DAQ_LICENSE_FILES = COPYING
|
||||
DAQ_INSTALL_STAGING = YES
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# From https://download.videolan.org/pub/videolan/dav1d/1.4.1/dav1d-1.4.1.tar.xz.sha256
|
||||
sha256 8d407dd5fe7986413c937b14e67f36aebd06e1fa5cfec679d10e548476f2d5f8 dav1d-1.4.1.tar.xz
|
||||
# From https://download.videolan.org/pub/videolan/dav1d/1.4.3/dav1d-1.4.3.tar.xz.sha256
|
||||
sha256 42fe524bcc82ea3a830057178faace22923a79bad3d819a4962d8cfc54c36f19 dav1d-1.4.3.tar.xz
|
||||
# Locally computed
|
||||
sha256 b327887de263238deaa80c34cdd2ff3e0ba1d35db585ce14a37ce3e74ee389e9 COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DAV1D_VERSION = 1.4.1
|
||||
DAV1D_VERSION = 1.4.3
|
||||
DAV1D_SOURCE = dav1d-$(DAV1D_VERSION).tar.xz
|
||||
DAV1D_SITE = https://download.videolan.org/pub/videolan/dav1d/$(DAV1D_VERSION)
|
||||
DAV1D_LICENSE = BSD-2-Clause
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 42e9d2a33806656bd145ec742a3ba00b64acc3f88b500793d3b78319c39e25e0 docker-compose-2.27.0-go2.tar.gz
|
||||
sha256 7ca8746c86ba25491f5bbdc44c41d5cf7f64defa69f4015c601e1a562f7f64fb docker-compose-2.27.1-go2.tar.gz
|
||||
sha256 58d1e17ffe5109a7ae296caafcadfdbe6a7d176f0bc4ab01e12a689b0499d8bd LICENSE
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DOCKER_COMPOSE_VERSION = 2.27.0
|
||||
DOCKER_COMPOSE_VERSION = 2.27.1
|
||||
DOCKER_COMPOSE_SITE = $(call github,docker,compose,v$(DOCKER_COMPOSE_VERSION))
|
||||
DOCKER_COMPOSE_LICENSE = Apache-2.0
|
||||
DOCKER_COMPOSE_LICENSE_FILES = LICENSE
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 2f3b82e8b7802fe92625009531592f12d500ff61a02ecf4cd27e0f138a6dc566 fluent-bit-3.0.3.tar.gz
|
||||
sha256 b439f89e879e538849e9106fe450bcf58da5034dfc316af4d2a837423786ed11 fluent-bit-3.0.4.tar.gz
|
||||
sha256 0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594 LICENSE
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FLUENT_BIT_VERSION = 3.0.3
|
||||
FLUENT_BIT_VERSION = 3.0.4
|
||||
FLUENT_BIT_SITE = $(call github,fluent,fluent-bit,v$(FLUENT_BIT_VERSION))
|
||||
FLUENT_BIT_LICENSE = Apache-2.0
|
||||
FLUENT_BIT_LICENSE_FILES = LICENSE
|
||||
|
||||
@@ -176,6 +176,7 @@ endif
|
||||
|
||||
# Generate a tarball if one does not already exist.
|
||||
define FLUTTER_ENGINE_GENERATE_TARBALL
|
||||
TAR="$(TAR)" \
|
||||
PATH=$(HOST_DIR)/share/depot_tools:$(BR_PATH) \
|
||||
PYTHONPATH=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR) \
|
||||
PUB_CACHE=$(FLUTTER_SDK_BIN_PUB_CACHE) \
|
||||
|
||||
@@ -70,7 +70,7 @@ gen_tarball() {
|
||||
# - it insists on having a full git repositoy, with .git et al., which means
|
||||
# we can't generate a reproducible archive anyway.
|
||||
# So we jsut create a plain tarball.
|
||||
tar -C "${SCRATCH_DIR}"/src -czf "${TARBALL_NAME}" .
|
||||
${TAR} -C "${SCRATCH_DIR}"/src -czf "${TARBALL_NAME}" .
|
||||
mv "${TARBALL_NAME}" "${TARBALL_DL_PATH}"
|
||||
}
|
||||
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
From 088f3cd6e58cff5fa51e072d1829f7691a5f6681 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Wed, 20 Sep 2023 13:44:28 +0100
|
||||
Subject: [PATCH] Fix build without BUILD_PDF
|
||||
|
||||
The PDFSetParams PostScript extension operator was missing a stub function definition
|
||||
when the PDF interpreter is not built in.
|
||||
|
||||
Author: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Upstream: https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=088f3cd6e58cff5fa51e072d1829f7691a5f6681
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
psi/zpdfops.c | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/psi/zpdfops.c b/psi/zpdfops.c
|
||||
index e7e0a42ee..271687a18 100644
|
||||
--- a/psi/zpdfops.c
|
||||
+++ b/psi/zpdfops.c
|
||||
@@ -1507,6 +1507,11 @@ static int zPDFdrawannots(i_ctx_t *i_ctx_p)
|
||||
return_error(gs_error_undefined);
|
||||
}
|
||||
|
||||
+static int zPDFSetParams(i_ctx_t *i_ctx_p)
|
||||
+{
|
||||
+ return_error(gs_error_undefined);
|
||||
+}
|
||||
+
|
||||
static int zPDFInit(i_ctx_t *i_ctx_p)
|
||||
{
|
||||
return_error(gs_error_undefined);
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10021/SHA512SUMS
|
||||
sha512 ee0f754c1bd8a18428ad14eaa3ead80ff8b96275af5012e7a8384f1f10490da056eec9ae3cc791a7a13a24e16e54df5bccdd109c7d53a14534bbd7360a300b11 ghostscript-10.02.1.tar.xz
|
||||
# From https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10031/SHA512SUMS
|
||||
sha512 59e071cd23aed246b51317d3cccd9ccf8e1e84c4ecf9b22fb938e561eff42cec61915b0bdd96a313a3ea27750579c54ca0d0862b65edd306a621731c0063ffd3 ghostscript-10.03.1.tar.xz
|
||||
|
||||
# Hash for license file:
|
||||
sha256 8ce064f423b7c24a011b6ebf9431b8bf9861a5255e47c84bfb23fc526d030a8b LICENSE
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GHOSTSCRIPT_VERSION = 10.02.1
|
||||
GHOSTSCRIPT_VERSION = 10.03.1
|
||||
GHOSTSCRIPT_SOURCE = ghostscript-$(GHOSTSCRIPT_VERSION).tar.xz
|
||||
GHOSTSCRIPT_SITE = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs$(subst .,,$(GHOSTSCRIPT_VERSION))
|
||||
GHOSTSCRIPT_LICENSE = AGPL-3.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From: https://www.kernel.org/pub/software/scm/git/sha256sums.asc
|
||||
sha256 e64d340a8e627ae22cfb8bcc651cca0b497cf1e9fdf523735544ff4a732f12bf git-2.45.1.tar.xz
|
||||
sha256 51bfe87eb1c02fed1484051875365eeab229831d30d0cec5d89a14f9e40e9adb git-2.45.2.tar.xz
|
||||
# Locally calculated
|
||||
sha256 5b2198d1645f767585e8a88ac0499b04472164c0d2da22e75ecf97ef443ab32e COPYING
|
||||
sha256 1922f45d2c49e390032c9c0ba6d7cac904087f7cec51af30c2b2ad022ce0e76a LGPL-2.1
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GIT_VERSION = 2.45.1
|
||||
GIT_VERSION = 2.45.2
|
||||
GIT_SOURCE = git-$(GIT_VERSION).tar.xz
|
||||
GIT_SITE = $(BR2_KERNEL_MIRROR)/software/scm/git
|
||||
GIT_LICENSE = GPL-2.0, LGPL-2.1+
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Locally calculated (fetched from Github)
|
||||
sha256 2ba018b344e0e8330dcadd6130f4174f0fc2502b2e032210345e0e5a2f7ed12e glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e.tar.gz
|
||||
sha256 2858e8e47c4c0df32b526c56d5590ec939e8178201ee9526bb070999ce4aa1f2 glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685.tar.gz
|
||||
|
||||
# Hashes for license files
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
|
||||
+9
-25
@@ -7,7 +7,7 @@
|
||||
# Generate version string using:
|
||||
# git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2-
|
||||
# When updating the version, please also update localedef
|
||||
GLIBC_VERSION = 2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e
|
||||
GLIBC_VERSION = 2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685
|
||||
# Upstream doesn't officially provide an https download link.
|
||||
# There is one (https://sourceware.org/git/glibc.git) but it's not reliable,
|
||||
# sometimes the connection times out. So use an unofficial github mirror.
|
||||
@@ -24,33 +24,17 @@ GLIBC_CPE_ID_VENDOR = gnu
|
||||
# allow proper matching with the CPE database.
|
||||
GLIBC_CPE_ID_VERSION = $(word 1, $(subst -,$(space),$(GLIBC_VERSION)))
|
||||
|
||||
# Fixed by b25508dd774b617f99419bdc3cf2ace4560cd2d6, which is between
|
||||
# 2.38 and the version we're really using
|
||||
GLIBC_IGNORE_CVES += CVE-2023-4527
|
||||
# Fixed by glibc-2.39-31-g31da30f23cddd36db29d5b6a1c7619361b271fb4
|
||||
GLIBC_IGNORE_CVES += CVE-2024-2961
|
||||
|
||||
# Fixed by 5ee59ca371b99984232d7584fe2b1a758b4421d3, which is between
|
||||
# 2.38 and the version we're really using
|
||||
GLIBC_IGNORE_CVES += CVE-2023-4806
|
||||
# Fixed by glibc-2.39-35-g1263d583d2e28afb8be53f8d6922f0842036f35d
|
||||
GLIBC_IGNORE_CVES += CVE-2024-33599
|
||||
|
||||
# Fixed by 750a45a783906a19591fb8ff6b7841470f1f5710, which is between
|
||||
# 2.38 and the version we're really using.
|
||||
GLIBC_IGNORE_CVES += CVE-2023-4911
|
||||
# Fixed by glibc-2.39-37-gc99f886de54446cd4447db6b44be93dabbdc2f8b
|
||||
GLIBC_IGNORE_CVES += CVE-2024-33600
|
||||
|
||||
# Fixed by 5ee59ca371b99984232d7584fe2b1a758b4421d3, which is between
|
||||
# 2.38 and the version we're really using.
|
||||
GLIBC_IGNORE_CVES += CVE-2023-5156
|
||||
|
||||
# Fixed by 23514c72b780f3da097ecf33a793b7ba9c2070d2, which is between
|
||||
# 2.38 and the version we're really using.
|
||||
GLIBC_IGNORE_CVES += CVE-2023-6246
|
||||
|
||||
# Fixed by d0338312aace5bbfef85e03055e1212dd0e49578, which is between
|
||||
# 2.38 and the version we're really using.
|
||||
GLIBC_IGNORE_CVES += CVE-2023-6779
|
||||
|
||||
# Fixed by d37c2b20a4787463d192b32041c3406c2bd91de0, which is between
|
||||
# 2.38 and the version we're really using.
|
||||
GLIBC_IGNORE_CVES += CVE-2023-6780
|
||||
# Fixed by glibc-2.39-38-ga9a8d3eebb145779a18d90e3966009a1daa63cd
|
||||
GLIBC_IGNORE_CVES += CVE-2024-33601 CVE-2024-33602
|
||||
|
||||
# All these CVEs are considered as not being security issues by
|
||||
# upstream glibc:
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# From https://snapshot.debian.org/archive/debian/20210128T210947Z/pool/main/libl/liblockfile/liblockfile_1.17-1.dsc
|
||||
sha256 6e937f3650afab4aac198f348b89b1ca42edceb17fb6bb0918f642143ccfd15e liblockfile_1.17.orig.tar.gz
|
||||
sha256 e3657c0e3facfeccb58900c0b48d56cd68ad5f9f24d1b4c6eaa69c26490fb673 liblockfile_1.17-1.debian.tar.bz2
|
||||
# Locally computed
|
||||
sha256 3d080ab931103a823e6b9b788ccbc3e9d44797bd54546f3feebfd305f90de46a COPYRIGHT
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 licenses/GPL-2
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
LIBLOCKFILE_VERSION = 1.17
|
||||
LIBLOCKFILE_SOURCE = liblockfile_$(LIBLOCKFILE_VERSION).orig.tar.gz
|
||||
LIBLOCKFILE_SITE = http://snapshot.debian.org/archive/debian/20210128T210947Z/pool/main/libl/liblockfile
|
||||
LIBLOCKFILE_PATCH = liblockfile_$(LIBLOCKFILE_VERSION)-1.debian.tar.bz2
|
||||
|
||||
LIBLOCKFILE_LICENSE = LGPL-2.0+, GPL-2.0+ (dotlockfile)
|
||||
LIBLOCKFILE_LICENSE_FILES = COPYRIGHT licenses/GPL-2 licenses/LGPL-2
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
configure.ac: drop GCC "-fforce-mem" option
|
||||
|
||||
As reported at [1], the option has been removed from version 4.3 of GCC.
|
||||
|
||||
[1] https://ez.analog.com/dsp/software-and-development-tools/linux-blackfin/linux-bug-archive/w/documents/7460/5626-build-lib-mad-fail-at-option--fforce-mem-with-gcc-4-3
|
||||
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
|
||||
Upstream: Dead
|
||||
|
||||
--- libmad-0.15.1b-orig/configure.ac 2024-07-02 14:26:40.657984791 +0200
|
||||
+++ libmad-0.15.1b/configure.ac 2024-07-02 14:27:07.098198997 +0200
|
||||
@@ -140,7 +140,6 @@
|
||||
case "$optimize" in
|
||||
-O|"-O "*)
|
||||
optimize="-O"
|
||||
- optimize="$optimize -fforce-mem"
|
||||
optimize="$optimize -fforce-addr"
|
||||
: #x optimize="$optimize -finline-functions"
|
||||
: #- optimize="$optimize -fstrength-reduce"
|
||||
@@ -19,7 +19,7 @@ define LIBMAD_APPLY_DEBIAN_PATCHES
|
||||
fi
|
||||
endef
|
||||
|
||||
LIBMAD_POST_PATCH_HOOKS += LIBMAD_APPLY_DEBIAN_PATCHES
|
||||
LIBMAD_PRE_PATCH_HOOKS += LIBMAD_APPLY_DEBIAN_PATCHES
|
||||
|
||||
# debian/patches/md_size.diff
|
||||
LIBMAD_IGNORE_CVES += CVE-2017-8372 CVE-2017-8373
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From https://www.openssl.org/source/openssl-3.3.0.tar.gz.sha256
|
||||
sha256 53e66b043322a606abf0087e7699a0e033a37fa13feb9742df35c3a33b18fb02 openssl-3.3.0.tar.gz
|
||||
# From https://www.openssl.org/source/openssl-3.3.1.tar.gz.sha256
|
||||
sha256 777cd596284c883375a2a7a11bf5d2786fc5413255efab20c50d6ffe6d020b7e openssl-3.3.1.tar.gz
|
||||
|
||||
# License files
|
||||
sha256 7d5450cb2d142651b8afa315b5f238efc805dad827d91ba367d8516bc9d49e7a LICENSE.txt
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBOPENSSL_VERSION = 3.3.0
|
||||
LIBOPENSSL_VERSION = 3.3.1
|
||||
LIBOPENSSL_SITE = https://www.openssl.org/source
|
||||
LIBOPENSSL_SOURCE = openssl-$(LIBOPENSSL_VERSION).tar.gz
|
||||
LIBOPENSSL_LICENSE = Apache-2.0
|
||||
@@ -84,6 +84,7 @@ define LIBOPENSSL_CONFIGURE_CMDS
|
||||
no-fuzz-libfuzzer \
|
||||
no-fuzz-afl \
|
||||
no-afalgeng \
|
||||
$(if $(BR2_PACKAGE_LIBOPENSSL_BIN),,no-apps) \
|
||||
$(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_CHACHA),,no-chacha) \
|
||||
$(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_RC2),,no-rc2) \
|
||||
$(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4),,no-rc4) \
|
||||
@@ -135,8 +136,8 @@ endef
|
||||
|
||||
define LIBOPENSSL_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
|
||||
rm -rf $(TARGET_DIR)/usr/lib/ssl
|
||||
rm -f $(TARGET_DIR)/usr/bin/c_rehash
|
||||
$(RM) -rf $(TARGET_DIR)/usr/lib/ssl
|
||||
$(RM) -f $(TARGET_DIR)/usr/bin/c_rehash
|
||||
endef
|
||||
|
||||
# libdl has no business in a static build
|
||||
@@ -156,17 +157,9 @@ endef
|
||||
LIBOPENSSL_POST_INSTALL_TARGET_HOOKS += LIBOPENSSL_REMOVE_PERL_SCRIPTS
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBOPENSSL_BIN),)
|
||||
define LIBOPENSSL_REMOVE_BIN
|
||||
$(RM) -f $(TARGET_DIR)/usr/bin/openssl
|
||||
$(RM) -f $(TARGET_DIR)/etc/ssl/misc/{CA.*,c_*}
|
||||
endef
|
||||
LIBOPENSSL_POST_INSTALL_TARGET_HOOKS += LIBOPENSSL_REMOVE_BIN
|
||||
endif
|
||||
|
||||
ifneq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),y)
|
||||
ifeq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),)
|
||||
define LIBOPENSSL_REMOVE_LIBOPENSSL_ENGINES
|
||||
rm -rf $(TARGET_DIR)/usr/lib/engines-1.1
|
||||
$(RM) -rf $(TARGET_DIR)/usr/lib/engines-3
|
||||
endef
|
||||
LIBOPENSSL_POST_INSTALL_TARGET_HOOKS += LIBOPENSSL_REMOVE_LIBOPENSSL_ENGINES
|
||||
endif
|
||||
|
||||
@@ -1,9 +1,21 @@
|
||||
config BR2_PACKAGE_LIBZENOH_C_ARCH_SUPPORTS
|
||||
bool
|
||||
default y if BR2_aarch64
|
||||
default y if BR2_arm
|
||||
default y if BR2_x86_64
|
||||
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
|
||||
|
||||
config BR2_PACKAGE_LIBZENOH_C
|
||||
bool "libzenoh-c"
|
||||
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
|
||||
depends on BR2_PACKAGE_LIBZENOH_C_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
select BR2_PACKAGE_HOST_RUSTC
|
||||
help
|
||||
This package provides a C binding based on the main
|
||||
Zenoh implementation written in Rust.
|
||||
|
||||
https://github.com/eclipse-zenoh/zenoh-c
|
||||
|
||||
comment "libzenoh-c needs a glibc toolchain"
|
||||
depends on BR2_PACKAGE_LIBZENOH_C_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
||||
|
||||
@@ -0,0 +1,133 @@
|
||||
From 66a9a994c03d65fc37d701a60b26506bede49ae1 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Cercueil <paul@crapouillou.net>
|
||||
Date: Sun, 2 Jun 2024 22:35:24 +0200
|
||||
Subject: [PATCH] mips: Fix build on MIPS64 with n32 ABI
|
||||
|
||||
The build on MIPS64 with n32 ABI was broken for a few reasons.
|
||||
|
||||
- The _movi_d_w() functions had a different prototype in jit_mips-fpu.c
|
||||
than in lightning.c;
|
||||
- The movi_d_w() was still provided by lightning.c even though
|
||||
jit_mips-fpu.c provides its own version;
|
||||
- The "ww" opcodes were allowed, which was probably not meant to happen.
|
||||
|
||||
Fixes a build issue reported by Buildroot:
|
||||
http://autobuild.buildroot.net/results/27123bf0ddc84599bceb02ac987327817d498659/
|
||||
|
||||
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
|
||||
Upstream: http://git.savannah.gnu.org/cgit/lightning.git/commit/?id=778d326740f9893c398f959b419629935b613099
|
||||
---
|
||||
lib/jit_mips-fpu.c | 4 ++--
|
||||
lib/jit_mips.c | 3 +--
|
||||
lib/lightning.c | 43 +++++++++++++++++++++----------------------
|
||||
3 files changed, 24 insertions(+), 26 deletions(-)
|
||||
|
||||
diff --git a/lib/jit_mips-fpu.c b/lib/jit_mips-fpu.c
|
||||
index 61db30e..8ad97e9 100644
|
||||
--- a/lib/jit_mips-fpu.c
|
||||
+++ b/lib/jit_mips-fpu.c
|
||||
@@ -349,7 +349,7 @@ static void _movi_f(jit_state_t*,jit_int32_t,jit_float32_t*);
|
||||
# define movi64(r0, i0) _movi64(_jit, r0, i0)
|
||||
static void _movi64(jit_state_t*,jit_int32_t,jit_int64_t);
|
||||
# define movi_d_w(r0, i0) _movi_d_w(_jit, r0, i0)
|
||||
-static void _movi_d_w(jit_state_t*,jit_int32_t,jit_int64_t);
|
||||
+static void _movi_d_w(jit_state_t*,jit_int32_t,jit_float64_t);
|
||||
# elif __WORDSIZE == 64
|
||||
# define movi64(r0, i0) movi(r0, i0)
|
||||
# endif
|
||||
@@ -1152,7 +1152,7 @@ _movi64(jit_state_t *_jit, jit_int32_t r0, jit_int64_t i0)
|
||||
}
|
||||
|
||||
static void
|
||||
-_movi_d_w(jit_state_t *_jit, jit_int32_t r0, jit_int64_t i0)
|
||||
+_movi_d_w(jit_state_t *_jit, jit_int32_t r0, jit_float64_t i0)
|
||||
{
|
||||
union {
|
||||
jit_int64_t l;
|
||||
diff --git a/lib/jit_mips.c b/lib/jit_mips.c
|
||||
index 4fb6c34..6eb41a0 100644
|
||||
--- a/lib/jit_mips.c
|
||||
+++ b/lib/jit_mips.c
|
||||
@@ -2184,8 +2184,7 @@ _emit_code(jit_state_t *_jit)
|
||||
case jit_code_movi_w_d:
|
||||
movi_w_d(rn(node->u.w), node->v.w);
|
||||
break;
|
||||
-#endif
|
||||
-#if __WORDSIZE == 32
|
||||
+#else
|
||||
case jit_code_movr_ww_d:
|
||||
movr_ww_d(rn(node->u.w), rn(node->v.w), rn(node->w.w));
|
||||
break;
|
||||
diff --git a/lib/lightning.c b/lib/lightning.c
|
||||
index b40d35b..2c10928 100644
|
||||
--- a/lib/lightning.c
|
||||
+++ b/lib/lightning.c
|
||||
@@ -4331,12 +4331,12 @@ static void _htoni_ul(jit_state_t*, jit_int32_t, jit_word_t);
|
||||
#endif
|
||||
# define movi_f_w(r0, i0) _movi_f_w(_jit, r0, i0)
|
||||
static void _movi_f_w(jit_state_t*, jit_int32_t, jit_float32_t);
|
||||
-#if __WORDSIZE == 32 && !(defined(__mips__) && NEW_ABI)
|
||||
-# define movi_d_ww(r0, r1, i0) _movi_d_ww(_jit, r0, r1, i0)
|
||||
-static void _movi_d_ww(jit_state_t*, jit_int32_t, jit_int32_t, jit_float64_t);
|
||||
-#else
|
||||
+#if __WORDSIZE == 64
|
||||
# define movi_d_w(r0, i0) _movi_d_w(_jit, r0, i0)
|
||||
static void _movi_d_w(jit_state_t*, jit_int32_t, jit_float64_t);
|
||||
+#elif !(defined(__mips__) && NEW_ABI)
|
||||
+# define movi_d_ww(r0, r1, i0) _movi_d_ww(_jit, r0, r1, i0)
|
||||
+static void _movi_d_ww(jit_state_t*, jit_int32_t, jit_int32_t, jit_float64_t);
|
||||
#endif
|
||||
#define cloi(r0, i0) _cloi(_jit, r0, i0)
|
||||
static void _cloi(jit_state_t*, jit_int32_t, jit_word_t);
|
||||
@@ -4803,7 +4803,23 @@ _movi_f_w(jit_state_t *_jit, jit_int32_t r0, jit_float32_t i0)
|
||||
movi(r0, data.i);
|
||||
}
|
||||
|
||||
-#if __WORDSIZE == 32 && !(defined(__mips__) && NEW_ABI)
|
||||
+#if __WORDSIZE == 64
|
||||
+static void
|
||||
+_movi_d_w(jit_state_t *_jit, jit_int32_t r0, jit_float64_t i0)
|
||||
+{
|
||||
+ union {
|
||||
+ jit_int64_t l;
|
||||
+ jit_float64_t d;
|
||||
+ } data;
|
||||
+ data.d = i0;
|
||||
+# if defined(__ia64__)
|
||||
+ /* Should be used only in this case (with out0 == 120) */
|
||||
+ if (r0 >= 120)
|
||||
+ r0 = _jitc->rout + (r0 - 120);
|
||||
+# endif
|
||||
+ movi(r0, data.l);
|
||||
+}
|
||||
+#elif !(defined(__mips__) && NEW_ABI)
|
||||
static void
|
||||
_movi_d_ww(jit_state_t *_jit, jit_int32_t r0, jit_int32_t r1, jit_float64_t i0)
|
||||
{
|
||||
@@ -4821,23 +4837,6 @@ _movi_d_ww(jit_state_t *_jit, jit_int32_t r0, jit_int32_t r1, jit_float64_t i0)
|
||||
movi(r0, data.i[1]);
|
||||
# endif
|
||||
}
|
||||
-
|
||||
-#else
|
||||
-static void
|
||||
-_movi_d_w(jit_state_t *_jit, jit_int32_t r0, jit_float64_t i0)
|
||||
-{
|
||||
- union {
|
||||
- jit_int64_t l;
|
||||
- jit_float64_t d;
|
||||
- } data;
|
||||
- data.d = i0;
|
||||
-# if defined(__ia64__)
|
||||
- /* Should be used only in this case (with out0 == 120) */
|
||||
- if (r0 >= 120)
|
||||
- r0 = _jitc->rout + (r0 - 120);
|
||||
-# endif
|
||||
- movi(r0, data.l);
|
||||
-}
|
||||
#endif
|
||||
|
||||
void
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@@ -583,6 +583,7 @@ endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_9XXX),y)
|
||||
LINUX_FIRMWARE_FILES += iwlwifi-9???-*.ucode
|
||||
LINUX_FIRMWARE_FILES += iwlwifi-so-a0-jf-b0*.ucode
|
||||
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware
|
||||
endif
|
||||
|
||||
|
||||
@@ -415,12 +415,12 @@ endchoice
|
||||
|
||||
config BR2_DEFAULT_KERNEL_HEADERS
|
||||
string
|
||||
default "4.19.315" if BR2_KERNEL_HEADERS_4_19
|
||||
default "5.4.277" if BR2_KERNEL_HEADERS_5_4
|
||||
default "5.10.218" if BR2_KERNEL_HEADERS_5_10
|
||||
default "5.15.160" if BR2_KERNEL_HEADERS_5_15
|
||||
default "6.1.92" if BR2_KERNEL_HEADERS_6_1
|
||||
default "6.6.32" if BR2_KERNEL_HEADERS_6_6
|
||||
default "4.19.317" if BR2_KERNEL_HEADERS_4_19
|
||||
default "5.4.279" if BR2_KERNEL_HEADERS_5_4
|
||||
default "5.10.221" if BR2_KERNEL_HEADERS_5_10
|
||||
default "5.15.162" if BR2_KERNEL_HEADERS_5_15
|
||||
default "6.1.97" if BR2_KERNEL_HEADERS_6_1
|
||||
default "6.6.37" if BR2_KERNEL_HEADERS_6_6
|
||||
default "6.8.12" if BR2_KERNEL_HEADERS_6_8
|
||||
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
|
||||
default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
# Use the same VERSION and SITE as target glibc
|
||||
# As in glibc.mk, generate version string using:
|
||||
# git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2-
|
||||
LOCALEDEF_VERSION = 2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e
|
||||
LOCALEDEF_VERSION = 2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685
|
||||
LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz
|
||||
LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION))
|
||||
HOST_LOCALEDEF_DL_SUBDIR = glibc
|
||||
|
||||
@@ -12,7 +12,7 @@ endif
|
||||
|
||||
# Not possible to directly refer to mesa3d variables, because of
|
||||
# first/second expansion trickery...
|
||||
MESA3D_HEADERS_VERSION = 24.0.7
|
||||
MESA3D_HEADERS_VERSION = 24.0.9
|
||||
MESA3D_HEADERS_SOURCE = mesa-$(MESA3D_HEADERS_VERSION).tar.xz
|
||||
MESA3D_HEADERS_SITE = https://archive.mesa3d.org
|
||||
MESA3D_HEADERS_DL_SUBDIR = mesa3d
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
From 3ab46dcfda9edf5c9bc27c8f5031146d9d9d8ade Mon Sep 17 00:00:00 2001
|
||||
From: Romain Naour <romain.naour@smile.fr>
|
||||
Date: Thu, 18 Jan 2024 22:50:16 +0100
|
||||
Subject: [PATCH] drisw: fix build without dri3
|
||||
|
||||
commit 1887368df41 ("glx/sw: check for modifier support in the kopper path")
|
||||
added dri3_priv.h header and dri3_check_multibuffer() function in drisw that
|
||||
can be build without dri3.
|
||||
|
||||
i686-buildroot-linux-gnu/bin/ld: src/glx/libglx.a.p/drisw_glx.c.o: in function `driswCreateScreenDriver':
|
||||
drisw_glx.c:(.text.driswCreateScreenDriver+0x3a0): undefined reference to `dri3_check_multibuffer'
|
||||
collect2: error: ld returned 1 exit status
|
||||
|
||||
Add HAVE_DRI3 guard around dri3_priv.h header and the zink code using
|
||||
dri3_check_multibuffer().
|
||||
|
||||
Fixes: 1887368df41 ("glx/sw: check for modifier support in the kopper path")
|
||||
|
||||
Upstream: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27478
|
||||
|
||||
Signed-off-by: Romain Naour <romain.naour@smile.fr>
|
||||
---
|
||||
src/glx/drisw_glx.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c
|
||||
index 3d3f75259bc..4b19e2d7707 100644
|
||||
--- a/src/glx/drisw_glx.c
|
||||
+++ b/src/glx/drisw_glx.c
|
||||
@@ -32,7 +32,9 @@
|
||||
#include <dlfcn.h>
|
||||
#include "dri_common.h"
|
||||
#include "drisw_priv.h"
|
||||
+#ifdef HAVE_DRI3
|
||||
#include "dri3_priv.h"
|
||||
+#endif
|
||||
#include <X11/extensions/shmproto.h>
|
||||
#include <assert.h>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
@@ -995,6 +997,7 @@ driswCreateScreenDriver(int screen, struct glx_display *priv,
|
||||
goto handle_error;
|
||||
}
|
||||
|
||||
+#ifdef HAVE_DRI3
|
||||
if (pdpyp->zink) {
|
||||
bool err;
|
||||
psc->has_multibuffer = dri3_check_multibuffer(priv->dpy, &err);
|
||||
@@ -1005,6 +1008,7 @@ driswCreateScreenDriver(int screen, struct glx_display *priv,
|
||||
goto handle_error;
|
||||
}
|
||||
}
|
||||
+#endif
|
||||
|
||||
glx_config_destroy_list(psc->base.configs);
|
||||
psc->base.configs = configs;
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
From 83b4ff6616708bd7ba5981d22cd5211ca6787d58 Mon Sep 17 00:00:00 2001
|
||||
From: Romain Naour <romain.naour@smile.fr>
|
||||
Date: Wed, 24 Jan 2024 14:28:32 +0100
|
||||
Subject: [PATCH] glxext: don't try zink if not enabled in mesa
|
||||
|
||||
Commit 7d9ea77b459 ("glx: add automatic zink fallback loading between hw and sw drivers")
|
||||
added an automatic zink fallback even when the zink gallium is not
|
||||
enabled at build time.
|
||||
|
||||
It leads to unexpected error log while loading drisw driver and
|
||||
zink is not installed on the rootfs:
|
||||
|
||||
MESA-LOADER: failed to open zink: /usr/lib/dri/zink_dri.so
|
||||
|
||||
Fixes: 7d9ea77b459 ("glx: add automatic zink fallback loading between hw and sw drivers")
|
||||
|
||||
Upstream: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27478
|
||||
|
||||
Signed-off-by: Romain Naour <romain.naour@smile.fr>
|
||||
---
|
||||
src/glx/glxext.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/glx/glxext.c b/src/glx/glxext.c
|
||||
index 39d5f08bdcf..e106eb40046 100644
|
||||
--- a/src/glx/glxext.c
|
||||
+++ b/src/glx/glxext.c
|
||||
@@ -904,9 +904,11 @@ __glXInitialize(Display * dpy)
|
||||
#endif /* HAVE_DRI3 */
|
||||
if (!debug_get_bool_option("LIBGL_DRI2_DISABLE", false))
|
||||
dpyPriv->dri2Display = dri2CreateDisplay(dpy);
|
||||
+#if defined(HAVE_ZINK)
|
||||
if (!dpyPriv->dri3Display && !dpyPriv->dri2Display)
|
||||
try_zink = !debug_get_bool_option("LIBGL_KOPPER_DISABLE", false) &&
|
||||
!getenv("GALLIUM_DRIVER");
|
||||
+#endif /* HAVE_ZINK */
|
||||
}
|
||||
#endif /* GLX_USE_DRM */
|
||||
if (glx_direct)
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From https://lists.freedesktop.org/archives/mesa-announce/2024-May/000758.html
|
||||
sha256 7454425f1ed4a6f1b5b107e1672b30c88b22ea0efea000ae2c7d96db93f6c26a mesa-24.0.7.tar.xz
|
||||
sha512 77b0fae80ab0a07e2e528c113eadef0e3004b8df3e6e98fffe6fc2d8ac39f5ce7fa38ebe5c2ae32bfbac993dd7cbe288ace18ebb03cf2fb445fe7114f74dd45c mesa-24.0.7.tar.xz
|
||||
# From https://lists.freedesktop.org/archives/mesa-announce/2024-June/000764.html
|
||||
sha256 51aa686ca4060e38711a9e8f60c8f1efaa516baf411946ed7f2c265cd582ca4c mesa-24.0.9.tar.xz
|
||||
sha512 de2ee6c9df1fc106ee10befe0a76be1e9cfe83d65dbdb83bad6d8d7cfaa085232fb115293a1a790b37b50b1fe14bd58aafbcfe5a15e953b5901a7105d57569a5 mesa-24.0.9.tar.xz
|
||||
# License
|
||||
sha256 a00275a53178e2645fb65be99a785c110513446a5071ff2c698ed260ad917d75 docs/license.rst
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
# When updating the version, please also update mesa3d-headers
|
||||
MESA3D_VERSION = 24.0.7
|
||||
MESA3D_VERSION = 24.0.9
|
||||
MESA3D_SOURCE = mesa-$(MESA3D_VERSION).tar.xz
|
||||
MESA3D_SITE = https://archive.mesa3d.org
|
||||
MESA3D_LICENSE = MIT, SGI, Khronos
|
||||
|
||||
@@ -5,7 +5,7 @@ config BR2_PACKAGE_NETWORK_MANAGER
|
||||
depends on BR2_PACKAGE_HAS_UDEV
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC # CLOCK_BOOTTIME, IPTOS_CLASS_*
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
||||
depends on BR2_USE_WCHAR # libglib2
|
||||
select BR2_PACKAGE_DBUS
|
||||
@@ -59,10 +59,11 @@ config BR2_PACKAGE_NETWORK_MANAGER_OVS
|
||||
This option enables support for OpenVSwitch
|
||||
endif
|
||||
|
||||
comment "NetworkManager needs udev /dev management and a glibc toolchain w/ headers >= 4.6, dynamic library, wchar, threads, gcc >= 4.9"
|
||||
comment "NetworkManager needs udev /dev management and a glibc or musl toolchain w/ headers >= 4.6, dynamic library, wchar, threads, gcc >= 4.9"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_PACKAGE_HAS_UDEV || \
|
||||
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 || \
|
||||
!BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \
|
||||
!(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) || \
|
||||
BR2_STATIC_LIBS || \
|
||||
!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
From e1bcac837f6aeabc4ddece06ecbcf2bcca8dd651 Mon Sep 17 00:00:00 2001
|
||||
From: Edgar Bonet <bonet@grenoble.cnrs.fr>
|
||||
Date: Thu, 16 May 2024 11:15:10 +0200
|
||||
Subject: [PATCH] Configure: fixed building libatomic test.
|
||||
|
||||
Using "long *" instead of "AO_t *" leads either to -Wincompatible-pointer-types
|
||||
or -Wpointer-sign warnings, depending on whether long and size_t are compatible
|
||||
types (e.g., ILP32 versus LP64 data models). Notably, -Wpointer-sign warnings
|
||||
are enabled by default in Clang only, and -Wincompatible-pointer-types is an
|
||||
error starting from GCC 14.
|
||||
|
||||
Signed-off-by: Edgar Bonet <bonet@grenoble.cnrs.fr>
|
||||
Upstream: https://hg.nginx.org/nginx/rev/f58b6f636238
|
||||
---
|
||||
auto/lib/libatomic/conf | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/auto/lib/libatomic/conf b/auto/lib/libatomic/conf
|
||||
index d1e484a..0f12b9c 100644
|
||||
--- a/auto/lib/libatomic/conf
|
||||
+++ b/auto/lib/libatomic/conf
|
||||
@@ -20,7 +20,7 @@ else
|
||||
#include <atomic_ops.h>"
|
||||
ngx_feature_path=
|
||||
ngx_feature_libs="-latomic_ops"
|
||||
- ngx_feature_test="long n = 0;
|
||||
+ ngx_feature_test="AO_t n = 0;
|
||||
if (!AO_compare_and_swap(&n, 0, 1))
|
||||
return 1;
|
||||
if (AO_fetch_and_add(&n, 1) != 1)
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# From https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2.8p17.tar.gz.sha256
|
||||
sha256 103dd272e6a66c5b8df07dce5e9a02555fcd6f1397bdfb782237328e89d3a866 ntp-4.2.8p17.tar.gz
|
||||
# From https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2.8p18.tar.gz.sha256
|
||||
sha256 cf84c5f3fb1a295284942624d823fffa634144e096cfc4f9969ac98ef5f468e5 ntp-4.2.8p18.tar.gz
|
||||
# Locally computed
|
||||
sha256 06246b8c15ccc1a1873c78525c810f0802e68f383e79ee041e06d1ab9cbf80a4 COPYRIGHT
|
||||
sha256 45b6e5a0a5f0ac4afdd9e23caa2241779e4da463e4dba32a41b4dbd61577b2a3 COPYRIGHT
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
|
||||
NTP_VERSION_MAJOR = 4.2
|
||||
NTP_VERSION_MINOR = 8
|
||||
NTP_VERSION_POINT = 17
|
||||
NTP_VERSION_POINT = 18
|
||||
NTP_VERSION = $(NTP_VERSION_MAJOR).$(NTP_VERSION_MINOR)p$(NTP_VERSION_POINT)
|
||||
NTP_SITE = https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-$(NTP_VERSION_MAJOR)
|
||||
NTP_DEPENDENCIES = host-pkgconf libevent
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
comment "nut needs a toolchain w/ C++"
|
||||
comment "nut needs a toolchain w/ C++, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
config BR2_PACKAGE_NUT
|
||||
bool "nut"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
Network UPS tools
|
||||
|
||||
|
||||
@@ -36,6 +36,13 @@ else
|
||||
OCTAVE_CONF_OPTS += --without-magick
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
||||
OCTAVE_CONF_OPTS += --with-curl
|
||||
OCTAVE_DEPENDENCIES += libcurl
|
||||
else
|
||||
OCTAVE_CONF_OPTS += --without-curl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||
OCTAVE_CONF_OPTS += \
|
||||
--enable-readline \
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
From f9193f03db0029fc9c31fbdb5c66a2737446bd8f Mon Sep 17 00:00:00 2001
|
||||
From: Darren Tucker <dtucker@dtucker.net>
|
||||
Date: Mon, 25 Mar 2024 09:28:02 +1100
|
||||
Subject: [PATCH] Improve detection of -fzero-call-used-regs=used.
|
||||
|
||||
Should better detect problems with gcc 13 on m68k. bz#3673 from Colin
|
||||
Watson via bz#3673 and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110934
|
||||
|
||||
Signed-off-by: Darren Tucker <dtucker@dtucker.net>
|
||||
Upstream: https://github.com/openssh/openssh-portable/commit/f9193f03db0029fc9c31fbdb5c66a2737446bd8f
|
||||
---
|
||||
m4/openssh.m4 | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/m4/openssh.m4 b/m4/openssh.m4
|
||||
index 033df501c3d8..176a8d1c9282 100644
|
||||
--- a/m4/openssh.m4
|
||||
+++ b/m4/openssh.m4
|
||||
@@ -20,7 +20,10 @@ char *f2(char *s, ...) {
|
||||
va_end(args);
|
||||
return strdup(ret);
|
||||
}
|
||||
+int i;
|
||||
+double d;
|
||||
const char *f3(int s) {
|
||||
+ i = (int)d;
|
||||
return s ? "good" : "gooder";
|
||||
}
|
||||
int main(int argc, char **argv) {
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
From 7f4a743171f9e6b283207d448de6562219774fbf Mon Sep 17 00:00:00 2001
|
||||
From: Salvatore Bonaccorso <carnil@debian.org>
|
||||
Date: Tue, 25 Jun 2024 12:24:29 +0100
|
||||
Subject: Disable async-signal-unsafe code from the sshsigdie() function
|
||||
|
||||
Address signal handler race condition: if a client does not authenticate
|
||||
within LoginGraceTime seconds (120 by default, 600 in old OpenSSH
|
||||
versions), then sshd's SIGALRM handler is called asynchronously, but
|
||||
this signal handler calls various functions that are not
|
||||
async-signal-safe (for example, syslog()).
|
||||
|
||||
This is a regression from CVE-2006-5051 ("Signal handler race condition
|
||||
in OpenSSH before 4.4 allows remote attackers to cause a denial of
|
||||
service (crash), and possibly execute arbitrary code")
|
||||
|
||||
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
|
||||
Upstream: https://salsa.debian.org/ssh-team/openssh/-/blob/525bb16e45edac4c03b95e106380d70aecbaf27e/debian/patches/sshsigdie-async-signal-unsafe.patch
|
||||
Patch-Name: sshsigdie-async-signal-unsafe.patch
|
||||
---
|
||||
log.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/log.c b/log.c
|
||||
index 6a8b1fc4a..57256660f 100644
|
||||
--- a/log.c
|
||||
+++ b/log.c
|
||||
@@ -452,12 +452,14 @@ void
|
||||
sshsigdie(const char *file, const char *func, int line, int showfunc,
|
||||
LogLevel level, const char *suffix, const char *fmt, ...)
|
||||
{
|
||||
+#if 0
|
||||
va_list args;
|
||||
|
||||
va_start(args, fmt);
|
||||
sshlogv(file, func, line, showfunc, SYSLOG_LEVEL_FATAL,
|
||||
suffix, fmt, args);
|
||||
va_end(args);
|
||||
+#endif
|
||||
_exit(1);
|
||||
}
|
||||
|
||||
@@ -13,6 +13,9 @@ OPENSSH_SITE = http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable
|
||||
OPENSSH_LICENSE = BSD-3-Clause, BSD-2-Clause, Public Domain
|
||||
OPENSSH_LICENSE_FILES = LICENCE
|
||||
|
||||
# 0001-Improve-detection-of-fzero-call-used-regs-used.patch
|
||||
OPENSSH_AUTORECONF = YES
|
||||
|
||||
OPENSSH_CONF_ENV = \
|
||||
LD="$(TARGET_CC)" \
|
||||
LDFLAGS="$(TARGET_CFLAGS)" \
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally calculated after checking signature
|
||||
sha256 1993bbb7b9edb430626eaa24573f881fd3df642f427fcb824b1aed1fca1bcc9b openvpn-2.6.10.tar.gz
|
||||
sha256 d60adf413d37e11e6e63531cacf2655906756046b4edffe88a13b9e2fec40d5e openvpn-2.6.11.tar.gz
|
||||
sha256 1fcb78d7e478bb8a9408010bdc91b36e213b1facfad093df3f7ce7e28af19043 COPYRIGHT.GPL
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENVPN_VERSION = 2.6.10
|
||||
OPENVPN_VERSION = 2.6.11
|
||||
OPENVPN_SITE = https://swupdate.openvpn.net/community/releases
|
||||
OPENVPN_DEPENDENCIES = host-pkgconf libcap-ng
|
||||
OPENVPN_LICENSE = GPL-2.0
|
||||
|
||||
+109
@@ -0,0 +1,109 @@
|
||||
From d49c92c8420db6ee4c88515bdb014f68f4d471d9 Mon Sep 17 00:00:00 2001
|
||||
From: Daiki Ueno <ueno@gnu.org>
|
||||
Date: Sat, 2 Dec 2023 09:24:01 +0900
|
||||
Subject: [PATCH] import-object: Avoid integer truncation on 32-bit platforms
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
The build fails when compiling for 32-bit platforms with
|
||||
-Werror=incompatible-pointer-types:
|
||||
|
||||
CFLAGS="-m32 -march=i686 -Werror=incompatible-pointer-types -Werror=implicit -Werror=int-conversion" setarch i686 -- meson setup _build
|
||||
setarch i686 -- meson compile -C _build -v
|
||||
...
|
||||
|
||||
../p11-kit/import-object.c: In function ‘add_attrs_pubkey_rsa’:
|
||||
../p11-kit/import-object.c:223:62: error: passing argument 3 of ‘p11_asn1_read’ from incompatible pointer type [-Werror=incompatible-pointer-types]
|
||||
223 | attr_modulus.pValue = p11_asn1_read (asn, "modulus", &attr_modulus.ulValueLen);
|
||||
| ^~~~~~~~~~~~~~~~~~~~~~~~
|
||||
| |
|
||||
| long unsigned int *
|
||||
|
||||
Reported by Sam James in:
|
||||
https://github.com/p11-glue/p11-kit/issues/608
|
||||
|
||||
Signed-off-by: Daiki Ueno <ueno@gnu.org>
|
||||
|
||||
Upstream: https://github.com/p11-glue/p11-kit/commit/d49c92c8420db6ee4c88515bdb014f68f4d471d9
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
p11-kit/import-object.c | 30 +++++++++++++++++++++++++++---
|
||||
1 file changed, 27 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/p11-kit/import-object.c b/p11-kit/import-object.c
|
||||
index feee0765..fb47b964 100644
|
||||
--- a/p11-kit/import-object.c
|
||||
+++ b/p11-kit/import-object.c
|
||||
@@ -55,6 +55,7 @@
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
+#include <limits.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -201,6 +202,7 @@ add_attrs_pubkey_rsa (CK_ATTRIBUTE *attrs,
|
||||
CK_ATTRIBUTE attr_encrypt = { CKA_ENCRYPT, &tval, sizeof (tval) };
|
||||
CK_ATTRIBUTE attr_modulus = { CKA_MODULUS, };
|
||||
CK_ATTRIBUTE attr_exponent = { CKA_PUBLIC_EXPONENT, };
|
||||
+ size_t len = 0;
|
||||
|
||||
pubkey = p11_asn1_read (info, "subjectPublicKey", &pubkey_len);
|
||||
if (pubkey == NULL) {
|
||||
@@ -220,17 +222,31 @@ add_attrs_pubkey_rsa (CK_ATTRIBUTE *attrs,
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
- attr_modulus.pValue = p11_asn1_read (asn, "modulus", &attr_modulus.ulValueLen);
|
||||
+ attr_modulus.pValue = p11_asn1_read (asn, "modulus", &len);
|
||||
if (attr_modulus.pValue == NULL) {
|
||||
p11_message (_("failed to obtain modulus"));
|
||||
goto cleanup;
|
||||
}
|
||||
+#if ULONG_MAX < SIZE_MAX
|
||||
+ if (len > ULONG_MAX) {
|
||||
+ p11_message (_("failed to obtain modulus"));
|
||||
+ goto cleanup;
|
||||
+ }
|
||||
+#endif
|
||||
+ attr_modulus.ulValueLen = len;
|
||||
|
||||
- attr_exponent.pValue = p11_asn1_read (asn, "publicExponent", &attr_exponent.ulValueLen);
|
||||
+ attr_exponent.pValue = p11_asn1_read (asn, "publicExponent", &len);
|
||||
if (attr_exponent.pValue == NULL) {
|
||||
p11_message (_("failed to obtain exponent"));
|
||||
goto cleanup;
|
||||
}
|
||||
+#if ULONG_MAX < SIZE_MAX
|
||||
+ if (len > ULONG_MAX) {
|
||||
+ p11_message (_("failed to obtain exponent"));
|
||||
+ goto cleanup;
|
||||
+ }
|
||||
+#endif
|
||||
+ attr_exponent.ulValueLen = len;
|
||||
|
||||
result = p11_attrs_build (attrs, &attr_key_type, &attr_encrypt, &attr_modulus, &attr_exponent, NULL);
|
||||
if (result == NULL) {
|
||||
@@ -260,12 +276,20 @@ add_attrs_pubkey_ec (CK_ATTRIBUTE *attrs,
|
||||
CK_ATTRIBUTE attr_key_type = { CKA_KEY_TYPE, &key_type, sizeof (key_type) };
|
||||
CK_ATTRIBUTE attr_ec_params = { CKA_EC_PARAMS, };
|
||||
CK_ATTRIBUTE attr_ec_point = { CKA_EC_POINT, };
|
||||
+ size_t len = 0;
|
||||
|
||||
- attr_ec_params.pValue = p11_asn1_read (info, "algorithm.parameters", &attr_ec_params.ulValueLen);
|
||||
+ attr_ec_params.pValue = p11_asn1_read (info, "algorithm.parameters", &len);
|
||||
if (attr_ec_params.pValue == NULL) {
|
||||
p11_message (_("failed to obtain EC parameters"));
|
||||
goto cleanup;
|
||||
}
|
||||
+#if ULONG_MAX < SIZE_MAX
|
||||
+ if (len > ULONG_MAX) {
|
||||
+ p11_message (_("failed to obtain EC parameters"));
|
||||
+ goto cleanup;
|
||||
+ }
|
||||
+#endif
|
||||
+ attr_ec_params.ulValueLen = len;
|
||||
|
||||
/* subjectPublicKey is read as BIT STRING value which contains
|
||||
* EC point data. We need to DER encode this data as OCTET STRING.
|
||||
@@ -1,5 +1,5 @@
|
||||
# From https://www.php.net/downloads.php
|
||||
sha256 d53433c1ca6b2c8741afa7c524272e6806c1e895e5912a058494fea89988570a php-8.3.7.tar.xz
|
||||
sha256 bf4d7b8ea60a356064f88485278bd6f941a230ec16f0fc401574ce1445ad6c77 php-8.3.9.tar.xz
|
||||
|
||||
# License file
|
||||
sha256 b42e4df5e50e6ecda1047d503d6d91d71032d09ed1027ba1ef29eed26f890c5a LICENSE
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PHP_VERSION = 8.3.7
|
||||
PHP_VERSION = 8.3.9
|
||||
PHP_SITE = https://www.php.net/distributions
|
||||
PHP_SOURCE = php-$(PHP_VERSION).tar.xz
|
||||
PHP_INSTALL_STAGING = YES
|
||||
|
||||
@@ -109,7 +109,9 @@ endif
|
||||
|
||||
define DOWNLOAD
|
||||
$(Q)mkdir -p $($(2)_DL_DIR)
|
||||
$(Q)$(EXTRA_ENV) $($(2)_DL_ENV) \
|
||||
$(Q)$(EXTRA_ENV) \
|
||||
$($(2)_DL_ENV) \
|
||||
TAR="$(TAR)" \
|
||||
BR_NO_CHECK_HASH_FOR="$(if $(BR2_DOWNLOAD_FORCE_CHECK_HASHES),,$(BR_NO_CHECK_HASH_FOR))" \
|
||||
flock $($(2)_DL_DIR)/.lock $(DL_WRAPPER) \
|
||||
-c '$($(2)_DL_VERSION)' \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# From https://pypi.org/project/lxml/
|
||||
sha256 3eea6ed6e6c918e468e693c41ef07f3c3acc310b70ddd9cc72d9ef84bc9564ca lxml-5.1.0.tar.gz
|
||||
sha256 bb2dc4898180bea79863d5487e5f9c7c34297414bad54bcd0f0852aee9cfdb87 lxml-5.2.2.tar.gz
|
||||
# Locally computed
|
||||
sha256 41d49dd406aa0e1548a6d5f21a30d6bf638b3cd96eb7289dd348d83ed2e40392 LICENSES.txt
|
||||
sha256 69edb445c1335a8312d4c09271847e9956d84f0d9f724d125340cc3fad767b2a doc/licenses/BSD.txt
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_LXML_VERSION = 5.1.0
|
||||
PYTHON_LXML_SITE = https://files.pythonhosted.org/packages/2b/b4/bbccb250adbee490553b6a52712c46c20ea1ba533a643f1424b27ffc6845
|
||||
PYTHON_LXML_VERSION = 5.2.2
|
||||
PYTHON_LXML_SITE = https://files.pythonhosted.org/packages/63/f7/ffbb6d2eb67b80a45b8a0834baa5557a14a5ffce0979439e7cd7f0c4055b
|
||||
PYTHON_LXML_SOURCE = lxml-$(PYTHON_LXML_VERSION).tar.gz
|
||||
|
||||
# Not including the GPL, because it is used only for the test scripts.
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user