buildroot.git
4 years agocore: implement per-package SDK and target
Thomas Petazzoni [Tue, 5 Nov 2019 16:46:40 +0000 (17:46 +0100)]
core: implement per-package SDK and target

This commit implements the core of the move to per-package SDK and
target directories. The main idea is that instead of having a global
output/host and output/target in which all packages install files, we
switch to per-package host and target directories, that only contain
their explicit dependencies.

There are two main benefits:

 - Packages will now see only the dependencies they explicitly list in
   their <pkg>_DEPENDENCIES variable, and the recursive dependencies
   thereof.

 - We can support top-level parallel build properly, because a package
   only "sees" its own host directory and target directory, isolated
   from the build of other packages that can happen in parallel.

It works as follows:

 - A new output/per-package/ directory is created, which will contain
   one sub-directory per package, and inside it, a "host" directory
   and a "target" directory:

   output/per-package/busybox/target
   output/per-package/busybox/host
   output/per-package/host-fakeroot/target
   output/per-package/host-fakeroot/host

   This output/per-package/ directory is PER_PACKAGE_DIR.

 - The global TARGET_DIR and HOST_DIR variable now automatically point
   to the per-package directory when PKG is defined. So whenever a
   package references $(HOST_DIR) or $(TARGET_DIR) in its build
   process, it effectively references the per-package host/target
   directories. Note that STAGING_DIR is a sub-dir of HOST_DIR, so it
   is handled as well.

 - Of course, packages have dependencies, so those dependencies must
   be installed in the per-package host and target directories. To do
   so, we simply rsync (using hard links to save space and time) the
   host and target directories of the direct dependencies of the
   package to the current package host and target directories.

   We only need to take care of direct dependencies (and not
   recursively all dependencies), because we accumulate into those
   per-package host and target directories the files installed by the
   dependencies. Note that this only works because we make the
   assumption that one package does *not* overwrite files installed by
   another package.

   This is done for "extract dependencies" at the beginning of the
   extract step, and for "normal dependencies" at the beginning of the
   configure step.

This is basically enough to make per-package SDK and target work. The
only gotcha is that at the end of the build, output/target and
output/host are empty, which means that:

 - The filesystem image creation code cannot work.

 - We don't have a SDK to build code outside of Buildroot.

In order to fix this, this commit extends the target-finalize step so
that it starts by populating output/target and output/host by
rsync-ing into them the target and host directories of all packages
listed in the $(PACKAGES) variable. It is necessary to do this
sequentially in the target-finalize step and not in each
package. Doing it in package installation means that it can be done in
parallel. In that case, there is a chance that two rsyncs are creating
the same hardlink or directory at the same time, which makes one of
them fail.

This change to per-package directories has an impact on the RPATH
built into the host binaries, as those RPATH now point to various
per-package host directories, and no longer to the global host
directory. We do not try to rewrite such RPATHs during the build as
having such RPATHs is perfectly fine, but we still need to handle two
fallouts from this change:

 - The check-host-rpath script, which verifies at the end of each
   package installation that it has the appropriate RPATH, is modified
   to understand that a RPATH to $(PER_PACKAGE_DIR)/<pkg>/host/lib is
   a correct RPAT.

 - The fix-rpath script, which mungles the RPATH mainly for the SDK
   preparation, is modified to rewrite the RPATH to not point to
   per-package directories. Indeed the patchelf --make-rpath-relative
   call only works if the RPATH points to the ROOTDIR passed as
   argument, and this ROOTDIR is the global host directory. Rewriting
   the RPATH to not point to per-package host directories prior to
   this is an easy solution to this issue.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/python-multidict: bump to version 4.6.1
James Hilliard [Thu, 28 Nov 2019 22:14:09 +0000 (15:14 -0700)]
package/python-multidict: bump to version 4.6.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoDEVELOPERS: add Pierre-Jean Texier for ipset
Pierre-Jean Texier [Wed, 27 Nov 2019 16:36:05 +0000 (17:36 +0100)]
DEVELOPERS: add Pierre-Jean Texier for ipset

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/ipset: bump to version 7.4
Pierre-Jean Texier [Wed, 27 Nov 2019 16:36:04 +0000 (17:36 +0100)]
package/ipset: bump to version 7.4

See full changelog http://ipset.netfilter.org/changelog.html

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/python-aiomonitor: bump to version 0.4.5
James Hilliard [Mon, 11 Nov 2019 08:05:46 +0000 (01:05 -0700)]
package/python-aiomonitor: bump to version 0.4.5

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/python-aiohttp: bump to version 3.6.2
James Hilliard [Mon, 11 Nov 2019 07:59:34 +0000 (00:59 -0700)]
package/python-aiohttp: bump to version 3.6.2

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/python-aiohttp-session: bump to version 2.9.0
James Hilliard [Mon, 11 Nov 2019 07:55:55 +0000 (00:55 -0700)]
package/python-aiohttp-session: bump to version 2.9.0

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/php: add option for libargon2 support
Pascal de Bruijn [Thu, 21 Nov 2019 08:13:04 +0000 (09:13 +0100)]
package/php: add option for libargon2 support

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libargon2: add missing Config.in for the !BR2_STATIC_LIBS dependency
Thomas Petazzoni [Tue, 26 Nov 2019 22:23:10 +0000 (23:23 +0100)]
package/libargon2: add missing Config.in for the !BR2_STATIC_LIBS dependency

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libargon2: new package
Pascal de Bruijn [Thu, 21 Nov 2019 08:12:23 +0000 (09:12 +0100)]
package/libargon2: new package

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agolinux: add option to select the CIP real-time kernel
Angelo Compagnucci [Tue, 26 Nov 2019 11:59:33 +0000 (12:59 +0100)]
linux: add option to select the CIP real-time kernel

