IRC logs for #automotive for Friday, 2015-12-11

*** joone has joined #automotive00:24
*** mdurnev has joined #automotive01:14
*** jlrmagnus has quit IRC01:35
*** mvick has quit IRC01:36
*** phpOrDie has quit IRC02:42
*** phpOrDie has joined #automotive03:10
*** phpOrDie has quit IRC03:14
*** malditoDev has joined #automotive03:14
*** gunnarx has quit IRC03:28
*** Sisco has joined #automotive03:42
*** aeiche has quit IRC04:28
*** mdurnev has quit IRC05:03
*** mdurnev1 has joined #automotive05:03
*** mdurnev1 is now known as mdurnev05:05
*** TwinTurbro has joined #automotive05:14
TwinTurbrowazzap.05:15
*** TwinTurbro has left #automotive05:31
*** malditoDev has quit IRC05:46
*** kanupatar has joined #automotive06:35
kanupatarIn my linux R-CarH2 board, when I give the reboot command, it finally goes into halt and not rebooting..any clues?06:35
*** egy has joined #automotive06:36
Figuremorning06:38
kanupatarFigure: morning06:46
*** gmacario has quit IRC06:46
kanupatarsee the log of reboot command..Please help me..http://paste.linux.chat/view/91c9605106:48
Figureuh06:55
Figureusually reboot is power cable off and on :D06:56
kanupatarFigure: :P06:56
Figurefew days ago I acatually tried reboot on nvidia TK1-PRO board with the nvidia provided image and it also did not work06:57
Figureso I guess it's not that trivial to do reboot06:57
Figureunfortunately I didn't have time to debug it so I cant help you with this issue either :/06:57
*** malditoDev has joined #automotive07:11
kanupatarFigure: yes, most of the arm systems I have shows the same issue\07:13
*** kanupatar has quit IRC07:48
*** apinheiro has joined #automotive08:04
*** egy has quit IRC08:21
*** Sisco has quit IRC08:30
*** jobol has joined #automotive08:30
*** gmacario has joined #automotive08:31
*** Tarnyko has joined #automotive08:38
*** ctbruce has joined #automotive08:38
Tarnykomorning08:41
*** toscalix has joined #automotive08:45
*** leon-anavi has joined #automotive08:48
*** malditoDev has quit IRC08:49
*** mdurnev1 has joined #automotive09:04
*** mdurnev has quit IRC09:07
*** mdurnev1 is now known as mdurnev09:07
*** jiada has joined #automotive09:24
*** jiada has quit IRC09:25
*** jiada has joined #automotive09:26
*** jiada1 has joined #automotive09:27
*** jonathanmaw has joined #automotive09:52
FigureTarnyko: nice job with the patches +2 :)09:53
*** Tarnyko1 has joined #automotive10:09
*** Tarnyko has quit IRC10:09
Tarnyko1Figure: thanks ! we did it at last10:09
*** egy has joined #automotive11:03
*** mdurnev has quit IRC12:14
*** fredcadete has quit IRC12:34
*** apinheiro has quit IRC12:50
*** Sisco has joined #automotive13:51
*** egy has quit IRC14:03
*** waltminer has joined #automotive14:22
*** Sisco has quit IRC14:37
*** apinheiro has joined #automotive14:50
*** toscalix has quit IRC14:51
*** toscalix has joined #automotive14:54
*** apinheiro has left #automotive15:33
*** alex_h has joined #automotive15:38
*** Aleks1917 is now known as Aleks_15:39
*** Aleks_ is now known as Aleks191715:40
*** n63917 has joined #automotive15:57
*** n63917 has left #automotive15:58
*** tom__ has joined #automotive16:10
*** CTtpollard has quit IRC16:10
*** tom__ is now known as CTtpollard16:10
*** mvick has joined #automotive16:11
waltminerTarynyko1 I added you to a few reviews if could take a look at them please16:30
Tarnyko1waltminer, ok, looking right now16:40
Tarnyko1waltminer, done16:43
waltminerthank you16:43
Tarnyko1waltminer, yw, by the way we should have a new one for HVAC plugin soon if everything goes right16:44
*** jlrmagnus has joined #automotive16:56
*** egy has joined #automotive16:59
*** jlrmagnus has quit IRC17:04
*** CTtpollard has quit IRC17:16
*** ctbruce has quit IRC17:17
*** Tarnyko1 has quit IRC17:29
*** jlrmagnus has joined #automotive17:34
*** aeiche has joined #automotive17:35
jlrmagnusSooo. I have a question about root file systems.17:44
jlrmagnusIn Software Loading Manager, we will transfer the software update bundles as squashfs.17:45
jlrmagnusWe can then save a bit of disk space by skipping to unpacking step (thus duplicating the data), and simply mount the received image,17:45
jlrmagnusSo we will have something like /data/sota/updates/update.squashfs which we can mount.17:46
jlrmagnusThe interesting bit comes when we have a kernel or rootfs update, and need to reboot the IVI into a specific update mode.17:47
jlrmagnusThe idea is that we, as a part of the update process, reboot to a pre-installed update partition.17:47
jlrmagnusThe pre-installed partition has a minimalistic root file system and then mounts /data/sota/updates.17:49
paulsherwoodrjek: ^^ or any other baserockers? we do this already i think...17:49
paulsherwoodjlrmagnus: trouble is it's already beer oclock in uk17:49
jlrmagnusThe squasfs file system image in update.squashfs is then mounted, and executed.17:49
jlrmagnuspaulsherwood, Good: I need the beer creativity to shoot down this scenario.17:50
paulsherwood:)17:50
jlrmagnusThe end game is that the update-mode will have access to the files in the OTA-transmitted squasfs image and can use those to reflash the root partition.17:51
* paulsherwood is unclear how many folks use irc at the pub17:51
jlrmagnusNot too many.17:51
jlrmagnusI guess.17:51
*** leon-anavi has quit IRC17:52
paulsherwoodi do know some... rjek is one for sure :)17:52
jlrmagnusA part of this, I guess, is that I just have to type it out to clarify things for my self.17:52
paulsherwoodsure... keep going17:52
jlrmagnusSo the update boot gets a bootparam with the path to a squashfs to mount, loopback, once it has mounted /data/sota/updates.17:53
jlrmagnusWe also set the bootparam init=/mnt/squasfs/do_update.sh17:53
jlrmagnusThe initrd rc script will mount all the necessary partitions in order for the init command to resolve and start executing.17:54
jlrmagnusSoo. In order.17:54
jlrmagnus1. Reboot with a new partition17:54
jlrmagnus2. initrd mounts /mnt/sota/updates17:54
jlrmagnus3. initrd mounts /mnt/sota/updates/update.squashfs as /mnt/squashfs17:54
jlrmagnus4. Init hands over to the regular boot process.17:55
jlrmagnuss/init/kernel/17:55
jlrmagnus5. Init is launched as /mnt/squashfs/do_update.sh, as specified by bootparams.17:55
jlrmagnus6. do_update.sh dd:s out the new root partition using an image stored under /mnt/squashfs.17:56
jlrmagnus7. Unmount.17:56
jlrmagnus8. sync;sync;sync17:56
jlrmagnus9. reboot17:56
jlrmagnus10. Continue SWM update process (which is covered by the spec)17:56
jlrmagnusYes/No?17:57
paulsherwoodhmmm... i'm not the expert, but this sounds more messy than it needs to be17:57
jlrmagnusOk. The one requirement I have is that we don't have to unpack the blob handed to us from the SOTA client.17:57
jlrmagnusHence the nested mounts.17:57
paulsherwoodwhy do you have that requirement?17:58
persiaI would probably try to do the dd in the initramfs, without a pivot_root.17:58
paulsherwoodi assume you have other requirements, also? :)17:58
jlrmagnusBecause tar xf /mnt/sota/updates/update.tgz will double the disk space usage.17:58
jlrmagnusThat will be a problem when we transfer images.17:59
jlrmagnuss/images/partition images/17:59
paulsherwoodjlrmagnus: what about making filesystem-level snapshots work, along the lines of btrfs?17:59
jlrmagnuspersia: Problem with that is that we cannot customize the install scripts.17:59
*** toscalix has quit IRC17:59
jlrmagnuspersia, Correction: I see the deal.17:59
jlrmagnusAgree.17:59
persiajlrmagnus: Why not?  Presumably you have changed the kernel command line, so you use new initramfs, ...17:59
jlrmagnusSo we would mount and then look for do_update.sh from within the initrd script.18:00
jlrmagnuspersia, You are right.18:00
persiaRight.  Saves the two-step boot, which should be both faster and safer.18:00
jlrmagnusAgree.18:00
paulsherwoodalso, we've been looking hard at how to do updates without rebooting... is there a *need* to reboot in the usecases you're considering, jlrmagnus ?18:00
persia(because the update FS is never mounted RW)18:00
jlrmagnuspaulsherwood, This is a special case. We can still run partition ops, package installs, and external module reflash without rebooting.18:01
*** egy has quit IRC18:01
jlrmagnusHowever, sometimes it may be necessary.18:01
paulsherwoodjlrmagnus: ack18:01
jlrmagnuspaulsherwood, Checking btrfs18:01
jlrmagnusHmm. A meeting suddenly sprung on me. Back in 10 min.18:02
paulsherwoodjlrmagnus: tl; dr - you can use snapshots to represent pre-state and desired post-state, flip between them and back. but btrfs specifically would probably not be trustable for automotive production18:03
*** jonathanmaw has quit IRC18:03
*** gmacario has quit IRC18:03
*** jlrmagnus has quit IRC18:06
*** jlrmagnus has joined #automotive18:22
*** waltminer has quit IRC18:44
jlrmagnusOk.18:46
jlrmagnusI'll start off with what we sort of agreed to here and send out another rev of the spec.18:46
paulsherwoodack18:46
jlrmagnusThanks for your input, all./18:47
paulsherwoodjlrmagnus: you might be interested in https://github.com/CodethinkLabs/live-atomic-update18:47
jlrmagnusChecking18:47
paulsherwoodit's not production-ready, but there has been interest in this in the systemd community iiuc18:48
*** jlrmagnus has quit IRC18:53
*** jlrmagnus has joined #automotive19:06
jlrmagnusSigh. Lost connection and some entries.19:07
jlrmagnusAhem. https://youtu.be/96UzSHyp0F8?t=18619:08
paulsherwoodheh. let's skip all this linux stuff and do everythign in erlang, then :)19:09
jlrmagnusYes!19:09
jlrmagnusMe and a few erlang colleagues have actually discussed (when drunk) an erlux distro that ran the erlang vm as a kernel process.19:09
paulsherwoodjlrmagnus: if you mean you've lost some of the irc history, https://irclogs.baserock.org/automotive/%23automotive.2015-12-11.log.html19:10
jlrmagnusThat would lead to all kinds of weird but interesting side effects.19:10
jlrmagnusYes. I checked there to see what happened.19:10
jlrmagnusLet me dig into the work you've done with containers and pivot_root. For now I need to keep the review process going.19:10
paulsherwoodjlrmagnus: erlux.org is available!!!!!19:10
jlrmagnusYes!19:10
jlrmagnusThe future is here!19:10
*** gunnarx has joined #automotive19:11
*** gunnarx has joined #automotive19:11
paulsherwoodgo for it!19:11
* paulsherwood gets back to writing a proposal19:11
jlrmagnusWill do. Let me quit JLR, Genivi, and RVI, to focus on a pie-in-the-sky project with a 0.01% chance of being accepted.19:11
jlrmagnuspaulsherwood, to wrap things up: I will see how your atomic update work fits into the Software Management scheme of things.19:12
jlrmagnusgunnarx, Good evening.19:12
gunnarxGood evening. Sleep/wake cycle somewhat screwed up here :)19:13
jlrmagnusSorry about that.19:13
jlrmagnusJust wrapping up my reply to David's Software Management review email.19:14
gunnarxit happens, been a bit under the weather to say the least so I've stayed in bed most of today also19:14
jlrmagnuspaulsherwood, persia, and I figured out a way to handle a software update boot mode.19:14
jlrmagnusgunnarx, I know how we Swedes operate. You've already checked out for the year, haven't you?19:14
gunnarxnice one. and here I am feeling sorry for myself not in the mood for jokes19:15
jlrmagnusSorry. I shall be somber.19:16
gunnarxI only wish I could check out :)19:16
jlrmagnusI hear you.19:16
jlrmagnusAre you going to CES?19:17
gunnarxthe jury is still out19:17
jlrmagnusI am actually not going. We are swarming CES this year, so we decided to keep me out of it.19:18
gunnarxI see CTtpollard is offline but still congrats on fixing the weirdness on the minnowboard build.  Runs green now like the others.19:26
jeremiahWhat does the last S stand for in CES?19:36
gunnarxShow19:38
gunnarxI see what you did there...19:40
jeremiaho_O19:40
gunnarxyou're implying real engineers don't do "shows" :)19:40
jeremiahHeavens no.19:40
jeremiahThe tech vaudville show must go on19:40
jeremiahCES, FOSDEM, same shit19:41
gunnarxThere's no I in team and there's no Show in FOSDEM.  Famous sayings.19:41
jeremiahlol19:41
jeremiahBut there is a me in team19:41
gunnarxjlrmagnus, sorry that I've not been in shape to even look at the SW mgmt stuff this week.19:47
jeremiahWow, that pivot_root stuff is interesting.19:47
gunnarxI trust it's all good.  :)  Or we'll know next week anyway.19:47
jeremiahjlrmagnus: There is an Erlang kernel: Ling19:50
jeremiahThere is also a Haskell kernel and an Ocaml kernel: http://wiki.xenproject.org/wiki/Unikernels19:50
jlrmagnusBack19:51
jeremiahSheesh, you missed a lot19:51
jlrmagnusgunnarx, No problem.19:51
jlrmagnusjeremiah, I sent you an email earlier this week on git branching strategies.19:52
jlrmagnusi.e. bump.19:52
jeremiahReally? How did I miss that?19:52
* jeremiah looks in his inbox19:52
jlrmagnusjlrmagnus, looks in his outbox19:52
jlrmagnusShit. I never sent it. Sorry.19:53
jlrmagnusjlrmagnus, looks in his drafts19:53
jeremiahphew19:53
jeremiahAlthough I did get: Software Management - Update bundles19:53
jeremiahBut we're now talking git19:54
jlrmagnusYes.19:54
jlrmagnusWe are talking git, and branching, and releases.19:54
jeremiahSounds great.19:54
*** malditoDev has joined #automotive19:56
jlrmagnusSent. Since it is a bit of an internal question on how to organize the RVI work, I didn't include the public list.19:57
jlrmagnusHowever, feel free to copy the list as you reply.19:58
*** Chris___ has joined #automotive20:02
*** waltminer has joined #automotive20:06
jeremiahNice, thanks.20:11
jeremiahjlrmagnus: What does Lilli's hook do?20:14
jeremiahhttps://github.com/lillialexis/common/blob/master/commit-msg20:14
jeremiahIt looks like it just puts the branch name in the commit message?20:14
Chris___Yury of Microchip today reported that the agl-demo-platform build breaks (due to missing AMB dependencies) when updating meta-agl and meta-agl-demo to HEAD. Anyone aware of this?20:15
*** waltminer has quit IRC20:38
jlrmagnusjeremiah, It just prefixes all commits with the branch that it is commited to.20:59
jlrmagnusMakes tracing a lot easier.21:00
jlrmagnusgunnarx, The time has come.21:00
jlrmagnusThis weekend I shall sell my XC60 and get a Jag.21:01
*** Sisco has joined #automotive21:21
aeichejlrmagnus, which one are you getting?21:32
jlrmagnusXF.21:32
jlrmagnusThat's what I'm leaning towards, anyway. I'll putter around in the white Evoque until the order comes through.21:32
*** jobol has quit IRC21:56
*** Sisco has quit IRC21:57
*** waltminer has joined #automotive22:15
*** malditoDev has quit IRC22:17
*** malditoDev has joined #automotive22:17
*** jlrmagnus has quit IRC22:20
*** malditoDev has quit IRC22:23
*** Chris___ has quit IRC22:31
*** gunnarx has quit IRC22:48
*** jlrmagnus has joined #automotive23:02
*** gunnarx has joined #automotive23:03
*** gunnarx has joined #automotive23:03
*** aeiche has quit IRC23:07
*** jlrmagnus has quit IRC23:33
*** malditoDev has joined #automotive23:34
*** jlrmagnus has joined #automotive23:52

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