waltminer | kreyren I would google the service manual | 00:03 |
---|---|---|
kreyren | waltminer, i did, but i found them only in russian | 00:29 |
*** mckoan|away is now known as mckoan | 06:54 | |
*** vrubiolo has joined #automotive | 06:57 | |
*** kooltux has joined #automotive | 07:15 | |
*** kooltux has quit IRC | 07:23 | |
*** leon-anavi has joined #automotive | 07:40 | |
*** jbpons has joined #automotive | 08:04 | |
*** jbpons has quit IRC | 08:29 | |
*** jbpons has joined #automotive | 08:42 | |
*** jacobo has joined #automotive | 08:47 | |
*** jbpons has quit IRC | 09:32 | |
*** jbpons has joined #automotive | 10:03 | |
cengiz_io | hello 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_io | do you have any idea? | 12:53 |
cengiz_io | removing `.repo` from "dest" attribute seems to fix the build but I'm not sure if it's been copied to the right path now | 12:59 |
*** jbpons has quit IRC | 13:02 | |
*** tgamblin has quit IRC | 13:04 | |
*** tgamblin has joined #automotive | 13:05 | |
*** jbpons has joined #automotive | 13:59 | |
cengiz_io | nvm dl9pf it seems to be cloning the repo properly | 14:33 |
cengiz_io | google probably changed their repo tool | 14:33 |
cengiz_io | now the biggest obstacle remains: changing u-boot and kernel for my "machine" | 14:34 |
*** jbpons has quit IRC | 15:01 | |
cengiz_io | ERROR: ParseError at /yocto/meta-agl/meta-agl-distro/conf/distro/poky-agl.conf:128: Could not include required file conf/distro/include/INVALID-tune.inc | 15:22 |
cengiz_io | I think I also have to add conf/distro to my layer as well. for my local machine. | 15:23 |
cengiz_io | correct me if I'm wrong | 15:23 |
cengiz_io | correct me if I'm wrong but how can I declare ${TARGET_ARCH} in my meta-localdev layer? | 15:24 |
smurray | that error suggests TARGET_ARCH is not set | 15:24 |
cengiz_io | it must be 2 in my case | 15:25 |
smurray | it's derived from the tuning definition, which should be set via the machine .conf file | 15:28 |
cengiz_io | I'm so lost now LOL | 15:28 |
cengiz_io | smurray imx6dlsabreauto does not explicitly define it | 15:28 |
cengiz_io | I just copied that machine directory and renamed it | 15:28 |
smurray | cengiz_io: most machine .conf files pull in .inc files that do it | 15:29 |
cengiz_io | and put it into my meta-localdev, which seems to be picked up aglsetup.sh fine | 15:29 |
cengiz_io | I have to walk back in the include chain I guess | 15:29 |
cengiz_io | in normal yocto, I would just use MACHINE_OVERRIES | 15:29 |
smurray | what are you setting MACHINE to in your 50_local.conf.inc? | 15:30 |
cengiz_io | require conf/include/agl_racoon.inc | 15:31 |
cengiz_io | which is an exact copy of conf/include/agl_imx6qsabreauto.inc | 15:31 |
smurray | there should be a MACHINE = "something" line in there as well | 15:31 |
cengiz_io | I renamed it yep | 15:31 |
cengiz_io | MACHINE = "racoon" | 15:31 |
cengiz_io | that means I will have to patch all the suffixes all around..... I hope not | 15:32 |
smurray | do you have a conf/machine/racoon.conf file somewhere? | 15:32 |
smurray | that's what MACHINE controls | 15:32 |
cengiz_io | not in conf. only in templates/machine | 15:32 |
cengiz_io | ohh | 15:32 |
cengiz_io | I might have missed that | 15:33 |
cengiz_io | thanks a lot! | 15:33 |
smurray | this is OE stuff, and not AGL specific | 15:33 |
cengiz_io | yep. and I'm still a n00b after 2 years | 15:33 |
* cengiz_io is not proud | 15:33 | |
smurray | you can probably start by with a copy of imx6qsabreauto.conf from meta-freescale | 15:34 |
cengiz_io | meta-freescale-layer you mean? | 15:34 |
cengiz_io | under meta-agl-bsp | 15:34 |
smurray | no, the meta-freescale BSP layer, see bsp/meta-freescale from the top level | 15:34 |
cengiz_io | nope not there. | 15:34 |
cengiz_io | OMG there IS a bsp directory there... | 15:35 |
smurray | indeed | 15:35 |
cengiz_io | I have mild dyslexia and I never noticed that | 15:35 |
smurray | if you copy conf/machine/imx6qsabreauto.conf from bsp/meta-freescale to conf/machine/racoon.conf in your new layer, it'll provide a starting point | 15:36 |
cengiz_io | and also any includes as well right? | 15:37 |
smurray | no | 15:37 |
cengiz_io | no need? | 15:37 |
smurray | they'll be found by bitbake | 15:37 |
cengiz_io | sweeet! | 15:37 |
smurray | you can then change the devicetree to use, etc. in racoon.conf for you hardware | 15:38 |
cengiz_io | this, I know. fortunately | 15:38 |
cengiz_io | see I always started from scratch when building a yocto bsp | 15:39 |
cengiz_io | all I have to do is to create conf, machine and images | 15:39 |
cengiz_io | and obviously recipe overrides etc | 15:39 |
smurray | that is an option if you don't want to reuse the meta-freescale stuff | 15:40 |
cengiz_io | can I ask something beforehand? you know imx likes to use a franken uboot | 15:40 |
cengiz_io | it also has an updater uboot too. called mfgtools | 15:41 |
cengiz_io | do you think that recipe will pick up my machine configs? | 15:41 |
cengiz_io | devtool modify uboot-imx should suffice if the MACHINE is right? | 15:41 |
cengiz_io | because that's my nightmare | 15:42 |
smurray | I've never looked at mfgtools, you'll need to dig a bit to see | 15:42 |
* cengiz_io cries inside | 15:42 | |
cengiz_io | noone sane enough should ever look into it.. | 15:42 |
smurray | one 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-boot | 15:42 |
cengiz_io | the EVK boots with mainline 4.20 all right but not sure about updater kernel | 15:43 |
cengiz_io | that's an abomination | 15:43 |
cengiz_io | by mainline I mean fslc maintained kernel | 15:43 |
cengiz_io | thanks to those guys | 15:43 |
smurray | if you need the NXP u-boot, you'll likely need to remove the MACHINEOVERRIDES .= ":use-mainline-bsp" in your agl_racoon.inc | 15:44 |
cengiz_io | well I have a huge weekend and nothing to do. I can walk from here. thank you a lot! | 15:44 |
smurray | what release of AGL are you on? | 15:44 |
cengiz_io | 9.0.2 | 15: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_io | there's a note there | 15:46 |
smurray | yeah, the .inc stuff in meta-freescale is a bit of a pain to untangle, unfortunately | 15:47 |
cengiz_io | smurray I wish hardware people would just modify the ref board.. they've changed too much. | 15:48 |
smurray | yeah, I've been there | 15:49 |
cengiz_io | using sdcard clk line for uart tx... I mean that's acceptable in 2020 but wth | 15:50 |
smurray | it's okay if you don't need the sdcard ;) | 15:50 |
cengiz_io | bwahaha | 15:51 |
smurray | I'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 out | 15:51 |
cengiz_io | that makes a ton of sense but sanity left these lands long ago | 16:04 |
*** mckoan is now known as mckoan|away | 16:09 | |
*** kooltux has joined #automotive | 16:40 | |
*** moto-timo has joined #automotive | 16:59 | |
*** kooltux has quit IRC | 17:50 | |
*** kooltux has joined #automotive | 18:02 | |
*** kreyren has quit IRC | 18:17 | |
*** kreyren has joined #automotive | 19:30 | |
*** vrubiolo has quit IRC | 19:35 | |
*** vrubiolo has joined #automotive | 19:36 | |
*** jacobo has quit IRC | 20:22 | |
*** mranostay has quit IRC | 21:28 | |
*** leon-anavi has quit IRC | 22:49 | |
*** mranostay has joined #automotive | 23:03 | |
*** mranostay has quit IRC | 23:32 | |
*** mranostay has joined #automotive | 23:37 | |
*** vrubiolo has quit IRC | 23:46 | |
*** vrubiolo has joined #automotive | 23:46 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!