This patch adds Linux CIP RT, the PREEMPT_RT real-time variant maintained
by the CIP team.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/nanopi_neo: determine roofs partition size automatically
Viktar Palstsiuk [Tue, 26 Nov 2019 09:03:52 +0000 (12:03 +0300)]
configs/nanopi_neo: determine roofs partition size automatically

Let genimage determine rootfs partition size based on the filesystem
image size.

Signed-off-by: Viktar Palstsiuk <viktar.palstsiuk@promwad.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libubootenv: bump to version 9294981
Pierre-Jean Texier [Mon, 25 Nov 2019 22:01:05 +0000 (23:01 +0100)]
package/libubootenv: bump to version 9294981

This includes the following changes:

9294981 handle protected mmcblk_boot_ devices
ac6d18a add missing includes
8106b65 add .editorconfig file

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/iproute2: bump to version 5.4.0
Pierre-Jean Texier [Tue, 26 Nov 2019 17:28:45 +0000 (18:28 +0100)]
package/iproute2: bump to version 5.4.0

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Tested-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/glibc: install locale utility only when BR2_PACKAGE_GLIBC_UTILS=y
Pascal de Bruijn [Tue, 26 Nov 2019 14:59:03 +0000 (15:59 +0100)]
package/glibc: install locale utility only when BR2_PACKAGE_GLIBC_UTILS=y

Fixes: fb1ee93ca4378456774e1ae24fcf370417733a38
Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/glibc: install locale utility when NLS is enabled
Pascal de Bruijn [Tue, 26 Nov 2019 08:55:41 +0000 (09:55 +0100)]
package/glibc: install locale utility when NLS is enabled

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoboot/arm-trusted-firmware: add option BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_BL33_IMAGE
Jerry Huang [Thu, 21 Nov 2019 10:23:19 +0000 (18:23 +0800)]
boot/arm-trusted-firmware: add option BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_BL33_IMAGE

Currently, when BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33 is
enabled, the arm-trusted-firmware package assumes that the BL33 image
provided by U-Boot is u-boot.bin. However for some platforms, the name
may be different (for example u-boot-dtb.bin). To support such use
cases, this commit adds a string option
BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_BL33_IMAGE to configure the
U-Boot image name, which defaults to u-boot.bin to preserve backward
compatibility.

Signed-off-by: Jerry Huang <jerry.huang@nxp.com>
Reviewed-by: Sergey Matyukevich <geomatsi@mail.com>
[Thomas: rewrite commit log and Config.in help text]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libmaxminddb: bump to version 1.4.2
Fabrice Fontaine [Mon, 25 Nov 2019 18:08:12 +0000 (19:08 +0100)]
package/libmaxminddb: bump to version 1.4.2

- Remove patch (already in version)
- Retrieve official tarball to drop autoreconf

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/testing: basetest.py: fix code style
Pierre-Jean Texier [Mon, 25 Nov 2019 20:30:02 +0000 (21:30 +0100)]
support/testing: basetest.py: fix code style

Fix these warnings:

W291 trailing whitespace

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

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/testing: test_lxc.py: fix code style
Pierre-Jean Texier [Mon, 25 Nov 2019 20:30:01 +0000 (21:30 +0100)]
support/testing: test_lxc.py: fix code style

Fix these warnings:

E122 continuation line missing indentation or outdented
E127 continuation line over-indented for visual indent
E265 block comment should start with '# '
E302 expected 2 blank lines, found 1
F401 'pexpect' imported but unused

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

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/spidermonkey: new package
Adam Duskett [Mon, 25 Nov 2019 17:50:28 +0000 (09:50 -0800)]
package/spidermonkey: new package

Spidermonkey is Mozilla's JavaScript engine written in C and C++. It is used in
various Mozilla products, including Firefox, and is available under the MPL2.

There are 10 patches currently required to properly cross-compile spidermonkey:

1) allow-newer-autoconf-versions
  - Spidermonkey is hardcoded to use Autoconf 2.13, which is from 1999!
    The reasoning behind using 2.13 is because newer versions of Autoconf do not
    work correctly with the custom m4 macros in the source code.

    However: Because we are building just the Spidermonkey engine instead of the
    entire Firefox package, newer versions of Autoconf work without issue.
    See: See: https://bugzilla.mozilla.org/show_bug.cgi?id=104642
    for further explanation.

2) allow-building-in-tree
  - By default, spidermonkey must be configured and built out-of-tree, otherwise
    the following error occurs:

    FATAL ERROR PROCESSING MOZBUILD FILE
    ==============================

    The error occurred while processing the following file or one of the files
    it includes:
      js/src/shell/moz.build

    The error occurred when validating the result of the execution. The reported
    error is:
        The path specified in LOCAL_INCLUDES is not allowed:
        .. (resolved to js/src)
    Remove this check, as spidermonkey builds without issue in-tree.

3) allow-unknown-configuration-options
  - By default, if an unknown parameter is passed to configure, an error is
    raised. Replace the raise with a pass and continue.
Fixes: https://bugzilla.mozilla.org/show_bug.cgi?id=1379540
4) fix-building-with-musl
  - The MIPS specific header <sgidefs.h> is not provided by musl.
    The Linux kernel headers <asm/sgidefs.h> provide the same definitions.

5) add-riscv-support
  - Submitted upstream:
    See: https://bugzilla.mozilla.org/show_bug.cgi?id=1318905

6) copy-headers-on-install-instead-of-symlinking
  - When installing, instead of linking the headers to the source directory,
    copy them.

