Hi everyone, I am starting with the Yocto project now. My target is an imx7dsabresd. I started by adding the meta-freescale layer. After that, I added the meta-freescale-3rdparty layer (by intuition) because it was the only layer repo making some reference to PTP when I git grep the repos.
I started by compiling an image-core-base image, ending up by compiling an image-core-fullcmdline image. I added some extra packages like openserver-ssh. I am able to boot the device and cross-compile objs for it. However, when I try to run the gPTP (generalized precision time protocol) daemon from Avnu, it fails to configure timestamping. This happens specifically when the daemon tries to execute: err = ioctl( sd, SIOCSHWTSTAMP, &device ); Errno is then set as "Invalid argument". I was wondering if I have to somehow explicitly enable PTP in my build (before I was using some given pre-built image and I didn't have this issue). If so, could you provide me some info on how to do it (in a dummy-beginner way)? A next step will be to set the network-driver for eth0/eth1 as dynamically linked. I've read I can do this by generating .cfg files but I am not sure on what CONFIG_ to set as "=m". (Please ignore the last question if it is out of the scope of this list.) PS.: I attached my boot log in this mail. Thanks and BR!
Thu Jan 1 00:00:04 1970: Populating dev cache Thu Jan 1 00:00:04 1970: tar: dev/disk/by-label/Bootx20imx7ds: Cannot stat: No such file or directory Thu Jan 1 00:00:04 1970: tar: Exiting with failure status due to previous errors Thu Jan 1 00:00:04 1970: udev-cache: update failed! Tue Jul 18 13:29:17 2017: Tue Jul 18 13:29:17 UTC 2017 Tue Jul 18 13:29:17 2017: INIT: Entering runlevel: 5 Tue Jul 18 13:29:17 2017: Configuring network interfaces... udhcpc (v1.24.1) started Tue Jul 18 13:29:17 2017: Sending discover... Tue Jul 18 13:29:20 2017: Sending discover... Tue Jul 18 13:29:23 2017: Sending discover... Tue Jul 18 13:29:23 2017: Sending select for XX.XX.XX.XX... Tue Jul 18 13:29:23 2017: Lease of XX.XX.XX.XX obtained, lease time 251201 Tue Jul 18 13:29:23 2017: /etc/udhcpc.d/50default: Adding DNS XX.XX.XX.XX Tue Jul 18 13:29:23 2017: /etc/udhcpc.d/50default: Adding DNS XX.XX.XX.XX Tue Jul 18 13:29:23 2017: done. Tue Jul 18 13:29:23 2017: Starting system message bus: dbus. Tue Jul 18 13:29:23 2017: Starting OpenBSD Secure Shell server: sshd Tue Jul 18 13:29:23 2017: generating ssh RSA key... Tue Jul 18 13:29:26 2017: generating ssh ECDSA key... Tue Jul 18 13:29:26 2017: generating ssh DSA key... Tue Jul 18 13:29:28 2017: generating ssh ED25519 key... Tue Jul 18 13:29:28 2017: done. Tue Jul 18 13:29:28 2017: Starting rpcbind daemon...done. Tue Jul 18 13:29:28 2017: starting statd: done Tue Jul 18 13:29:28 2017: Starting atd: OK Tue Jul 18 13:29:28 2017: exportfs: can't open /etc/exports for reading Tue Jul 18 13:29:28 2017: NFS daemon support not enabled in kernel Tue Jul 18 13:29:28 2017: Starting system log daemon...0 Tue Jul 18 13:29:28 2017: Starting kernel log daemon...0 Tue Jul 18 13:29:28 2017: Starting crond: OK
-- _______________________________________________ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale