Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@themactep
Copy link
Owner

No description provided.

RomainNaour and others added 30 commits November 1, 2024 21:36
Qemu 9.0 introduced a regression on AArch32 Secure target
while fixing a previous issue during Qemu 9.0 development [1][2].

Backport an upstream pending patch fixing
qemu_arm_vexpress_tz_defconfig and qemu_arm_ebbr_defconfig boot.

[1] https://gitlab.com/qemu-project/qemu/-/issues/2326
[2] https://gitlab.com/qemu-project/qemu/-/issues/2588

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/8233227359 (qemu_arm_vexpress_tz_defconfig)
https://gitlab.com/buildroot.org/buildroot/-/jobs/8233227337 (qemu_arm_ebbr_defconfig)

Signed-off-by: Romain Naour <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Commit [1] removed virtio-blk-device,drive=hd0 from the Qemu command
line since RISC-V virt target now define a default type for block
devices (virtio) [2].

While it's was working as expected using
qemu_riscv{32,64}_virt_defconfig, it doesn't work for nommu variant.

Without "-device virtio-blk-device,drive=hd0", the virtio block device
virtio0 is missing in dmesg:

Expected dmesg log:

  virtio_blk virtio0: 1/0/0 default/read/poll queues
  virtio_blk virtio0: [vda] 122880 512-byte logical blocks (62.9 MB/60.0 MiB)

Unlike qemu_riscv{32,64}_virt_defconfig, mmu variant doesn't use
opensbi (-bios none) and disable mmu (-cpu rv{32,64},mmu=off)
from the qemu command line...

Adding back "-device virtio-blk-device,drive=hd0" seems to help Qemu
to enable the virtio block device for nommu target.

This partially revert commit [1].

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/8233227503 (qemu_riscv32_nommu_virt_defconfig)
https://gitlab.com/buildroot.org/buildroot/-/jobs/8233227509 (qemu_riscv64_nommu_virt_defconfig)

[1] dba4173
[2] https://gitlab.com/qemu-project/qemu/-/commit/4406ba2b5efce6af64905f827ca244f699db8170

Signed-off-by: Romain Naour <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Currently the test TestPythonTwisted is not broken [1] since it doesn't
test all modules provided by python-twisted package.

But TestPythonTwisted should have failed due to missing zlib in
twisted/web/client.py and twisted/conch modules.

Due to this, other runtime test like TestPythonPy3MagicWormhole or
TestPythonPy3Txtorcon are currently broken [2][3].

Add missing python3-zlib dependency and update
sample_python_twisted.py to load twisted/web/client that uses zlib
module.

[1] https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992685
[2] https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992687
[3] https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992646

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992687 (TestPythonPy3Txtorcon)

Fixes (partially due to missing python xml dependency):
https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992646 (TestPythonPy3MagicWormhole)

Signed-off-by: Romain Naour <[email protected]>
Cc: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Currently the test TestPythonTwisted is not broken [1] since it doesn't
test all modules provided by python-twisted package.

But TestPythonTwisted should have failed due to missing xml in
twisted/web module.

Due to this, TestPythonPy3MagicWormhole runtime test is currently
broken.

Add missing python3-xml dependency and update
sample_python_twisted.py to load twisted/web that uses xml
module.

Fixes (partially due to missing python setuptool in
python-magic-wormhole-mailbox-server):
https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992646

Signed-off-by: Romain Naour <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
…ptools dependency

TestPythonPy3MagicWormhole runtime test is currently broken due to
missing python-setuptools dependency.

wormhole-mailbox server fail to start with:

    File "/usr/lib/python3.12/site-packages/wormhole_mailbox_server/server_tap.py", line 11, in <module>
    File "/usr/lib/python3.12/site-packages/wormhole_mailbox_server/database.py", line 5, in <module>
  ModuleNotFoundError: No module named 'pkg_resources'

Signed-off-by: Romain Naour <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
There is a regression in exfatlabel since exfatprogs 1.2.5.

exfatlabel tool error out when we try to set a new volume serial or
label.

  exfatlabel /dev/sda1 "new label"
  exfatlabel -i /dev/sda1 0x12345678

Error out only if too few argument is given, ignore additional
arguments.

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

Signed-off-by: Romain Naour <[email protected]>
[Julien: reword the commit log one liner]
Signed-off-by: Julien Olivain <[email protected]>
Since python-incremental 24.7.0, there is no longer a dot before an rc
specifier [1].

Update TestPythonPy3Incremental expected result to
"[package, version 1.2.3rc4]".

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

[1] twisted/incremental@d482dff

Signed-off-by: Romain Naour <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
…tems

