IRC logs for #automotive for Monday, 2017-10-09

*** AlisonChaiken has joined #automotive02:59
*** mdurnev has joined #automotive03:58
*** gunnarx has joined #automotive04:36
*** gunnarx has joined #automotive04:36
*** halfline has quit IRC04:39
*** halfline has joined #automotive04:44
*** mfritzsch has joined #automotive05:35
*** praneeth has quit IRC05:49
*** praneeth has joined #automotive05:49
*** wireshark has joined #automotive06:17
*** buspirate has quit IRC06:18
*** jobol has joined #automotive06:50
*** leon has joined #automotive06:55
*** leon is now known as Guest9098906:55
*** Guest90989 is now known as leon-anavi06:58
leon-anavimorning06:58
*** claneys has joined #automotive07:04
*** rajm has joined #automotive07:10
*** toscalix has joined #automotive07:12
*** ctbruce has joined #automotive07:41
*** rdale has joined #automotive08:11
*** gunnarx has quit IRC08:24
*** fredw has joined #automotive08:47
*** fredw has quit IRC09:52
*** araujo_ has quit IRC10:00
*** jacobo has joined #automotive10:10
*** fredw has joined #automotive10:11
*** mdurnev has quit IRC10:17
*** gunnarx has joined #automotive10:28
*** gunnarx has joined #automotive10:28
*** wireshark has quit IRC10:29
*** buspirate has joined #automotive10:29
*** buspirate has quit IRC10:30
*** buspirate has joined #automotive10:30
*** mdurnev has joined #automotive10:54
*** prayella has joined #automotive10:58
prayellaHello everyone11:01
JEEBmornin'.11:02
prayellaDoes anyone know how to auto upgrade AGL os?11:02
prayellaOr how does the patch management of AGL works?11:02
JEEBis there such functionality?11:02
prayellaI don't know11:02
prayellaI'm asking if there is any mechanism and if so how to do it?11:03
JEEBI haven't looked at the docs but I wouldn't be surprised if how the software upgrade is done is out of scope of the distro itself at this point11:03
JEEBusually updates are either binary diffs or full firmware images11:03
prayellaI think upgrades of the apps can be using aim-util tool11:03
JEEByea, apps can probably be (re)installed with the framework11:04
prayellaSo at this point is it safe to assume that only the whole image upgrades are possible?11:04
prayellaI mean os image11:04
JEEBI would expect that and look through the docs/code for anything else quickly11:05
JEEBand be pleasantly surprised if there is anything :P11:05
prayellaPlease can you point me to the docs location for verification11:06
prayellaI'm new to AGL11:06
claneyshttp://docs.automotivelinux.org/docs/getting_started/en/dev/11:10
claneysprayella, here is the documentation available :)11:11
*** mdurnev has quit IRC11:11
dl9pfprayella: there're multiple mechanisms for upgrades. You can enable and use ostree (agl-sota feature).11:12
dl9pfOr you use the package-feed generated from yocto and the package-manger o nthe target.11:12
JEEBoh, so there was an OTA feature11:13
dl9pfJEEB: through meta-updater (ostree)  on boards it supports11:13
JEEBgotcha11:13
prayella@dl9pf: is there any documentation for agl-sota?11:14
dl9pfprayella:  https://github.com/advancedtelematic/meta-updater11:14
prayelladl9pf: what is the reference for package-manager?11:15
dl9pfprayella: and  https://wiki.automotivelinux.org/subsystem/agl-sota/ostree?s[]=sota#non-secure_update11:15
dl9pfprayella: you need to enable the package-management distro_features , the package manager in master is 'dnf', on dab it is 'smart' . You'll likely have to setup and add the package feeds yourself.11:16
prayelladl9pf: Thanks for the information11:20
prayellaAs per your comments the only way to get the OTA updates is only if the base os image is built using the required modules11:21
*** gunnarx has quit IRC11:23
*** prayella has quit IRC11:37
*** fredw has quit IRC12:11
dl9pfyes12:11
leon-anaviops, I missed the discussion about SOTA :) praneeth yes, you need to built and boot an image with agl-sota if you want to take the advantage of this feature. Once you boot the image you can install the follow up updates as binary diffs.12:20
leon-anaviHere is a tutorial about the web UI of ATS Garage for easier management of the sota updates in AGL: https://docs.atsgarage.com/quickstarts/automotive-grade-linux.html12:21
*** jacobo has quit IRC12:31
*** gunnarx has joined #automotive12:33
*** gunnarx has joined #automotive12:33
*** mfritzsch has quit IRC13:21
*** somewone has joined #automotive13:45
*** AlisonChaiken has quit IRC14:19
*** jlrmagnus has joined #automotive15:03
*** somewone has quit IRC15:20
*** rajm has quit IRC15:50
*** gunnarx has quit IRC15:50
*** iivanov has joined #automotive15:53
*** araujo has joined #automotive16:00
*** araujo has joined #automotive16:00
*** martinkelly1 has joined #automotive16:09
*** ctbruce has quit IRC16:26
*** claneys has quit IRC16:35
*** toscalix has quit IRC16:41
*** leon-anavi has quit IRC17:03
*** jlrmagnus has quit IRC17:05
*** jlrmagnus has joined #automotive17:21
dl9pfTartarus: is there a newer u-boot for m3 than U-Boot 2015.0417:34
dl9pfe.g. upstream ?17:34
Tartarusdl9pf: Yeah, Marek Vasut has been working on it a lot of late17:35
TartarusNot 100% sure on if it's 1:1 with the vendor one, or has more now17:35
Tartarusie he posted stuff for USB to work 2 days ago or so17:35
dl9pf2015.04 does escape the " " used in CI  while others do not (2016.11) . That causes issues and I'd like to unify the uboot commands.17:36
TartarusOK17:37
dl9pfshould I look in uboot master ?17:38
Tartarusdl9pf: Yeah, you should have reasonable luck with configs/r8a7796_ulcb_defconfig17:38
dl9pfok wil ltry that17:38
TartarusOr tell me what we need to do to make it function better :)17:38
*** jlrmagnus has quit IRC17:39
dl9pfhmm i need to check why this happenz at all ...17:45
dl9pftake a look at the line for bootargs in here:17:45
dl9pf- https://lava.automotivelinux.org/scheduler/job/296617:45
dl9pfvs in here:17:45
dl9pf- https://lava.automotivelinux.org/scheduler/job/296717:45
dl9pfChicken-egg issue.  If I remove the " " around the arguments, the rpi3 will fail. If I leave it in the m3 will fail.17:45
dl9pfwhich one is correct ;)17:46
JEEBouch17:48
dl9pfsetenv bootargs "${nbdbasekargs} ${nbdkbootargs} ${nbdextraargs}"17:49
dl9pf=> setenv bootargs \"${nbdbasekargs} ${nbdkbootargs} ${nbdextraargs}\"17:49
dl9pf-->17:49
dl9pfKernel command line: \"verbose console=ttySC0,115200n8 ip=dhcp nbd.server=192.168.111.1 nbd.port=55991 root=/dev/ram0 ramdisk_size=16384 rootdelay=7 rw ip=dhcp earlyprintk systemd.log_color=false ${extraargs}\"17:49
dl9pfon the m317:49
dl9pfvs.17:50
dl9pfsetenv bootargs "${nbdbasekargs} ${nbdkbootargs} ${nbdextraargs}"17:50
dl9pfU-Boot>setenv bootargs \"${nbdbasekargs} ${nbdkbootargs} ${nbdextraargs}\"17:50
dl9pf-->17:51
dl9pfKernel command line: verbose console=ttyS0,115200n8  ip=dhcp nbd.server=192.168.111.1 nbd.port=55333 root=/dev/ram0 ramdisk_size=16384 rootdelay=7  rw 8250.nr_uarts=1 bcm2709.uart_clock=48000000 systemd.log_color=false17:51
*** jlrmagnus has joined #automotive17:51
dl9pfon the rpi317:52
dl9pfrpi3 has newer u-boot (v2016)17:52
Tartarushmm17:55
Tartarusdl9pf: Why do you quote at all?17:56
dl9pfone board breaks if I don't ...17:57
dl9pfso from u-boot perspective ... quote or not to quote ?17:57
TartarusAround bootargs?17:57
dl9pfyep17:57
TartarusYou should not need quotes around bootargs17:58
Tartarusyou only need to escape/control ;17:58
dl9pfok, then let me remove it and see which one fails17:58
Tartarussetenv bootargs foo bar baz is valid17:58
Tartarussetenv dostuff run a;run b will set dostuff to run a and then it will run b17:58
Tartarusso you need to escape that ; or use quotes17:59
dl9pfyep, thats clear18:00
*** jlrmagnus has quit IRC18:09
dl9pfTartarus:  rpi3 ...18:09
dl9pfsetenv bootargs ${nbdbasekargs} ${nbdkbootargs} ${nbdextraargs}18:09
dl9pfU-Boot> setenv bootargs ${nbdbasekargs} ${nbdkbootargs} ${nbdextraargs}18:09
dl9pfbootloader-commands: Wait for prompt U-Boot (timeout 00:02:18)18:09
dl9pfsetenv bootargs ${nbdbasekargs} ${nbdkbootargs} ${nbdextraargs}18:09
dl9pfsetenv - set environment variables18:09
dl9pfUsage:18:09
dl9pfsetenv [-f] name value ...18:10
dl9pf    - [forcibly] set environment variable 'name' to 'value ...'18:10
dl9pfsetenv [-f] name18:10
dl9pf    - [forcibly] delete environment variable 'name'18:10
Tartarusdl9pf: ok18:10
dl9pfrpi3's 2016.x  barks w/o quotes18:10
TartarusAnd what do those 3 eval out to?18:10
dl9pfnbdbasekargs=verbose console=ttyS0,115200n818:11
dl9pfnbdextraargs=earlyprintk systemd.log_color=false18:11
dl9pfnbdkbootargs= ip=dhcp nbd.server=192.168.111.1 nbd.port=55409 root=/dev/ram0 ramdisk_size=16384 rootdelay=7  rw 8250.nr_uarts=1 bcm2709.uart_clock=48000000 systemd.log_color=false smsc95xx.macaddr=AA:BB:CC:DD:EE:AA ip=dhcp18:11
dl9pfnetmask=255.255.255.018:11
TartarusHmmm18:11
dl9pftoo long ?18:11
TartarusWondering, counting18:11
Tartarussec :)18:11
Tartarushm18:13
Tartarusdl9pf: easy test would be to blank out nbdextraargs18:15
Tartarusand drop netmask18:16
Tartarusas ip=dhcp will fill that in18:16
dl9pfhttps://lava.automotivelinux.org/scheduler/job/297418:17
dl9pfyep ... was a -Etoolongline18:19
TartarusWhich is also strange given at least the relevant values in mainline for both platforms18:19
TartarusBut I dunno what they are in the ones we're using18:19
TartarusFile a JIRA, shoot it over to me please and I'll kick it around18:20
TartarusMy RPi is being extra stupid so it'll be harder to confirm, but I have ideas at least18:20
dl9pf2016.11 for the rpi3 ... as we've the issue identified, I it should do the trick, I'll put it in jira nevertheless.18:21
dl9pfsmurray: 50 boots on the pi WIP ... https://lava.automotivelinux.org/scheduler/job/297418:21
*** jobol has quit IRC18:21
*** jlrmagnus has joined #automotive18:24
dl9pf50 boots on the m3 ...18:25
dl9pfhttps://lava.automotivelinux.org/scheduler/job/297618:25
*** martinkelly has quit IRC18:40
*** jlrmagnus has quit IRC19:04
smurraydl9pf: that's good.  I don't relish the thought of attempting to debug that further19:17
*** jlrmagnus has joined #automotive20:19
*** martinkelly1 has quit IRC20:30
*** martinkelly has joined #automotive21:15
*** iSaul has quit IRC21:18
*** iivanov has quit IRC21:25
*** iSaul has joined #automotive21:34
*** fredw has joined #automotive22:07
*** jlrmagnus has quit IRC22:26
*** gunnarx has joined #automotive22:32
*** khem has quit IRC22:42
*** fredw has quit IRC22:44
*** jlrmagnus has joined #automotive22:45
*** mdurnev has joined #automotive23:11
*** wto has quit IRC23:23
*** gunnarx has quit IRC23:24
*** wto has joined #automotive23:36
*** gunnarx has joined #automotive23:55

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