*** AlisonChaiken has joined #automotive | 02:59 | |
*** mdurnev has joined #automotive | 03:58 | |
*** gunnarx has joined #automotive | 04:36 | |
*** gunnarx has joined #automotive | 04:36 | |
*** halfline has quit IRC | 04:39 | |
*** halfline has joined #automotive | 04:44 | |
*** mfritzsch has joined #automotive | 05:35 | |
*** praneeth has quit IRC | 05:49 | |
*** praneeth has joined #automotive | 05:49 | |
*** wireshark has joined #automotive | 06:17 | |
*** buspirate has quit IRC | 06:18 | |
*** jobol has joined #automotive | 06:50 | |
*** leon has joined #automotive | 06:55 | |
*** leon is now known as Guest90989 | 06:55 | |
*** Guest90989 is now known as leon-anavi | 06:58 | |
leon-anavi | morning | 06:58 |
---|---|---|
*** claneys has joined #automotive | 07:04 | |
*** rajm has joined #automotive | 07:10 | |
*** toscalix has joined #automotive | 07:12 | |
*** ctbruce has joined #automotive | 07:41 | |
*** rdale has joined #automotive | 08:11 | |
*** gunnarx has quit IRC | 08:24 | |
*** fredw has joined #automotive | 08:47 | |
*** fredw has quit IRC | 09:52 | |
*** araujo_ has quit IRC | 10:00 | |
*** jacobo has joined #automotive | 10:10 | |
*** fredw has joined #automotive | 10:11 | |
*** mdurnev has quit IRC | 10:17 | |
*** gunnarx has joined #automotive | 10:28 | |
*** gunnarx has joined #automotive | 10:28 | |
*** wireshark has quit IRC | 10:29 | |
*** buspirate has joined #automotive | 10:29 | |
*** buspirate has quit IRC | 10:30 | |
*** buspirate has joined #automotive | 10:30 | |
*** mdurnev has joined #automotive | 10:54 | |
*** prayella has joined #automotive | 10:58 | |
prayella | Hello everyone | 11:01 |
JEEB | mornin'. | 11:02 |
prayella | Does anyone know how to auto upgrade AGL os? | 11:02 |
prayella | Or how does the patch management of AGL works? | 11:02 |
JEEB | is there such functionality? | 11:02 |
prayella | I don't know | 11:02 |
prayella | I'm asking if there is any mechanism and if so how to do it? | 11:03 |
JEEB | I 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 point | 11:03 |
JEEB | usually updates are either binary diffs or full firmware images | 11:03 |
prayella | I think upgrades of the apps can be using aim-util tool | 11:03 |
JEEB | yea, apps can probably be (re)installed with the framework | 11:04 |
prayella | So at this point is it safe to assume that only the whole image upgrades are possible? | 11:04 |
prayella | I mean os image | 11:04 |
JEEB | I would expect that and look through the docs/code for anything else quickly | 11:05 |
JEEB | and be pleasantly surprised if there is anything :P | 11:05 |
prayella | Please can you point me to the docs location for verification | 11:06 |
prayella | I'm new to AGL | 11:06 |
claneys | http://docs.automotivelinux.org/docs/getting_started/en/dev/ | 11:10 |
claneys | prayella, here is the documentation available :) | 11:11 |
*** mdurnev has quit IRC | 11:11 | |
dl9pf | prayella: there're multiple mechanisms for upgrades. You can enable and use ostree (agl-sota feature). | 11:12 |
dl9pf | Or you use the package-feed generated from yocto and the package-manger o nthe target. | 11:12 |
JEEB | oh, so there was an OTA feature | 11:13 |
dl9pf | JEEB: through meta-updater (ostree) on boards it supports | 11:13 |
JEEB | gotcha | 11:13 |
prayella | @dl9pf: is there any documentation for agl-sota? | 11:14 |
dl9pf | prayella: https://github.com/advancedtelematic/meta-updater | 11:14 |
prayella | dl9pf: what is the reference for package-manager? | 11:15 |
dl9pf | prayella: and https://wiki.automotivelinux.org/subsystem/agl-sota/ostree?s[]=sota#non-secure_update | 11:15 |
dl9pf | prayella: 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 |
prayella | dl9pf: Thanks for the information | 11:20 |
prayella | As per your comments the only way to get the OTA updates is only if the base os image is built using the required modules | 11:21 |
*** gunnarx has quit IRC | 11:23 | |
*** prayella has quit IRC | 11:37 | |
*** fredw has quit IRC | 12:11 | |
dl9pf | yes | 12:11 |
leon-anavi | ops, 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-anavi | Here 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.html | 12:21 |
*** jacobo has quit IRC | 12:31 | |
*** gunnarx has joined #automotive | 12:33 | |
*** gunnarx has joined #automotive | 12:33 | |
*** mfritzsch has quit IRC | 13:21 | |
*** somewone has joined #automotive | 13:45 | |
*** AlisonChaiken has quit IRC | 14:19 | |
*** jlrmagnus has joined #automotive | 15:03 | |
*** somewone has quit IRC | 15:20 | |
*** rajm has quit IRC | 15:50 | |
*** gunnarx has quit IRC | 15:50 | |
*** iivanov has joined #automotive | 15:53 | |
*** araujo has joined #automotive | 16:00 | |
*** araujo has joined #automotive | 16:00 | |
*** martinkelly1 has joined #automotive | 16:09 | |
*** ctbruce has quit IRC | 16:26 | |
*** claneys has quit IRC | 16:35 | |
*** toscalix has quit IRC | 16:41 | |
*** leon-anavi has quit IRC | 17:03 | |
*** jlrmagnus has quit IRC | 17:05 | |
*** jlrmagnus has joined #automotive | 17:21 | |
dl9pf | Tartarus: is there a newer u-boot for m3 than U-Boot 2015.04 | 17:34 |
dl9pf | e.g. upstream ? | 17:34 |
Tartarus | dl9pf: Yeah, Marek Vasut has been working on it a lot of late | 17:35 |
Tartarus | Not 100% sure on if it's 1:1 with the vendor one, or has more now | 17:35 |
Tartarus | ie he posted stuff for USB to work 2 days ago or so | 17:35 |
dl9pf | 2015.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 |
Tartarus | OK | 17:37 |
dl9pf | should I look in uboot master ? | 17:38 |
Tartarus | dl9pf: Yeah, you should have reasonable luck with configs/r8a7796_ulcb_defconfig | 17:38 |
dl9pf | ok wil ltry that | 17:38 |
Tartarus | Or tell me what we need to do to make it function better :) | 17:38 |
*** jlrmagnus has quit IRC | 17:39 | |
dl9pf | hmm i need to check why this happenz at all ... | 17:45 |
dl9pf | take a look at the line for bootargs in here: | 17:45 |
dl9pf | - https://lava.automotivelinux.org/scheduler/job/2966 | 17:45 |
dl9pf | vs in here: | 17:45 |
dl9pf | - https://lava.automotivelinux.org/scheduler/job/2967 | 17:45 |
dl9pf | Chicken-egg issue. If I remove the " " around the arguments, the rpi3 will fail. If I leave it in the m3 will fail. | 17:45 |
dl9pf | which one is correct ;) | 17:46 |
JEEB | ouch | 17:48 |
dl9pf | setenv bootargs "${nbdbasekargs} ${nbdkbootargs} ${nbdextraargs}" | 17:49 |
dl9pf | => setenv bootargs \"${nbdbasekargs} ${nbdkbootargs} ${nbdextraargs}\" | 17:49 |
dl9pf | --> | 17:49 |
dl9pf | Kernel 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 |
dl9pf | on the m3 | 17:49 |
dl9pf | vs. | 17:50 |
dl9pf | setenv bootargs "${nbdbasekargs} ${nbdkbootargs} ${nbdextraargs}" | 17:50 |
dl9pf | U-Boot>setenv bootargs \"${nbdbasekargs} ${nbdkbootargs} ${nbdextraargs}\" | 17:50 |
dl9pf | --> | 17:51 |
dl9pf | Kernel 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=false | 17:51 |
*** jlrmagnus has joined #automotive | 17:51 | |
dl9pf | on the rpi3 | 17:52 |
dl9pf | rpi3 has newer u-boot (v2016) | 17:52 |
Tartarus | hmm | 17:55 |
Tartarus | dl9pf: Why do you quote at all? | 17:56 |
dl9pf | one board breaks if I don't ... | 17:57 |
dl9pf | so from u-boot perspective ... quote or not to quote ? | 17:57 |
Tartarus | Around bootargs? | 17:57 |
dl9pf | yep | 17:57 |
Tartarus | You should not need quotes around bootargs | 17:58 |
Tartarus | you only need to escape/control ; | 17:58 |
dl9pf | ok, then let me remove it and see which one fails | 17:58 |
Tartarus | setenv bootargs foo bar baz is valid | 17:58 |
Tartarus | setenv dostuff run a;run b will set dostuff to run a and then it will run b | 17:58 |
Tartarus | so you need to escape that ; or use quotes | 17:59 |
dl9pf | yep, thats clear | 18:00 |
*** jlrmagnus has quit IRC | 18:09 | |
dl9pf | Tartarus: rpi3 ... | 18:09 |
dl9pf | setenv bootargs ${nbdbasekargs} ${nbdkbootargs} ${nbdextraargs} | 18:09 |
dl9pf | U-Boot> setenv bootargs ${nbdbasekargs} ${nbdkbootargs} ${nbdextraargs} | 18:09 |
dl9pf | bootloader-commands: Wait for prompt U-Boot (timeout 00:02:18) | 18:09 |
dl9pf | setenv bootargs ${nbdbasekargs} ${nbdkbootargs} ${nbdextraargs} | 18:09 |
dl9pf | setenv - set environment variables | 18:09 |
dl9pf | Usage: | 18:09 |
dl9pf | setenv [-f] name value ... | 18:10 |
dl9pf | - [forcibly] set environment variable 'name' to 'value ...' | 18:10 |
dl9pf | setenv [-f] name | 18:10 |
dl9pf | - [forcibly] delete environment variable 'name' | 18:10 |
Tartarus | dl9pf: ok | 18:10 |
dl9pf | rpi3's 2016.x barks w/o quotes | 18:10 |
Tartarus | And what do those 3 eval out to? | 18:10 |
dl9pf | nbdbasekargs=verbose console=ttyS0,115200n8 | 18:11 |
dl9pf | nbdextraargs=earlyprintk systemd.log_color=false | 18:11 |
dl9pf | nbdkbootargs= 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=dhcp | 18:11 |
dl9pf | netmask=255.255.255.0 | 18:11 |
Tartarus | Hmmm | 18:11 |
dl9pf | too long ? | 18:11 |
Tartarus | Wondering, counting | 18:11 |
Tartarus | sec :) | 18:11 |
Tartarus | hm | 18:13 |
Tartarus | dl9pf: easy test would be to blank out nbdextraargs | 18:15 |
Tartarus | and drop netmask | 18:16 |
Tartarus | as ip=dhcp will fill that in | 18:16 |
dl9pf | https://lava.automotivelinux.org/scheduler/job/2974 | 18:17 |
dl9pf | yep ... was a -Etoolongline | 18:19 |
Tartarus | Which is also strange given at least the relevant values in mainline for both platforms | 18:19 |
Tartarus | But I dunno what they are in the ones we're using | 18:19 |
Tartarus | File a JIRA, shoot it over to me please and I'll kick it around | 18:20 |
Tartarus | My RPi is being extra stupid so it'll be harder to confirm, but I have ideas at least | 18:20 |
dl9pf | 2016.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 |
dl9pf | smurray: 50 boots on the pi WIP ... https://lava.automotivelinux.org/scheduler/job/2974 | 18:21 |
*** jobol has quit IRC | 18:21 | |
*** jlrmagnus has joined #automotive | 18:24 | |
dl9pf | 50 boots on the m3 ... | 18:25 |
dl9pf | https://lava.automotivelinux.org/scheduler/job/2976 | 18:25 |
*** martinkelly has quit IRC | 18:40 | |
*** jlrmagnus has quit IRC | 19:04 | |
smurray | dl9pf: that's good. I don't relish the thought of attempting to debug that further | 19:17 |
*** jlrmagnus has joined #automotive | 20:19 | |
*** martinkelly1 has quit IRC | 20:30 | |
*** martinkelly has joined #automotive | 21:15 | |
*** iSaul has quit IRC | 21:18 | |
*** iivanov has quit IRC | 21:25 | |
*** iSaul has joined #automotive | 21:34 | |
*** fredw has joined #automotive | 22:07 | |
*** jlrmagnus has quit IRC | 22:26 | |
*** gunnarx has joined #automotive | 22:32 | |
*** khem has quit IRC | 22:42 | |
*** fredw has quit IRC | 22:44 | |
*** jlrmagnus has joined #automotive | 22:45 | |
*** mdurnev has joined #automotive | 23:11 | |
*** wto has quit IRC | 23:23 | |
*** gunnarx has quit IRC | 23:24 | |
*** wto has joined #automotive | 23:36 | |
*** gunnarx has joined #automotive | 23:55 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!