IRC logs for #automotive for Friday, 2020-08-07

waltminerkreyren I would google the service manual00:03
kreyrenwaltminer, i did, but i found them only in russian00:29
*** mckoan|away is now known as mckoan06:54
*** vrubiolo has joined #automotive06:57
*** kooltux has joined #automotive07:15
*** kooltux has quit IRC07:23
*** leon-anavi has joined #automotive07:40
*** jbpons has joined #automotive08:04
*** jbpons has quit IRC08:29
*** jbpons has joined #automotive08:42
*** jacobo has joined #automotive08:47
*** jbpons has quit IRC09:32
*** jbpons has joined #automotive10:03
cengiz_iohello again dl9pf, I have an issue to report. according to your local_manifests solution, `.project-manifest.xml` should be copied to `.repo/local_manifests/meta-my-project.xml` as soon as it's been checked out via repo tool but the example on your slide fails to work with this error: "error.ManifestInvalidPathError: <copyfile> invalid "dest":12:52
cengiz_io.repo/local_manifests/meta-xxxxxx.xml: bad component: .repo"12:52
cengiz_iodo you have any idea?12:53
cengiz_ioremoving `.repo` from "dest" attribute seems to fix the build but I'm not sure if it's been copied to the right path now12:59
*** jbpons has quit IRC13:02
*** tgamblin has quit IRC13:04
*** tgamblin has joined #automotive13:05
*** jbpons has joined #automotive13:59
cengiz_ionvm dl9pf it seems to be cloning the repo properly14:33
cengiz_iogoogle probably changed their repo tool14:33
cengiz_ionow the biggest obstacle remains: changing u-boot and kernel for my "machine"14:34
*** jbpons has quit IRC15:01
cengiz_ioERROR: ParseError at /yocto/meta-agl/meta-agl-distro/conf/distro/poky-agl.conf:128: Could not include required file conf/distro/include/INVALID-tune.inc15:22
cengiz_ioI think I also have to add conf/distro to my layer as well. for my local machine.15:23
cengiz_iocorrect me if I'm wrong15:23
cengiz_iocorrect me if I'm wrong but how can I declare ${TARGET_ARCH} in my meta-localdev layer?15:24
smurraythat error suggests TARGET_ARCH is not set15:24
cengiz_ioit must be 2 in my case15:25
smurrayit's derived from the tuning definition, which should be set via the machine .conf file15:28
cengiz_ioI'm so lost now LOL15:28
cengiz_iosmurray imx6dlsabreauto does not explicitly define it15:28
cengiz_ioI just copied that machine directory and renamed it15:28
smurraycengiz_io: most machine .conf files pull in .inc files that do it15:29
cengiz_ioand put it into my meta-localdev, which seems to be picked up aglsetup.sh fine15:29
cengiz_ioI have to walk back in the include chain I guess15:29
cengiz_ioin normal yocto, I would just use MACHINE_OVERRIES15:29
smurraywhat are you setting MACHINE to in your 50_local.conf.inc?15:30
cengiz_iorequire conf/include/agl_racoon.inc15:31
cengiz_iowhich is an exact copy of conf/include/agl_imx6qsabreauto.inc15:31
smurraythere should be a MACHINE = "something" line in there as well15:31
cengiz_ioI renamed it yep15:31
cengiz_ioMACHINE = "racoon"15:31
cengiz_iothat means I will have to patch all the suffixes all around..... I hope not15:32
smurraydo you have a conf/machine/racoon.conf file somewhere?15:32
smurraythat's what MACHINE controls15:32
cengiz_ionot in conf. only in templates/machine15:32
cengiz_ioohh15:32
cengiz_ioI might have missed that15:33
cengiz_iothanks a lot!15:33
smurraythis is OE stuff, and not AGL specific15:33
cengiz_ioyep. and I'm still a n00b after 2 years15:33
* cengiz_io is not proud15:33
smurrayyou can probably start by with a copy of imx6qsabreauto.conf from meta-freescale15:34
cengiz_iometa-freescale-layer you mean?15:34
cengiz_iounder meta-agl-bsp15:34
smurrayno, the meta-freescale BSP layer, see bsp/meta-freescale from the top level15:34
cengiz_ionope not there.15:34
cengiz_ioOMG there IS a bsp directory there...15:35
smurrayindeed15:35
cengiz_ioI have mild dyslexia and I never noticed that15:35
smurrayif you copy conf/machine/imx6qsabreauto.conf from bsp/meta-freescale to conf/machine/racoon.conf in your new layer, it'll provide a starting point15:36
cengiz_ioand also any includes as well right?15:37
smurrayno15:37
cengiz_iono need?15:37
smurraythey'll be found by bitbake15:37
cengiz_iosweeet!15:37
smurrayyou can then change the devicetree to use, etc. in racoon.conf for you hardware15:38
cengiz_iothis, I know. fortunately15:38
cengiz_iosee I always started from scratch when building a yocto bsp15:39
cengiz_ioall I have to do is to create conf, machine and images15:39
cengiz_ioand obviously recipe overrides etc15:39
smurraythat is an option if you don't want to reuse the meta-freescale stuff15:40
cengiz_iocan I ask something beforehand? you know imx likes to use a franken uboot15:40
cengiz_ioit also has an updater uboot too. called mfgtools15:41
cengiz_iodo you think that recipe will pick up my machine configs?15:41
cengiz_iodevtool modify uboot-imx should suffice if the MACHINE is right?15:41
cengiz_iobecause that's my nightmare15:42
smurrayI've never looked at mfgtools, you'll need to dig a bit to see15:42
* cengiz_io cries inside15:42
cengiz_ionoone sane enough should ever look into it..15:42
smurrayone thing to note is I don't believe that's getting built with the imx6qsabreauto template in AGL, as it's been configured to use mainline u-boot15:42
cengiz_iothe EVK boots with mainline 4.20 all right but not sure about updater kernel15:43
cengiz_iothat's an abomination15:43
cengiz_ioby mainline I mean fslc maintained kernel15:43
cengiz_iothanks to those guys15:43
smurrayif you need the NXP u-boot, you'll likely need to remove the MACHINEOVERRIDES .= ":use-mainline-bsp" in your agl_racoon.inc15:44
cengiz_iowell I have a huge weekend and nothing to do. I can walk from here. thank you a lot!15:44
smurraywhat release of AGL are you on?15:44
cengiz_io9.0.215:44
cengiz_io(wow so many device trees in machine conf...)15:45
cengiz_io # Use fslc u-boot by default. See also imx-base.inc.15:46
cengiz_iothere's a note there15:46
smurrayyeah, the .inc stuff in meta-freescale is a bit of a pain to untangle, unfortunately15:47
cengiz_iosmurray I wish hardware people would just modify the ref board.. they've changed too much.15:48
smurrayyeah, I've been there15:49
cengiz_iousing sdcard clk line for uart tx... I mean that's acceptable in 2020 but wth15:50
smurrayit's okay if you don't need the sdcard ;)15:50
cengiz_iobwahaha15:51
smurrayI'd be tempted to just get the base OE core-image-minimal or similar building outside of AGL first to get the machine .conf worked out15:51
cengiz_iothat makes a ton of sense but sanity left these lands long ago16:04
*** mckoan is now known as mckoan|away16:09
*** kooltux has joined #automotive16:40
*** moto-timo has joined #automotive16:59
*** kooltux has quit IRC17:50
*** kooltux has joined #automotive18:02
*** kreyren has quit IRC18:17
*** kreyren has joined #automotive19:30
*** vrubiolo has quit IRC19:35
*** vrubiolo has joined #automotive19:36
*** jacobo has quit IRC20:22
*** mranostay has quit IRC21:28
*** leon-anavi has quit IRC22:49
*** mranostay has joined #automotive23:03
*** mranostay has quit IRC23:32
*** mranostay has joined #automotive23:37
*** vrubiolo has quit IRC23:46
*** vrubiolo has joined #automotive23:46

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!