From 11c241c756f92a9ca433afda64cf7e9c43a3a3f7 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 25 Jul 2015 16:39:15 +0200 Subject: [PATCH 1/6] u-boot: Unbreak yocto master We don't care about the specific u-boot version as we are using our own releas. Use the general glob so we don't need to play catch up. --- yocto-master/{u-boot_2015.01.bbappend => u-boot_%.bbappend} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename yocto-master/{u-boot_2015.01.bbappend => u-boot_%.bbappend} (100%) diff --git a/yocto-master/u-boot_2015.01.bbappend b/yocto-master/u-boot_%.bbappend similarity index 100% rename from yocto-master/u-boot_2015.01.bbappend rename to yocto-master/u-boot_%.bbappend From e4cc94cfd0a7a444afa003cd9168b393f2b57c99 Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Fri, 3 Jul 2015 15:54:22 +0200 Subject: [PATCH 2/6] linux: update for sysmocom-odu This adds kernel support for the EEPROM write-protect GPIO. Bump linux-backports PR as well. --- recipes-bsp/linux-backports/linux-backports_3.18.1.1.bb | 2 +- recipes-bsp/linux/linux-sysmocom_3.2.bb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-bsp/linux-backports/linux-backports_3.18.1.1.bb b/recipes-bsp/linux-backports/linux-backports_3.18.1.1.bb index bc2a9d5cb6..8824e40468 100644 --- a/recipes-bsp/linux-backports/linux-backports_3.18.1.1.bb +++ b/recipes-bsp/linux-backports/linux-backports_3.18.1.1.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" inherit sysmocom-module -PR = "r1" +PR = "r2" SRC_URI = "http://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.18.1/backports-3.18.1-1.tar.xz \ file://dont-export-clk_enable-twice.patch \ diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index 4d9faae5c5..be6b2e4691 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -7,10 +7,10 @@ LINUX_VERSION_EXTENSION ?= "-sysmocom-${LINUX_KERNEL_TYPE}" # ATTENTION: Update linux-backports PR on version change. In Dora the # reverse dependency tracking for the kernel doesn't appear to work. So # please bump the PR on version changes! -SRCREV = "d1a5b8e2ddc3a74c6d81d85a106cb0c33cd7688b" +SRCREV = "d33286eda98596983abf9bd6420741fdfedd192f" BRANCH = "sob-odu/linux-3.2.69" -PR = "r42" +PR = "r43" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = " \ From f0fb4a9ad843d6903305ae0ef72a43532694df9d Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Sun, 19 Jul 2015 20:42:17 +0200 Subject: [PATCH 3/6] ntp: split off perl-based userspace tools This makes it possible to install the basic debug tools without pulling in perl itself. Signed-off-by: Jan Luebbe --- recipes-bsp/ntp/ntp_4.2.8p1.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/recipes-bsp/ntp/ntp_4.2.8p1.bb b/recipes-bsp/ntp/ntp_4.2.8p1.bb index cef3344e13..f672097e83 100644 --- a/recipes-bsp/ntp/ntp_4.2.8p1.bb +++ b/recipes-bsp/ntp/ntp_4.2.8p1.bb @@ -97,7 +97,7 @@ do_install_append() { install -m 0644 ${WORKDIR}/ntpd.list ${D}${systemd_unitdir}/ntp-units.d/60-ntpd.list } -PACKAGES += "ntpdate sntp ${PN}-tickadj ${PN}-utils" +PACKAGES += "ntpdate sntp ${PN}-tickadj ${PN}-utils ${PN}-perl" # NOTE: you don't need ntpdate, use "ntpd -q -g -x" # ntp originally includes tickadj. It's split off for inclusion in small firmware images on platforms @@ -128,8 +128,9 @@ FILES_${PN} = "${sbindir}/ntpd ${sysconfdir}/ntp.conf ${sysconfdir}/init.d/ntpd ${systemd_unitdir}/ntp-units.d/60-ntpd.list \ " FILES_${PN}-tickadj = "${sbindir}/tickadj" -FILES_${PN}-utils = "${sbindir} ${datadir}/ntp/lib" -RDEPENDS_${PN}-utils += "perl" +FILES_${PN}-utils = "${sbindir}/ntptime ${sbindir}/ntpq" +FILES_${PN}-perl = "${sbindir} ${datadir}/ntp/lib" +RDEPENDS_${PN}-perl += "perl" FILES_ntpdate = "${sbindir}/ntpdate \ ${sysconfdir}/network/if-up.d/ntpdate-sync \ ${bindir}/ntpdate-sync \ From 27915edf67af3717741036b97e1434dd24bf98c4 Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Sun, 19 Jul 2015 21:27:13 +0200 Subject: [PATCH 4/6] ntp: enable automatic restart NTPd sometimes fails to start on the first try, but works fine when restarted. Signed-off-by: Jan Luebbe --- recipes-bsp/ntp/files/ntpd.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-bsp/ntp/files/ntpd.service b/recipes-bsp/ntp/files/ntpd.service index 0e3d7cd37b..df8044e17e 100644 --- a/recipes-bsp/ntp/files/ntpd.service +++ b/recipes-bsp/ntp/files/ntpd.service @@ -6,6 +6,8 @@ After=network.target Type=forking PIDFile=/run/ntpd.pid ExecStart=/usr/sbin/ntpd -u ntp:ntp -p /run/ntpd.pid -g +Restart=always +RestartSec=2 [Install] WantedBy=multi-user.target From c1eeb1a68a53d44e2232a1ef136e698fe5802a78 Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Thu, 30 Jul 2015 17:49:02 +0200 Subject: [PATCH 5/6] barebox: update to newer git version for I2C recovery The new version contains the I2C recovery support ported from the linux kernel for sysmobts and sysmocom-odu. --- recipes-bsp/barebox/barebox-sysmobts_git.bb | 2 +- recipes-bsp/barebox/barebox-sysmocom-odu-mlo_git.bb | 2 +- recipes-bsp/barebox/barebox-sysmocom-odu_git.bb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-bsp/barebox/barebox-sysmobts_git.bb b/recipes-bsp/barebox/barebox-sysmobts_git.bb index 24c9d0daeb..d835f02fc1 100644 --- a/recipes-bsp/barebox/barebox-sysmobts_git.bb +++ b/recipes-bsp/barebox/barebox-sysmobts_git.bb @@ -1,6 +1,6 @@ require barebox.inc -SRCREV = "cb9695a3ead9d62ad1d339409c7b15255d3b10ed" +SRCREV = "8d95a37caebcfae91146ee4794bbb8f4c31e4b32" SRC_URI = " \ git://git.sysmocom.de/barebox.git;branch=v2015.06 \ file://defconfig \ diff --git a/recipes-bsp/barebox/barebox-sysmocom-odu-mlo_git.bb b/recipes-bsp/barebox/barebox-sysmocom-odu-mlo_git.bb index 8d7e34ca92..865363fd0e 100644 --- a/recipes-bsp/barebox/barebox-sysmocom-odu-mlo_git.bb +++ b/recipes-bsp/barebox/barebox-sysmocom-odu-mlo_git.bb @@ -1,6 +1,6 @@ require barebox.inc -SRCREV = "cb9695a3ead9d62ad1d339409c7b15255d3b10ed" +SRCREV = "8d95a37caebcfae91146ee4794bbb8f4c31e4b32" SRC_URI = " \ git://git.sysmocom.de/barebox.git;branch=v2015.06 \ file://defconfig \ diff --git a/recipes-bsp/barebox/barebox-sysmocom-odu_git.bb b/recipes-bsp/barebox/barebox-sysmocom-odu_git.bb index 2151de16f4..9b2c135441 100644 --- a/recipes-bsp/barebox/barebox-sysmocom-odu_git.bb +++ b/recipes-bsp/barebox/barebox-sysmocom-odu_git.bb @@ -2,7 +2,7 @@ require barebox.inc RDEPENDS_${PN} += "${PN}-mlo" -SRCREV = "cb9695a3ead9d62ad1d339409c7b15255d3b10ed" +SRCREV = "8d95a37caebcfae91146ee4794bbb8f4c31e4b32" SRC_URI = " \ git://git.sysmocom.de/barebox.git;branch=v2015.06 \ file://defconfig \ From 970fe3d755034e53878e8ec2041417f4e400124e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 1 Aug 2015 18:22:56 +0200 Subject: [PATCH 6/6] Add OE recipe for linux-mpu9150 project --- .../linux-mpu9150/linux-mpu9150_git.bb | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 recipes-bsp/linux-mpu9150/linux-mpu9150_git.bb diff --git a/recipes-bsp/linux-mpu9150/linux-mpu9150_git.bb b/recipes-bsp/linux-mpu9150/linux-mpu9150_git.bb new file mode 100644 index 0000000000..448c0e31a5 --- /dev/null +++ b/recipes-bsp/linux-mpu9150/linux-mpu9150_git.bb @@ -0,0 +1,22 @@ +SUMMARY = "small utility to set configuration of USB2514 hub chip on the sysmo-odu" +HOMEPAGE = "" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e6868d1ce8f058ecc5658ecebb086636" + +SRCREV = "1103417819fe855d8d0d3e6a277870679ad01bd2" +SRC_URI = "git://github.com/mlaurijsse/linux-mpu9150.git" + +PV = "v0.0+git${SRCPV}" +PR = "r1a" + +S = "${WORKDIR}/git" + +do_compile() { + oe_runmake -f Makefile-native +} + +do_install() { + install -d ${D}${bindir}/ + install -m 0755 ${S}/imu ${D}${bindir}/mpu9150-imu + install -m 0755 ${S}/imucal ${D}${bindir}/mpu9150-imu-cal +}