7) ensure-proper-running-on-64-bit-and-32-bit-be-platforms
  - Taken from the Fedora RPM
    Applied upstream.
Fixes: https://bugzilla.mozilla.org/show_bug.cgi?id=1488552
8) 0008-save-and-restore-non-volatile-x28-on-ARM64-for-generated-unboxed-obje
  - Taken from the Fedora RPM:
    Applied upstream.
Fixes: https://bugzilla.mozilla.org/show_bug.cgi?id=1375074
9) save-x28-before-clobbering-it-in-the-regex-compiler
  - Taken from the Fedora RPM:
    Applied upstream.
Fixes: https://bugzilla.mozilla.org/show_bug.cgi?id=1445907
10) always-use-the-equivalent-year-to-determine-the-time-zone
  - Taken from the Fedora RPM:
    Applied upstream.
Fixes: https://bugzilla.mozilla.org/show_bug.cgi?id=1415202
Typically, The Firefox source tarball is used to build spidermonkey; however,
this has two disadvantages:
  - It's large. The Firefox source tarball is over 250M.
  - It requires Autoconf 2.13
Instead, use a tarball with only the Spidermonkey source code in it with a
pre-setup configure file. This tarball reduces the size to 31M and prevents the
Autoconf 2.13 requirement.

Signed-off-by: Adam Duskett <aduskett@greenlots.com>
[Thomas: adjust how the libnspr arch dependency is handled]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agogitlab-ci.yml: regenerate after new defconfig addition
Pierre-Jean Texier [Mon, 25 Nov 2019 18:13:07 +0000 (19:13 +0100)]
gitlab-ci.yml: regenerate after new defconfig addition

Fixes b68022c7cb17d27acc14ff64434413e8c93d7a56 ("board: add Beelink GS1 support")

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pkg-generic: fix space formatting
Angelo Compagnucci [Sun, 24 Nov 2019 23:09:18 +0000 (00:09 +0100)]
package/pkg-generic: fix space formatting

This patch fixes a formatting issues where spaces were used instead of tabs.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gcnano-binaries: create directory before copying files
Jens Kleintje [Mon, 25 Nov 2019 10:14:26 +0000 (11:14 +0100)]
package/gcnano-binaries: create directory before copying files

The directory $(1)/usr/include may not exist before copy files.

Signed-off-by: Jens Kleintje <scooby22@web.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gcnano-binaries: install .pc files
Jens Kleintje [Mon, 25 Nov 2019 10:14:25 +0000 (11:14 +0100)]
package/gcnano-binaries: install .pc files

Qt needs the package config files for building.

Signed-off-by: Jens Kleintje <scooby22@web.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/stunnel: bump to version 5.56
Pierre-Jean Texier [Mon, 25 Nov 2019 17:03:37 +0000 (18:03 +0100)]
package/stunnel: bump to version 5.56

Release notes of the bugfix release:
 - https://www.stunnel.org/NEWS.html

Also:
 - rename COPYRIGHT.GPL to COPYRIGHT.md
 - rename COPYING to COPYING.md

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-crontab: fix check-package warning
Pierre-Jean Texier [Mon, 25 Nov 2019 12:18:20 +0000 (13:18 +0100)]
package/python-crontab: fix check-package warning

Fixes:

package/python-crontab/Config.in:5: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
26 lines processed
1 warnings generated

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/python-crontab: new package
Grzegorz Blach [Tue, 19 Nov 2019 16:51:54 +0000 (16:51 +0000)]
package/python-crontab: new package

Crontab module for reading and writing crontab files and accessing
the system cron automatically and simply using a direct API.

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoboot/barebox: bump version to 2019.11.0
Bartosz Bilas [Sun, 24 Nov 2019 14:50:37 +0000 (15:50 +0100)]
boot/barebox: bump version to 2019.11.0

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/terminology: bump to version 1.6.0
Romain Naour [Sun, 24 Nov 2019 10:27:54 +0000 (11:27 +0100)]
package/terminology: bump to version 1.6.0

See:
https://www.enlightenment.org/news/2019-11-16-terminology-1.6.0

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoconfigs/orangepi_r1: bump kernel and u-boot versions
Peter Korsgaard [Sat, 23 Nov 2019 23:18:48 +0000 (00:18 +0100)]
configs/orangepi_r1: bump kernel and u-boot versions

Bump Linux to 5.3.12 and U-Boot to 2019.10.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libkcapi: bump version to 1.1.5
Bernd Kuhls [Sat, 31 Aug 2019 11:50:05 +0000 (13:50 +0200)]
package/libkcapi: bump version to 1.1.5

Removed patch applied upstream:
https://github.com/smuellerDD/libkcapi/commit/52620ec798a580b2053d16a42362e9926729eb30

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libndp: bump version to 1.7
Bernd Kuhls [Sat, 31 Aug 2019 11:53:07 +0000 (13:53 +0200)]
package/libndp: bump version to 1.7

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libgudev: bump version to 233
Bernd Kuhls [Sat, 31 Aug 2019 11:31:10 +0000 (13:31 +0200)]
package/libgudev: bump version to 233

Release notes:
http://ftp.gnome.org/pub/GNOME/sources/libgudev/233/libgudev-233.news

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libedit: bump version to 20190324-3.1
Bernd Kuhls [Sat, 31 Aug 2019 10:58:27 +0000 (12:58 +0200)]
package/libedit: bump version to 20190324-3.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libcgi: bump version to 1.3.0
Bernd Kuhls [Sat, 31 Aug 2019 10:23:00 +0000 (12:23 +0200)]
package/libcgi: bump version to 1.3.0

Removed patches applied upstream:
https://github.com/rafaelsteil/libcgi/commit/d7cf836905ab8a46034295023a1a5677dd4c7ce5
https://github.com/rafaelsteil/libcgi/commit/58edd5089011f7d9846e9336670f90d135d1c580

Added upstream-provided md5 hash.

Upstream moved and renamed license file COPYING and added MIT license
file:
https://github.com/rafaelsteil/libcgi/commit/86e88b4b050fa5db1a5062e74429170e49dbde5a

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoboard/beelink_gs1: enable mdev and dhcp on eth0
Clément Péron [Sun, 27 Oct 2019 19:21:30 +0000 (20:21 +0100)]
board/beelink_gs1: enable mdev and dhcp on eth0

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoboard: add Beelink GS1 support
Clément Péron [Sun, 27 Oct 2019 19:21:29 +0000 (20:21 +0100)]
board: add Beelink GS1 support

Signed-off-by: Clément Péron <peron.clem@gmail.com>
[Peter: explicitly use kernel 5.3.12]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/cpuburn-arm: new package
Baruch Siach [Wed, 20 Nov 2019 12:45:23 +0000 (14:45 +0200)]
package/cpuburn-arm: new package

cpuburn-arm burns CPU cycles to generate as much heat as possible.
Useful for stress testing.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
[yann.morin.1998@free.fr:
  - fix title  (Thomas)
  - simplify and rename _ARCH_SUPPORTS  (Thomas)
]
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
5 years agopackage/librsync: bump to version 2.2.1
Fabrice Fontaine [Sat, 23 Nov 2019 18:05:05 +0000 (19:05 +0100)]
package/librsync: bump to version 2.2.1

librsync can be built statically through the standard cmake
BUILD_SHARED_LIBS option since version 2.2.0 and
https://github.com/librsync/librsync/commit/1ad3c7c600dc7231b0d3feb9bfcd83fa0ebe1051

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/whois: bump to version 5.5.3
Fabrice Fontaine [Sat, 23 Nov 2019 17:41:21 +0000 (18:41 +0100)]
package/whois: bump to version 5.5.3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libxslt: bump to version 1.1.34
Fabrice Fontaine [Sat, 23 Nov 2019 17:35:05 +0000 (18:35 +0100)]
package/libxslt: bump to version 1.1.34

Remove patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libidn2: bump to version 2.3.0
Fabrice Fontaine [Sat, 23 Nov 2019 17:06:19 +0000 (18:06 +0100)]
package/libidn2: bump to version 2.3.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/tinycbor: bump to version 0.5.3
Fabrice Fontaine [Sat, 23 Nov 2019 16:59:50 +0000 (17:59 +0100)]
package/tinycbor: bump to version 0.5.3

Remove patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libffi: bump to version 3.3
Fabrice Fontaine [Sat, 23 Nov 2019 16:54:09 +0000 (17:54 +0100)]
package/libffi: bump to version 3.3

