- 07 May, 2017 19 commits
-
-
Thomas Petazzoni authored
This commit adds the core of a new testing infrastructure that allows to perform runtime testing of Buildroot generated systems. This infrastructure uses the Python unittest logic as its foundation. This core infrastructure commit includes the following aspects: - A base test class, called BRTest, defined in support/testing/infra/basetest.py. This base test class inherited from the Python provided unittest.TestCase, and must be subclassed by all Buildroot test cases. Its main purpose is to provide the Python unittest setUp() and tearDown() methods. In our case, setUp() takes care of building the Buildroot system described in the test case, and instantiate the Emulator object in case runtime testing is needed. The tearDown() method simply cleans things up (stop the emulator, remove the output directory). - A Builder class, defined in support/testing/infra/builder.py, simply responsible for building the Buildroot system in each test case. - An Emulator class, defined in support/testing/infra/emulator.py, responsible for running the generated system under Qemu, allowing each test case to run arbitrary commands inside the emulated system. - A run-tests script, which is the entry point to start the tests. Even though I wrote the original version of this small infrastructure, a huge amount of rework and improvement has been done by Maxime Hadjinlian, and squashed into this patch. So many thanks to Maxime for cleaning up and improving my Python code! Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Peter Korsgaard authored
The main reason why vcdbg is only available on ARM is the fact that this is a prebuilt ARM binary rather than the rpi-userland dependency, so adjust the comment to clarify. Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Yann E. MORIN authored
In c2c06a6d , cmake version was bumped and a new dependency on libuv was added, but it did not propagate all the dependencies of libuv, missing sync_4 (probably because sync_4 was added after the patch was sent on the list, but before it was applied to the tree). Fix that, which fixes unmet dependencies. Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Yann E. MORIN authored
Currently, vcdbg is only supported in 32-bit mode. Furthermore, vcdbg needs rpi-userland, which we currently only support in 32-bit mode. Add a dependency on BR2_arm. Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Baruch Siach authored
connman no longer triggers a conflict of userspace and kernel headers since commit 69ced963 (musl: workaround kernel if_ether.h header conflict). The real blocker for musl build (besides a few missing includes here and there) is the missing res_ninit() implementation. Update the comment accordingly. Signed-off-by:
Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Romain Naour authored
sunxi-mali userspace drivers (libMali.so) for r2p4 Mali kernel modules are linked against libUMP.so.2 but libump package in Buildroot only provide libUMP.so.3. In upstream commit 1c5063f43cdc9de341c0d63b2e3921cab86c7742 [1], library versioning was added. For the r3p* libraries, libUMP.so.3 is used (and provided by Buildroot libump package), but for the r2p* libraries, libUMP.so.2 is used (and not provided by Buildroot libump package). Due to this any program or library trying to link with -lGLESv2 or -lEGL will fail with the following error: arm-none-linux-gnueabi/bin/ld: warning: libUMP.so.2, needed by output/host/usr/arm-buildroot-linux-gnueabi/sysroot/armv4t/usr/lib/libMali.so, not found (try using -rpath or -rpath-link) output/host/usr/arm-buildroot-linux-gnueabi/sysroot/armv4t/usr/lib/libEGL.so: undefined reference to `ump_close' output/host/usr/arm-buildroot-linux-gnueabi/sysroot/armv4t/usr/lib/libEGL.so: undefined reference to `ump_mapped_pointer_get' output/host/usr/arm-buildroot-linux-gnueabi/sysroot/armv4t/usr/lib/libEGL.so: undefined reference to `ump_secure_id_get' output/host/usr/arm-buildroot-linux-gnueabi/sysroot/armv4t/usr/lib/libEGL.so: undefined reference to `ump_mapped_pointer_release' output/host/usr/arm-buildroot-linux-gnueabi/sysroot/armv4t/usr/lib/libMali.so: undefined reference to `ump_reference_add' output/host/usr/arm-buildroot-linux-gnueabi/sysroot/armv4t/usr/lib/libMali.so: undefined reference to `ump_size_get' output/host/usr/arm-buildroot-linux-gnueabi/sysroot/armv4t/usr/lib/libEGL.so: undefined reference to `ump_reference_release' output/host/usr/arm-buildroot-linux-gnueabi/sysroot/armv4t/usr/lib/libEGL.so: undefined reference to `ump_open' collect2: error: ld returned 1 exit status Since nothing provides libUMP.so.2, this commit removes the BR2_PACKAGE_SUNXI_MALI_R2P4 option and adds the BR2_ARM_EABIHF dependency directly to sunxi-mali package. Fixes: http://autobuild.buildroot.net/results/8d0/8d0b78798abf0c4ca124952d0d0455da6f8fa14f/ [1] https://github.com/linux-sunxi/sunxi-mali-proprietary/commit/1c5063f43cdc9de341c0d63b2e3921cab86c7742 [2] http://lists.busybox.net/pipermail/buildroot/2017-February/183500.html Signed-off-by:
Romain Naour <romain.naour@gmail.com> Cc: Francois Perrad <francois.perrad@gadz.org> [Thomas: fix conflicts when applying on master, tweak commit log.] Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Michael Heinemann authored
This bumps the version of triggerhappy to 0.5.0 The systemd unit supplied by buildroot assumed that filename globbing was supported by thd. But this was just recently added. So with this version bump usage of "/dev/input/event*" is now possible. Systemd Unit is adjusted accordingly. eventtable.h patch was removed as this was patched upstream. This patch fixes bug #9836. Signed-off-by:
Michael Heinemann <posted@heine.so>
-
Thomas Petazzoni authored
libseccomp can now be used on ARM, so allow it to be selected. Fixes bug #9806. Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Thomas Petazzoni authored
Instead of duplicating the architecture dependency between the main option and the Config.in comment, add a BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS hidden option. This is done in preparation to enabling libseccomp on ARM. Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Romain Naour authored
Even with an upstream patch from protobuf v3.3 [1], the build fail with another issue: In file included from google/protobuf/dynamic_message.cc:80: ./google/protobuf/map_field.h: In member function 'void google::protobuf::internal::MapField<Key, T, key_wire_type, value_wire_type, default_enum_value>::Swap(google::protobuf::internal::MapFieldLite<Key, T, kKeyFieldType, kValueFieldType, default_enum_value>*)': ./google/protobuf/map_field.h:139: error: object missing in reference to 'google::protobuf::internal::MapFieldBase::repeated_field_' ./google/protobuf/map_field_inl.h:342: error: from this location ./google/protobuf/map_field.h:150: error: object missing in reference to 'google::protobuf::internal::MapFieldBase::state_' ./google/protobuf/map_field_inl.h:344: error: from this location Add a dependency on gcc >= 4.5. [1] https://github.com/google/protobuf/commit/a83ac8663fb8042a881bc60b12a8bd3a0c03a3ff Fixes: http://autobuild.buildroot.org/results/77d/77dbb6bbbc0ea9e9bcdd22b10011ef9728c20d54 http://autobuild.buildroot.org/results/21f/21f5e1ea4f37e1d174604d6da78c0e916c89f1e3 http://autobuild.buildroot.org/results/24e/24e880086c87d40b5d79a90d805acc75b33d484c Signed-off-by:
Romain Naour <romain.naour@gmail.com> Cc: Mario J. Rugiero <mrugiero@gmail.com> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Romain Naour authored
Fixes: http://autobuild.buildroot.net/results/3e0/3e0bbf41e339e62422463773bf07945f048a9501 Signed-off-by:
Romain Naour <romain.naour@gmail.com> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Thomas Petazzoni authored
The BR2_TOOLCHAIN_BUILDROOT_INET_RPC has been removed in commit 98f7de87, following the removal from upstream uClibc-ng of the RPC support. However, armadeus_apf9328_defconfig was selecting this option, causing a build failure due to the selection of a legacy option. We simply remove it as anyway defconfigs should not needlessly enable toolchain options. Fixes: https://gitlab.com/buildroot.org/buildroot/builds/15762159 Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Thomas Petazzoni authored
Back when galileo_defconfig was added, an explicit binutils version was used, because only binutils >= 2.25 had support for the -momit-lock-prefix option, necessary to workaround a CPU issue. Support for binutils 2.25 has now been removed from Buildroot, and therefore the option no longer exists, causing a build failure. The oldest binutils version that can be selected in Buildroot is binutils 2.26, which has support for -momit-lock-prefix. Therefore, we simply remove the explicit binutils version selection. Fixes: https://gitlab.com/buildroot.org/buildroot/builds/15762201 Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Zakharov Vlad authored
As in upstream Linux zebu_hs_smp_defconfig was renamed to haps_hs_smp_defconfig we update Linux kernel defconfig name respectively. Also it fixes build failure, pointed us by Arnout: https://gitlab.com/buildroot.org/buildroot/builds/14419271 Signed-off-by:
Vlad Zakharov <vzakhar@synopsys.com> Reviewed-by:
Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Thomas Petazzoni authored
Since the bump of OpenOCD from 0.9.0 to 0.10.0 in commit 3b6c74d7, stm32f469_disco_defconfig fails to build: - 0001-add-config.patch was merged in upstream OpenOCD (commit 26045588f462476cee356d15a24944d6c26befb4). - 0002-flash-nor.patch was merged in upstream OpenOCD (commit 3e219648c80a27f0519003f3b088cbb846e255d8) Therefore, this commit removes the two patches that are no longer necessary. Fixes: https://gitlab.com/buildroot.org/buildroot/builds/15762279 Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Thomas Petazzoni authored
Since commit c6bca8ce removed autocalculation of the ext2 filesystem size, the default size is now set to 60MB. However, this is too small for pc_x86_64_efi_defconfig. Indeed, the ext2 filesystem contains the kernel (4MB), the wireless modules (4MB), all firmware for wireless modules (40MB), and the wifi userspace (9MB) and the udev hwdb (5MB) which brings the total to 70MB. Increase the filesystem size to 120000K, which is a nice and round number and leaves enough space for overhead on a 128MB flash drive. Fixes: https://gitlab.com/buildroot.org/buildroot/builds/15762234 This commit is identical to 9c393ad2 from Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>, except it is done for pc_x86_64_efi_defconfig. Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Thomas Petazzoni authored
In commit 4b2440b7 ("beaglebone: add DT for BeagleBone Green"), both beaglebone_defconfig and beaglebone_qt5_defconfig were updated to add "am335x-bonegreen" to the list of Device Tree files to be produced. However, beaglebone_qt5_defconfig uses an older kernel version than beaglebone_defconfig, in which am335x-bonegreen doesn't exist. Therefore, revert the change on beaglebone_qt5_defconfig. Fixes: https://gitlab.com/buildroot.org/buildroot/builds/15762182 Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Thomas Petazzoni authored
Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Yann E. MORIN authored
The LUAPATH variable is only used when installing the lua module, and cmake knows very well how to do out-of-tree isntalls, so there is no reason to include the staging path in LUAPATH, which will cause our post-install sanity checks to kick in and whine: libubox: installs files in /home/lhk/workspace/orangepi/host/usr/a rm-buildroot-linux-gnueabihf/sysroot//home/lhk/workspace/orangepi As for libuci, just pass the runtime LUAPATH. Fixes #9856 Reported-by:
<linhuikui@gmail.com> Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
- 06 May, 2017 10 commits
-
-
Romain Naour authored
Remove upstream patch. Signed-off-by:
Romain Naour <romain.naour@smile.fr> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Martin Bark authored
See https://nodejs.org/en/blog/release/v7.10.0/ Signed-off-by:
Martin Bark <martin@barkynet.com> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Martin Bark authored
BR2_PACKAGE_NODEJS_MODULES_COFFEESCRIPT has been deprecated. To continue using add coffee-script to BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL. Fixes: http://autobuild.buildroot.org/results/0e4fb1a615ab9654ad2b4b1274a34583e02aa44e http://autobuild.buildroot.org/results/fabf2f5f25c62be615fd09e59e6ad9234385645f http://autobuild.buildroot.org/results/8653d78a190df1e691f52a911d8153104c46226b http://autobuild.buildroot.org/results/2fc7e5e64ad6ced02a47e5062176d316eed0f43b Signed-off-by:
Martin Bark <martin@barkynet.com> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Martin Bark authored
BR2_PACKAGE_NODEJS_MODULES_EXPRESS has been deprecated. To continue using add express to BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL Fixes: http://autobuild.buildroot.org/results/fcfa38e98c22c8809452f7d0ee86dfe2e9d2482f http://autobuild.buildroot.org/results/946996fa78c7814d1e0ea0ef1239c6eb0c7aa8dd http://autobuild.buildroot.org/results/df920e7b17617f1e4867d94eda52cab38f7b0622 Signed-off-by:
Martin Bark <martin@barkynet.com> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Thomas Petazzoni authored
The ltp-testsuite now builds fine with our default uClibc configuration, so remove the Config.in comment and the part of the Config.in help text related to building with uClibc. Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Peter Korsgaard authored
Add firmware (NVRAM data) for the Raspberry Pi 3 and Zero W wifi module. Notice that linux-firmware provides the main firmware (brcmfmac43430-sdio.bin), but the module also needs board specific configuration (NVRAM) data. For the rpi, this data is available in the RPI firmware-nonfree git repo. As this repo contains a lot of unrelated data (~70MB), simply download the single NVRAM file instead of cloning the entire repo. A similar approach is used by openwrt and opensuse: https://dev.openwrt.org/browser/trunk/package/firmware/brcmfmac43430-firmware/Makefile?rev=49139 https://build.opensuse.org/package/view_file/hardware/bcm43xx-firmware/bcm43xx-firmware.spec?rev=b1628448b36c85abc9215eab4785ef29 [Peter: add _FIRMWARE_LICENSE as suggested by Yann] Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Danomi Manchego authored
There was already a post-build hook to delete the /var/lib/dbus symlink created by buildroot after the package's own installation, to prevent a dbus installation error during "make dbus-rebuild". However, this misses the case for when one might delete the .stamp_target_installed file manually, outside of dbus-rebuild. This can be fixed by changing the post-build hook to a pre-install hook. This seems appropriate, since it is really addressing an installation issue, not a build issue. Signed-off-by:
Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Peter Seiderer authored
Fixes [1], [2]: ../../poppler/Form.h:544:14: error: ‘vector’ in namespace ‘std’ does not name a template type const std::vector<Ref> &getCalculateOrder() const { return calculateOrder; } ../../poppler/Form.h:556:8: error: ‘vector’ in namespace ‘std’ does not name a template type std::vector<Ref> calculateOrder; [1] http://autobuild.buildroot.net/results/b749b252f63945f278358dcd76b6e9c55214ccd8 [2] http://autobuild.buildroot.net/results/92e68defe746eb4852b3a45bb27af2282d3f4c7e Signed-off-by:
Peter Seiderer <ps.report@gmx.net> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Yann E. MORIN authored
This options was recently removed and made it to legacy (in 815f7137 ) but miraclecast still selects it. miraclecast builds fine without it, it seems, so just drop the select altogether. Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Cc: Ryan Barnett <rjbarnet@rockwellcollins.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
- 05 May, 2017 11 commits
-
-
Yann E. MORIN authored
lutok is a lua module, so it depends on ! static libs. However, the dependency is implicit, being done because the lua modules are sourced globally under an if-block, and thus it is not easy to find that dependency. Propagate that dependency to kyua, which was missing it (because it is not a lua module, so was missing the dependency). [Peter: also update toolchain comment] Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Alexey Brodkin authored
This commit reverts cdf63517 "gmp: disable assembly for arc" as in GMP v6.1.2 there's already a proper fix for ASM constraints, see https://gmplib.org/repo/gmp/rev/58879634af3ci Signed-off-by:
Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Baruch Siach authored
Drop upstream patches. Renumber remaining patches. Add a revert of upstream patch to fix static build. Upstream pull request (#141) is pending. Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by:
Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Yegor Yefremov authored
Signed-off-by:
Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Andy Shevchenko authored
The midi profile was introduced in BlueZ 5.44. Cc: Marcin Bis <marcin@bis.org.pl> Signed-off-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by:
Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Andy Shevchenko authored
Disregard to increase just minor version BlueZ 5.44 is drastically different in a way what plugins that used to be enabled by the --enable-experimental configure option, now have their own option. Extend Buildroot package to cover these plugins. Cc: Marcin Bis <marcin@bis.org.pl> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by:
Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Baruch Siach authored
In BlueZ 5.44 the --enable-experimental configure option only controls the build of the Nokia OBEX PC Suite plugin. Correct the option prompt and help text. Cc: Marcin Bis <marcin@bis.org.pl> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by:
Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Baruch Siach authored
Since BlueZ 5.44 many command line tools are deprecated, among them gatttool. Add an option to install these tools. Remove the gatttool specific option, since it is redundant now. Fixes: http://autobuild.buildroot.net/results/ddb/ddb975c9e1475fee1da63cb21240d8d59b161076/ http://autobuild.buildroot.net/results/19a/19adc0aa5a7e48119ef4ba25ba0403867f74f678/ http://autobuild.buildroot.net/results/9bd/9bd8e13ddffdd0631ddca30ec40cc4664729b0cb/ Cc: Marcin Bis <marcin@bis.org.pl> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by:
Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Thomas Petazzoni authored
lttng-tools has been broken on uClibc/musl since a long time due to dlmopen() and LM_ID_BASE not being implemented. The issue has been reported to the upstream lttng developers more than two months ago [1], and no fix has been provided. Therefore, it's time to disable it on uClibc and musl. Fixes: http://autobuild.buildroot.net/results/f9e82a87618bcdcd46d670697b5ac75836f7250d/ (uclibc) http://autobuild.buildroot.net/results/cb0952483b580b053a585760e59d78d11f46fc60/ (musl) [1] https://lists.lttng.org/pipermail/lttng-dev/2017-February/026921.html Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Thomas Petazzoni authored
binutils 2.27 triggers a segfault in elf2flt on ARM/noMMU. While Arnout has identified a binutils 2.28 commit that can be backported on 2.27, this commit is huge and we don't clearly understand the impact. Since both binutils 2.26 and 2.28 are unaffected by this issue, we simply disallow the selection of binutils 2.27 on ARM/noMMU, and default to binutils 2.28. Fixes: http://autobuild.buildroot.net/results/e14cadb290b0b86cac12c4bfb681eb6eee9e6dea/ and lots of other similar ARM/Cortex-M4 failures Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Rahul Bedarkar authored
LICENSE file is present in subdirectory. Fixes: http://autobuild.buildroot.net/results/d33/d33a322b4d2618b55849b5637082100702a91eea Signed-off-by:
Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-