**** BEGIN LOGGING AT Fri Jun 22 03:00:01 2018 Jun 22 03:18:59 New news from stackoverflow: Yocto Toaster won't build image Jun 22 10:00:35 hi, i would like to build a qemu equivalent image of my karo tx6s-8035 board(https://www.karo-electronics.com/856.html?&L=1). there is no qemu machine equivanet to this board but i choose the one that come closest to: qemuarma9. I clone the layer into my yocto bspdir and create a qemuarma9 machine build. But when i add to my local.conf the same custom package that i use to build my tx6s-8035 target image, the build failed Jun 22 10:02:25 i have the following message error: Nothing RPROVIDED 'name_of_package' ( but core-image-sato.bb RDENPENDS on or otherwise requires it). Can anyone help me fix this. Thanks in advance Jun 22 10:03:30 I precise that error comes up when i build a qemuarma9 machine image but not a tx6s-8035 machine image Jun 22 10:34:39 vladzouth: bitbake works? Jun 22 14:13:29 what latency should i expect when using uart on linux? Jun 22 15:38:01 thanks dkc and rburton for inputs. Jun 22 15:45:15 * armpit does the bind / dhcp upgrade dance Jun 22 16:09:03 You put the right patch in, you take the right patch out, you put the right patch in and you merge it all about... Jun 22 16:10:58 I'm trying to build for the i.MX board... my host is ubuntu 16.04 LTS and after grepping through to change the entry about the EULA's md5sum changing i'm now trying to figure out why make is failing Jun 22 16:11:17 an i.MX dev baord Jun 22 16:11:46 for some reason make is complaining tha tthere is no rule to make target 'zImage' Jun 22 16:12:21 has anyone run into this? Jun 22 16:13:28 mine built but I have a fedora host Jun 22 16:14:00 what repo are you using? I checked out the release 4.9.88_2.0.0 repo. Jun 22 16:14:21 how can i tell what repo i'm using Jun 22 16:14:22 ? Jun 22 16:15:08 repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-rocko - Jun 22 16:15:42 repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-rocko -m imx-4.9.88-2.0.0_ga.xml Jun 22 16:15:50 seems right to me. Jun 22 16:16:07 i just coppied that right from the i.MX Yocto Project Guide pdf Jun 22 16:16:21 then i called repo sync Jun 22 16:20:38 I just noticed something... i tried doing it again in a new folder and there is this line: curl: (22) The requested URL returned error: 404 Not Found Jun 22 16:21:19 I think that happened to me as well and I think just trying several times it eventually found mirrors that downloaded all the sources correctly. Jun 22 16:22:39 well.. if i try to run it again I don't get any errors or any output that looks like git is doing anything Jun 22 16:22:40 tweaver1: usually, i work with fslc version for imx support Jun 22 16:22:55 what do you mean by fslc version? Jun 22 16:23:44 https://github.com/Freescale/fsl-community-bsp-platform Jun 22 16:24:42 tweaver1> https://community.nxp.com/thread/323782 Jun 22 16:25:52 cool... thank you Jun 22 16:26:23 i was just trying to follow what i found in the i.mx guide... i wish they'd mentioned this Jun 22 16:26:34 I'll try that Jun 22 16:55:05 @nayfe_ I got a copy of the comunity bsp but it doesn't ahve the shell script that the other one does Jun 22 16:55:45 how do i specify the machine i'm building for? Jun 22 16:57:05 Everything is explained in the previous github url Jun 22 16:57:15 MACHINE=imx7dsabresd DISTRO=fsl-xwayland . setup-environmant build Jun 22 16:57:23 or whatever distro machine of course. Jun 22 16:57:42 where do i get a list of the distro's Jun 22 16:58:01 cd .. Jun 22 16:58:05 i don't see that in the reademe Jun 22 16:58:08 lol wrong term :) Jun 22 16:59:11 run setup-environment without env args set and it prints some info. Jun 22 16:59:22 ah Jun 22 17:01:09 i see that it lists some common targets, is there a list of targets with an explination somewhere? Jun 22 17:03:23 it shows core-image-minimal,meta-toolchain,meta-toolchain-sdk,adt-installer,meta-ide-support Jun 22 17:04:36 meh... the board i'm trying to build for isn't supported by the community version :( Jun 22 17:04:55 imx8mqevk Jun 22 17:06:09 that's the 8MQuad eval kit Jun 22 17:08:43 using the fsl distribution should work about the same.. but I guess you were having problems with the build not working. Jun 22 17:08:47 i'm pulling down a copy of the master brach of that repo in hopes it added support Jun 22 17:09:26 yes... make fails with an error about some target missing Jun 22 17:11:43 master branch of the community one doesn't have that board yet Jun 22 17:13:21 i went back and am trying to build the target core-image-minimal instead of core-image-base... we'll see if that makes a difference Jun 22 17:13:57 i don't need any xwindows enviroment or anything fancy... i just need basic linux Jun 22 17:20:55 have you tried the fsl targets? fsl-image-gui Jun 22 17:21:01 idk if it makes a difference Jun 22 17:33:28 i'll try that next if this fails... it's still working Jun 22 17:34:16 is there a way i can get a list of the targets and what's in them? Jun 22 17:36:21 bitbake -s | grep image Jun 22 17:36:35 ?? maybe a better way but -s shows all the recipes Jun 22 17:38:12 once i get this working the next thing i need to figure out is how to crosscompile for this... i'm porting some software and i've not really used arm before Jun 22 17:38:29 do you know of any good resources that explain what's involved Jun 22 17:38:47 there is a bitbake target for building an sdk Jun 22 17:39:14 you just install the built SDK and then use the toolchain in that to build your apps for your board. Jun 22 17:39:57 That's one way... you can make a layer and have bitbake install your app on the image too. Jun 22 17:40:17 ah, cool Jun 22 17:40:28 i figured there was a toolchain in here i could use... Jun 22 17:41:07 is there a way to limit the number of threads bitbake takes? I'm sharing this server with someone and aparently i've taken all the resources Jun 22 17:41:34 i'm looking through the help and can't find an option for it Jun 22 17:45:04 Log data follows: Jun 22 17:45:06 | DEBUG: Executing shell function do_compile Jun 22 17:45:08 | NOTE: make -j 8 HOSTCC=gcc -isystem/home/tweaver/imx-yocto-bsp/build-wayland/tmp/work/imx8mqevk-poky-linux/linux-imx/4.9.88-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/tweaver/imx-yocto-bsp/build-wayland/tmp/work/imx8mqevk-poky-linux/linux-imx/4.9.88-r0/recipe-sysroot-native/usr/lib Jun 22 17:45:10 -L/home/tweaver/imx-yocto-bsp/build-wayland/tmp/work/imx8mqevk-poky-linux/linux-imx/4.9.88-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/home/tweaver/imx-yocto-bsp/build-wayland/tmp/work/imx8mqevk-poky-linux/linux-imx/4.9.88-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/tweaver/imx-yocto-bsp/build-wayland/tmp/work/imx8mqevk-poky-linux/linux-imx/4.9.88-r0/recipe-sysroot-native/lib Jun 22 17:45:12 -Wl,-rpath,/home/tweaver/imx-yocto-bsp/build-wayland/tmp/work/imx8mqevk-poky-linux/linux-imx/4.9.88-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/tweaver/imx-yocto-bsp/build-wayland/tmp/work/imx8mqevk-poky-linux/linux-imx/4.9.88-r0/recipe-sysroot-native/lib -Wl,-O1 HOSTCPP=gcc -E ARCH=arm64 zImage CC=aarch64-poky-linux-gcc -fuse-ld=bfd Jun 22 17:45:14 -ffile-prefix-map=/home/tweaver/imx-yocto-bsp/build-wayland/tmp/work/imx8mqevk-poky-linux/linux-imx/4.9.88-r0/git=/kernel-source/ LD=aarch64-poky-linux-ld.bfd LOADADDR=20008000 Jun 22 17:45:16 | GEN ./Makefile Jun 22 17:45:18 | scripts/kconfig/conf --silentoldconfig Kconfig Jun 22 17:45:20 | make[2]: *** No rule to make target 'zImage'. Stop. Jun 22 17:45:22 | Makefile:152: recipe for target 'sub-make' failed Jun 22 17:45:24 | make[1]: *** [sub-make] Error 2 Jun 22 17:45:26 | Makefile:24: recipe for target '__sub-make' failed Jun 22 17:45:28 | make: *** [__sub-make] Error 2 Jun 22 17:45:30 | ERROR: oe_runmake failed Jun 22 17:45:32 | WARNING: exit code 1 from a shell command. Jun 22 17:45:34 | ERROR: Function failed: do_compile (log file is located at /home/tweaver/imx-yocto-bsp/build-wayland/tmp/work/imx8mqevk-poky-linux/linux-imx/4.9.88-r0/temp/log.do_compile.8610) Jun 22 17:45:36 ERROR: Task (/home/tweaver/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.9.88.bb:do_compile) failed with exit code '1' Jun 22 17:45:38 NOTE: Tasks Summary: Attempted 1698 tasks of which 6 didn't need to be rerun and 1 failed. Jun 22 17:45:40 it failed again in the same way as before Jun 22 17:45:42 i'll try to fsl-image-gui and see if that's better Jun 22 17:47:54 when i try that i get an error about Nothing PROVIDES 'clutter-1.0-examples' Jun 22 17:51:40 if I try to build fsl-image-machine-test I get the same error, except this timme it is about 'weston' Jun 22 17:52:18 are these libraries i need to install on my host or something else? Jun 22 17:57:58 when i google the RPROVIDES error all i'm finding is people making their own custom bitbake targets... i just want to build a standard one Jun 22 17:59:19 tweaver1: please use pastebin for longer logs like this Jun 22 17:59:28 i'm sorry Jun 22 17:59:34 armpit: yt ? I delegated bunch on stable branches patches on patchwork for meta-openembedded to you, some of them are for older releases feel free to close them if we dont want to apply them Jun 22 18:00:52 k Jun 22 18:01:10 armpit: hoping to get pw backlog to one page which is < 100 patches Jun 22 18:02:00 there are bunch of "Changes Requested" where submitter never came back with newer version I think they also need to be closed Jun 22 18:10:18 Hi, Quick question, Does anyone know a case where a class is inherited on a condition? Jun 22 18:10:31 like if(something) inherit something Jun 22 18:10:41 is this done at all Jun 22 18:15:10 nevermind found it Jun 22 18:15:12 inherit ${@'classname' if condition else ''} Jun 22 18:15:13 thanks Jun 22 18:51:45 khem, just mark the all as "achieved" and watch list go to zere ; ) Jun 22 19:08:45 Hi. Is env. MAKEFLAGS supposed to leak into a "bitbake -c devshell " env. ? Jun 22 19:09:44 'Cause I was under the impression that bitbake prunes most of the env. Jun 22 19:26:15 I guess devshell doesn't prune the environment Jun 22 19:52:09 IMAGE_FSTYPES="tar.bz2 ext3 sdcard" Jun 22 19:52:09 Resulting sdcard image at uboot time: "WARNING: No block device, using default environment" Jun 22 19:52:09 Then proceeds to try bootp w/ tftp Jun 22 19:52:09 I haven't customized anything yet, just trying to build an fsl-image-x11 default build. Thoughts? Jun 22 19:56:55 the sdcard contents look fine enough. Got a FAT partition with zImage and supporting files and then an ext4 partition with my root file system. Jun 22 20:37:15 so it seems my u-boot is simply not configured to boot from mmc right. Jun 22 20:37:15 If I manually simply execute> run loadimage Jun 22 20:37:16 > run mmcboot Jun 22 20:37:16 I can boot the image I created. Jun 22 20:37:37 is there something that controls how u-boot is set to create the default env? Jun 22 20:41:00 investigating further it seems maybe my sdcard simply didn't work sometimes IDK.. it reboots fine sometimes. Jun 22 20:41:10 lol. Jun 22 20:47:47 dennism: Some SDCard slots suck. The ones on my most recent board have enough slop on them that you can put them in without hitting the contacts. Jun 22 20:47:49 Real PITA Jun 22 20:48:13 indeed I hate debugging stuff only to find out it's a hardware issue. Jun 22 20:50:40 lol, I had a proof-of-concept board where I used a daughter board with an embedded proc and accoutrement on it. Couldn't source the connector my ref design had used, so I found something very similar. Took me 2 months to figure out the replacement connector was ~.2mm too deep and half the pins on the daughter board weren't contacting. Jun 22 20:51:23 yikes that'll screw with project deadlines. Jun 22 21:02:15 what the hell, ptest-runner:do_fetch is hanging Jun 22 21:28:12 Is there a way to show the full vardeps for a task? Jun 22 21:28:41 I want to figure out why bitbake isn't rebuilding when I change a variable Jun 22 21:29:02 JPEW: best is to dump the sigdata either by doing a build or bitbake -S none and then dumping the data with bitbake-dumpsig Jun 22 21:29:36 kergoth: Thanks, I figured there had to be a way Jun 22 21:30:00 that'll include the variable's value, its full vardeps, and all the variables and values for those deps for any variable references, dependent tasks go into separate sigdata files Jun 22 21:30:01 np Jun 22 21:38:32 hmm, apparently I was expecting a little more from bitbake that it could do: [d.getVar(v) for v in ('A', 'B', 'C')] doesn't correctly detect the dependencies Jun 22 21:39:52 well, at least on morty Jun 22 21:51:17 what is a package with -native compared to the package without? python vs python-native? Jun 22 21:51:19 etc. Jun 22 21:53:30 host system package? Jun 22 21:56:42 dennism: Yes. -native packages run on the build host as build tools Jun 22 21:57:17 So inclusion in a recipe is simply for a dependency on an output target it seems. Jun 22 21:57:59 Usually you would depend on a -native recipe if you need a native tool to do the build, e.g. yacc, lexx Jun 22 21:58:21 make sense Jun 22 22:06:55 I was digging into that because I have some -native python packages in the list when I run bitbake -g my-image Jun 22 22:07:20 Trying to figure out why one of the packages is in the list of dependencies but not making it into the final install image. Jun 22 22:09:10 For now manually list it in my layer works I guess. **** ENDING LOGGING AT Sat Jun 23 03:00:01 2018