Update hash for license file (update in year:
https://github.com/libffi/libffi/commit/058aa4130445b4ef3c2f77f796c33506873031ca)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/fatcat: bump version to 1.1.0
Peter Korsgaard [Sat, 23 Nov 2019 10:55:23 +0000 (11:55 +0100)]
package/fatcat: bump version to 1.1.0

The tag now has a 'v' prefix, so handle that in the github macro.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/rsyslog: bump to 8.1911.0
Matt Weber [Mon, 18 Nov 2019 21:20:18 +0000 (15:20 -0600)]
package/rsyslog: bump to 8.1911.0

https://github.com/rsyslog/rsyslog/blob/v8-stable/ChangeLog

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/glibc: install utilities into their standard locations
Peter Korsgaard [Sat, 23 Nov 2019 12:40:15 +0000 (13:40 +0100)]
package/glibc: install utilities into their standard locations

As pointed out by Carlos, ldconfig normally goes into /sbin, and getconf +
ldd into /usr/bin, so do that here as well instead of installing everything
to /bin.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/perl: bump to version 5.30.1
Francois Perrad [Fri, 22 Nov 2019 16:53:30 +0000 (17:53 +0100)]
package/perl: bump to version 5.30.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoglibc: install glibc utils to target
Nikita Sobolev [Thu, 21 Nov 2019 12:31:20 +0000 (15:31 +0300)]
glibc: install glibc utils to target

With this patch we introduce an option for glibc, which
installs getconf, ldconfig and ldd utilities on target, that
may be useful in debugging. By default these utilities are
built, but not installed to the target.
ldd is a bash script, so it has bash dependency.

Signed-off-by: Nikita Sobolev <Nikita.Sobolev@synopsys.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
5 years agosupport/testing: add lxc test
Patrick Havelange [Wed, 20 Nov 2019 13:39:52 +0000 (14:39 +0100)]
support/testing: add lxc test

The test starts a simple container with an iperf3 server.
The container is using the tini init system, with a shared rootfs.
An iperf3 client is started from the host to check that the container
is really up and running.

Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/testing: add assertRunOk method to BRTest class
Patrick Havelange [Wed, 20 Nov 2019 13:39:51 +0000 (14:39 +0100)]
support/testing: add assertRunOk method to BRTest class

This method asserts that the given command ran successfully.
The goal is for it to be used by the different tests when needed.

Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/linuxconsoletools: bump version to 1.7.0
Koen Martens [Wed, 20 Nov 2019 16:14:09 +0000 (17:14 +0100)]
package/linuxconsoletools: bump version to 1.7.0

This version changed the (optional) dependency from sdl and
sdl-config to sdl2 and pkg-config. Therefore, the patch
0002-sdl-config.patch has been dropped and the dependency
has been changed to BR2_PACKAGE_SDL2.

Since SDL2 (required to build force-feedback utilities)
requires shared library support to compile, a dependency
on !BR2_STATIC_LIBS was added to the configuration option
that enables force-feedback utilities.

Signed-off-by: Koen Martens <gmc@sonologic.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agolinux: bump CIP kernel to version 4.19.82-cip14
Angelo Compagnucci [Wed, 20 Nov 2019 18:58:54 +0000 (19:58 +0100)]
linux: bump CIP kernel to version 4.19.82-cip14

This patch bumps Linux CIP version to 4.19.82-cip14.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agolinux: change CIP kernel download method
Angelo Compagnucci [Wed, 20 Nov 2019 18:58:53 +0000 (19:58 +0100)]
linux: change CIP kernel download method

Downloading from https a tarball is faster than cloning a git repo.
If needed, BR2_LINUX_KERNEL_CUSTOM_GIT can be used as a fallback
mechanism to downlad the CIP kernel with git.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/raspi-gpio: new package
Pierre-Jean Texier [Tue, 12 Nov 2019 21:22:29 +0000 (22:22 +0100)]
package/raspi-gpio: new package

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
[Thomas: fix typo in Config.in, disable installation to staging, both
were noticed by Yann E. Morin]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-bunch: add to package/Config.in
Thomas Petazzoni [Tue, 19 Nov 2019 16:34:22 +0000 (17:34 +0100)]
package/python-bunch: add to package/Config.in

This was missing from commit 8f15dd35ef659cffa6e6d25cde38c9a0248f2b5f.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-bunch: new package
Matt Weber [Tue, 12 Nov 2019 21:03:00 +0000 (15:03 -0600)]
package/python-bunch: new package

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
[Thomas: add missing entry to DEVELOPERS file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/umtprd: new package
Paul Cercueil [Wed, 13 Nov 2019 11:21:36 +0000 (12:21 +0100)]
package/umtprd: new package

uMTP-Responder is a lightweight USB Media Transfer Protocol (MTP)
responder daemon for GNU/Linux.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
[Thomas: license is GPL-3.0+]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/spice: disable tests
Fabrice Fontaine [Sun, 17 Nov 2019 16:44:49 +0000 (17:44 +0100)]
package/spice: disable tests

By disabling tests, we'll remove the optional gdk-pixbuf dependency

Fixes:
 - http://autobuild.buildroot.org/results/96c786f85d35f33508e9c71778043d16b87f72cd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-hiredis: bump to 1.0.1
Grzegorz Blach [Mon, 18 Nov 2019 20:42:16 +0000 (20:42 +0000)]
package/python-hiredis: bump to 1.0.1

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/rng-tools: needs autoreconf
Fabrice Fontaine [Sun, 17 Nov 2019 18:59:36 +0000 (19:59 +0100)]
package/rng-tools: needs autoreconf

Commit b6606937d861cc4de60e40baec1cb6cdb61b2aab wrongly removed
RNG_TOOLS_AUTORECONF=YES

Fixes:
 - http://autobuild.buildroot.org/results/a0a4631cc0252579b675a0c401a99239d0b97392

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Matt Weber <matt@thewebers.ws>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dtc: fix license hashes
Fabrice Fontaine [Sat, 26 Oct 2019 18:46:27 +0000 (20:46 +0200)]
package/dtc: fix license hashes

Update hash of license files and add BSD-2-Clause file, see
https://git.kernel.org/pub/scm/utils/dtc/dtc.git/commit/?id=25bb080c18d1a8a96760e26257bf8c80ec7fcab4
https://git.kernel.org/pub/scm/utils/dtc/dtc.git/commit/?id=702c1b6c0e73d2bcf24f0b8398aca6a940863e48

Fixes:
 - http://autobuild.buildroot.org/results/d3db8ddc096f09bb1728a0ba40b925fbf49c424b
 - http://autobuild.buildroot.org/results/799bddc1467413b1f202a8803e902c797f4f9c92

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit ae0dabd8620cc5fb345096beecef681d19699cd4)
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
5 years agopackage/protobuf: bump to 3.10.1
Matt Weber [Sat, 16 Nov 2019 13:51:24 +0000 (07:51 -0600)]
package/protobuf: bump to 3.10.1

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/uboot-tools: bump to 2019.10
Matt Weber [Sat, 16 Nov 2019 13:43:36 +0000 (07:43 -0600)]
package/uboot-tools: bump to 2019.10

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/python-txdbus: bump to 1.1.1
Matt Weber [Sat, 16 Nov 2019 13:29:30 +0000 (07:29 -0600)]
package/python-txdbus: bump to 1.1.1

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/python-tinyrpc: bump to 1.0.4
Matt Weber [Sat, 16 Nov 2019 13:24:41 +0000 (07:24 -0600)]
package/python-tinyrpc: bump to 1.0.4

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libcurl: bump to 7.67.0
Matt Weber [Sat, 16 Nov 2019 13:02:17 +0000 (07:02 -0600)]
package/libcurl: bump to 7.67.0

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/git: bump to 2.24.0
Matt Weber [Sat, 16 Nov 2019 12:48:44 +0000 (06:48 -0600)]
package/git: bump to 2.24.0

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/rng-tools: bump to 6.8
Matt Weber [Sat, 16 Nov 2019 12:42:47 +0000 (06:42 -0600)]
package/rng-tools: bump to 6.8

Dropped autoreconf and non-standard pthread yield patches as they merged
upstream.

[Peter: really drop autoreconf]
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/irqbalance: bump to version 1.6.0
Pierre-Jean Texier [Sun, 10 Nov 2019 19:09:15 +0000 (20:09 +0100)]
package/irqbalance: bump to version 1.6.0

See full changelog https://github.com/Irqbalance/irqbalance/releases/tag/v1.6.0

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qt5/qt5base: add support for gcnano-binaries
Jens Kleintje [Thu, 14 Nov 2019 08:55:29 +0000 (09:55 +0100)]
package/qt5/qt5base: add support for gcnano-binaries

Signed-off-by: Jens Kleintje <scooby22@web.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gcnano-binaries: new package
Jens Kleintje [Thu, 14 Nov 2019 08:55:28 +0000 (09:55 +0100)]
package/gcnano-binaries: new package

New package which provides the driver and binary blob libraries for
the STM32MP157 vivante gcnano gpu. The precompiled libraries depend
on wayland and libdrm.

Signed-off-by: Jens Kleintje <scooby22@web.de>
[Thomas:
 - add missing dependency on glibc
 - add missing dependencies on threads (wayland, libdrm) and !static
   (wayland)
 - introduce GCNANO_BINARIES_LIB_VERSION,
   GCNANO_BINARIES_DRIVER_VERSION and GCNANO_BINARIES_USERLAND_VERSION
   variables to simplify code a bit
 - greatly simplify the installation, by using more the available
   libraries/files. This also avoids the installation of duplicate
   release/debug libraries]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/xtables-addons: bump to 3.5
Matt Weber [Thu, 14 Nov 2019 18:55:25 +0000 (12:55 -0600)]
package/xtables-addons: bump to 3.5

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dtc: bump version to 1.5.1
Sam Bobroff [Fri, 15 Nov 2019 06:04:34 +0000 (17:04 +1100)]
package/dtc: bump version to 1.5.1

Updated patch 1 to handle changed context.
Removed patch 2 which is now upstream.

The update allows QEMU's configure script to successfully detect libfdt.

Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qemu: search for host-dtc (libfdt) headers at the right place
Carlos Santos [Sun, 3 Nov 2019 15:12:58 +0000 (12:12 -0300)]
package/qemu: search for host-dtc (libfdt) headers at the right place

The libfdt headers are installed at $(HOST_DIR)/include/libfdt now, to
prevent conflicts with the kernel dtc code. Pass that path to the qemu
configure script, otherwise it uses its bundled copy of libfdt.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dtc: install host libfdt headers in a subdirectory
Carlos Santos [Sun, 3 Nov 2019 15:12:57 +0000 (12:12 -0300)]
package/dtc: install host libfdt headers in a subdirectory

Installing the libfdt headers at $(HOST_DIR)/include interferes with the
build of the kernel, as in beaglebone:

2019-11-01T22:23:16 /usr/bin/make -f ./scripts/Makefile.build obj=scripts
2019-11-01T22:23:16 /usr/bin/make -f ./scripts/Makefile.build obj=scripts/dtc need-builtin=
2019-11-01T22:23:16 (cat /dev/null; ) > scripts/dtc/modules.order
2019-11-01T22:23:16 /usr/bin/gcc -O2 -I/work/beaglebone/host/include -L/work/beaglebone/host/lib -Wl,-rpath,/work/beaglebone/host/lib -Wp,-MD,scripts/dtc/libfdt/.fdt_ro.o.d -Wall -Wmissing-prototypes -Wstrict-p>
2019-11-01T22:23:16 scripts/dtc/libfdt/fdt_ro.c:92:10: error: redefinition of ‘fdt_get_max_phandle’
2019-11-01T22:23:16 uint32_t fdt_get_max_phandle(const void *fdt)
2019-11-01T22:23:16 ^~~~~~~~~~~~~~~~~~~
2019-11-01T22:23:16 In file included from scripts/dtc/libfdt/fdt_ro.c:54:
2019-11-01T22:23:16 /work/beaglebone/host/include/libfdt.h:384:24: note: previous definition of ‘fdt_get_max_phandle’ was here
2019-11-01T22:23:16 static inline uint32_t fdt_get_max_phandle(const void *fdt)
2019-11-01T22:23:16 ^~~~~~~~~~~~~~~~~~~
2019-11-01T22:23:16 make[4]: *** [scripts/Makefile.host:107: scripts/dtc/libfdt/fdt_ro.o] Error 1
2019-11-01T22:23:16 make[3]: *** [scripts/Makefile.build:544: scripts/dtc] Error 2
2019-11-01T22:23:16 make[2]: *** [Makefile:1066: scripts] Error 2
2019-11-01T22:23:16 make[1]: *** [package/pkg-generic.mk:241: /work/beaglebone/build/linux-4dae378bbe721277b08699d1d88ffae12acc9b09/.stamp_built] Error 2

We cannot simply disable dtc support and patching the kernel makefiles
is risky and error-prone, so let's just install the host-dtc headers at
$(HOST_DIR)/include/libfdt to circumvent the problem.

Packages that depend on those headers (e.g. host-qemu) must be updated
to user the correct path but this is small change.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/sdbusplus: fix check-package warnings
Thomas Petazzoni [Fri, 15 Nov 2019 20:31:02 +0000 (21:31 +0100)]
package/sdbusplus: fix check-package warnings

Fixes:

package/sdbusplus/Config.in.host:7: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
package/sdbusplus/sdbusplus.mk:26: expected indent with tabs

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoboot/arm-trusted-firmware: add pattern based image copy for ATF
Schenk Michael [Fri, 15 Nov 2019 07:51:01 +0000 (07:51 +0000)]
boot/arm-trusted-firmware: add pattern based image copy for ATF

This adds support for different platforms where the binaries have
different extensions.

Signed-off-by: Michael Schenk <michael.schenk@noser.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/atmel: bump to linux4sam_6.2 and at91bootstrap 3.9.0
Eugen Hristev [Fri, 15 Nov 2019 13:07:54 +0000 (13:07 +0000)]
configs/atmel: bump to linux4sam_6.2 and at91bootstrap 3.9.0

Update configs with latest linux4sam and at91bootstrap.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/postgresql: bump version to 12.1
Bernd Kuhls [Fri, 15 Nov 2019 18:08:31 +0000 (19:08 +0100)]
package/postgresql: bump version to 12.1

Release notes of the bugfix release:
https://www.postgresql.org/about/news/1994/
https://www.postgresql.org/docs/current/release-12-1.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-huepy: fix build with python3.8
Louis Aussedat [Thu, 14 Nov 2019 20:14:07 +0000 (21:14 +0100)]
package/python-huepy: fix build with python3.8

Fixes:
  - http://autobuild.buildroot.net/results/240c397a6479b98f30b63b5135bfb2e45281de7d

Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
5 years agopackage/shadowsocks-libev: bump version to 3.3.3
Min Xu [Thu, 14 Nov 2019 08:28:53 +0000 (00:28 -0800)]
package/shadowsocks-libev: bump version to 3.3.3

Signed-off-by: Min Xu <xuminready@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/beaglebone: bump kernel version to 4.19.79-ti-r30
Carlos Santos [Wed, 13 Nov 2019 12:21:58 +0000 (09:21 -0300)]
configs/beaglebone: bump kernel version to 4.19.79-ti-r30

Use the github macro instead of git, to save download time.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/sdbusplus: new package
John Faith [Wed, 7 Aug 2019 19:12:00 +0000 (19:12 +0000)]
package/sdbusplus: new package

A C++ library for interacting with sd-bus and a C++ bindings generator.

The host build produces a code generation tool, sdbus++ while the
target build gives libsdbusplus.

The code generator requires host-python-pyyaml, host-python-inflection,
and host-python-mako. Since it isn't built for the target, the target
build does not require them.

The host package includes a code and documentation generation program,
which is useful for including in a buildroot SDK, even if no target
package needs it, so make it a user-selectable host package.

host-autoconf-archive is added as a dependency since configure.ac
uses the AX_PKG_CHECK_MODULES macro.

Signed-off-by: John Faith <jfaith@impinj.com>
Signed-off-by: Trent Piepho <tpiepho@impinj.com>
[Thomas: use host-python3 when BR2_PACKAGE_PYTHON3=y]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/rcw: add option to generate the RCW
Jared Bents [Sat, 3 Aug 2019 21:00:52 +0000 (23:00 +0200)]
package/rcw: add option to generate the RCW

When the rcw tools is built, it is probably to generate the RCW (Reset
Configuration Word) of the target. So it makes sense to do this directly
in the Buildroot infra and install it in the images directory, just like
we do for e.g. device tree blobs.

Add an option BR2_PACKAGE_HOST_RCW_CUSTOM_PATH that allows to specify
the source for the RCW. And while we're at it, make it possible to
specify multiple .rcw and .rcwi files, just like for device trees.

Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com>
[Arnout:
  * Reword help text and commit message
  * Remove definition of RCW_DELIVERY_FILE
  * Define and use RCW_FILES
  * Enclose everything in ifneq($(RCW_FILES),)
  * Enclose error in ifeq($(BR_BUILDING),y)
  * Add actual error message
  * Don't limit to only %.rcwi files
  * Don't delete *.bin
]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/pc_x86_64_efi: use genimage GPT partition table support
Alexandre PAYEN [Wed, 7 Aug 2019 13:54:57 +0000 (15:54 +0200)]
configs/pc_x86_64_efi: use genimage GPT partition table support

Thanks to the introduction of GPT partition table support in genimage,
this commit improves the pc_x86_64_efi_defconfig to remove the use of
the custom script creating the image.

Tested in QEMU, not on a physical device.

So:
- revert commit fee29b05bb7db25e37c8a5175ce00dc712554edf[1]
- add GPT support
- tweak shell script to add the correct UUID in genimage config.

[1]: https://git.buildroot.net/buildroot/commit/?id=fee29b05bb7db25e37c8a5175ce00dc712554edf
[2]: https://git.buildroot.net/buildroot/commit/?id=79b8540d624ac4846ba341b1b9691eccacf0bc05

Signed-off-by: Alexandre PAYEN <alexandre.payen@smile.fr>
Cc: Carlos Santos <casantos@datacom.com.br>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[Thomas:
 - drop commented code in post-build.sh
 - take into account comments made by Carlos Santos in
   http://patchwork.ozlabs.org/patch/1143502/]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/paho-mqtt-cpp: bump version to 1.1
Refik Tuzakli [Mon, 11 Nov 2019 19:40:15 +0000 (22:40 +0300)]
package/paho-mqtt-cpp: bump version to 1.1

Signed-off-by: Refik Tuzakli <tuzakli.refik@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoarch/Config.in.arc: introduce the ARC optimized hs38 variant
Vineet Gupta [Tue, 12 Nov 2019 15:34:43 +0000 (07:34 -0800)]
arch/Config.in.arc: introduce the ARC optimized hs38 variant

This corresponds to -mcu=hs38 with mpy-option=9 (64-bit multiplier)

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/stm32flash: bump to revision 3cebf12
Pierre-Jean Texier [Tue, 12 Nov 2019 19:01:36 +0000 (20:01 +0100)]
package/stm32flash: bump to revision 3cebf12

This includes the following changes:

3cebf12 dev_table: add STM32G07xxx/08xxx
5ad1f87 Makefile: Check if CC and AR are defined
ee5b009 Fix comparison between signed and unsigned integer
74bfe1a serial_w32: remove always false if-then
d302abf Add comment on switch fall-through
12f06e3 Fix warning for unused parameters with mingw-gcc
4957909 Fix compile warning for unused parameters
475da89 Fix signed/unsigned comparison
68cc278 Fix dev_table for Android compilation
2e09c51 Fix indentation warning from GCC 7.1.1
c4293d3 Flip PEMPTY bit before SW reset on STM32L452
acf15a2 dev_table: add device STM32L01xxx/02xxx
59d08c2 dev_table: add device family H7
12bfd33 dev_table: fix flash layout of STM32F72xxx/73xxx
0c84669 dev_table: add STM32L45xxx/46xxx
e2a4f65 dev_table: fix option byte end address for STM32L43xxx/44xxx
76da7c4 dev_table: L4: reorder with AN2606 rev 31
cc70634 dev_table: F0: reorder with AN2606 rev 31
8a0d423 dev_table: F4: reorder and align names with AN2606 rev 31
bc0876d dev_table: fix RAM size for STM32F412xx
2783493 Add some more F4/F7/L4 devices
27626f5 Add autotools support
6b6b6e5 Let user decide length for unknown memory areas
671561e Allow read/write to full option byte area and system memory
843c6f5 Don't write diagnostics messages to stdout unconditionally
3a07489 Don't always print banner to stdout
cc97bca Treat filenames starting with hyphen correctly
a1b2fe4 Improve validation of GPIO sequence
7683db8 Allow specifying more than 255 pages to erase
033aaa8 Report RAM and flash size as maximal values
1f10b4e Serial POSIX: Check if tty is already opened by another stm32flash
8aa685c Add ctrl-C signal handler
3daa90e Print message on failing read/write protect/unprotect
7b5b33a Verbose error message on GPIO signal change failure
d5df420 Add message and fix return code on failed boot entry sequence
a285a09 Flush port after boot GPIO sequence
ee7c963 Fix return code from GPIO bootloader exit sequence
de7332e Fix return code from GPIO bootloader entry sequence
efeab97 Allow extra delay or no delay at all in GPIO sequences
d202bd0 Make termios timeout settable via TERMIOS_TIMEOUT_MS define
0242da6 Ensure correct precedence of bit and logic comparisons
26854ef Fix return value in case of successful protect/unprotect operation
3772e95 Fix return code in case of flash failure
7a7b4c9 Always run GPIO exit sequence if present
d581ce8 Put Linux specific GPIO code under conditional compile
8c4aa65 dev_table: Mark 0x417, 0x429, 0x427 for no mass-erase
2381ce3 Fix parity setting/checking on *BSD and MacOSX
5361ed8 Fix for device 0x442: System memory start address

Also add hash for license file

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-future: new package
Louis Aussedat [Sun, 10 Nov 2019 22:26:55 +0000 (23:26 +0100)]
package/python-future: new package

Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-huepy: new package
Louis Aussedat [Sun, 10 Nov 2019 22:26:54 +0000 (23:26 +0100)]
package/python-huepy: new package

Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-dnspython: new package
Louis Aussedat [Sun, 10 Nov 2019 22:26:53 +0000 (23:26 +0100)]
package/python-dnspython: new package

Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/orangepi_lite: bump kernel and u-boot versions
Sergey Matyukevich [Sun, 3 Nov 2019 14:56:02 +0000 (17:56 +0300)]
configs/orangepi_lite: bump kernel and u-boot versions

Bump Linux to 5.3.8 and U-Boot to 2019.10.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Tested-by: Jan Kraval <jan.kraval@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/orangepi_pc_plus: bump kernel and u-boot versions
Sergey Matyukevich [Sun, 3 Nov 2019 14:56:01 +0000 (17:56 +0300)]
configs/orangepi_pc_plus: bump kernel and u-boot versions

Bump Linux to 5.3.8 and U-Boot to 2019.10.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/orangepi_pc: bump kernel and u-boot versions
Sergey Matyukevich [Sun, 3 Nov 2019 14:56:00 +0000 (17:56 +0300)]
configs/orangepi_pc: bump kernel and u-boot versions

Bump Linux to 5.3.8 and U-Boot to 2019.10.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/orangepi_zero_plus2: bump kernel and u-boot versions
Sergey Matyukevich [Sun, 3 Nov 2019 14:55:59 +0000 (17:55 +0300)]
configs/orangepi_zero_plus2: bump kernel and u-boot versions

Bump Linux to 5.3.8 and U-Boot to 2019.10.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/orangepi_zero: bump kernel and u-boot versions
Sergey Matyukevich [Sun, 3 Nov 2019 14:55:58 +0000 (17:55 +0300)]
configs/orangepi_zero: bump kernel and u-boot versions

Bump Linux to 5.3.8 and U-Boot to 2019.10.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/linksprite_pcduino: bump kernel and u-boot versions
Sergey Matyukevich [Sun, 3 Nov 2019 14:55:57 +0000 (17:55 +0300)]
configs/linksprite_pcduino: bump kernel and u-boot versions

Bump Linux to 5.3.8 and U-Boot to 2019.10.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/orangepi-one: bump kernel and u-boot versions
Sergey Matyukevich [Sun, 3 Nov 2019 14:55:56 +0000 (17:55 +0300)]
configs/orangepi-one: bump kernel and u-boot versions

Bump Linux to 5.3.8 and U-Boot to 2019.10.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>