/srv/irclogs.ubuntu.com/2015/07/16/#snappy.txt

kirklandbeen beating my head against the wall for 3 hours now00:00
kirkland Operation not permitted00:00
kirklandtrying to launch docker inside of my snap00:01
sergiusenselopio: there's a hackish way to generate an image with a new snappy, I can show you; not that complicated00:14
elopiosergiusens: show me please.00:25
=== chihchun_afk is now known as chihchun
=== chihchun_afk is now known as chihchun
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
dholbachgood morning07:13
=== erkules_ is now known as erkules
ogra_mvo, doko pinged me if we are aware about the gcc 5 transition ...08:30
mvoogra_: how does it affect us?08:31
ogra_mvo, no idea ...08:33
ogra_i just found that PM ping from last night :)08:34
mvoogra_: fwiw, I'm just looking at the uboot source, aiui the plan is to use saveenv on the fat partition, correct? if so we may hit the same issue :/ both cmd_fat.c:do_fat_fswrite() and env_fat.c:saveenv() use the same file_fat_write() code. we may be lucky of course because we keep rewriting the same cluster with saveenv :) just wanted to mention it that we need to be extra careful08:35
mvoogra_: well, we don't have any c++, maybe he just wants to says that it might be bumpy? but then its all done in a silo, so…08:35
ogra_yeah08:36
ogra_well, do we use the go compiler ?08:36
mvowe do for arm6408:38
mvobut aiui we already use gcc5 for go08:38
ogra_ah08:38
ogra_mvo, well, if the env file in fat doesnt work we could still resort to a raw env partition ... but i'd like to see that as last resort due to the complexity it adds to the partitioning08:40
MohammadsHi08:40
JamesTaitGood morning all; happy Corn Fritters Day! 😃08:40
mvoogra_: yeah, I am confident it will work ifwe ship a 1k (thats the env size, right?) pre-populated env file08:41
ogra_right, but if it doesnt we still have options :)08:41
MohammadsDoes anyone work on Beaglebone Black Device tree overlay development?08:41
mvoogra_: so looking at the u-boot code it seems like all its doing is adding a 32bit crc plus a 8bit flags header, the rest is just char data.08:42
mvoogra_: want me to write a c-program that can deal with that? or will you do that, either way is fine, just offering help where I feel like I can be useful08:42
ogra_mvo, you mean to edit it from userspace ?08:42
mvoogra_: yeah08:42
ogra_yeah, sure ... one sec i can give you an existing env file (from rpi) ...08:43
mvoogra_: oh, thats awsome08:43
mvoogra_: what is your prefered interface? just something like "uboot-env load" dump on stdout, uboot-env save file" read from stdin and save to the given file?08:44
ogra_either that or a file converter with a txt file as option08:44
ogra_mvo, http://people.canonical.com/~ogra/uboot.env08:46
mvota08:46
ogra_Mohammads, yes, but no ETA yet08:50
mvoogra_: silly question, how did you generate the inital version of the file?08:58
ogra_mvo, i actually used lool's file ... but afaik you just create a txt file and use mkimage (from uboot-tools) to add a header09:00
mvoogra_: nice, I explore that, thanks09:00
mvoogra_: yay, I think I found all I need, will give you some stuff in some minutes (or hours, depends how it goes :)09:03
ogra_heh, no hurry, i'll need a few hours myself still :)09:03
loolmvo: there's a fw_printenv / setenv in u-boot-tools09:06
ogra_i thought that doesnt work ?09:06
loolI had a perl script to create env files too, but not sure where I've put it09:06
ogra_(didnt you say that yesterday ? ... )09:06
loologra_: hmm it might be mtd only09:06
ogra_ah, no that was sergiusens09:06
mvolool: yeah, thats the one I found and was trying to use09:07
mvolool: it does support vfat afaict09:07
mvolool: at least the examples do09:07
ogra_thre are other tools out there worst case09:07
mvoyeah, its easy enough to write one09:07
ogra_http://free-electrons.com/blog/mkenvimage-uboot-binary-env-generator/09:07
mvobut fw_* is my current approach09:07
loolah I remember now, the tool will work on files if it's built without CONFIG_MTD09:07
ogra_someone in the comments claims:09:08
ogra_mkimage -T script -C none -n 'setenv-name' -d u-boot.env u-boot.env.img09:08
ogra_should work09:08
mvolool: it works for me on my BBB  afaict, tested it some minutes ago09:08
loologra_: that's surprizing09:08
ogra_lool, yeah, well, not sure he is just guessing :)09:09
mvolool: is there a reason that mkenvimage is not included in the u-boot-tools? it seems to be what we need. if you don't mind I will upload that to wily and send a patch to debian (unless there is a good reason not to have it)09:28
loolmvo: grr, I hate the fact I didn't check the u-boot tree earlier09:30
loolmvo: I suspect it's not in the package just because the debian package was created before the tool was added09:31
mvolool: no worries, I will upload and push patch unless you want to commit directly to the debian tree09:31
loolmvo: yes, please do upload this09:31
mvolool: sure, thats fine, thanks!09:31
mvolool: http://paste.ubuntu.com/11886878/09:32
mvoogra_: do we have a trello card for the env work? I would like to add a checklist so that I don't forget the steps I need to do :)09:32
ogra_mvo, hmm, i dont think so09:35
ogra_where would that go ? snappy-core-roadmap ?09:35
mvoogra_: I create one, hope I'm not too hyperactive in the morning, had strong tea today09:35
mvoogra_: work-in-progress would be my guess09:35
=== timchen1` is now known as timchen119
ogra_mvo, created a card and added you09:39
mvoogra_: \o/09:39
mvoogra_: I added a checklist, would be great if you could check if it makes sense09:47
ogra_mvo, why do we need to modify snappy-system-txt to use getenv ?09:48
ogra_(if we move away from it anyway)09:48
mvoogra_: I don't know, if that does not make sense, kill it, its my ignorance speaking09:48
ogra_well, we should keep it as is until we drop it i thionk09:49
mvoogra_: I thought we do it in two steps, keep snappy-systems.txt initially and use the env and then move it all into the env09:49
mvoogra_: but if that does not make sense, thats fine09:49
ogra_i dont think that needs any modification in snappy-system.txt (i need to check though)09:49
mvoaha, even better09:49
mvojust adjust the checklist as needed :)09:49
mvo(you have a better overview about this I think)09:50
ogra_yeah... i need to try first though, lets keep it (with a more generic text)09:50
* mvo nods09:51
ogra_hmm, how do i move an item09:53
ogra_hah !09:54
ogra_drag n drop ... crazy stuff09:54
mvo:)09:55
* mvo gets lunch09:55
mvoogra_: I will add the /etc/fw_env.config to livecd-rootfs after lunch for armhf09:56
ogra_does it work ?09:56
ogra_(did you try the fw_* commands on teh file yet)09:57
sergiusensogra_: lool mvo nice to know that it works. For the record I tried fw_saveenv way back on the first iteration of the bbb port and didn't work and remember lool giving me a fancy explanation of why and did not look into it anymore :)10:07
mvoogra_, sergiusens: it seems to be working: http://paste.ubuntu.com/11887048/10:29
ogra_mvo, well, does it also work on a uboot prompt :)10:30
mvooh, I have no idea, let me try. I though this way around was the problem10:30
ogra_but yeah, smells like it could work fine10:30
ogra_note the current uboot on BB wont load the file10:30
ogra_(thats what i'm working on atm)10:30
ogra_you can use it on a rpi though10:31
sergiusensmvo: ogra_ nice, when I played with this I wasn't using a uboot.env file though :-)10:31
ogra_ah10:31
loolmvo: nice10:38
* lool lunch &10:47
ogra_sergiusens, erm10:48
ogra_ogra@anubis:~/datengrab/rpi/uboot/package/u-boot-2015.04+dfsg1$ ls -l /media/ogra/system-boot/10:48
ogra_insgesamt 410:48
ogra_drwx------ 3 ogra ogra  512 Jan 18 11:31 a10:48
ogra_drwx------ 3 ogra ogra  512 Jan 18 11:31 b10:48
ogra_-rw-r--r-- 1 ogra ogra 1596 Jan 22 06:05 snappy-system.txt10:48
ogra_-rw-r--r-- 1 ogra ogra  237 Jan 18 11:31 uEnv.txt10:48
ogra_where exactly is our uboot ?10:48
ogra_(its not in a or b either10:49
ogra_)10:49
ogra_(dont tell me we dd it raw somewhere10:51
ogra_)10:51
mvoI think we do, but sergiusens will confirm10:52
ogra_bah10:52
mvoogra_: fwiw, this u-boot env will make the bootloader code more similar so massive opportunity for cleanup here, I love that soooooo much10:53
ogra_:D10:53
mvoi.e. MarkCurrentBootSuccessful is now identical in boot uboot/grub :-D10:53
* mvo will push a MP soon10:53
sergiusensmvo: consider we need to backport some things to 15.04 (the file copy part at least)10:56
mvosergiusens: yeah, the backport is tricky, how do we create /boot/uboot/uboot.env on existing systems :/10:56
sergiusensogra_: u-boot and slp are dd'ed instead of file copied per lool's recommendation10:56
sergiusensmvo: if our update provides the latest snappy update again soonish and it would be picked up10:57
ogra_sergiusens, do you have the lines we use for that (offset etc)10:58
sergiusensogra_: look in the package.yaml for the oem package10:58
ogra_is there a bzr tree ?10:58
sergiusensogra_: yes sir10:58
sergiusensogra_: http://bazaar.launchpad.net/~snappy-dev/snappy-hub/snappy-systems/view/head:/beagleblack/meta/package.yaml10:58
ogra_thx10:59
ogra_hmm, that doesnt work :/11:02
ogra_(dd does, but the board doesnt boot)11:02
sergiusensogra_: for using dd https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-SetupmicroSDcard11:07
sergiusensogra_: don't truncate :-P11:08
ogra_well,. thats what i'm using11:08
sergiusensogra_: compile u-boot for arch == armhf? :-P11:08
ogra_lol11:09
* sergiusens asks ogra_ some very random dumb questions11:09
ogra_very funny :P11:09
ogra_sigh11:11
ogra_aha11:11
sergiusenssigha11:12
ogra_S2 and reset doesnt work at all ... it only works if you actually make the board powerless11:12
sergiusensogra_: isn't that documented?11:12
* sergiusens thought it was11:12
ogra_at least i have it now booting to a uboot promot with my own build11:12
sergiusensI did that dance with power cycling11:12
ogra_might be that it is documented :)11:12
rsalvetimorning11:14
mvosergiusens: hm, we would have to convert the existing uEnv.txt, no? i.e. we can not just ship a static file to existing systems (?)11:15
mvoogra_: snappy is ready now too, but I did not do further cleanups, I wait for an end-to-end test to ensure this all works first :)11:15
ogra_MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 111:23
ogra_reading uboot.env11:23
ogra_** Unable to read "uboot.env" from mmc0:1 **11:23
ogra_Using default environment11:23
ogra_\o/11:23
rsalvetiogra_: yeah, uboot is in a raw partition11:23
rsalvetisame for mlo11:23
ogra_ugly :P11:23
* ogra_ puts his rpi uboot.env in place for a test11:24
sergiusensmvo: yes we would11:24
rsalvetimvo: sergiusens: we can't easily update running 15.04 systems right?11:25
rsalvetibecause of the upgrader issue (running the upgrader from the older image)11:25
ogra_MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 111:25
ogra_reading uboot.env11:25
ogra_*** Warning - bad CRC, using default environment11:25
ogra_hmpf11:26
rsalvetioops11:26
ogra_but at least:11:26
ogra_U-Boot# saveenv11:26
ogra_Saving Environment to FAT...11:26
ogra_writing uboot.env11:26
ogra_done11:26
ogra_aha11:26
ogra_and after reset11:27
ogra_MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 111:27
ogra_reading uboot.env11:27
ogra_Net:   cpsw, usb_ether11:27
ogra_Hit any key to stop autoboot:  011:27
ogra_so the uboot.env file we use for the rpi doesnt work ...11:27
ogra_which indicates they are not generic :/11:27
ogra_(and that we might have to create the initial file using the uboot prompt ... thats rather suboptimal)11:28
rsalvetiwell, dump the file and check for the header11:30
rsalvetiand the format11:30
ogra_crap11:37
ogra_so lool's raw initrd support breaks it11:37
ogra_as soon as i enable that uboot hangs11:37
ogra_with it disabled everything seems to work11:38
mvoogra_: I can send you a uboot.env that I created via mkenvimage from uEnv.txt if you want11:41
ogra_mvo, well, i still need a working binary first11:41
mvosure11:41
ogra_mvo, ok, i got something booting, gimme the file :)11:45
mvoogra_: http://people.canonical.com/~mvo/tmp/uboot.env11:50
mvoogra_: that i sa version of the stock uEnv.txt11:50
ogra_40311:50
ogra_(forbidden)11:50
ogra_ah, better11:51
mvoogra_: I can create one with both snappy-system.txt and uEnv.txt too, or you can do it yourself via "mkenvimage11:51
mvoogra_: ups, try again11:51
mvomkenvimage -s 0x4000 -o uboot.env snappy-system.txt11:51
mvofrom u-boot-tools in wily (not sure if its published yet)11:51
mvobut I'm happy to do that until it is :)11:51
ogra_MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 111:52
ogra_reading uboot.env11:52
ogra_*** Warning - bad CRC, using default environment11:52
ogra_nope ...11:52
ogra_doesnt work11:52
ogra_mvo, these three work together http://people.canonical.com/~ogra/snappy/bootloader/11:53
ogra_(though uboot.env is just a "saveenv" dump on the uboot prompt)11:54
ogra_(README has flashing instructions)11:54
ogra_see if that file is usable with your fw_* setup11:55
mvoogra_: hm, thats suprising that it gives a crc error11:55
sergiusensrsalveti: snappy should have the logic for the next update to be successful and have the correct uenv and uboot.envs .. we don't have logic to update the bootloader, but that can be added11:55
ogra_well, i can try again11:55
rsalvetisergiusens: right, but would just be fixed on a following update11:56
mvoogra_: let check the source, I wonder if there is something funny here11:56
sergiusensrsalveti: correct11:57
mvoogra_: could you try a updated version?12:01
mvoogra_: just pushed it to the same place12:01
ogra_sure12:01
ogra_mvo, still bad CRC12:02
mvomeh, thanks12:02
* ogra_ melts12:03
kyrofamzanetti, yesterday you suggested I add -mousetouch to /usr/share/upstart/sessions/unity8-dash.conf to get be able to drag the dash scopes drawer up. I assume that's supposed to go on the exec line? Does it matter where? I can't get it to work12:08
ogra_mvo, hmm, i get the crc error with fw_printenv too http://paste.ubuntu.com/11887435/12:11
mvoogra_: could you try the latest again? this seems to be ok for me via fw_printenv:  http://paste.ubuntu.com/11887439/12:11
mvoogra_: I have not tried uboot itself yet though12:12
ogra_MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 112:14
ogra_reading uboot.env12:14
ogra_*** Warning - bad CRC, using default environment12:14
ogra_nope ...12:14
mvomeh12:14
ogra_fw_printenv also shows me the CRC error12:14
mvooh12:14
ogra_(thouh i have a slight werid setup)12:15
ogra_ogra@anubis:~/datengrab/rpi/uboot/bbb/u-boot$ cat /etc/fw_env.config12:15
ogra_./uboot.env 0x0000 0x400012:15
mvoI use:12:15
mvoroot@localhost:/boot/uboot# cat /etc/fw_env.config12:15
mvo/boot/uboot/uboot.env 0x0000 0x400012:15
mvoon the bbb12:15
mzanettikyrofa, let me try12:15
ogra_well, i use it on my desktop12:15
ogra_(my BBB cant boot atm)12:16
ogra_mvo, oh, and your MP has an error ... .conf vs .config12:16
mvoogra_: hm, so the boot crc is on the rpi? I wonder if some configure option is different?12:16
ogra_mvo, no, the CRC error is in uboot on the BBB12:17
ogra_and on my trusty PC when using fw_printenv12:17
mvoogra_: meh, ok12:18
ogra_heh12:18
ogra_ogra@anubis:/media/ogra/system-boot$ fw_printenv12:18
ogra_Cannot access MTD device /media/ogra/syst: No such file or directory12:18
ogra_that is when i give it the full path12:19
ogra_(in fw_env.config )12:19
mzanettikyrofa, doesn't work indeed12:20
ogra_well, even mounting in /mnt and adjusting the path doesnt help12:20
mzanettiI guess that touch->mouse conversion only works for X1112:20
kyrofamzanetti, hmm.... interesting12:21
kyrofamzanetti, any idea what would be involved to make it happen?12:21
mzanettikyrofa, I guess it might be possible to change the dconf key for favorited scopes12:21
mzanettikyrofa, so that they show up by default12:21
kyrofamzanetti, ah, that's a good workaround12:21
mzanettiother than that, you could launch the scopetool12:21
ogra_-rwxr-xr-x 1 root root 131072 Jul 16 14:11 uboot.env12:21
ogra_mvo, ^^^^12:22
ogra_i think the size is our issue12:22
ogra_my saveenv'ed file is way bigger than yours12:22
ogra_-rw-rw-r--   1 ogra ogra  16384 Jul 16 14:11 uboot.env12:22
ogra_thast is yours for comparison12:22
mvoogra_: eh, 100k? thats a bit much12:22
ogra_well, thats the whole saevenv dump12:23
mvoogra_: what else is in there?12:23
ogra_i could show you if i could scroll in screen ... but many many lines :)12:23
kyrofamzanetti, unity-scope-tool?12:23
ogra_(the default env isnt actually smnall)12:23
ogra_we would have to use the defaults anyway so we should adjust the size12:24
mvo100k is a lot, thats not exactly fits-into-a-single-cluster :/12:24
ogra_http://paste.ubuntu.com/11887481/12:25
ogra_well12:25
ogra_Environment size: 3862/131067 bytes12:25
ogra_its not actually 100k12:25
mzanettikyrofa, yes12:25
ogra_(the file is, but the content is 3k)12:25
mvoogra_: do you happen to know what is the ENV_SIZE for the bbb? or maybe lool?12:26
ogra_could be that i defined that in my patch, one sec12:26
mvomaybe thats the issue that the board is configured with a different one than what I set12:26
ogra_hmm, no, i dont12:27
ogra_ 44 /* Always 128 KiB env size */12:27
ogra_ 45 #define CONFIG_ENV_SIZE                 (128 << 10)12:27
mvofor the bbb?12:27
ogra_yes12:27
ogra_thats the default12:27
ogra_(usually that lives on the eMMC)12:27
ogra_i guess i can try going down to 16k12:28
mvoogra_: that would be cool12:28
mvoogra_: it seems like the ENV_SIZE is hardcoded for the loading/crc calculation, so either I need to increase the size to make the 128k or you need to decrease it, either way is fine with me12:28
mvoogra_: maybe I increase ? thats probably quicker than the recompile(?)12:29
kyrofamzanetti, not /com/canonical/unity/launcher, right? Those are the only favorites I see12:29
mzanettikyrofa, no, that's the launcher12:29
mzanettithe panel on the left12:29
mzanettino clue where the scopes settings are tbh12:30
mzanettikyrofa, tsdgeos will know12:30
kyrofamzanetti, right. That's all that's under /com/canonical/unity, though12:30
kyrofamzanetti, alright, I'll ask him when he gets in. Thank you!12:31
mzanettikyrofa, he's in... just not in this channel12:31
mzanettiseems the wrong one for this discussion anyways :)12:31
ogra_mvo, ok, 16k works12:31
kyrofamzanetti, meh... Ubuntu Personal... snappy... :P12:32
mvoogra_: \o/12:32
mzanettioh well... as far as I'm concerned we're working with click still12:32
ogra_hmm, or not12:33
mvo:(12:33
ogra_that was the wrong file12:33
ogra_reading uboot.env12:33
ogra_*** Warning - bad CRC, using default environment12:33
ogra_using your file12:33
ogra_bah12:34
ogra_and saveenv still creates a 128k file12:34
ogra_even though i lowered it in the config12:34
mvoogra_: any luck with http://people.canonical.com/~mvo/tmp/uboot.env4 with the default config?12:35
ogra_let me try12:35
mvoogra_: thats with -s 13107212:36
ogra_MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 112:36
ogra_reading uboot.env12:36
ogra_*** Warning - bad CRC, using default environment12:36
ogra_nope12:36
ogra_seems to only work right if i create it with saveenv12:37
ogra_at the uboot prompt directly12:37
mvo12:37
ogra_can you actually read and modify my file ?12:37
mvoogra_: could you put that somehwere so that I can compare the headers?12:38
* ogra_ suspects fw_printenv does simply not do the right thing12:38
mvobut it really should be just the crc :/12:38
ogra_i did ... 30min ago ...12:38
ogra_http://people.canonical.com/~ogra/snappy/bootloader/12:38
ogra_mvo, i dont think it is bad to pre-create the file (from an empty env via uboot's saveenv) ... but we still need to be able to modify it and add stuff then12:40
mvota12:46
mvolet me try12:46
ogra_mvo, oh, how do you build mkenvimage ?12:47
mvoogra_: it gets build as part of the nomral package build, I did not change that, just added it to debian/u-boot-tools.install12:48
ogra_it seems to use the crc32.o object from the actual uboot build12:48
ogra_which might perhaps differ between versions/builds12:48
mvoogra_: hm, I can't read your file fw_printenv gives me "Read error on /boot/uboot/uboot.env: Success"12:50
mvoogra_: hm, I see in the envfile that you use U-Boot 2014.10-dirty ( - i use the uboot from the archive for the fw_setenv etc12:52
mvoogra_: I wonder if that might play a role?12:52
ogra_it could12:52
ogra_i'm just trying to build mkenvimage here12:52
ogra_nope, CRC error even with my own mkenvimage12:55
ogra_mvo, well, i use the same base that lool used for the uboot we currently use ... which is upstreqams tree with 2014.10-dirty branch12:56
* ogra_ needs some fresh coffee ... brb12:57
sergiusenselopio: your question from last night http://paste.ubuntu.com/11887593/12:57
mvoogra_: I'm a bit lost, I don't get the crc errors, I will look at the source some more13:01
ogra_mvo, it loads the file on boot for you ?13:02
ogra_(with my MLO and u-boot.img from the above url)13:02
geniimmm coffee13:03
ogra_(i dont really care so much if *my* fw_printenv works or my mkenvimage ... but i get the CRC error on boot when it loads it)13:03
mvoogra_: I haven't flashed it yet, I was poking with fw_printenv so far only on the bbb13:05
mvoogra_: that is the image iwth the 128k, right?13:05
ogra_mvo, yeah13:05
ogra_mvo, so rsalveti suggested we dump both files and compare them ... (checking header with hex editor or some such)13:06
ogra_hmm, so in a hex editor i see the official file is filled with 00 ... while the one you created is filled with FF13:10
ogra_and neither of them seems to have any header13:10
ogra_s/filled/padded/13:10
mvoogra_: there should be 4byte of crc on each13:10
mvoogra_: let me check13:11
mvoogra_: I can change the padding to 0013:11
ogra_yeah, thats the only difference i see13:11
ogra_oh, wait13:11
ogra_there is indeed a 4 byte header13:12
mvoogra_: this is what I see, it seems like there is one additional byte in yours13:12
mvoogra_: let me try to create one with this extra padding13:12
mvoogra_: I guess http://people.canonical.com/~mvo/tmp/uboot.env5 is still no good?13:15
* ogra_ humps mvo's leg 13:16
ogra_http://people.canonical.com/~mvo/tmp/uboot.env513:16
ogra_err13:16
ogra_http://paste.ubuntu.com/11887669/13:17
mvoogra_: ohhhhh?13:17
mvoogra_: sweet13:17
ogra_mvo, so that works ... now the tricky part ... lool's setup is additive toi the default env (which we just wiped) ...13:17
ogra_so we need to put all the defaults into your env file13:17
mvoogra_: and make fw_setenv work again, that seems to be not working now for me with that file :/ I will dig into it13:18
ogra_mvo, did you adjust the size in the .config file ?13:18
mvoI did13:18
ogra_indeed that needs to match13:18
mvoroot@localhost:/boot/uboot# fw_printenv13:19
mvoRead error on /boot/uboot/uboot.env: Success13:19
mvowhich is funny, I mean, no crc error and the error code is "success"13:19
mvoI think it wants to make fun of me ;)13:19
ogra_well, they want you to think positive, even in frustrating moments ;)13:19
mvoogra_: it might be short reads, I will add debug13:24
loolmvo: I've seen similar bugs in u-boot before where the error is not bubbled up correctly  :-(13:28
ogra_but at least it makes you feel good13:28
kyrofaseb128, you want the snappy scope landing in wily, not the overlay, correct?13:33
seb128kyrofa, correct13:33
mvolool: yeah - just building it is a pita13:35
mvo(to add my debug stuff)13:35
loolmvo: you can cross-build relatively easily, but yeah the tools build is ugly13:36
elopiogood morning.13:36
loolyou can't just make -C tools, or similar, the build system is too custom13:36
ogra_you can make all13:37
mvolool: thats what I mean, I get all sorts of strange error13:37
ogra_wotks fine here13:37
ogra_*works13:37
loolmvo: I tend to clean every thing with make mrproper between each build13:37
mvoogra_: did you do the menuconfig dance first? is there a shortcut for this?13:37
lool(reconfigure with make boardname_defconfig, make, make tools or similar)13:37
mvoaha, make tools13:38
mvoI need to try that13:38
ogra_i just run "make -j4 CROSS_COMPILE=arm-linux-gnueabihf- O=uboot-bbb.bin all"13:38
loolI think that's what I used to use, not sure anymore13:38
ogra_that gets me the tools in uboot-bbb.bin/tools/13:38
loolah it does exist but so does a cross_tools target13:38
ogra_and yeah, mrproper and "make CROSS_COMPILE=arm-linux-gnueabihf- O=uboot-bbb.bin am335x_boneblack_config" before each build13:39
ogra_btw, this is my config patch http://paste.ubuntu.com/11887776/13:40
ogra_(i guess i could leave out the ifndef/endif bits)13:41
ogra_lool, interestingly the boot hangs if i put the CONFIG_SUPPORT_RAW_INITRD at the top of the file ... reliably13:42
elopiosergiusens: can you tarmac machine start a vm in canonistack?13:42
elopiosergiusens: and thanks for the paste. With that, I'm now not really sure if we need the full rootstock build.13:44
elopiowill talk about that with ogra_ once Federico returns.13:44
ogra_elopio, yeah, sorry, rootstock work is a bit on hold while i hack on the uboot fixes13:45
ogra_i'll hopefully have time tomorrow aain13:45
ogra_*again13:45
elopioogra_: don't worry, what I'm saying is that it's probably not needed.13:46
elopioor well, it would be nice, but the extra info and security it will give is might not be worth it. Lets talk again before you spend your time on it.13:46
mvoogra_: its funny (for some value of that) http://paste.ubuntu.com/11887823/13:47
ogra_mvo, twice ?13:48
mvoogra_: so fw_*env uses the exta padding byte only if its in a HaveRedundEnv mode13:48
ogra_(the line in you config file)13:48
mvoogra_: yes, once is not enough13:48
mvoogra_: thats what makes it work13:48
ogra_lol13:48
* ogra_ tries13:48
mvoogra_: don't ask why, this is from reading the source, the source does not tell me what the rational for this is13:48
ogra_i think because NAND has two env partitions by default ofr some such weridness13:49
mvoogra_: that sounds reasonable, still, having a different head that is impossible to know what sizeit will have from looking at it, *not good*13:50
sergiusenselopio: no worries. Can canonistack be reached from external servers? The other thing we can do is just put that tarmac instance on canonistack and free up my server ;-)13:50
ogra_yeah13:50
mvoogra_: like - you know - having the first byte for header size and then tools could figure it out13:50
elopiosergiusens: yes, to both.13:50
mvoanyway, sorry for ranting13:50
sergiusenselopio: let's discuss after standup then!13:50
elopiosergiusens: you would need credentials for your server to access canonistack, so I think moving the server to canonistack would be better.13:51
ogra_mvo, ranting in context of uboot is allowed and expected13:51
elopiowe just need to make sure that we have an easy way to redeploy it, because things seem to die suddenly on canonistack.13:51
mvoogra_: it also does not make any sense, only the last entry counts13:52
mvoogra_: in the config13:52
ogra_heh13:53
mvohm, thats actually incorrect, it will read/write both it seems13:56
* mvo shakes head13:56
ogra_just re-implement it in go ;)13:57
ogra_without all the mess13:57
mvoogra_: thats actually a really good idea, I will do that13:57
mvoogra_: probably quicker too13:57
ogra_HAHAHAHA !!!13:57
ogra_(that was definitely not meant serious ... but if it helps :)  )13:58
loolmvo: I'm sure you're in love with the u-boot code base by now!  :-)14:01
sergiusenselopio: time you learnt juju then :-P There's a tarmac charm fwiw14:01
ogra_lool, how could anyone not be !14:01
elopiosergiusens: why not? throw it to the pile of things to learn :)14:01
elopioshould be easy. We just need your tarmac config, give it to juju, and profit.14:02
mvolool: indeed14:04
mvolool: it still boggles my mind14:04
ogra_haha14:04
ogra_mvo, now you know how all of us arm hackers got into this mental state ;)14:05
mvolol14:05
sergiusenselopio: https://jujucharms.com/u/tanuki/tarmac/trusty/014:06
mvoalso  - /etc/fw_env.config - wuuuuut? how about fw_printenv -f /boot/uboot.env ?14:06
mvoI mean, seriously?!?14:06
ogra_would be lovely14:06
sergiusenselopio: but it seems to be more popular on precise https://jujucharms.com/u/canonical-ci-engineering/tarmac/precise/2914:06
elopiosergiusens: no precise please.14:07
elopioI can try both.14:07
kyrofaseb128, I could use a terminal in the Ubuntu Personal image. It doesn't seem that I can install the one from the click store?14:09
seb128kyrofa, no clue about that14:09
seb128don't ask me14:09
seb128I usually ssh in14:09
seb128or switch to a vt14:09
kyrofaMe too... but I need the dbus session variables14:09
seb128grep SSH in /proc/pidof unity8-dash/environ14:10
seb128then export14:10
kyrofaseb128, ah, I always forget that trick14:10
=== charles is now known as jordan
mterryCan snaps have symbolic links now?  They used to not be able to15:00
Chipacayes15:06
Chipacamterry: we fixed that before 15.04 release, i think :)15:06
beunoI think 15.04 itself is symbolic!15:07
Chipacaur-symbolism ftw15:08
elopioplars: I'm interested on that u-d-f to glance you mentioned.15:26
elopiodid you find anything?15:27
kyrofakgunn, quick update, since you were helping me on this: the touch-only areas don't seem to work with -mousetouch on mir15:27
plarselopio: oh right, sorry I forgot to send you that15:28
kyrofakgunn, so to test other scopes you need to add them to the "favorites" list manually, with gsettings set com.canonical.Unity.Dash favorite-scopes15:28
plarselopio: I think it's mostly here: https://launchpad.net/snappy-proposed-image-builder15:28
plarselopio: you can talk to the ci team, not sure what their future plans are with that service15:28
elopioplars: good, thanks!15:29
kgunnkyrofa: ah, man that kinda stinks15:29
kyrofakgunn, yeah it does. Although the usability of the sliding drawer with a mouse kinda sucks anyway. Will that be changed a bit eventually for windowed mode?15:30
kgunnyeah, i think we should15:31
kgunnkyrofa: we're putting some time in on windowed mode, lemme see if it's something we can do15:31
kyrofakgunn, awesome. I'm not aware of other "touch areas" in unity8, but I'm sure there are some. We obviously need to figure out how to work with those, even if it's something as simple as making -touchmouse work on mir15:39
kyrofakgunn, which may not be trivial, I'm not sure15:39
kyrofakgunn, Ubuntu Personal may be in a bit of a tough spot. Correct me if I'm wrong, but we envision it being used on both mouse- and touch-driven devices, yes?15:45
kgunnkyrofa: yep, this is just lack of design input, but mzanetti just made some noise...and we got the general ideo15:47
kgunnidea15:47
kgunnclose enough that we can add something in the near term15:47
kgunn(while design designs)15:47
kyrofakgunn, cool!15:48
mvoogra_: https://github.com/mvo5/uboot-env-go needs some love and better cmdline parsing but works16:17
mzanettikgunn, kyrofa: this should help: https://code.launchpad.net/~mzanetti/unity8/unity8-clickable-bottom-edge-hint/+merge/26501916:18
ogra_mvo, sexy !16:18
kgunnmzanetti: curious, is it something we can land ? e.g. should only show up in windowed mode16:18
mzanettiyep16:18
kgunncool16:18
mvoogra_: yes, dinner time now :)16:19
mzanettikgunn, visuals don't change at all. The label arrow is clickable with a mouse (not with touch)16:19
mvoogra_: but the other stuff will also work, so I hope you are not blocked, lets continue tomorrow16:19
ogra_mvo, same here ... and i might not return today ...16:19
ogra_yeah16:19
mvoenjoy!16:19
kgunnack16:19
ogra_you too !16:19
kyrofamzanetti, quick work man, thanks!16:21
mzanettikyrofa, np. please let me know if you notice and oddities16:22
mzanettikyrofa, it's not perfect, the label will hide when scrolling (as per touch design) but while it's there you can click it an open the overview16:22
kyrofamzanetti, yeah, that's fine to get us up and running a bit better :)16:23
=== alexabreu is now known as alex-abreu
* mterry works on java snapcraft plugin18:01
mterrysergiusens, tarmac seems to have not gotten to https://code.launchpad.net/~mvo/snapcraft/python3-project/+merge/264521 after 4 hours (it's usually faster, right?)  is there a problem with the branch or am I just impatient?18:36
rsalvetimterry: no commit message I'd guess18:40
mterryrsalveti, duh of course.  I want an error for that18:40
mterryrsalveti, that's fine, I found a nit anyway  :)  yay for not merging yet18:41
rsalveticool18:41
sergiusensmterry: yeah, mvo uses lp-propose which tells you it's setting a commit message when in reality it is setting a description :-)18:58
* mvo adds commit message19:27

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