Since the bump of util-linux to version 2.40.2 in Buildroot commit
f14929c ("package/util-linux: update
to 2.40.2"), the build will fail on systems that are not Y2038,
such as uClibc configurations.

In order to preserve the previous behavior, pass --disable-year2038.
See the gnulib documentation for details [0]. Contrary to what the
option name might suggest, it doesn't really disable Y2038 support,
but only the check that the system is Y2038 compliant. So even with
--disable-year2038, if the system is Y2038 compliant (uses a 64-bit
arch, uses the musl C library, or uses the glibc C library with
BR2_TIME_BITS_64=y), util-linux tools will be Y2038 compliant.

"--disable-year2038" is already used to build tar package since [1].

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992338 (TestIso9660SyslinuxInternal)
https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992337 (TestIso9660SyslinuxExternalCompress)
https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992335 (TestIso9660SyslinuxExternal)
https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992259 (TestSysLinuxX86LegacyBios)
https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992257 (TestSysLinuxX86EFI)

[0] https://www.gnu.org/software/gnulib/manual/html_node/Avoiding-the-year-2038-problem.html
[1] 7f1088f

Signed-off-by: Romain Naour <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
This patch adds a basic support for the Bluefied3 board from
Mellanox/NVIDIA:
  - https://www.nvidia.com/en-us/networking/products/data-processing-unit/

  Brief summary of the board features:
  - multicore ARM
      - 16 Core ARM Processor
  - DDR4: 16GB/32GB
  - 2x embedded CX7

Signed-off-by: Vincent Jardin <[email protected]>
Reviewed-by: Julien Olivain <[email protected]>
[Julien:
- remove add-custom-hashes from the commit log
- add link for upstream kernel hashes
- check hash with pgp
- reflow the readme.txt
- regenerated defconfig with make savedefconfig]
Signed-off-by: Julien Olivain <[email protected]>
mender_x86_64_efi_defconfig started failing to build since 2024.08 in
our Gitlab-ci since the board/mender/x86_64/post-image-efi.sh is
calling support/scripts/genimage.sh with the host default shell.

There is no problem if the default shell is bash but our docker
image uses dash as default shell. Since support/scripts/genimage.sh
is actually a bash script it's not going to work if bashisms are used:

  support/scripts/genimage.sh: 57: Syntax error: redirection unexpected

Indeed bashisms have been added recently in
support/scripts/genimage.sh by the commit introducing bmap image
support [1].

Remove "sh" before support/scripts/genimage.sh and rely on
"/usr/bin/env bash" to find the bash interpreter.

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

[1] 6889056

Signed-off-by: Romain Naour <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
For release note, see:
https://github.com/linux-nvme/libnvme/releases/tag/v1.11

Signed-off-by: Giulio Benetti <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
This patch adds support for Xilinx Versal VEK280 Evaluation Kit.

VEK280 features can be found here:
https://www.xilinx.com/products/boards-and-kits/vek280.html

The VEK280 requires a patch for the memory node in the dts file because it is
not currently correct.  This patch has been applied to the linux-xlnx repo and
will be included in the 2024.2 release.

Upstream: Xilinx/linux-xlnx@3c7a97d

Signed-off-by: Neal Frager <[email protected]>
Reviewed-by: Brandon Maier <[email protected]>
Reviewed-by: Luca Ceresoli <[email protected]>
[Julien: regenerated defconfig with savedefconfig for config ordering
and kept BR2_TARGET_XILINX_PREBUILT_VERSION]
Signed-off-by: Julien Olivain <[email protected]>
For the change log since 0.6.2, see:
https://git.yoctoproject.org/opkg/tree/CHANGELOG.md?h=v0.7.0#n8

Since the toolchain-external-bootlin version bump to 2024.05-1 the
TestOpkg fail due to a "spurious error check" fixed in opkg 0.7.0 [1].

With toolchain-external-bootlin 2024.02-1 (gcc-12) and opkg 0.6.2:

  opkg install example-snmpd-package_1.0_arm.ipk
  Installing example-snmpd-package (1.0) on root.
  Configuring example-snmpd-package.
  Starting SNMP daemon: OK
  echo $?
  0

With toolchain-external-bootlin 2024.05-1 (gcc-13) and opkg 0.6.2:

  opkg install example-snmpd-package_1.0_arm.ipk
  echo $?
  255

The new gcc-13 seems to be confused while compiling opkg 0.6.2
without the "spurious error check" fix [1]

With toolchain-external-bootlin 2024.05-1 (gcc-13) and opkg 0.7.0:

  opkg install example-snmpd-package_1.0_arm.ipk
  Installing example-snmpd-package (1.0) on root.
  Configuring example-snmpd-package.
  Starting SNMP daemon: OK
  echo $?
  0

Keep new ACL and XATTRS support introduced in opkg 0.6.3 disabled.

Update opkg to the new upstream url [2].

[1] https://git.yoctoproject.org/opkg/commit?id=b5cc53d56e381803d3f55019254ab7d608160ae1
[2] openembedded/openembedded-core@6ff8b43

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

Signed-off-by: Romain Naour <[email protected]>
[Julien: add link to change log, reindent OPKG_CONF_OPTS]
Signed-off-by: Julien Olivain <[email protected]>
For the change log since 0.6.2, see:
https://git.yoctoproject.org/opkg-utils/log/?h=0.7.0

Signed-off-by: Romain Naour <[email protected]>
[Julien: add link to change log]
Signed-off-by: Julien Olivain <[email protected]>
See release announce:
https://lists.gnupg.org/pipermail/gnupg-announce/2024q4/000486.html

Signed-off-by: Francois Perrad <[email protected]>
[Julien: add release announce link]
Signed-off-by: Julien Olivain <[email protected]>
Migrate from pep517 to hatch setup type.

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
Drop no longer required python-typing-extensions runtime dependency.

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
…d11386d7942c

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
…63bcf8fad8ff8366d

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
jameshilliard and others added 29 commits November 6, 2024 23:22
Use the new poetry setup type which automatically pulls in the
host-python-poetry-core dependency.

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Use the new poetry setup type which automatically pulls in the
host-python-poetry-core dependency.

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Use the new poetry setup type which automatically pulls in the
host-python-poetry-core dependency.

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Use the new poetry setup type which automatically pulls in the
host-python-poetry-core dependency.

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Use the new poetry setup type which automatically pulls in the
host-python-poetry-core dependency.

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Thomas Claveirole <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Thomas Claveirole <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Thomas Claveirole <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Drop no longer required patch which is now upstream.

Add new python-typing-extensions runtime dependency.

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Drop no longer required python-typing-extensions runtime dependency.

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Switch from zip archive to tar.gz archive.

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
…edk2 download

All EDK2 releases <= edk2-stable202408 can't be fetched from git
anymore due to a missing git submodule as reported by [1].

Usually Buildroot fall-back using https://sources.buildroot.net thanks
to BR2_BACKUP_SITE where a backup of the generated archive is
available. But the BRConfigTest remove BR2_BACKUP_SITE default value
while generating the .config used by runtime tests. See [2].

Replace the BR2_BACKUP_SITE override from BRConfigTest in order to
continue testing EDK2 package using the usual backup site.

This workaround needs to be removed with the next EDK2 version bump
using this commit [3].

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/8258995977 (TestGrubX8664EFI)
https://gitlab.com/buildroot.org/buildroot/-/jobs/8258995962 (TestGrubi386EFI)
https://gitlab.com/buildroot.org/buildroot/-/jobs/8258995455 (TestFwts)
https://gitlab.com/buildroot.org/buildroot/-/jobs/8258995427 (TestIso9660Grub2Hybrid)
https://gitlab.com/buildroot.org/buildroot/-/jobs/8258995416 (TestIso9660Grub2EFI)
https://gitlab.com/buildroot.org/buildroot/-/jobs/8258992621 (TestEdk2)
https://gitlab.com/buildroot.org/buildroot/-/jobs/8258990697 (TestGrubAArch64EFI)

[1] tianocore/edk2#6398
[2] https://gitlab.com/buildroot.org/buildroot/-/commit/559bb33ae71dd2358ca2314ccb24b56cc3809fc1
[3] tianocore/edk2@95d8a1c

Signed-off-by: Romain Naour <[email protected]>
[Julien: insert link to [2] in commit log]
Signed-off-by: Julien Olivain <[email protected]>
Changelog: https://github.com/postgis/postgis/blob/3.5.0/NEWS

Licenses updates:
- extensions/address_goecoder is released under MIT License
 postgis/postgis@12b699a

Signed-off-by: Maxim Kochetkov <[email protected]>
[Julien: fixed Changelog link]
Signed-off-by: Julien Olivain <[email protected]>
Ported patch from OpenEmbedded:
openembedded/openembedded-core@010b068

"ffmpeg 6.0 has added assembly routines which uses rv64i ISA
unconditionally, ideally it should check for ISA before using those
instructions."

Fixes:
https://autobuild.buildroot.org/results/8a7082a0f24ebcf264aeac5e0fea704dc6a6bb1c/

Signed-off-by: Bernd Kuhls <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Add the "Upstream" field to the patch message for:
 - 0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
 - 0002-scan-limit-access-to-shared-memory-segments-to-current-user.patch

Add a compile patch for GCC >= 10 which enables -fno-common by default.

Fixes:
 - https://autobuild.buildroot.org/results/b2231fe06fe56036a5ddbe61cb8556b046e3a7b7
 - https://autobuild.buildroot.org/results/8afbcc63818d3e1586731e178f16635e773d5600
 - ...

Signed-off-by: Thomas Devoogdt <[email protected]>
[Julien: simplified autobuild URLs]
Signed-off-by: Julien Olivain <[email protected]>
This is minor update to iotools to fix some issues Aaron noticed and
addressed. The bigger change will come later with better integration
with the regular build systems (CMake).

Cc: Aaron Sierra <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Tested-by: Jarkko Sakkinen <[email protected]>
[Julien: removed the "v" in version number]
Signed-off-by: Julien Olivain <[email protected]>
Recently, Fiona has been involved in a very nice effort to clean up
our init scripts, and make them more consistent with each other. In
order to continue this effort, let's make sure Fiona gets Cc'ed on all
patches that touch init scripts by adding her to the DEVELOPERS file
for package/*/S*.

Signed-off-by: Thomas Petazzoni <[email protected]>
Acked-by: Fiona Klute <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
@themactep themactep merged commit e08fe70 into themactep:master Nov 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.