IRC logs for #automotive for Friday, 2015-08-14

*** gmacario has joined #automotive06:42
*** fredcadete has joined #automotive06:51
*** KlausUhl has joined #automotive07:31
CTtpollardgood morning07:35
fredcadetegood morning07:40
KlausUhlgood morning everybody!07:43
*** jacobo has joined #automotive08:09
paulsherwoodhowdie08:17
*** mdunford has joined #automotive08:23
*** jonathanmaw has joined #automotive09:09
*** wschaller_ has joined #automotive09:18
paulsherwoodCTtpollard: have you had a chance to check whether GDP for porter is buildable without the blobs?09:31
CTtpollardIt will complain about not having multimedia blobs but carrying on building, I've not had any luck as of yet getting it to build without gfx blobs though09:36
CTtpollardI'm sure it will be able to build with further tinkering to local conf though, not specifying gles-user-module for example09:39
fredcadeteinterestingly, the Renesas BSP I have here has instructions to build without the gfx blobs10:18
fredcadetebut only for X1110:18
radiofree"use mesa"?10:20
fredcadetethat's what it ends up doing10:20
fredcadetebut you have to BBMASK libegl, libgbm10:21
radiofreeCTtpollard: unless there's something horrific in the build you should just be able to build mesa with --enable-gles2 --disable-glx --with-egl-platforms=wayland10:21
radiofreeideally the renesas blobs should just be drop in replacements for mesa10:21
radiofreepersonally i think we should be building the GDP *only* with mesa (with all the gallium drivers), and then you go and see your vendor if you need the blobs for your gpu10:23
radiofreeall least then the same build (minus the kernel etc...) should work on multiple platforms10:24
CTtpollardI agree with you radiofree10:24
radiofreearm you could use freedreno, nouveau, or the swrast dri driver (SLOW)10:24
radiofreeintel, obviously the mesa drivers there are already excellent10:24
paulsherwoodradiofree: good thinking :)10:34
paulsherwoodjeremiah: what's genivi policy for maintaining mirrors of repos at the moment (ie in advance of me trying to persuade folks to adopt a mirror of upstreams in general)10:52
paulsherwoodjeremiah: particular use-case, if folks working expressly on genivi integration need to make mods to an established yocto-oe repo, eg meta-foo... should they create a downstream mirror of meta-foo at git.projects.genivi.org?10:54
paulsherwood(presuming that the engineers have no ability to push branches directly to upstream, so need to stage their work somewhere)10:54
paulsherwood(if others know, besides jeremiah, please jump in)10:55
paulsherwoodand actually, i should ask the same question of AGL folks10:55
CTtpollardI don't know, but it would be of use for me to know for the meta-ivi problem10:56
paulsherwoodnote that, in the absence of a standard way of doing this, it would seem that engineers will have to create their own fork somewhere (eg github) and then point their wip at that... which will likely lead to confusion if others start point at their wip, turning them into a new 'upstream'10:58
paulsherwoodCTtpollard: i'll ask this officially on the lists... hopefully we can iron this out before you get too tangled up10:59
CTtpollardpaulsherwood: it is appreciated, I'm very much against pointing official documentation to personal github forks, so I'd like to see the issue resolved11:01
paulsherwoodack11:01
*** gunnarx has joined #automotive11:04
gunnarxpaulsherwood:  This is only my opinion, but I think it follows a natural progression:  First try to work upstream.  If changes are not accepted, or not fast enough, use a mirror at GENIVI git.11:05
gunnarxBut also don't forget that Yocto allows .bbappends, so you have the ability to do some local minor modifications on top of the unmodified upstream layer.11:06
paulsherwoodgunnarx: 'try to work upstream'... unless folks have push rights upstream, that's not possible iiuc?11:07
gunnarxI haven't seen that we have ever had the need to fork any of the generic layers (meta-openembedded) so far.  I think there is no generally applicable answer - there is so much diversity in the code.11:07
gunnarxPropose to upstream, send patches11:07
gunnarxwhatever each project's contribution process is11:08
paulsherwoodgunnarx: sorry to labour this...11:08
gunnarxno it's fine11:08
paulsherwoodimagine i am working on a GENIVI project... in public.11:08
paulsherwoodi find/think i have to make some changes to meta-foo11:09
gunnarxlike meta-openembedded for example?11:09
paulsherwoodwhile i am working, i want to push my work-in-progress changes somewhere11:09
paulsherwoodand clearly they should not go to upstream, because i haven't even got them wroking for sure yet11:10
gunnarxI get it11:10
paulsherwoodso, if genivi had its own mirror of meta-foo, i can push my stuff *in branches* there....11:10
paulsherwoodif/when i'm confident, i submit patches to upstream11:10
paulsherwoodin the meantime, i can have other things wip off my branch11:11
gunnarxSo you could....11:11
gunnarx 1. work locally, not push until it works.  2...11:11
gunnarx2. for backup purposes push to a "private" git repo on a server11:11
paulsherwood1. is no use. i'm working in the open. i need to share my stuff to get feedback11:11
gunnarxhang on I'm not done.  :)11:11
paulsherwood2. neither11:11
gunnarx3. work on a development branch and push that.  Instructions should make clear that it is not guaranteed to work.   That's pretty typical.11:12
paulsherwood3. push it *where*?11:12
gunnarxOK so let me start over...11:13
gunnarxConsider gdp-submodules - it has a little code within it, and also brings in a number of layers that are separate projects11:13
gunnarxIf I want to make a change that requires a change in meta-ivi I have the option to - make gdp-submodules use a forked version of hte layer11:13
gunnarx(in this case on github)11:14
gunnarxor - make it depend on some layer (private / local / whatever) so my local build works, push my changes (in order to back them up) to a public clearly makred "experimental brannch"11:14
gunnarxThis branch will not work until upstream meta-ivi have accepted the patches I simultaneously send them.11:15
gunnarxSo there is a time gap, but the branch being marked experimental shows that it is not guaranteed to work.11:15
gunnarxI'm not sure if it came across all the details here - we'd need a whiteboard.  :)11:16
paulsherwoodgunnarx: so basically you are saying that if i want to publish my work-in-progress i should create my own fork11:16
gunnarxWell, sending patches to upstream mailing list is also a kind of publishing11:16
paulsherwoodgunnarx: i think you are missing my point11:16
gunnarxSo you don't strictly need a git repo to publish11:16
paulsherwoodi am working on a collaborative project. i want to get others feedbakc on my WIP before i offer it upstream...11:17
gunnarxNo, I think I am getting it, but there are multiple tangents to this.  Our projects are built out of multiple different repos for instance.11:17
gunnarxOK.  So sending patches is that an acceptable way to get feedback?11:17
paulsherwoodif i don't do that, i may waste upstream's time submitting patches that my colleagues would fix or tell me are not required11:17
paulsherwoodgunnarx: not really11:17
gunnarxOK, that's a more specific problem.  Why are patches not good enough?11:18
paulsherwoodit's more friction on a day-to-day basis than just saying  - her'es my branch, if anyone wants to try irt11:18
paulsherwoodit is quite normal for git users to publish their branches. sending patches is a more formal thing11:19
gunnarxI understand.  Yes having a git repo is some convenience.  People might do a git pull <yourrepo> faster than applying patches (depending on their tools)11:19
paulsherwoodexactly11:19
gunnarxSo, your answer is you need a publicly accessible git repo containing a copy of the project you want to propose changes to.11:19
paulsherwoodso... genivi has no mirrors of meta-foo for genivi folks to collaborate in. hence each person will likely fork some repos at github11:20
gunnarxwhat's the remaining question?  :)11:20
gunnarxYes, sure, we could have mirrors11:20
paulsherwoodwe *should* have mirrors, is my view, to avoid confusion11:20
gunnarxDepends on what you consider official.  You suggested that these are changes that are so untested that you want colleagues feedback first.  Github might be more indicative of something being not official?11:21
gunnarxLet's say there is a GENIVI copy, who has push access?  All developers?11:21
paulsherwoodwhoever is granted that access11:21
gunnarxif it's going to be useful, that is whoever has any contribution, IOW anyone who asks for it.11:22
paulsherwoodi think we're gradually thrashing throubgh that discussion for AGL11:22
gunnarxOr, maybe we are talking about maintainers here11:22
gunnarxAre you speaking as a "maintainer"?11:22
paulsherwoodwhat a 'maintainer' is depends on the project11:23
paulsherwoodi'm speaking as someone who wants to unravel the confusion so that engineers can work effectively11:23
gunnarxsure.  but I'm trying to get to the core11:23
gunnarxabsolutely, a worthy goal11:23
gunnarxIt's not a bad idea to have an official GENIVI copy of whatever sub-projects we are working on11:24
paulsherwoodto be clear, if each engineer creates their own fork, it *does* lead to confusion, because they *do* end up becoming new upstreams wherher the engineers intend that or not11:24
paulsherwoodi discovered yesterday that one meta-foo has three currently active upstreams, for example11:25
gunnarxMaybe.  I'm not sure how well such a process can be managed by rules or convention11:25
gunnarxHowever, I would consider that GENIVI (and you'll find the same for AGL) builds lots of different software.  Prematurely cloning them all is not required/appropriate11:25
paulsherwood(ie three separate repos published, all with upstream content)11:25
paulsherwood(distinct from each other)11:25
* paulsherwood needds to eat11:25
gunnarxIn most of the cases working only upstream works.11:26
gunnarxSo this process is really just appropriate for the most actively changed adopted code I would say.11:26
paulsherwoodgunnarx: i strongly disagree. i can't work directly upstream on 99.99999999% of the projects in the world, because i don't have the superpowers11:28
gunnarx???11:28
gunnarxworking upstream still means "email them your patches"11:29
gunnarxsubstitute whatever contribution process they prefer11:29
gunnarxI think my statement stands.  Having a mirror that people can commit to of every software in our platform encourages local changes which are not shared upstream.11:30
dl9pfworking upstream means indeed to use their process ... in reality that means prep'ing 2 patches, one gets sent into gerrit and one possibly to the upstream ML11:31
dl9pfor whatever upstream uses.11:31
dl9pfbut that is how it is ... usually we're on a stable version and upstream is using master.11:32
dl9pfI think the best policy still is "upstream first"  aka the patch must be submitted or have landed in upstream before it can be included11:33
dl9pffor stuff that is upstreamable11:33
gunnarxTo summarize (and it's affected by our useful exchange paulsherwood) I would say that GENIVI might make local "forks" of projects that you are working heavily in to promote your use case of sharing stuff and getting "local community" feedback.  However, for most other things you have to first fix upstream what you need to do (which takes a while), and only then do you  introduce the dependent changes in the GENIVI project.  For more slowly11:35
gunnarxmoving software, this is acceptable, IMHO.11:35
gunnarxFalling into the first category would likely be only some of the yocto meta-foo, as you suggested.  But a copy should be set up when the need arises, IMHO11:37
gunnarxI've been mixing the terms mirror/copy and fork a bit.  But to add to the above the "source mirror" we have discussed for CIAT, that 100% accurately tracks upstream is of course something different.  It's for availability guarantees, performance, reduced bandwidth usage etc.  But those would  not allow any changes and commits for code review purposes.11:42
gunnarx /those mirrors/11:43
gunnarxdl9pf: Ack to your input. thanks.11:45
*** emaj has joined #automotive11:55
CTtpollardif I'm to email to meta-ivi re adding the common api to branch/7.0, I will include genivi-project and genivi-meta-ivi@lists.genivi.org? or a specific yocto list?11:56
CTtpollard*common api fix11:56
gunnarxAs far as I am aware genivi-meta-ivi is the "yocto list" for this layer.  But I don't know the Yocto preferred policy - I'd be surprised if they want all patches/questions copied to some general list also....11:57
gunnarxSince it's GDP related, genivi-projects would be appropriate to include.11:57
CTtpollardthat was my though process11:57
CTtpollard*thought11:57
gunnarxseems sound11:58
CTtpollardgenivi-projects as a direct or cc?11:58
gunnarxMost people don't care (pet peeve of mine als).  Probably your guess is as good as mine.  Let's say cc, this is a mail "to" meta-ivi.11:59
gunnarxpaulsherwood:  To answer your original question while we wait for Jeremiah's input: I believe we only have the generic "upstream first" policy regarding this.  I would like to propose according to the above summary.  A (GENIVI) copy of a git repo can be done only when a need has been identified (and removed if the need disappears).  A maintainer must be assigned to each GENIVI repository, including such copies.12:02
gunnarxAnd the maintainer(s) would typically delegate commit access by the way...12:02
jonathanmawI've been trying to get the GDP running on the minnowboard using the instructions at http://wiki.projects.genivi.org/index.php/Hardware_Setup_and_Software_Installation/MinnowMax, and while I can get weston to start and show some things on screen (gdp-hmi-background and gdp-hmi-panel), I don't see gdp-hmi-launcher appear12:09
jonathanmawand with variations on the recommended changes to weston_1.5.0.bbappend, I've seen it laid out as:12:10
jonathanmaw* A background image, the gdp-hmi-background and gdp-hmi-panel appearing on weston-ivi-shell's default hmi-shell12:10
jonathanmaw* A grey background with cursor. Moving the cursor causes the gdp-hmi-background to flicker into visibility, but vanish when the cursor stops moving12:11
jonathanmaw* A grery background, and gdp-hmi-panel at the bottom12:11
jonathanmawthe minnowboard is also a bit more unstable at booting the GDP, generally failing to boot all the way to weston the first time I boot it after imaging the rootfs.12:13
jonathanmawthe wiki page has a warning that the page is a work-in-progress, so I suppose this is something that GDP maintainers have to figure out the cause for and fix.12:16
paulsherwoodgunnarx: ok, so do you think that policy is correct, given what i've tried to explain?12:17
paulsherwood12:30 < gunnarx> I think my statement stands.  Having a mirror that people can commit to of every software in our platform encourages local changes which are  not shared upstream.12:17
paulsherwoodthat is going to happen *anyway*.12:18
paulsherwoodthe difference is that the forks can either be in one place, where we have some chance of cleaning up, or scattered over the internet12:19
*** emj has joined #automotive12:23
*** emj is now known as Guest4504312:23
*** emaj has quit IRC12:26
CTtpollardI've sent my email to the lists, meta-ivi is waiting approval12:26
*** Guest45043 has quit IRC12:28
*** brlogger has joined #automotive12:34
fredcadeteas a stopgap of course12:34
paulsherwoodfredcadete: one thing i'm still a little unclear on... if folks use bbappend as you suggest, isn't that in effect forking?12:36
paulsherwoodi appreciate it seems to be  part of the design of bitbake etc... but using it means we have a delta vs upstream?12:37
fredcadetepaulsherwood: up to a point it scales better than forking12:37
fredcadetepaulsherwood: if each layer's overrides or patches don't conflict12:38
fredcadetepaulsherwood: so you can have one layer correcting the SRC_URI and another layer patching code for example12:38
fredcadetepaulsherwood: you do have a delta from upstream but it is made explicit in your layer what the extent of that delta is12:40
paulsherwoodfredcadete: but it's still a fork?12:40
fredcadetepaulsherwood: in my usage of yocto I find it much easier to understand the delta in a bbappend than if I have to compare git repos12:41
CTtpollardif people think it's an acceptable stop gap, I think it would be suitable12:41
paulsherwoodfredcadete: understood. but this practice seems to explicitly lead people away from submitting their stuff upstream?12:41
fredcadetepaulsherwood: I don't see it as a fork, as much as a distro's patches are not a fork12:42
paulsherwoodfredcadete: you may be right but i remain confused. if i create a bbappend, upstream won't accept it i expect?12:44
*** gunnarx has left #automotive12:44
*** gunnarx has joined #automotive12:44
*** emaj has joined #automotive12:44
fredcadetepaulsherwood: of course ideally you submit upstream. To me a patch in a bbappend is more explicit than a forked git repo, and as such it is easier to measure your delta (and related maintenance burden) and to know what you still have to upstream12:44
paulsherwoodso now, i have my work, with my bbappend... and i publish it on behalf of (say) genivi or agl.12:44
paulsherwoodthen someone turns up, takes my stuff with the bbappend... builds on it.12:45
paulsherwoodnow i'm a new upstream :/12:45
fredcadetepaulsherwood: for example my team's general policy when a bug is found is to: 1.test12:45
*** wschaller_ has quit IRC12:45
fredcadete2. make a bbappend with a patch and validate with CI12:45
fredcadete3. submit upstream12:45
fredcadete4.  when upstream integrates it and we upgrade to patched version, remove the delta from the bbappend12:45
fredcadetepaulsherwood: yes, you do have the risk of building shaky castles with yocto layers12:46
paulsherwoodack.12:46
fredcadeteas much as with any delta12:46
gunnarxpaulsherwood:  A key detail is that the .bbappend is in this case placed in a different layer than the original.  That's one part of the layering concept.  If your unique changes (in your layer) do not fit in the original project, you bbappend it.12:46
gunnarxIf someone builds on top of your layer then yes, they depend on you... :)12:47
paulsherwoodso, if i uncerstand AGL's remit correctly, which is 'automotiv grade' and 'production quality', we must absolutely avoid shaky castles12:47
gunnarx+1 on the other concerns, it's something that needs careful management.12:47
paulsherwoodmaybe i have misundertstood... is AGL ok maintaining deltas vs upstream for the very long term, do we know?12:48
paulsherwood(and same question for GENIVI...)12:48
paulsherwoods/maintaining deltas vs upstream/maintaining its own upstream/12:49
gunnarxNo it must be avoided as much as possible. I distinctly saw the word stopgap earlier.12:49
paulsherwoodgunnarx: i agree. unfortunately i think that until more of the contributors underdtand the issues deeply, it will be unavoidable12:50
gunnarxWith that substitution the question becomes unanswerable because it is generic.  We do maintain some software right?12:50
fredcadetetaking the current example, a possible approach could be to add a bbappend overriding the SRC_URI; this unblocks work in the open and the rest of the GDP build can be validated12:50
fredcadetein parallel submit to meta-ivi the correction of SRC_URI12:50
gunnarxfredcadete is a wise man12:51
paulsherwoodfredcadete: adding the bbappend is not the only way. fixing the SRC_URI alone in a branch would achieve the same result?12:51
CTtpollardon the face of it I think that solution is potentially better than unlocking my pointing at a mirror/fork12:51
CTtpollard*unblocking by pointing12:51
gunnarxThat was easier to parse :)12:52
* paulsherwood thinks the bbappend approach masks the problem, and is extra work, but may be wrong as he often is12:52
gunnarx+1 from me.  Be prepared to remove it quickly again if meta-ivi responds to your request.12:52
CTtpollardfredcadete: do you mind replying with your suggestion to my post, so non #automotive lurkers can see?12:53
gunnarxpaulsherwood:  stopgap, unblocking, making things work, reversable... :)  You need to see the positive side more.12:53
fredcadetepaulsherwood: the question here is a bbappend versus a fork. Making a fork opens the door to even more delta , that in my opinion is less visible and the provenance is less clear than with a bbappend in the layer that is requesting the delta12:54
paulsherwoodgunnarx: lots of people tell me that :) it may or may not be applicable here12:54
fredcadeteCTtpollard: sure, in a minute12:54
gunnarxFor example, now that CTtpollard has caught up I am pointing my project back on the official meta-genivi-demo12:54
CTtpollardfredcadete: awesome! thanks12:54
gunnarxwe're talking about various temporary fixes to keep things flowing here12:54
gunnarx*back to12:55
gunnarxfork obliterated.  for the moment.12:55
gunnarxUnrelated to this I just rebased my master and force pushed it.  EVIL... :)12:56
gunnarxBut I never promised that master was a good branch to rely on...  or any other to be honest12:56
CTtpollardgunnarx: evilness is allowed on friday afternoons12:58
gunnarxI won't do it for the koelsch/minnowboard/porter branches to be nice12:58
*** wschaller_ has joined #automotive13:00
CTtpollardgunnarx: you can update you renesas modules to bsp 1.8 commit b42c0c82d628cc3e7af728df668cf4459a50621f13:03
CTtpollardwhich is the current recommendation from meta-gdp13:04
CTtpollardkoelsch and porter are on the same commit now, after some fixes from slawr13:05
gunnarxyes, thanks, it's on my list13:05
gunnarxI wanted to confirm the build once first but if that's already the consensus.  I didn't see anything risky in the diff either so, yes I will do it13:06
CTtpollard:)13:06
CTtpollardI can confirm porter builds off it, my Koelsch build is in the works as we speak13:06
gunnarxI just realized something - we have a different minnowboard branch on meta-genivi-demo.  I was about to send an email to ask about the minnowboard instructions, why they are different13:07
CTtpollardok I can take a look, what exactly is the difference?13:07
gunnarxI have a prepared a nice URL for you :) https://github.com/johnnytk/meta-genivi-demo/compare/koelsch...minnowboard13:08
gunnarxIt's looks a bit of a mess.  Minnowboard adds a patch which uses some new icons, which are not used on Koelsch if I see correctly.13:09
CTtpollardthis is inline with the instructions on the wiki I believe13:09
gunnarxYes, correct13:09
gunnarxKoelsch OTOH instead of patching includes a full weston.ini in the layer, and simply installs it.13:10
gunnarxwhich seems like a better way.  But it's odd that they aim for different results also, not only different methods.13:11
CTtpollardty fredcadete13:13
fredcadetenp13:14
CTtpollardgunnarx: in the renesas layer?13:15
gunnarxThe meta-ivi commit that adds the installation of a complete weston.ini 6 months ago 3736b07c  "use complete file instead of patch" did not remove the patch from the directory...13:15
gunnarxCTtpollard:  can you rephrase, not sure what you refer to13:16
CTtpollardgunnarx: no worries, I can see the commit you're referencing13:16
gunnarx"Koelsch" above means the koelsch branch on johnnytk/meta-genivi-demo, which also should correspond to the wiki instructions.13:16
CTtpollardyep13:17
gunnarxI'm pretty sure the patch could be applied to the ini once and for all,  the ini stored and just installed as is, and that there is no difference needed between Koelsch and Minnowboard in this respect13:18
CTtpollardthat would be better than having branches of gdp for the two, so they can both work from master13:19
paulsherwood+eleven13:19
gunnarxNot sure what the Koelsch build does here - it would seem it is not referencing the .png files at all13:19
gunnarxExactly, I think the branches can be merged/removed13:19
CTtpollardhowever! using branches for sub-modules of the other repo's is still a good approach imo13:19
gunnarxYes.  I looked at subtrees, very cool use of the git data module and as far as I see it better when you are mostly in "control of" all the different parts yourself.  Since yocto layers are separate projects where we must relate to different upstreams, submodules seem the better fit as they enforce the separation.  An advanced user could of course switch back and forth as they see fit.13:21
gunnarxthat's *git data model* of course13:23
*** fredcadete_ has joined #automotive14:18
*** fredcadete has quit IRC14:20
*** fredcadete has joined #automotive14:22
*** fredcadete_ has quit IRC14:22
rjekSlow clap, Chrysler: https://twitter.com/mikko/status/632199201720545280/photo/114:38
*** fredcadete has quit IRC14:39
*** fredcadete has joined #automotive14:46
FelixHx)14:46
fredcadeterjek: that's not so surprising after reading the exploit's whitepaper14:47
rjekYeah14:48
gunnarxFYI, gdp-submodules now back to a non-forked meta-genivi-demo from GENIVI git , except for the minnowboard branch but I suspect we can avoid it soon too14:50
CTtpollardace gunnarx :)14:51
gunnarxCTtpollard:  It's might cause a little trouble14:53
gunnarxSo let's assume someone starts on Koelsch.  When you switch to minnowboard, the URL changes inside .gitmodules14:53
gunnarxbut the hash won't be found inside meta-genivi-demo I suspect.  I'm pretty sure you have to manually go into that module, add a new remote, fetch the commits you need from there.14:54
gunnarxDon't think submodules handle that automatically as they should even with a git submodule update?14:54
gunnarxAlso, when a layer is removed (renesas / intel is removed as you switch between them), git will download the new BSP when you do update but it will not remove the directory contents of the old.  I guess it's a security thing14:56
gunnarxOh I just remembered, there's a sync command...14:57
*** emj has joined #automotive15:03
*** emj is now known as Guest5641615:03
gunnarxNever mind me...    I added submodule sync to init.sh also.  That should reduce some of the first problem.15:04
CTtpollardtbh, when I was switching branches, I was doing clean checkouts of the branches15:04
*** emaj has quit IRC15:06
gunnarxNot a bad idea, but I'm just trying to anticipate a few user problems.  It won't be perfect though.15:07
*** gmacario has quit IRC15:07
*** gunnarx has quit IRC15:12
*** emaj has joined #automotive15:17
*** Guest56416 has quit IRC15:20
*** KlausUhl has quit IRC15:22
*** fredcadete has quit IRC15:47
*** CTtpollard has quit IRC15:54
*** jlrmagnus has joined #automotive16:11
jlrmagnusMorning16:11
rjekhi jlrmagnus16:12
jlrmagnusHello rjek16:13
*** jlrmagnus has quit IRC16:21
*** jlrmagnus has joined #automotive16:21
westonhi all16:38
jlrmagnusHello weston16:39
westonjlrmagnus: hows going man16:39
*** jacobo has quit IRC16:50
*** bbranch has joined #automotive16:51
*** jonathanmaw has quit IRC16:51
jlrmagnusPretty well. Lively firewall discussion here and on the lists.16:53
paulsherwoodyup :)16:56
jlrmagnusI pinged Ford's SOTA guy to see if they have any interest in this.16:58
rjekWhat in general is the main driving force for wating SOTA for software running on EMUs, btw?  I'm assuming a combination of cost cutting (in terms of avoiding recalls, or updating during service) and urgency when a complex system has a serious problem.17:00
*** mdunford has quit IRC17:07
*** wschaller_ has quit IRC17:15
jlrmagnusrjek: Recall mitigation.17:20
jlrmagnusToday, for a mainstream brand, a recall starts at $40 when the car rolls into the shop, and ticks up from there.17:20
jlrmagnusTo be able to solve software issues OTA, and do it without the publicity of a recall would be a big benefit.17:20
myselfBut the complexity of testing -- what happens if there's a SOTA in progress while the car's in the shop and modules are being pulled? -- shouldn't be ignored or it'll come back to haunt you17:50
myselfany other reflash, you know better to do while Jimbob Greasemonkey is rooting around in the wiring, but a SOTA update you have no such common sense about17:50
jlrmagnusTrue. Which is why you have a local SOTA manager running on the IVI, making sure that the vehicle is in the right state.17:51
jlrmagnusAt the end of the day you will have dual flash banks in the control unit. Bank A is running. Flash Bank B. Reboot in to Bank B.17:51
jlrmagnusHave a watchdog monitor the reboot and reset to Bank A if it fails.17:52
jlrmagnusReport up to the backend server so that the vehicle can be flagged.17:52
jlrmagnusThat's the last line of defense against a bricked unit.17:52
myselfYeah, now honestly how many modules out there have a robust A/B and watchdog setup like that? We all know it's ideal, but very very few actually do it that way17:53
myselfthat'll be a generational change before you're "safe" using SOTA on the installed base17:54
myselfor, find some other way to do it, or, accept the risk and bricked modules once in a while17:54
jlrmagnusIt's risk statistics assessment. How many vehicles with shitty ECUs will be bricked by this push, and is it worth the cost?17:54
jlrmagnusThere will have to be a generational change for this to become robust.17:54
jlrmagnusI believe that purchasing / financial is the biggest obstacle since they love to strip out capacity of hardware modules before they are ordered for production.17:55
jlrmagnus"Double the necessary flash memory? I think not."17:55
myselfAnd even as time marches forward, there will always be modules where someone shoots that down for cost reasons, or where some supplier didn't get the memo but we want to use their module anyway17:56
jlrmagnusSee above.17:56
myselfyup, it's all calculated risk17:56
jlrmagnusI've seen it happen myself (not in JLR, mind you).17:56
jlrmagnusA couple of thousand of bricked vehicles are usually a good motivator for a T1 to shape up.17:57
jlrmagnusAsk Harman's IVI people...17:57
myselfThere are plenty more examples, too :)17:57
jlrmagnusIndeed.17:59
*** gvancuts has joined #automotive17:59
*** bbranch1 has joined #automotive18:01
*** bbranch has quit IRC18:03
*** RzR has quit IRC18:03
jlrmagnusFirst spin of the circuit board. http://i.imgur.com/iKaqMp6.jpg18:31
jlrmagnusWe have to redo it since we missed a few things, but the form factor will remain.18:31
jlrmagnusOne DB9 connector at each end.18:32
FelixH=)18:35
FelixHIn production you plan to let it as a connected device that can be removed or to integrate in the IVI box ?18:36
jlrmagnusIt will be a removable device.18:36
jlrmagnusPretty much a sandwich connector.18:36
jlrmagnusThis is, however, reference hardware. I am sure production projects would do some redesign.18:36
jlrmagnuslunchtime.18:36
FelixHok thx18:37
myselfyeah, if you make the connectors male and female, you can just plug past it for bypass testing18:38
*** bbranch1 has quit IRC19:10
jlrmagnusThat's the idea. We may end up doing male male just to ease CANalyzer testing the the PCAN adapters.19:21
jlrmagnusA breakout connector will be needed anyway for power and some GPIO pins.19:22
*** bbranch has joined #automotive20:11
*** emaj has quit IRC20:25
*** RzR has joined #automotive20:41
*** bbranch has quit IRC21:35
*** bbranch has joined #automotive21:38
*** gvancuts has quit IRC21:52
*** bbranch has quit IRC22:03
*** jlrmagnus has quit IRC23:29
*** gvancuts has joined #automotive23:46

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