Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Update buildroot fork to latest upstream master #8

Open
wants to merge 10,000 commits into
base: master
Choose a base branch
from

Conversation

tmagik
Copy link

@tmagik tmagik commented Feb 25, 2019

Update to buildroot in preparation to switch freedom-u-sdk over to replace riscv-gnu-toolchain with the toolchain supported in buildroot, which builds faster using upstream sources and takes less space.

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
License hash changed due to year update:
thombashi/pathvalidate@e56c54b

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
License hash changed due to end year removal:
python-pillow/Pillow@513fe2c

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
License hash changed due to year update:
codedstructure/pylibftdi@e604c86

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
License hash changed due to year update:
thombashi/pytablewriter@66d421e

Add new host-python-setuptools-scm build dependency.

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
jameshilliard and others added 30 commits January 25, 2025 15:42
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
License hash changed due to placeholder replacement:
python-semver/python-semver@c47774d

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Updated SQLITE_SITE.

Release notes: https://www.sqlite.org/releaselog/3_48_0.html

Signed-off-by: Akhilesh Nema <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
This patch adds basic support for the new OrangePi 5 Plus board:
- http://www.orangepi.org/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5-plus-32GB.html

Brief summary of the board features:
- RK3588 Rockchip SoC
  - Quad-Core ARM Cortex-A76 Processor 2.4GHz
  - Quad-Core ARM Cortex-A55 Processor 1.8GHz
  - Mali G610 GPU
  - NPU 6 Tops INT4/INT8/INT16/FP16
- LPDDR4x: 8GB/16GB/32GB
- 2x USB 2.0
- 2x USB 3.0
- 2x HDMI out
- PCIe M.2 M-key socket (e.g. for NVMe)
- PCIe M.2 E-key socket (e.g. for WiFi/BT)
- 40-pin expansion interface (GPIO / UART / I2C / SPI / PWM / CAN / I2S)
- and much much more ...

BSP includes the following components:
- mainline ATF v2.12
- mainline U-Boot v2024.10
- mainline Linux kernel v6.12.x

Unlike all the other boards from board/orangepi directory, this board
is not based on an Allwinner SoC. It is based on Rockchip RK3588 SoC.
So custom scripts and configs are used instead of common options from
the board/orangepi/common directory. Suggested scripts and configs are
based on those of Radxa Rock5B board.

Signed-off-by: Sergey Matyukevich <[email protected]>
[Julien:
 - switch to human readable genimage.cfg partition type uuid
 - add ATF hash in custom hash patches
]
Signed-off-by: Julien Olivain <[email protected]>
From https://github.com/troglobit/sysklogd/releases/tag/v2.7.0

 - syslogd by default now cap forwarded messages to 1024 bytes. This can
   be adjusted using -M size or the config file setting udp_size
 - syslogd socket buffering has been reduced from 160 kiB to 80 kiB
 - Allow slashes in process names to support, e.g., postfix/qmgr
 - Support for extended message filtering based on tag/ident, hostname,
   or message property. This allows sorting of messages based on their
   origin (program/remote) or content in any of the available message
   fields: exact match, case-insensitive substring matching or extended
   regular expression
 - Support for remote logging to a multicast group, as well as acting as
   a multicast group receiver of syslog messages, both IPv4 and IPv6.
   Forwarding to multicast groups support two new, per action, options:
   - iface=IFNAME to set a different outbound interface
   - ttl=1.255 to adjust the TTL of outbound multicast (default: 1)
 - libsyslog.a support for egressing multicast, two new struct members
   .log_iface and .log_ttl control how the syslogp() API works
 - logger support for controlling egressing multicast using a new command
   line option, -o iface=IFNAME,ttl=<1..255>
 - syslogd now logs the hostname as the FQDN in RFC5424 output format
 - Fix parsing of IPv6 addresses in listen .conf directive, as well as
   command line option -b [A:B:C:D]:PORT

Signed-off-by: Joachim Wiberg <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Announcements:
 2.16.0: https://lists.freedesktop.org/archives/fontconfig/2025-January/007143.html
 2.15.0: https://lists.freedesktop.org/archives/fontconfig/2023-December/007064.html

Some notes:

- The hash is no longer part of the announcement but
  can instead be found in the release archive.

- Switched to meson while at it.

- Dropped the patch, since it's part of the autotools.

- Dropped some configs args, --with-arch, --disable-static,
  since meson now handles the arch, and disable static as
  it has most probably not been needed anymore for years.
  Was part of commit dd4faf6.
  "cairo: add host version"

Signed-off-by: Thomas Devoogdt <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Commit 67089f8
"package/fontconfig: add util-linux mandatory dependency"
added the dependency on util-linux because of uuid [1].
This dependency was later replaced [2], so drop the util-linux
dependency.

[1] https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/7b48fd3dd406b926f0e5240b211f72197ed538a9
[2] https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/c4324f54ee16e648ba91f3e9c66af13ab3b1754c

Signed-off-by: Thomas Devoogdt <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Download submodules which are now required.

Drop patch which is now upstream.

License file renamed without content changes.

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
…3_HOST_DEPENDENCY

The mipi-dbi-cmd script does not require a particular python3
version. Using BR2_PYTHON3_HOST_DEPENDENCY avoids the need to build
host-python3 if python3 is installed on the host, and nothing else in
the build depends on host-python3.

Signed-off-by: Fiona Klute (WIWA) <[email protected]>
Suggested-by: Julien Olivain <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
This patch bumps newlib-bare-metal to version 4.5.0.20241231.

The 0001-libgloss-microblaze-fix-read-and-_write-declarati.patch is no longer
needed since it is now included with version 4.5.0.20241231.  For this reason,
the patch can be removed from buildroot.

Signed-off-by: Neal Frager <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
This patch removes the post install fixup now that newlib 4.5.0 supports a
configurable tooldir path using --with-tooldir config option.

Signed-off-by: Neal Frager <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
At the moment, Buildroot provides genimage v18. However that version
does not yet include the GUID shortcut for 'u-boot-env' partition type.
This convenient change is relatively new (see [1]) and can be expected
in v19. For now, use the GUID value directly.

[1] pengutronix/genimage@3e0a2ae

Fixes: 057012e ("configs/orangepi_5_plus: new board")

Signed-off-by: Sergey Matyukevich <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Since the disabling of the Synopsys ARC toolchain in
11a8cdd, the test
tests.package.test_gdb.TestGdbArc was failing as it was relying on
this external toolchain.

Let's switch the test to use BR2_archs38, which allows to use a
Bootlin toolchain.

Fixes:

  https://gitlab.com/buildroot.org/buildroot/-/jobs/8892696282

Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
All patches that were applicable to GDB 15.1 are also applicable to
GDB 16.1, they are simply refreshed.

Details about the 16.1 release:

  https://sourceware.org/gdb/download/ANNOUNCEMENT

Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
This requires a bit of trickery on BR2_GDB_VERSION. Indeed, when the
target variant of gdb is enabled, but not the host variant, the
version choice is not available, and a default version is
used. However, version 15.x, which is now the default, requires GCC >=
9, so we have to be careful and use GDB 15.x by default if the
toolchain has GCC >= 9, or stick to GDB 14.x otherwise.

Of course, that will not fly long term, as at some point we'll drop
gdb 14.x, but for the time being, let's default to this older gdb
release if the target compiler is too old.

Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Now that gdb 16.x has been added, and gdb 15.x made the default, let's
remove support for gdb 13.x.

Aside from the usual removal, we also simplify things a bit as GDB
13.x was the last version that did not require MPFR. As it is now a
mandatory dependencies, things can be simplified.

Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet