Re: [OE-core] [yocto] Change RO rootfs failed RF Kill Switch Status and Failed to start Run pending postinsts
Hi, On Tue, Feb 18, 2020 at 2:00 AM JH wrote: > > Hi, > > Apologize for the cross posting. > > I am running kernel 4.19.75 on iMX6 customized device with WiFi and 4G > LTE, it was running well in an RW rootfs. After I have just changed > rootfs to RO UBIFS partition, it failed RF Kill and postinsts I > suspect both try write to the RO and failed, any advice how to fix it? > Despite it failed RF Kill and postinsts, it was still working. > > [6.097762] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, > name "rootfs-volume", R/O mode > .. > [6.151932] VFS: Mounted root (ubifs filesystem) readonly on device 0:13. > . > [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. > Starting Load/Save RF Kill Switch Status... > [FAILED] Failed to start Load/Save RF Kill Switch Status. > See 'systemctl status systemd-rfkill.service' for details. Can you pls provide output of systemctl status systemd-rfkill There should be some more info what issue is. > > [FAILED] Failed to start Run pending postinsts. > See 'systemctl status run-postinsts.service' for details. Pls this one also: systemctl status run-postinsts > ... > root# > > Thank you. > > Kind regards, > > - jh > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#48463): > https://lists.yoctoproject.org/g/yocto/message/48463 > Mute This Topic: https://lists.yoctoproject.org/mt/71363457/900721 > Group Owner: yocto+ow...@lists.yoctoproject.org > Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub > [marek.beli...@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- BR, marek -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [yocto] Which package for nandbiterrs?
On Tue, Feb 4, 2020 at 12:22 PM JH wrote: > > On 2/4/20, Belisko Marek wrote: > > On Tue, Feb 4, 2020 at 12:09 PM JH wrote: > >> > >> Hi, > >> > >> I built the image in thud to include following MTD receipts: > >> > >> mtd-utils > >> mtd-utils-ubifs > >> mtd-utils-tests > >> > >> But the nandbiterrs is still missing, which package for nandbiterrs? > > Are you referring to this one: > > https://elixir.bootlin.com/linux/latest/source/drivers/mtd/tests/nandbiterrs.c > > Then it's in kernel (not sure if tests are build though). > > I think so, I have enabled CONFIG_MTD_TESTS=y, it still does not have > nandbiterrs. I built it with kernel 4.19.75, did you mean the that > build could not include that test file? Well did you check build directory if it was really build (check .config)? Or better try to build as module and install kernel-modules and then you can modprobe it. > > Thanks marek, > > - jh BR, marek -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [yocto] Which package for nandbiterrs?
On Tue, Feb 4, 2020 at 12:09 PM JH wrote: > > Hi, > > I built the image in thud to include following MTD receipts: > > mtd-utils > mtd-utils-ubifs > mtd-utils-tests > > But the nandbiterrs is still missing, which package for nandbiterrs? Are you referring to this one: https://elixir.bootlin.com/linux/latest/source/drivers/mtd/tests/nandbiterrs.c Then it's in kernel (not sure if tests are build though). > > Thank you. > > Kind regards, > > - jh > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > > View/Reply Online (#48265): > https://lists.yoctoproject.org/g/yocto/message/48265 > Mute This Topic: https://lists.yoctoproject.org/mt/70970236/900721 > Group Owner: yocto+ow...@lists.yoctoproject.org > Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub > [marek.beli...@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- BR, marek -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [meta-oe][PATCH] multimedia: janus-gateway: Added new recipe
Ping. On Thu, Nov 21, 2019 at 4:29 PM Marek Belisko wrote: > > Signed-off-by: Marek Belisko > Signed-off-by: Jake Withecombe > --- > .../janus-gateway/files/janus-gateway.service | 14 +++ > .../janus-gateway/janus-gateway_0.7.4.bb | 48 > ++ > 2 files changed, 62 insertions(+) > create mode 100644 > meta-multimedia/recipes-multimedia/janus-gateway/files/janus-gateway.service > create mode 100644 > meta-multimedia/recipes-multimedia/janus-gateway/janus-gateway_0.7.4.bb > > diff --git > a/meta-multimedia/recipes-multimedia/janus-gateway/files/janus-gateway.service > > b/meta-multimedia/recipes-multimedia/janus-gateway/files/janus-gateway.service > new file mode 100644 > index 000..5b4d4f2 > --- /dev/null > +++ > b/meta-multimedia/recipes-multimedia/janus-gateway/files/janus-gateway.service > @@ -0,0 +1,14 @@ > +[Unit] > +Description=Janus WebRTC Server > +After=network.target network-online.target > +Wants=network-online.target > + > +[Service] > +Type=simple > +ExecStart=/usr/bin/janus -o > +Restart=always > +RestartSec=60 > +LimitNOFILE=65536 > + > +[Install] > +WantedBy=multi-user.target > diff --git > a/meta-multimedia/recipes-multimedia/janus-gateway/janus-gateway_0.7.4.bb > b/meta-multimedia/recipes-multimedia/janus-gateway/janus-gateway_0.7.4.bb > new file mode 100644 > index 000..bca716f > --- /dev/null > +++ b/meta-multimedia/recipes-multimedia/janus-gateway/janus-gateway_0.7.4.bb > @@ -0,0 +1,48 @@ > +DESCRIPTION = "Janus is an open source, general purpose, WebRTC server > designed and developed by Meetecho" > +HOMEPAGE = "https://janus.conf.meetecho.com/"; > +SECTION = "libs/multimedia" > + > +LICENSE = "GPLv3" > +LIC_FILES_CHKSUM = "file://COPYING;md5=c9e0a79f2244c2f79cda22ea5fed9135" > + > +SRC_URI = "https://github.com/meetecho/janus-gateway/archive/v${PV}.tar.gz \ > + file://janus-gateway.service \ > +" > + > +SRC_URI[md5sum] = "b068ac2b40ae800d83f471b8189bc87c" > +SRC_URI[sha256sum] = > "01ddaf204203a1219dd46a5ce70b548bab75bc494c9ba05429f8fb1e786b2995" > + > +inherit autotools-brokensep pkgconfig systemd > + > +DEPENDS = "libsrtp jansson libconfig libnice openssl glib-2.0 > gengetopt-native" > + > +PACKAGECONFIG ?= "rest_api rest" > +#PACKAGECONFIG[disablewarnings] = "--disable-warnings-as-errors,," > +#PACKAGECONFIG[inet] = "--enable-inet,--disable-inet," > +#PACKAGECONFIG[inet6] = "--enable-inet6,--disable-inet6," > +PACKAGECONFIG[rest_api] = > "--enable-turn-rest-api,--disable-turn-rest-api,curl" > +PACKAGECONFIG[rest] = "--enable-rest,--disable-rest,libmicrohttpd" > +PACKAGECONFIG[unix_sockets] = "--enable-unix-sockets,--disable-unix-sockets," > +PACKAGECONFIG[post_processing] = > "--enable-post-processing,--disable-post-processing," > +PACKAGECONFIG[plugin_echo] = > "--enable-plugin-echotest,--disable-plugin-echotest," > +PACKAGECONFIG[plugin_videocall] = > "--enable-plugin-videocall,--disable-plugin-videocall," > +PACKAGECONFIG[plugin_nosip] = "--enable-plugin-nosip,--disable-plugin-nosip," > +PACKAGECONFIG[plugin_videoroom] = > "--enable-plugin-videoroom,--disable-plugin-videoroom," > +PACKAGECONFIG[plugin_voicemail] = > "--enable-plugin-voicemail,--disable-plugin-voicemail," > +PACKAGECONFIG[plugin_recordplay] = > "--enable-plugin-recordplay,--disable-plugin-recordplay," > +PACKAGECONFIG[plugin_textroom] = > "--enable-plugin-textroom,--disable-plugin-textroom," > + > +FILES_${PN}_append = " ${libdir}/janus/plugins/* > ${libdir}/janus/transports/* ${libdir}/janus/events" > +FILES_${PN}-demo = "${datadir}/janus/*" > + > +PACKAGES_append = " ${PN}-demo" > + > +INSANE_SKIP_${PN} = "dev-so" > + > +SYSTEMD_SERVICE_${PN} = "janus-gateway.service" > + > +do_install_append() { > + # Install the systemd service so we can kick start on boot > + install -d ${D}${systemd_unitdir}/system > + install -m 644 ${WORKDIR}/janus-gateway.service > ${D}${systemd_unitdir}/system/ > +} > -- > 2.7.4 > -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 5/9] kernel: package modules.builtin.modinfo
On Thu, May 30, 2019 at 2:45 PM wrote: > > From: Bruce Ashfield > > As of commit 898490c010b [moduleparam: Save information about built-in > modules in separate file] (kernels v5.2-rc1+), modules.builtin.modinfo > is generated as part of the kernel build process. > > We package it along with the other module artifacts, so it can be used > by scripts/other build steps. > > Signed-off-by: Bruce Ashfield You can add my Tested-by: Marek Belisko > --- > meta/classes/kernel.bbclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass > index 437b8c7671..111a0b2eeb 100644 > --- a/meta/classes/kernel.bbclass > +++ b/meta/classes/kernel.bbclass > @@ -558,7 +558,7 @@ EXPORT_FUNCTIONS do_compile do_install do_configure > # kernel-image becomes kernel-image-${KERNEL_VERSION} > PACKAGES = "${KERNEL_PACKAGE_NAME} ${KERNEL_PACKAGE_NAME}-base > ${KERNEL_PACKAGE_NAME}-vmlinux ${KERNEL_PACKAGE_NAME}-image > ${KERNEL_PACKAGE_NAME}-dev ${KERNEL_PACKAGE_NAME}-modules" > FILES_${PN} = "" > -FILES_${KERNEL_PACKAGE_NAME}-base = > "${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.order > ${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.builtin" > +FILES_${KERNEL_PACKAGE_NAME}-base = > "${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.order > ${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.builtin > ${nonarch_base_libdir}/modules/${KERNEL_VERSION}/modules.builtin.modinfo" > FILES_${KERNEL_PACKAGE_NAME}-image = "" > FILES_${KERNEL_PACKAGE_NAME}-dev = "/boot/System.map* /boot/Module.symvers* > /boot/config* ${KERNEL_SRC_PATH} > ${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build" > FILES_${KERNEL_PACKAGE_NAME}-vmlinux = "/boot/vmlinux-${KERNEL_VERSION_NAME}" > -- > 2.19.1 > > -- > ___ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core BR, marek -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 6/6] llvm: Upgrade to upcoming 8.0.0 release
Ja som tiez za. Marek On Mon, Feb 18, 2019 at 4:42 PM Khem Raj wrote: > On Mon, Feb 18, 2019 at 7:15 AM Alexander Kanavin > wrote: > > > > On Mon, 18 Feb 2019 at 16:04, Khem Raj wrote: > > > > There is now an official git repo for llvm, which also has version > tags: > > > > > > > > https://github.com/llvm/llvm-project > > > > > > yes there is and its intentional to use this mirror, since the > > > llvm-project is a super repo and > > > contains all llvm projects sources which is going to clone tonne > > > unnecessary code. > > > > More than half the commits are llvm's. (llvm-only mirror repo 175k, > > llvm super-repo 310k) > > So it adds to the clone, but not that much. > > I would have preferred to use mono repo and I have no problems using > it since thats what we > use in meta-clang as wella and it would make it simpler to reuse. but > it can be a pain for other people. > > 310k, I am not sure what is measured here. But here is the breakdown > of sizes for information > > 1.5G. > 676M./.git > 16M ./lld > 51M ./libcxx > 3.5M./libclc > 31M ./llgo > 32M ./polly > 395M./llvm > 43M ./compiler-rt > 988K./pstl > 116K./debuginfo-tests > 720K./libunwind > 13M ./clang-tools-extra > 7.3M./openmp > 6.3M./libcxxabi > 105M./lldb > 352K./parallel-libs > 155M./clang > > > > > > The point is something else: > > - llvm-mirror is not an official repo, and may become stale/unmaintained > > - llvm-mirror does not have version tags, so we can't trace commit ids > > to the releases, or track upstream development with automatic tools > > > > I think these two things outweigh the extra clone overhead. > > > > > > I'll make a patch to switch over to that. > > > > > > > > Also note that final 8.0 is not yet out, so the recipe shouldn't make > > > > it look like it is. > > > > > > This is intentional too. > > > Its in rc stages and there are no specific chages espcially in > > > versioning schemes > > > which will mark it rc etc. > > > > What I mean is there is no mention whatsoever that the recipe is > > currently building a pre-release. It's not in PV, it's not anywhere in > > the recipe. This can mislead people. > > Yes it can however, we know that when next release is cut out from > master then we will be > on a 8.x release. > > > > > Alex > -- > ___ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core > -- as simple and primitive as possible - Marek Belisko - OPEN-NANDRA Freelance Developer Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite twitter: #opennandra web: http://open-nandra.com -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] recipes-support: Add recipe for libgpiod
On Thu, May 11, 2017 at 8:19 PM, Denys Dmytriyenko wrote: > Not to derail your enthusiasm, but since this is being proposed for OE-Core, > how is it better than libsoc by Jack Mitchell? libsoc is fine but libgpiod will implement correctly gpio handling in userspace as gpio sysfs is deprecated. What is the problem to have libgpiod available for other potential users? Thanks. More here: https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1392949.html > > > On Thu, May 11, 2017 at 07:43:00PM +0200, Marek Belisko wrote: >> libgpiod - C library and tools for interacting with the linux GPIO >> character device >> >> Since linux 4.8 the GPIO sysfs interface is deprecated. >> User space should use the character device instead. >> This library encapsulates the ioctl calls and data structures behind a >> straightforward API. >> >> Signed-off-by: Marek Belisko >> --- >> meta/recipes-support/libgpiod/libgpiod_0.2.bb | 25 + >> 1 file changed, 25 insertions(+) >> create mode 100644 meta/recipes-support/libgpiod/libgpiod_0.2.bb >> >> diff --git a/meta/recipes-support/libgpiod/libgpiod_0.2.bb >> b/meta/recipes-support/libgpiod/libgpiod_0.2.bb >> new file mode 100644 >> index 000..fe2cd80 >> --- /dev/null >> +++ b/meta/recipes-support/libgpiod/libgpiod_0.2.bb >> @@ -0,0 +1,25 @@ >> +SUMMARY = "C library and tools for interacting with the linux GPIO >> character device" >> +HOMEPAGE = "https://github.com/brgl/libgpiod"; >> + >> +LICENSE = "LGPLv2.1+" >> +LIC_FILES_CHKSUM = "file://COPYING;md5=2caced0b25dfefd4c601d92bd15116de" >> + >> +UPSTREAM_CHECK_URI = "https://github.com/brgl/libgpiod/releases"; >> + >> +SRC_URI = "https://github.com/brgl/libgpiod/archive/v${PV}.tar.gz"; >> + >> +SRC_URI[md5sum] = "e3430f35b6efa842693d659c0bfb7ad5" >> +SRC_URI[sha256sum] = >> "de1947f3cb2cc4174364af430309fe6238976658575655bdbd76c60cffa7df92" >> + >> +inherit autotools pkgconfig >> + >> +# enable tools >> +PACKAGECONFIG ?= "tools" >> + >> +PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev" >> +PACKAGECONFIG[tools] = "--enable-tools,--disable-tools," >> + >> +PACKAGES += " ${PN}-tools" >> + >> +FILES_${PN} = "${libdir}/*" >> +FILES_${PN}-tools = "${bindir}/*" >> -- >> 2.7.4 >> >> -- >> ___ >> Openembedded-core mailing list >> Openembedded-core@lists.openembedded.org >> http://lists.openembedded.org/mailman/listinfo/openembedded-core BR, marek -- as simple and primitive as possible - Marek Belisko - OPEN-NANDRA Freelance Developer Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite twitter: #opennandra web: http://open-nandra.com -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
[OE-core] Fwd: [PATCH] recipes-support: Add recipe for libgpiod
libgpiod - C library and tools for interacting with the linux GPIO character device Since linux 4.8 the GPIO sysfs interface is deprecated. User space should use the character device instead. This library encapsulates the ioctl calls and data structures behind a straightforward API. Signed-off-by: Marek Belisko --- meta/recipes-support/libgpiod/libgpiod_0.2.bb | 25 + 1 file changed, 25 insertions(+) create mode 100644 meta/recipes-support/libgpiod/libgpiod_0.2.bb diff --git a/meta/recipes-support/libgpiod/libgpiod_0.2.bb b/meta/recipes-support/libgpiod/libgpiod_0.2.bb new file mode 100644 index 000..fe2cd80 --- /dev/null +++ b/meta/recipes-support/libgpiod/libgpiod_0.2.bb @@ -0,0 +1,25 @@ +SUMMARY = "C library and tools for interacting with the linux GPIO character device" +HOMEPAGE = "https://github.com/brgl/libgpiod"; + +LICENSE = "LGPLv2.1+" +LIC_FILES_CHKSUM = "file://COPYING;md5=2caced0b25dfefd4c601d92bd15116de" + +UPSTREAM_CHECK_URI = "https://github.com/brgl/libgpiod/releases"; + +SRC_URI = "https://github.com/brgl/libgpiod/archive/v${PV}.tar.gz"; + +SRC_URI[md5sum] = "e3430f35b6efa842693d659c0bfb7ad5" +SRC_URI[sha256sum] = "de1947f3cb2cc4174364af430309fe6238976658575655bdbd76c60cffa7df92" + +inherit autotools pkgconfig + +# enable tools +PACKAGECONFIG ?= "tools" + +PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev" +PACKAGECONFIG[tools] = "--enable-tools,--disable-tools," + +PACKAGES += " ${PN}-tools" + +FILES_${PN} = "${libdir}/*" +FILES_${PN}-tools = "${bindir}/*" -- 2.7.4 -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core