* [Buildroot] RPi B+ update
From: Marco Trapanese @ 2017-05-17 6:05 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170516232354.2080bf15@gmx.net>
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170517/1898a2ab/attachment.html>
^ permalink raw reply
* [Buildroot] [PATCH v1] qt5declarative: fix examples compile without OpenGL support
From: Peter Korsgaard @ 2017-05-16 21:52 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170516185201.7259-1-ps.report@gmx.net>
>>>>> "Peter" == Peter Seiderer <ps.report@gmx.net> writes:
> Fixes [1]:
> main.cpp:(.text._ZN11QQmlPrivate10createIntoI6FbItemEEvPv[_ZN11QQmlPrivate10createIntoI6FbItemEEvPv]+0x18): undefined reference to `QQuickFramebufferObject::QQuickFramebufferObject(QQuickItem*)'
> .obj/main.o: In function `QQmlPrivate::QQmlElement<FbItem>::~QQmlElement()':
> main.cpp:(.text._ZN11QQmlPrivate11QQmlElementI6FbItemED2Ev[_ZN11QQmlPrivate11QQmlElementI6FbItemED5Ev]+0x5c): undefined reference to `vtable for QQuickFramebufferObject'
> .obj/main.o: In function `QQmlPrivate::QQmlElement<FbItem>::~QQmlElement()':
> main.cpp:(.text._ZN11QQmlPrivate11QQmlElementI6FbItemED0Ev[_ZN11QQmlPrivate11QQmlElementI6FbItemED0Ev]+0x64): undefined reference to `vtable for QQuickFramebufferObject'
> .obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0x48): undefined reference to `QQuickFramebufferObject::isTextureProvider() const'
> .obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0x4c): undefined reference to `QQuickFramebufferObject::textureProvider() const'
> .obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0xb4): undefined reference to `QQuickFramebufferObject::geometryChanged(QRectF const&, QRectF const&)'
> .obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0xb8): undefined reference to `QQuickFramebufferObject::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*)'
> .obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0xbc): undefined reference to `QQuickFramebufferObject::releaseResources()'
> .obj/moc_fbitem.o: In function `FbItem::qt_metacast(char const*)':
> moc_fbitem.cpp:(.text+0x70): undefined reference to `QQuickFramebufferObject::qt_metacast(char const*)'
> .obj/moc_fbitem.o: In function `FbItem::qt_metacall(QMetaObject::Call, int, void**)':
> moc_fbitem.cpp:(.text+0x80): undefined reference to `QQuickFramebufferObject::qt_metacall(QMetaObject::Call, int, void**)'
> .obj/moc_fbitem.o: In function `FbItem::~FbItem()':
> moc_fbitem.cpp:(.text._ZN6FbItemD2Ev[_ZN6FbItemD5Ev]+0x38): undefined reference to `vtable for QQuickFramebufferObject'
> .obj/moc_fbitem.o: In function `FbItem::~FbItem()':
> moc_fbitem.cpp:(.text._ZN6FbItemD0Ev[_ZN6FbItemD0Ev]+0x40): undefined reference to `vtable for QQuickFramebufferObject'
> .obj/moc_fbitem.o:(.data.rel.ro+0x8): undefined reference to `typeinfo for QQuickFramebufferObject'
> .obj/moc_fbitem.o:(.data.rel.ro+0x58): undefined reference to `QQuickFramebufferObject::isTextureProvider() const'
> .obj/moc_fbitem.o:(.data.rel.ro+0x5c): undefined reference to `QQuickFramebufferObject::textureProvider() const'
> .obj/moc_fbitem.o:(.data.rel.ro+0xc4): undefined reference to `QQuickFramebufferObject::geometryChanged(QRectF const&, QRectF const&)'
> .obj/moc_fbitem.o:(.data.rel.ro+0xc8): undefined reference to `QQuickFramebufferObject::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*)'
> .obj/moc_fbitem.o:(.data.rel.ro+0xcc): undefined reference to `QQuickFramebufferObject::releaseResources()'
> .obj/moc_fbitem.o:(.data.rel.ro+0xf0): undefined reference to `QQuickFramebufferObject::staticMetaObject'
> [1] http://autobuild.buildroot.net/results/64a/64a198397736db12b73c1f693dbe1c47d73b53da
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] dts: compiling aarch64 vendored dts files?
From: Christian Stewart @ 2017-05-16 21:50 UTC (permalink / raw)
To: buildroot
In-Reply-To: <87ziec7btf.fsf@dell.be.48ers.dk>
Hi Peter,
On Tue, May 16, 2017 at 2:04 PM, Peter Korsgaard <peter@korsgaard.com> wrote:
> What error are you getting exactly? We have a number of aarch64
> defconfigs using this feature without problems:
It turned out to be an unrelated issue. Thanks for the help!
Best,
Christian
^ permalink raw reply
* [Buildroot] [git commit] qt5declarative: fix examples compile without OpenGL support
From: Peter Korsgaard @ 2017-05-16 21:47 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=4b4fc27e1a719d1fa0688e81760531979fb4cb73
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes [1]:
main.cpp:(.text._ZN11QQmlPrivate10createIntoI6FbItemEEvPv[_ZN11QQmlPrivate10createIntoI6FbItemEEvPv]+0x18): undefined reference to `QQuickFramebufferObject::QQuickFramebufferObject(QQuickItem*)'
.obj/main.o: In function `QQmlPrivate::QQmlElement<FbItem>::~QQmlElement()':
main.cpp:(.text._ZN11QQmlPrivate11QQmlElementI6FbItemED2Ev[_ZN11QQmlPrivate11QQmlElementI6FbItemED5Ev]+0x5c): undefined reference to `vtable for QQuickFramebufferObject'
.obj/main.o: In function `QQmlPrivate::QQmlElement<FbItem>::~QQmlElement()':
main.cpp:(.text._ZN11QQmlPrivate11QQmlElementI6FbItemED0Ev[_ZN11QQmlPrivate11QQmlElementI6FbItemED0Ev]+0x64): undefined reference to `vtable for QQuickFramebufferObject'
.obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0x48): undefined reference to `QQuickFramebufferObject::isTextureProvider() const'
.obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0x4c): undefined reference to `QQuickFramebufferObject::textureProvider() const'
.obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0xb4): undefined reference to `QQuickFramebufferObject::geometryChanged(QRectF const&, QRectF const&)'
.obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0xb8): undefined reference to `QQuickFramebufferObject::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*)'
.obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0xbc): undefined reference to `QQuickFramebufferObject::releaseResources()'
.obj/moc_fbitem.o: In function `FbItem::qt_metacast(char const*)':
moc_fbitem.cpp:(.text+0x70): undefined reference to `QQuickFramebufferObject::qt_metacast(char const*)'
.obj/moc_fbitem.o: In function `FbItem::qt_metacall(QMetaObject::Call, int, void**)':
moc_fbitem.cpp:(.text+0x80): undefined reference to `QQuickFramebufferObject::qt_metacall(QMetaObject::Call, int, void**)'
.obj/moc_fbitem.o: In function `FbItem::~FbItem()':
moc_fbitem.cpp:(.text._ZN6FbItemD2Ev[_ZN6FbItemD5Ev]+0x38): undefined reference to `vtable for QQuickFramebufferObject'
.obj/moc_fbitem.o: In function `FbItem::~FbItem()':
moc_fbitem.cpp:(.text._ZN6FbItemD0Ev[_ZN6FbItemD0Ev]+0x40): undefined reference to `vtable for QQuickFramebufferObject'
.obj/moc_fbitem.o:(.data.rel.ro+0x8): undefined reference to `typeinfo for QQuickFramebufferObject'
.obj/moc_fbitem.o:(.data.rel.ro+0x58): undefined reference to `QQuickFramebufferObject::isTextureProvider() const'
.obj/moc_fbitem.o:(.data.rel.ro+0x5c): undefined reference to `QQuickFramebufferObject::textureProvider() const'
.obj/moc_fbitem.o:(.data.rel.ro+0xc4): undefined reference to `QQuickFramebufferObject::geometryChanged(QRectF const&, QRectF const&)'
.obj/moc_fbitem.o:(.data.rel.ro+0xc8): undefined reference to `QQuickFramebufferObject::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*)'
.obj/moc_fbitem.o:(.data.rel.ro+0xcc): undefined reference to `QQuickFramebufferObject::releaseResources()'
.obj/moc_fbitem.o:(.data.rel.ro+0xf0): undefined reference to `QQuickFramebufferObject::staticMetaObject'
[1] http://autobuild.buildroot.net/results/64a/64a198397736db12b73c1f693dbe1c47d73b53da
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
...uickviewcomparison-and-quickwidget-needs-.patch | 58 ++++++++++++++++++++++
1 file changed, 58 insertions(+)
diff --git a/package/qt5/qt5declarative/0002-examples-qquickviewcomparison-and-quickwidget-needs-.patch b/package/qt5/qt5declarative/0002-examples-qquickviewcomparison-and-quickwidget-needs-.patch
new file mode 100644
index 0000000..875634f
--- /dev/null
+++ b/package/qt5/qt5declarative/0002-examples-qquickviewcomparison-and-quickwidget-needs-.patch
@@ -0,0 +1,58 @@
+From b4db5c6cef877b33b5e7cd5a07fe4a7e6797dcfc Mon Sep 17 00:00:00 2001
+From: Peter Seiderer <ps.report@gmx.net>
+Date: Tue, 16 May 2017 19:47:19 +0200
+Subject: [PATCH] examples: qquickviewcomparison and quickwidget needs OpenGL
+ support
+
+Fixes:
+
+ main.cpp:(.text._ZN11QQmlPrivate10createIntoI6FbItemEEvPv[_ZN11QQmlPrivate10createIntoI6FbItemEEvPv]+0x18): undefined reference to `QQuickFramebufferObject::QQuickFramebufferObject(QQuickItem*)'
+ .obj/main.o: In function `QQmlPrivate::QQmlElement<FbItem>::~QQmlElement()':
+ main.cpp:(.text._ZN11QQmlPrivate11QQmlElementI6FbItemED2Ev[_ZN11QQmlPrivate11QQmlElementI6FbItemED5Ev]+0x5c): undefined reference to `vtable for QQuickFramebufferObject'
+ .obj/main.o: In function `QQmlPrivate::QQmlElement<FbItem>::~QQmlElement()':
+ main.cpp:(.text._ZN11QQmlPrivate11QQmlElementI6FbItemED0Ev[_ZN11QQmlPrivate11QQmlElementI6FbItemED0Ev]+0x64): undefined reference to `vtable for QQuickFramebufferObject'
+ .obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0x48): undefined reference to `QQuickFramebufferObject::isTextureProvider() const'
+ .obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0x4c): undefined reference to `QQuickFramebufferObject::textureProvider() const'
+ .obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0xb4): undefined reference to `QQuickFramebufferObject::geometryChanged(QRectF const&, QRectF const&)'
+ .obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0xb8): undefined reference to `QQuickFramebufferObject::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*)'
+ .obj/main.o:(.data.rel.ro._ZTVN11QQmlPrivate11QQmlElementI6FbItemEE[_ZTVN11QQmlPrivate11QQmlElementI6FbItemEE]+0xbc): undefined reference to `QQuickFramebufferObject::releaseResources()'
+ .obj/moc_fbitem.o: In function `FbItem::qt_metacast(char const*)':
+ moc_fbitem.cpp:(.text+0x70): undefined reference to `QQuickFramebufferObject::qt_metacast(char const*)'
+ .obj/moc_fbitem.o: In function `FbItem::qt_metacall(QMetaObject::Call, int, void**)':
+ moc_fbitem.cpp:(.text+0x80): undefined reference to `QQuickFramebufferObject::qt_metacall(QMetaObject::Call, int, void**)'
+ .obj/moc_fbitem.o: In function `FbItem::~FbItem()':
+ moc_fbitem.cpp:(.text._ZN6FbItemD2Ev[_ZN6FbItemD5Ev]+0x38): undefined reference to `vtable for QQuickFramebufferObject'
+ .obj/moc_fbitem.o: In function `FbItem::~FbItem()':
+ moc_fbitem.cpp:(.text._ZN6FbItemD0Ev[_ZN6FbItemD0Ev]+0x40): undefined reference to `vtable for QQuickFramebufferObject'
+ .obj/moc_fbitem.o:(.data.rel.ro+0x8): undefined reference to `typeinfo for QQuickFramebufferObject'
+ .obj/moc_fbitem.o:(.data.rel.ro+0x58): undefined reference to `QQuickFramebufferObject::isTextureProvider() const'
+ .obj/moc_fbitem.o:(.data.rel.ro+0x5c): undefined reference to `QQuickFramebufferObject::textureProvider() const'
+ .obj/moc_fbitem.o:(.data.rel.ro+0xc4): undefined reference to `QQuickFramebufferObject::geometryChanged(QRectF const&, QRectF const&)'
+ .obj/moc_fbitem.o:(.data.rel.ro+0xc8): undefined reference to `QQuickFramebufferObject::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*)'
+ .obj/moc_fbitem.o:(.data.rel.ro+0xcc): undefined reference to `QQuickFramebufferObject::releaseResources()'
+ .obj/moc_fbitem.o:(.data.rel.ro+0xf0): undefined reference to `QQuickFramebufferObject::staticMetaObject'
+
+Signed-off-by: Peter Seiderer <ps.report@gmx.net>
+---
+ examples/quick/quick.pro | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/examples/quick/quick.pro b/examples/quick/quick.pro
+index 445dfb0fa..26ca0138e 100644
+--- a/examples/quick/quick.pro
++++ b/examples/quick/quick.pro
+@@ -36,7 +36,10 @@ qtConfig(opengl(es1|es2)?) {
+ # Widget dependent examples
+ qtHaveModule(widgets) {
+ SUBDIRS += embeddedinwidgets
+- qtHaveModule(quickwidgets): SUBDIRS += quickwidgets
++ # OpenGL Support Required
++ qtConfig(opengl(es1|es2)?) {
++ qtHaveModule(quickwidgets): SUBDIRS += quickwidgets
++ }
+ }
+
+ EXAMPLE_FILES = \
+--
+2.11.0
+
^ permalink raw reply related
* [Buildroot] RPi B+ update
From: Peter Korsgaard @ 2017-05-16 21:46 UTC (permalink / raw)
To: buildroot
In-Reply-To: <38b2ad6e-f9bd-c0f7-e5be-c0531fd22f2a@gmail.com>
>>>>> "Marco" == Marco Trapanese <marcotrapanese@gmail.com> writes:
> Hi!
> A couple of years ago (it was in 2015) I built a buildroot environment
> for RPi B+. We ended up with an sd-card image that was cloned for
> every installation.
> This months we've bought some other RPi B+ but with this batch the
> system refuses to boot: it hangs with black screen and the raspberry
> icon at the top-left corner.
> We're aware they have changed the RAM chips (from Samsung to Elpida)
> and likely we should update the drivers with the new ones.
> Here the buildroot related question: is it possible to change
> something in the current sd-card image instead of updating and
> rebuilding the whole system?
> This is because if we need to go with the second option we're going to
> deeply upgrade the application and this is not affordable right now.
If it doesn't boot at all (E.G. no output on the serial port), then the
problem is most likely in the rpi-firmware and/or Linux kernel, so you
could try updating those and leaving the rootfs as is.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH 2/2] package/qt5base: link with -latomic for sparc
From: Thomas Petazzoni @ 2017-05-16 21:32 UTC (permalink / raw)
To: buildroot
In-Reply-To: <628b089124e34bcc2f6cd9be57c65d567872ef1f.1494969180.git.yann.morin.1998@free.fr>
Hello,
On Tue, 16 May 2017 23:13:13 +0200, Yann E. MORIN wrote:
> QT5BASE_ARCH_CONFIG_FILE = $(@D)/mkspecs/devices/linux-buildroot-g++/arch.conf
> +ifeq ($(BR2_sparc)$(BR2_PACKAGE_QT5_VERSION_LATEST),yy)
You shouldn't use BR2_sparc here, but BR2_TOOLCHAIN_HAS_LIBATOMIC
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply
* [Buildroot] RPi B+ update
From: Peter Seiderer @ 2017-05-16 21:23 UTC (permalink / raw)
To: buildroot
In-Reply-To: <38b2ad6e-f9bd-c0f7-e5be-c0531fd22f2a@gmail.com>
Hello Marco,
On Tue, 16 May 2017 21:32:26 +0200, Marco Trapanese <marcotrapanese@gmail.com> wrote:
> Hi!
> A couple of years ago (it was in 2015) I built a buildroot environment
> for RPi B+. We ended up with an sd-card image that was cloned for every
> installation.
> This months we've bought some other RPi B+ but with this batch the
> system refuses to boot: it hangs with black screen and the raspberry
> icon at the top-left corner.
>
> We're aware they have changed the RAM chips (from Samsung to Elpida) and
> likely we should update the drivers with the new ones.
>
> Here the buildroot related question: is it possible to change something
> in the current sd-card image instead of updating and rebuilding the
> whole system?
You can try to exchange only the firmware, device tree and the linux
kernel files on the first partition of the sd-card image with ones from
an actual build (after testing if the actual complete sd-card image
boots well)...
Regards,
Peter
>
> This is because if we need to go with the second option we're going to
> deeply upgrade the application and this is not affordable right now.
>
> Of course, feel free to ask any details you need to try to help me!
>
> Thanks in advance!
> Marco
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply
* [Buildroot] [PATCH 2/2] package/qt5base: link with -latomic for sparc
From: Yann E. MORIN @ 2017-05-16 21:13 UTC (permalink / raw)
To: buildroot
In-Reply-To: <cover.1494969180.git.yann.morin.1998@free.fr>
Qt 5.8 needs atomic operations, which on sparc are provided with
-latomic.
Fixes:
http://autobuild.buildroot.org/results/49b/49bc9345b9849c9c3c53ace290c534ff7bb98683/
http://autobuild.buildroot.org/results/9f2/9f213406954be51dfcad76ebdce8b73850842180/
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Julien Corjon <corjon.j@ecagroup.com>
Cc: Peter Seiderer <ps.report@gmx.net>
---
package/qt5/qt5base/qt5base.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
index 65320cbe04..7c9ed0b4e3 100644
--- a/package/qt5/qt5base/qt5base.mk
+++ b/package/qt5/qt5base/qt5base.mk
@@ -215,6 +215,13 @@ endef
endif
QT5BASE_ARCH_CONFIG_FILE = $(@D)/mkspecs/devices/linux-buildroot-g++/arch.conf
+ifeq ($(BR2_sparc)$(BR2_PACKAGE_QT5_VERSION_LATEST),yy)
+# Qt 5.8 needs atomics, which on sparc are in -latomic
+define QT5BASE_ARCH_CONFIG
+ printf 'LIBS += -latomic\n' >$(QT5BASE_ARCH_CONFIG_FILE)
+endef
+endif
+
define QT5BASE_CONFIGURE_CMDS
$(INSTALL) -m 0644 -D $(QT5BASE_PKGDIR)/qmake.conf \
$(@D)/mkspecs/devices/linux-buildroot-g++/qmake.conf
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH 1/2] package/qt5base: install arch-specific configuration
From: Yann E. MORIN @ 2017-05-16 21:13 UTC (permalink / raw)
To: buildroot
In-Reply-To: <cover.1494969180.git.yann.morin.1998@free.fr>
For some architectures, it is necessary to link with additional
libraries, such as -latomic for sparc.
Add a bit of support to make that easy; actual use will be introduced in
the following patch.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Julien Corjon <corjon.j@ecagroup.com>
Cc: Peter Seiderer <ps.report@gmx.net>
---
package/qt5/qt5base/qmake.conf | 3 +++
package/qt5/qt5base/qt5base.mk | 3 +++
2 files changed, 6 insertions(+)
diff --git a/package/qt5/qt5base/qmake.conf b/package/qt5/qt5base/qmake.conf
index 49cf898316..8b6debe583 100644
--- a/package/qt5/qt5base/qmake.conf
+++ b/package/qt5/qt5base/qmake.conf
@@ -21,5 +21,8 @@ CONFIG += nostrip
QMAKE_LIBS += -lrt -lpthread -ldl
QMAKE_CFLAGS_ISYSTEM =
+# Architecturespecific configuration
+include(arch.conf)
+
include(../common/linux_device_post.conf)
load(qt_config)
diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
index 0c088350e5..65320cbe04 100644
--- a/package/qt5/qt5base/qt5base.mk
+++ b/package/qt5/qt5base/qt5base.mk
@@ -214,12 +214,15 @@ define QT5BASE_CONFIGURE_CONFIG_FILE
endef
endif
+QT5BASE_ARCH_CONFIG_FILE = $(@D)/mkspecs/devices/linux-buildroot-g++/arch.conf
define QT5BASE_CONFIGURE_CMDS
$(INSTALL) -m 0644 -D $(QT5BASE_PKGDIR)/qmake.conf \
$(@D)/mkspecs/devices/linux-buildroot-g++/qmake.conf
$(INSTALL) -m 0644 -D $(QT5BASE_PKGDIR)/qplatformdefs.h \
$(@D)/mkspecs/devices/linux-buildroot-g++/qplatformdefs.h
$(QT5BASE_CONFIGURE_CONFIG_FILE)
+ touch $(QT5BASE_ARCH_CONFIG_FILE)
+ $(QT5BASE_ARCH_CONFIG)
(cd $(@D); \
$(TARGET_MAKE_ENV) \
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH 0/2] package/qt5base: fix sparc compilation
From: Yann E. MORIN @ 2017-05-16 21:13 UTC (permalink / raw)
To: buildroot
Hello All!
This small series aims at fixing the build of qt-5.8 on sparc.
Qt 5.8 needs atomic operations, which on some architectures are compiler
builtins, while on other archs they are provided by a helper library,
libatomic. For sparc, atomics are in libatomic.
First, we introduce a new qmake config snippet, arch.conf, which is
included from our qmake.conf.
By default, that file is empty, except on sparc, where it add -latomic
to the list of libraries to link with.
Regards,
Yann E. MORIN.
The following changes since commit 4e00f9daa04e9a84f5191f479d7236dea72fbf35
gcc: drop unused legacy arc-2016.09 patch (2017-05-16 21:24:02 +0200)
are available in the git repository at:
git://git.buildroot.org/~ymorin/git/buildroot.git
for you to fetch changes up to 628b089124e34bcc2f6cd9be57c65d567872ef1f
package/qt5base: link with -latomic for sparc (2017-05-16 23:11:23 +0200)
----------------------------------------------------------------
Yann E. MORIN (2):
package/qt5base: install arch-specific configuration
package/qt5base: link with -latomic for sparc
package/qt5/qt5base/qmake.conf | 3 +++
package/qt5/qt5base/qt5base.mk | 10 ++++++++++
2 files changed, 13 insertions(+)
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply
* [Buildroot] dts: compiling aarch64 vendored dts files?
From: Peter Korsgaard @ 2017-05-16 21:04 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CA+h8R2pXBkv6juGSt3wdZtEjuVP=Q6ixTi51-6+tJDVNgw5acA@mail.gmail.com>
>>>>> "Christian" == Christian Stewart <christian@paral.in> writes:
> Hi Thomas, All,
> I can't figure out a correct way of configuring Buildroot to compile a
> DTS under a vendor directory in the kernel:
> /arch/arm64/boot/dts/nexell/s5p6818-artik710-raptor-rev03.dts
> ^
> The source I'm trying to build is here:
> https://github.com/SamsungARTIK/linux-artik/tree/A710/v4.4/arch/arm64/boot/dts/nexell
> The issue is that unlike most arches, arm64 has the dts files under
> subdirectories - in this case, nexell. I've tried:
> - BR2_LINUX_KERNEL_INTREE_DTS_NAME="s5p6818-artik710-raptor-rev03"
> - BR2_LINUX_KERNEL_INTREE_DTS_NAME="nexell-s5p6818-artik710-raptor-rev03"
> - BR2_LINUX_KERNEL_INTREE_DTS_NAME="nexell/s5p6818-artik710-raptor-rev03"
> The developers recommend using "make dtbs" in the kernel, which
> probably finds these automatically. AFAIK there is no mechanism in
> Buildroot to allow running something like this.
What error are you getting exactly? We have a number of aarch64
defconfigs using this feature without problems:
git grep 'INTREE_DTS_NAME=.*/' configs
configs/arm_foundationv8_defconfig:BR2_LINUX_KERNEL_INTREE_DTS_NAME="arm/foundation-v8"
configs/arm_juno_defconfig:BR2_LINUX_KERNEL_INTREE_DTS_NAME="arm/juno arm/juno-r1 arm/juno-r2"
configs/nexbox_a95x_defconfig:BR2_LINUX_KERNEL_INTREE_DTS_NAME="amlogic/meson-gxbb-nexbox-a95x amlogic/meson-gxl-nexbox-a95x"
configs/raspberrypi3_64_defconfig:BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2710-rpi-3-b broadcom/bcm2837-rpi-3-b"
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH] protobuf: link with libatomic when needed
From: Peter Korsgaard @ 2017-05-16 21:00 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1494880712-28989-1-git-send-email-thomas.petazzoni@free-electrons.com>
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> The protobuf library uses atomic intrinsics, so we need to link
> against libatomic.
> Fixes the build of protobuf on Sparc:
> http://autobuild.buildroot.net/results/f3d76eaebd529a61bce849e355182c60f233ed06/
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] protobuf: link with libatomic when needed
From: Peter Korsgaard @ 2017-05-16 21:00 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=ef9ffa3426edc895dc180d45b48bf305522b3450
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The protobuf library uses atomic intrinsics, so we need to link
against libatomic.
Fixes the build of protobuf on Sparc:
http://autobuild.buildroot.net/results/f3d76eaebd529a61bce849e355182c60f233ed06/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/protobuf/protobuf.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk
index 610da8c..2cd10eb 100644
--- a/package/protobuf/protobuf.mk
+++ b/package/protobuf/protobuf.mk
@@ -17,6 +17,10 @@ PROTOBUF_LICENSE_FILES = LICENSE
PROTOBUF_DEPENDENCIES = host-protobuf
PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
+PROTOBUF_CONF_ENV += LIBS=-latomic
+endif
+
PROTOBUF_INSTALL_STAGING = YES
PROTOBUF_PATCH = https://github.com/google/protobuf/commit/416f90939d4de58fe1a4e2489120010313183291.patch
^ permalink raw reply related
* [Buildroot] [PATCH 1/1] lego: ev3: use mainline kernel
From: Peter Korsgaard @ 2017-05-16 20:56 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1494890483-11249-1-git-send-email-david@lechnology.com>
>>>>> "David" == David Lechner <david@lechnology.com> writes:
> It is finally possible to boot LEGO MINDSTORMS EV3 from the mainline
> Linux kernel. This patch updates the defconfg to use the mainline kernel
> instead of the custom ev3dev kernel.
Great, thanks!
> .../patches/linux/0001-adc-device-tree-node.patch | 56 ++++++++++++++
> .../linux/0002-sound-device-tree-node.patch | 85 ++++++++++++++++++++++
I see these patches are already in mainline post-4.11, so that's great.
> +++ b/board/lego/ev3/genimage.cfg
> @@ -19,7 +19,7 @@ image flash.bin {
> size = 320K
> }
> partition uimage {
> - image = "uImage"
> + image = "uImage.da850-lego-ev3"
> size = 3M
> offset = 0x50000
> }
I guess this change isn't strictly needed because of the symlink, but
OK.
> diff --git a/configs/lego_ev3_defconfig b/configs/lego_ev3_defconfig
> index 543a227..0996b8c 100644
> --- a/configs/lego_ev3_defconfig
> +++ b/configs/lego_ev3_defconfig
> @@ -2,22 +2,26 @@
> BR2_arm=y
> BR2_arm926t=y
> +# Build options
> +BR2_GLOBAL_PATCH_DIR="board/lego/ev3/patches"
> +
> # system
> BR2_TARGET_GENERIC_GETTY=y
> BR2_TARGET_GENERIC_GETTY_PORT="ttyS1"
> BR2_ROOTFS_POST_IMAGE_SCRIPT="board/lego/ev3/post-image.sh"
> -# Linux headers same as kernel, a 4.4 series
> -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
This shouldn't be dropped (after changing to 4.11) as the defconfig
would otherwise break whenever 4.12 gets added.
Committed to next with that fixed, thanks.
I see you are still using a relatively old u-boot and ext3. Any reason
to not use 2017.05 and ext4?
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit branch/next] lego: ev3: use mainline kernel
From: Peter Korsgaard @ 2017-05-16 20:55 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=da6d09788133bf10dccf6482ee812ff30060f86e
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next
It is finally possible to boot LEGO MINDSTORMS EV3 from the mainline
Linux kernel. This patch updates the defconfg to use the mainline kernel
instead of the custom ev3dev kernel.
[Peter: lock kernel headers version]
Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
board/lego/ev3/busybox.fragment | 3 +
board/lego/ev3/genimage.cfg | 2 +-
board/lego/ev3/linux.fragment | 49 +++++++++++++
.../patches/linux/0001-adc-device-tree-node.patch | 56 ++++++++++++++
.../linux/0002-sound-device-tree-node.patch | 85 ++++++++++++++++++++++
board/lego/ev3/post-image.sh | 2 +
board/lego/ev3/readme.txt | 9 +--
configs/lego_ev3_defconfig | 22 ++++--
8 files changed, 212 insertions(+), 16 deletions(-)
diff --git a/board/lego/ev3/busybox.fragment b/board/lego/ev3/busybox.fragment
new file mode 100644
index 0000000..901274d
--- /dev/null
+++ b/board/lego/ev3/busybox.fragment
@@ -0,0 +1,3 @@
+CONFIG_BEEP=y
+CONFIG_FEATURE_BEEP_FREQ=440
+CONFIG_FEATURE_BEEP_LENGTH_MS=250
diff --git a/board/lego/ev3/genimage.cfg b/board/lego/ev3/genimage.cfg
index 6b8546c..3568295 100644
--- a/board/lego/ev3/genimage.cfg
+++ b/board/lego/ev3/genimage.cfg
@@ -19,7 +19,7 @@ image flash.bin {
size = 320K
}
partition uimage {
- image = "uImage"
+ image = "uImage.da850-lego-ev3"
size = 3M
offset = 0x50000
}
diff --git a/board/lego/ev3/linux.fragment b/board/lego/ev3/linux.fragment
index 5593636..439cccf 100644
--- a/board/lego/ev3/linux.fragment
+++ b/board/lego/ev3/linux.fragment
@@ -1,6 +1,55 @@
+CONFIG_ARCH_DAVINCI_DM644x=n
+CONFIG_ARCH_DAVINCI_DM355=n
+CONFIG_ARCH_DAVINCI_DM646x=n
+CONFIG_ARCH_DAVINCI_DA830=n
+CONFIG_ARCH_DAVINCI_DM365=n
+CONFIG_MACH_SFFSDR=n
+CONFIG_MACH_NEUROS_OSD2=n
+CONFIG_MACH_DM355_LEOPARD=n
+CONFIG_MACH_MITYOMAPL138=n
+CONFIG_MACH_OMAPL138_HAWKBOARD=n
+CONFIG_MACH_DAVINCI_DA850_EVM=n
+CONFIG_ATA=n
+CONFIG_MTD=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_M25P80=y
+CONFIG_MTD_SPI_NOR=y
+CONFIG_MTD_UBI=y
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=1
CONFIG_BLK_DEV_RAM_SIZE=32768
+CONFIG_INPUT_EVDEV=y
+CONFIG_INPUT_PWM_BEEPER=y
+CONFIG_SPI_DAVINCI=y
+CONFIG_PINCTRL_DA850_PUPD=y
+CONFIG_V4L_PLATFORM_DRIVERS=n
+CONFIG_SOUND=n
+CONFIG_SND=n
+CONFIG_SND_SOC=n
+CONFIG_SND_EDMA_SOC=n
+CONFIG_SND_DAVINCI_SOC_MCASP=n
+CONFIG_SND_SOC_TLV320AIC3X=n
+CONFIG_SND_SIMPLE_CARD=n
+CONFIG_DAVINCI_WATCHDOG=y
+CONFIG_USB=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_USB_OHCI_HCD_DAVINCI=y
+CONFIG_USB_MUSB_HDRC=y
+CONFIG_USB_MUSB_GADGET=y
+CONFIG_USB_MUSB_DA8XX=y
+CONFIG_NOP_USB_XCEIV=y
+CONFIG_USB_GADGET=y
+CONFIG_LEDS_CLASS=y
+CONFIG_LEDS_GPIO=y
+CONFIG_LEDS_TRIGGER_MTD=y
+CONFIG_LEDS_TRIGGER_HEARTBEAT=y
+CONFIG_LEDS_TRIGGER_CPU=y
+CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
+CONFIG_RTC_DRV_OMAP=y
+CONFIG_IIO=y
+CONFIG_TI_ADS7950=y
+CONFIG_PWM_TIECAP=y
+CONFIG_PWM_TIEHRPWM=y
CONFIG_SQUASHFS=y
CONFIG_SQUASHFS_LZ4=y
CONFIG_SQUASHFS_LZO=y
diff --git a/board/lego/ev3/patches/linux/0001-adc-device-tree-node.patch b/board/lego/ev3/patches/linux/0001-adc-device-tree-node.patch
new file mode 100644
index 0000000..dabda1e
--- /dev/null
+++ b/board/lego/ev3/patches/linux/0001-adc-device-tree-node.patch
@@ -0,0 +1,56 @@
+From 8a81ff173c5c9a0ab1df84fab17971dbcce8490a Mon Sep 17 00:00:00 2001
+From: David Lechner <david@lechnology.com>
+Date: Tue, 7 Feb 2017 13:22:07 -0600
+Subject: ARM: da850-lego-ev3: Add device tree node for A/DC
+
+This adds a node for the TI ADS7957 analog/digital converter on LEGO
+MINDSTORMS EV3 as well as a regulator node that is used by the A/DC node.
+
+Signed-off-by: David Lechner <david@lechnology.com>
+Signed-off-by: Sekhar Nori <nsekhar@ti.com>
+---
+ arch/arm/boot/dts/da850-lego-ev3.dts | 21 +++++++++++++++++++++
+ 1 file changed, 21 insertions(+)
+
+diff --git a/arch/arm/boot/dts/da850-lego-ev3.dts b/arch/arm/boot/dts/da850-lego-ev3.dts
+index 112ec92..0309537 100644
+--- a/arch/arm/boot/dts/da850-lego-ev3.dts
++++ b/arch/arm/boot/dts/da850-lego-ev3.dts
+@@ -139,6 +139,19 @@
+ enable-active-high;
+ regulator-boot-on;
+ };
++
++ /*
++ * This is a simple voltage divider on VCC5V to provide a 2.5V
++ * reference signal to the ADC.
++ */
++ adc_ref: regulator2 {
++ compatible = "regulator-fixed";
++ regulator-name = "adc ref";
++ regulator-min-microvolt = <2500000>;
++ regulator-max-microvolt = <2500000>;
++ regulator-boot-on;
++ vin-supply = <&vcc5v>;
++ };
+ };
+
+ &pmx_core {
+@@ -293,6 +306,14 @@
+ };
+ };
+ };
++
++ adc: adc at 3 {
++ compatible = "ti,ads7957";
++ reg = <3>;
++ #io-channel-cells = <1>;
++ spi-max-frequency = <10000000>;
++ vref-supply = <&adc_ref>;
++ };
+ };
+
+ &gpio {
+--
+cgit v1.1
+
diff --git a/board/lego/ev3/patches/linux/0002-sound-device-tree-node.patch b/board/lego/ev3/patches/linux/0002-sound-device-tree-node.patch
new file mode 100644
index 0000000..a095222
--- /dev/null
+++ b/board/lego/ev3/patches/linux/0002-sound-device-tree-node.patch
@@ -0,0 +1,85 @@
+From 7723d70bebd749ef24fef19db52d827c7fd7f858 Mon Sep 17 00:00:00 2001
+From: David Lechner <david@lechnology.com>
+Date: Tue, 7 Feb 2017 13:22:09 -0600
+Subject: ARM: da850-lego-ev3: Add device tree node for sound
+
+This adds a device tree node for sound on LEGO MINDSTORMS EV3. The EV3
+uses one of the SoC PWMs connected to an amplifier to create sound from
+a speaker.
+
+The PWM is passed through a low-pass filter, so it is actually possible
+to do PCM playback, but there is no existing driver, so just using
+pwm-beeper for now, since it is also a compatible mode of operation.
+
+Signed-off-by: David Lechner <david@lechnology.com>
+Signed-off-by: Sekhar Nori <nsekhar@ti.com>
+---
+ arch/arm/boot/dts/da850-lego-ev3.dts | 31 +++++++++++++++++++++++++++++++
+ 1 file changed, 31 insertions(+)
+
+diff --git a/arch/arm/boot/dts/da850-lego-ev3.dts b/arch/arm/boot/dts/da850-lego-ev3.dts
+index 0309537..c20580a 100644
+--- a/arch/arm/boot/dts/da850-lego-ev3.dts
++++ b/arch/arm/boot/dts/da850-lego-ev3.dts
+@@ -123,6 +123,14 @@
+ pinctrl-0 = <&system_power_pin>;
+ };
+
++ sound {
++ compatible = "pwm-beeper";
++ pinctrl-names = "default";
++ pinctrl-0 = <&ehrpwm0b_pins>;
++ pwms = <&ehrpwm0 1 1000000 0>;
++ amp-supply = <&>;
++ };
++
+ /*
+ * This is a 5V current limiting regulator that is shared by USB,
+ * the sensor (input) ports, the motor (output) ports and the A/DC.
+@@ -152,6 +160,18 @@
+ regulator-boot-on;
+ vin-supply = <&vcc5v>;
+ };
++
++ /*
++ * This is the amplifier for the speaker.
++ */
++ amp: regulator3 {
++ pinctrl-names = "default";
++ pinctrl-0 = <&_pins>;
++ compatible = "regulator-fixed";
++ regulator-name = "amp";
++ gpio = <&gpio 111 GPIO_ACTIVE_HIGH>;
++ enable-active-high;
++ };
+ };
+
+ &pmx_core {
+@@ -208,6 +228,13 @@
+ 0x4c 0x00008000 0x0000f000
+ >;
+ };
++
++ amp_pins: pinmux_amp_pins {
++ pinctrl-single,bits = <
++ /* GP6[15] */
++ 0x34 0x00000008 0x0000000f
++ >;
++ };
+ };
+
+ &pinconf {
+@@ -316,6 +343,10 @@
+ };
+ };
+
++&ehrpwm0 {
++ status = "okay";
++};
++
+ &gpio {
+ status = "okay";
+ };
+--
+cgit v1.1
+
diff --git a/board/lego/ev3/post-image.sh b/board/lego/ev3/post-image.sh
index 81626dc..553d27a 100755
--- a/board/lego/ev3/post-image.sh
+++ b/board/lego/ev3/post-image.sh
@@ -4,6 +4,8 @@ BOARD_DIR="$(dirname $0)"
GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
+ln -sf "uImage.da850-lego-ev3" "${BINARIES_DIR}/uImage"
+
rm -rf "${GENIMAGE_TMP}"
genimage \
diff --git a/board/lego/ev3/readme.txt b/board/lego/ev3/readme.txt
index c40907c..8df91ac 100644
--- a/board/lego/ev3/readme.txt
+++ b/board/lego/ev3/readme.txt
@@ -13,12 +13,6 @@ See:
- http://www.lego.com/en-us/mindstorms/products/ev3/31313-mindstorms-ev3/
- http://www.ti.com/product/am1808
-The buildroot configuration uses the Linux kernel of the ev3dev project.
-See:
-- https://github.com/ev3dev/ev3-kernel/
-- https://github.com/ev3dev/lego-linux-drivers/
-- http://www.ev3dev.org/
-
How it works
============
@@ -65,7 +59,8 @@ After building, you should obtain this tree:
????????? rootfs.squashfs
????????? sdcard.img
????????? u-boot.bin
- ????????? uImage
+ ????????? uImage -> uImage.da850-lego-ev3
+ ????????? uImage.da850-lego-ev3
Installation
============
diff --git a/configs/lego_ev3_defconfig b/configs/lego_ev3_defconfig
index 543a227..4d764c5 100644
--- a/configs/lego_ev3_defconfig
+++ b/configs/lego_ev3_defconfig
@@ -2,22 +2,28 @@
BR2_arm=y
BR2_arm926t=y
+# Build options
+BR2_GLOBAL_PATCH_DIR="board/lego/ev3/patches"
+
# system
BR2_TARGET_GENERIC_GETTY=y
BR2_TARGET_GENERIC_GETTY_PORT="ttyS1"
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/lego/ev3/post-image.sh"
-# Linux headers same as kernel, a 4.4 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
+# Linux headers same as kernel, a 4.11 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11=y
# Kernel
BR2_LINUX_KERNEL=y
-BR2_LINUX_KERNEL_CUSTOM_GIT=y
-BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/ev3dev/ev3dev-kernel.git"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v4.4.19-15-ev3dev-ev3_1"
-BR2_LINUX_KERNEL_DEFCONFIG="ev3dev"
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11"
+BR2_LINUX_KERNEL_DEFCONFIG="davinci_all"
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/lego/ev3/linux.fragment"
-BR2_LINUX_KERNEL_UIMAGE=y
-BR2_LINUX_KERNEL_EXT_EV3DEV_LINUX_DRIVERS=y
+BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0xc0008000"
+BR2_LINUX_KERNEL_APPENDED_UIMAGE=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="da850-lego-ev3"
+
+# Target packages
+BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/lego/ev3/busybox.fragment"
# filesystem
BR2_TARGET_ROOTFS_EXT2=y
^ permalink raw reply related
* [Buildroot] [PATCH 3/3] support/testing/run-tests: help: put the one-letter form before the long form
From: Luca Ceresoli @ 2017-05-16 20:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1494967531-6463-1-git-send-email-luca@lucaceresoli.net>
This is what the manpages usually do, and what Python does with the
automatically-added -h/--help parameter:
Before the change:
$ ./support/testing/run-tests
[...]
optional arguments:
-h, --help show this help message and exit
--list, -l list of available test cases
--all, -a execute all test cases
After the change:
$ ./support/testing/run-tests
[...]
optional arguments:
-h, --help show this help message and exit
-l, --list list of available test cases
-a, --all execute all test cases
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
support/testing/run-tests | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/support/testing/run-tests b/support/testing/run-tests
index 339bb66efa34..07dad0d8b938 100755
--- a/support/testing/run-tests
+++ b/support/testing/run-tests
@@ -10,17 +10,17 @@ def main():
parser = argparse.ArgumentParser(description='Run Buildroot tests')
parser.add_argument('testname', nargs='*',
help='list of test cases to execute')
- parser.add_argument('--list', '-l', action='store_true',
+ parser.add_argument('-l', '--list', action='store_true',
help='list of available test cases')
- parser.add_argument('--all', '-a', action='store_true',
+ parser.add_argument('-a', '--all', action='store_true',
help='execute all test cases')
- parser.add_argument('--stdout', '-s', action='store_true',
+ parser.add_argument('-s', '--stdout', action='store_true',
help='log everything to stdout')
- parser.add_argument('--output', '-o',
+ parser.add_argument('-o', '--output',
help='output directory')
- parser.add_argument('--download', '-d',
+ parser.add_argument('-d', '--download',
help='download directory')
- parser.add_argument('--keep', '-k',
+ parser.add_argument('-k', '--keep',
help='keep build directories',
action='store_true')
--
2.7.4
^ permalink raw reply related
* [Buildroot] [PATCH 2/3] support/testing: document get_elf_prog_interpreter
From: Luca Ceresoli @ 2017-05-16 20:45 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1494967531-6463-1-git-send-email-luca@lucaceresoli.net>
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
support/testing/infra/__init__.py | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/support/testing/infra/__init__.py b/support/testing/infra/__init__.py
index c3f645cf99d7..b5634f6f64d7 100644
--- a/support/testing/infra/__init__.py
+++ b/support/testing/infra/__init__.py
@@ -77,6 +77,16 @@ def get_file_arch(builddir, prefix, fpath):
return get_elf_arch_tag(builddir, prefix, fpath, "Tag_CPU_arch")
def get_elf_prog_interpreter(builddir, prefix, fpath):
+ """
+ Runs the cross readelf on 'fpath' to extract the program interpreter
+ name and returns it.
+ Example:
+ >>> get_elf_prog_interpreter('br-tests/TestExternalToolchainLinaroArm',
+ 'arm-linux-gnueabihf',
+ 'bin/busybox')
+ /lib/ld-linux-armhf.so.3
+ >>>
+ """
cmd = ["host/usr/bin/{}-readelf".format(prefix),
"-l", os.path.join("target", fpath)]
out = subprocess.check_output(cmd, cwd=builddir, env={"LANG": "C"})
--
2.7.4
^ permalink raw reply related
* [Buildroot] [PATCH 1/3] support/testing: rename check_broken_links to has_broken_links
From: Luca Ceresoli @ 2017-05-16 20:45 UTC (permalink / raw)
To: buildroot
has_broken_links makes it self-explanatory that this is a predicate
function, and that the return value tells whether there _are_ broken
links, not the opposite.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
support/testing/tests/toolchain/test_external.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/support/testing/tests/toolchain/test_external.py b/support/testing/tests/toolchain/test_external.py
index 1fbf81f8d356..0b15d489db8f 100644
--- a/support/testing/tests/toolchain/test_external.py
+++ b/support/testing/tests/toolchain/test_external.py
@@ -7,7 +7,7 @@ BR2_TARGET_ROOTFS_CPIO=y
# BR2_TARGET_ROOTFS_TAR is not set
"""
-def check_broken_links(path):
+def has_broken_links(path):
for root, dirs, files in os.walk(path):
for f in files:
fpath = os.path.join(root, f)
@@ -20,9 +20,9 @@ class TestExternalToolchain(infra.basetest.BRTest):
# Check for broken symlinks
for d in ["lib", "usr/lib"]:
path = os.path.join(self.builddir, "staging", d)
- self.assertFalse(check_broken_links(path))
+ self.assertFalse(has_broken_links(path))
path = os.path.join(self.builddir, "target", d)
- self.assertFalse(check_broken_links(path))
+ self.assertFalse(has_broken_links(path))
interp = infra.get_elf_prog_interpreter(self.builddir,
self.toolchain_prefix,
--
2.7.4
^ permalink raw reply related
* [Buildroot] [PATCH 1/1] libmaxminddb: bump to version 1.2.1
From: Fabrice Fontaine @ 2017-05-16 20:41 UTC (permalink / raw)
To: buildroot
Remove 0001-Add-disable-tests-to-configure.patch as it has been
integrated upstream
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
.../0001-Add-disable-tests-to-configure.patch | 49 ----------------------
package/libmaxminddb/libmaxminddb.hash | 2 +-
package/libmaxminddb/libmaxminddb.mk | 5 +--
3 files changed, 3 insertions(+), 53 deletions(-)
delete mode 100644 package/libmaxminddb/0001-Add-disable-tests-to-configure.patch
diff --git a/package/libmaxminddb/0001-Add-disable-tests-to-configure.patch b/package/libmaxminddb/0001-Add-disable-tests-to-configure.patch
deleted file mode 100644
index 8ff64e9..0000000
--- a/package/libmaxminddb/0001-Add-disable-tests-to-configure.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 8287848f747bd37298a2d32b8fd06cc59eb28028 Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-Date: Thu, 9 Feb 2017 21:40:43 +0100
-Subject: [PATCH] Add --disable-tests to configure
-
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
----
- Makefile.am | 6 +++++-
- configure.ac | 6 ++++++
- 2 files changed, 11 insertions(+), 1 deletion(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 1804945..cebcd31 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -5,8 +5,12 @@ nodist_include_HEADERS = include/maxminddb_config.h
-
- SUBDIRS = \
- src \
-- bin \
-+ bin
-+
-+if TESTS
-+SUBDIRS += \
- t
-+endif
-
- EXTRA_DIST = doc t Changes.md LICENSE NOTICE README.md projects/VS12 projects/VS12-tests
- dist-hook:
-diff --git a/configure.ac b/configure.ac
-index 7916212..2a22fab 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -119,6 +119,12 @@ AC_ARG_ENABLE(
- esac],[debug=false])
- AM_CONDITIONAL([DEBUG], [test x$debug = xtrue])
-
-+AC_ARG_ENABLE([tests],
-+ AS_HELP_STRING([--enable-tests], [Compilation of tests code]),
-+ [enable_tests=${enableval}],
-+ [enable_tests=yes])
-+AM_CONDITIONAL([TESTS], [test "${enable_tests}" = "yes"])
-+
- AC_CONFIG_FILES([Makefile
- src/Makefile
- bin/Makefile
---
-2.5.0
-
diff --git a/package/libmaxminddb/libmaxminddb.hash b/package/libmaxminddb/libmaxminddb.hash
index 3d5b4ca..952a655 100644
--- a/package/libmaxminddb/libmaxminddb.hash
+++ b/package/libmaxminddb/libmaxminddb.hash
@@ -1,2 +1,2 @@
# Locally computed:
-sha256 4147241d4e3103bd843167ae5a0d5cf176632b6898cb1cca6223d2d58cc53ef5 libmaxminddb-1.2.0.tar.gz
+sha256 06a0ec3d1496e1a7e30d74ea15373e0010bbe392ea1819c149aaf724dc57dd9a libmaxminddb-1.2.1.tar.gz
diff --git a/package/libmaxminddb/libmaxminddb.mk b/package/libmaxminddb/libmaxminddb.mk
index c6e70c5..f0678a0 100644
--- a/package/libmaxminddb/libmaxminddb.mk
+++ b/package/libmaxminddb/libmaxminddb.mk
@@ -4,13 +4,12 @@
#
################################################################################
-LIBMAXMINDDB_VERSION = 1.2.0
+LIBMAXMINDDB_VERSION = 1.2.1
LIBMAXMINDDB_SITE = $(call github,maxmind,libmaxminddb,$(LIBMAXMINDDB_VERSION))
LIBMAXMINDDB_INSTALL_STAGING = YES
LIBMAXMINDDB_LICENSE = Apache-2.0
LIBMAXMINDDB_LICENSE_FILES = LICENSE
-# Fetched from Github, with no configure script, and we're patching
-# configure.ac
+# Fetched from Github, with no configure script
LIBMAXMINDDB_AUTORECONF = YES
LIBMAXMINDDB_CONF_OPTS = --disable-tests
--
2.5.0
^ permalink raw reply related
* [Buildroot] [Bug 9866] BASE_DIR usage
From: bugzilla at busybox.net @ 2017-05-16 20:24 UTC (permalink / raw)
To: buildroot
In-Reply-To: <bug-9866-163@https.bugs.busybox.net/>
https://bugs.busybox.net/show_bug.cgi?id=9866
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #7 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Jean-Pierre,
I'm marking this patch as invalid, because this is not really a bug.
Thanks for the report.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply
* [Buildroot] [Bug 9866] BASE_DIR usage
From: bugzilla at busybox.net @ 2017-05-16 19:42 UTC (permalink / raw)
To: buildroot
In-Reply-To: <bug-9866-163@https.bugs.busybox.net/>
https://bugs.busybox.net/show_bug.cgi?id=9866
--- Comment #6 from Peter Korsgaard <jacmet@uclibc.org> ---
(In reply to Yann E. MORIN from comment #5)
Ahh yes, as you can see I don't use BR2_EXTERNAL (and local.mk normally doesn't
matter for a post-build / post-image script).
Grepping the linux and u-boot sources, I do see some references to CONFIG_DIR
though, so we have to be careful.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply
* [Buildroot] [git commit branch/next] sysstat: bump version to 11.4.4
From: Peter Korsgaard @ 2017-05-16 19:41 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=09dfdd07c52c7b01f41635cd035b5743a8a40b21
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next
The --disable-man-group option was renamed to --disable-file-attr:
https://github.com/sysstat/sysstat/commit/fcd4de4080e20705a09f475646dc431d8c9378ef
[Peter: reword]
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/sysstat/sysstat.hash | 4 ++--
package/sysstat/sysstat.mk | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package/sysstat/sysstat.hash b/package/sysstat/sysstat.hash
index 3b4dda8..8d4ecf4 100644
--- a/package/sysstat/sysstat.hash
+++ b/package/sysstat/sysstat.hash
@@ -1,4 +1,4 @@
# From: http://sebastien.godard.pagesperso-orange.fr/download.html
-sha1 805002b2bef00cd9ab44c5037d09b29cb71a17f8 sysstat-11.4.3.tar.xz
+sha1 0e4950da333ff4e68826d58a6f43cb8048d85e9c sysstat-11.4.4.tar.xz
# Locally calculated
-sha256 02e9cafa5557fbae435d33e592373655df929d817ae711d31142dd2f7d4dcee7 sysstat-11.4.3.tar.xz
+sha256 6585f08e24347d2d6462aee6ef97e80fe4cc869605193184500df0f80fa61cc8 sysstat-11.4.4.tar.xz
diff --git a/package/sysstat/sysstat.mk b/package/sysstat/sysstat.mk
index 31645b8..bd73214 100644
--- a/package/sysstat/sysstat.mk
+++ b/package/sysstat/sysstat.mk
@@ -4,10 +4,10 @@
#
################################################################################
-SYSSTAT_VERSION = 11.4.3
+SYSSTAT_VERSION = 11.4.4
SYSSTAT_SOURCE = sysstat-$(SYSSTAT_VERSION).tar.xz
SYSSTAT_SITE = http://pagesperso-orange.fr/sebastien.godard
-SYSSTAT_CONF_OPTS = --disable-man-group --disable-sensors
+SYSSTAT_CONF_OPTS = --disable-file-attr --disable-sensors
SYSSTAT_DEPENDENCIES = host-gettext
SYSSTAT_LICENSE = GPL-2.0+
SYSSTAT_LICENSE_FILES = COPYING
^ permalink raw reply related
* [Buildroot] [PATCH next] sysstat: bump version to 11.4.4
From: Peter Korsgaard @ 2017-05-16 19:41 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170515125637.24381-1-Vincent.Riera@imgtec.com>
>>>>> "Vicente" == Vicente Olivert Riera <Vincent.Riera@imgtec.com> writes:
> Rename --disable-man-group option to --disable-file-attr
> https://github.com/sysstat/sysstat/commit/fcd4de4080e20705a09f475646dc431d8c9378ef
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Committed to next, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [PATCH next] imagemagick: bump version to 7.0.5-6
From: Peter Korsgaard @ 2017-05-16 19:41 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170515123144.52524-1-Vincent.Riera@imgtec.com>
>>>>> "Vicente" == Vicente Olivert Riera <Vincent.Riera@imgtec.com> writes:
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Committed to next, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit branch/next] imagemagick: bump version to 7.0.5-6
From: Peter Korsgaard @ 2017-05-16 19:36 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=9cd8ad2364cb178e7d6c99462b05668dac1485d2
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/imagemagick/imagemagick.hash | 2 +-
package/imagemagick/imagemagick.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/imagemagick/imagemagick.hash b/package/imagemagick/imagemagick.hash
index 06a957a..b7be7bc 100644
--- a/package/imagemagick/imagemagick.hash
+++ b/package/imagemagick/imagemagick.hash
@@ -1,2 +1,2 @@
# From http://www.imagemagick.org/download/releases/digest.rdf
-sha256 c3644119dce993aa241fa08eced2cb6043fb5345f0eee7a7822a497f1142ebe3 ImageMagick-7.0.5-5.tar.xz
+sha256 f60c3e3466ccbf9a0e643284ffec3467363edf9611f16a98387f927a974b49ab ImageMagick-7.0.5-6.tar.xz
diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
index 6b5cd4e..b1048f5 100644
--- a/package/imagemagick/imagemagick.mk
+++ b/package/imagemagick/imagemagick.mk
@@ -4,7 +4,7 @@
#
################################################################################
-IMAGEMAGICK_VERSION = 7.0.5-5
+IMAGEMAGICK_VERSION = 7.0.5-6
IMAGEMAGICK_SOURCE = ImageMagick-$(IMAGEMAGICK_VERSION).tar.xz
IMAGEMAGICK_SITE = http://www.imagemagick.org/download/releases
IMAGEMAGICK_LICENSE = Apache-2.0
^ permalink raw reply related
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox