Image location: http://autobuilder.yoctoproject.org/pub/releases/yocto-1.8_M3.rc3 Git rev: master/5c1c8af083ca7b57cc339d16ce0513b27c5dac90 The neard daemon can not start when boot up: ################## Starting Linux NFC daemon /etc/rc5.d/S64neard: line 27: /usr/lib/neard/neard: No such file or directory ################## I found the neard binary had been moved to /usr/lib/neard/nfc directory. ################ # ls /usr/lib/neard/nfc/neard -l -rwxr-xr-x 1 root root 217468 Mar 2 18:22 /usr/lib/neard/nfc/neard ################ But even I changed the correct path in /etc/init.d/neard script, the daemon still can not start up. I got the following error in /var/log/message: ############# 07:01:40 beaglebone daemon.info neard[663]: NEAR daemon version 0.15 07:01:40 beaglebone daemon.err neard[663]: Unable to find NFC netlink family 07:01:40 beaglebone daemon.err neard[663]: netlink init failed 07:01:40 beaglebone daemon.err neard[663]: *** NETLINK INITIALIZATION FAILED *** #############
Investigation started.
Hello, can you please add the BSP/machine/target/image? Also, how neard/JNFC feature was added to the image? Thanks, Cristian
(In reply to comment #2) > Hello, can you please add the BSP/machine/target/image? > Also, how neard/JNFC feature was added to the image? > > Thanks, > Cristian I only tested it on beaglebone black. I will try other bsps later.
So there's two bugs here: 1) init script is broken 2) meta-yocto BSPs don't enable NFC. This bug needs to be split into two - Christian owns (1) and whoever owns the meta-yocto BSPs (Saul right now?) has (2).
Implementation started.
Patch sent for review.
Fixed with commit: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b4578680f69b8f4727f379274b3e0aecc86bc927
Verified with 1.8 M4 rc1