Thursday, 2018-09-06

*** tpb has joined #timvideos00:00
*** CarlFK has joined #timvideos00:19
*** ChanServ sets mode: +v CarlFK00:19
*** rohitksingh has joined #timvideos01:10
*** shenki has quit IRC01:12
*** shenki has joined #timvideos01:14
*** ChanServ sets mode: +v shenki01:14
*** rohitksingh has quit IRC01:20
*** theshaun has quit IRC01:24
*** theshaun has joined #timvideos01:27
*** shenki has quit IRC01:32
xobsDFU solves the problem by appending a 16-byte suffix with a crc in it.01:43
xobsThe nice thing about a suffix is that if you flash it with something other than dfu-util, it's still a valid image.01:44
*** shenki has joined #timvideos02:05
*** ChanServ sets mode: +v shenki02:05
tinyfpgaxobs: what else is in the suffix besides the crc?02:19
xobstinyfpga: It includes the VID/PID of the target device, so it doesn't accidentally get flashed to the wrong thing.02:20
*** rohitksingh has joined #timvideos02:20
xobsIt also has the length, as well as a potential bcdDevice value so you can e.g. check the device is in "update" mode first.02:21
cr1901_modernHow do you know the length then? Any inband marker has a nonzero chance of being misinterpreted in the actual data02:21
xobscr1901_modern: It's a suffix, so it goes at the end of the file.  The suffix is for updaters, and is stripped before it gets written.02:22
cr1901_modernAhh, a _real_ suffix. But what if you have more than one bitstream?02:23
cr1901_modernor more than one payload02:23
xobsIt doesn't define the contents of the data at all.  You're free to come up with your own format.  It's just concerned with cramming bytes into the correct device.02:24
xobsSo you could still stick a header on top and have your updater look at that, but still use the DFU suffix for allowing the updater to select the correct device.02:24
cr1901_modernwhat is DFU anyway? :P02:25
xobsDevice Firmware Update.  It's a USB spec that uses EP0 control transfers to update devices.02:25
xobsI've discovered with Tomu that it's ridiculously easy for end-users to use.02:26
*** rohitksingh has quit IRC02:28
cr1901_modernOh right, eventually I want to play w/ Tomu and add rust support (if not done already). But alas no USB stack yet.02:29
*** puck_ has quit IRC02:31
*** puck_ has joined #timvideos02:34
tinyfpgacr1901_modern: that’s a good opportunity to learn USB03:23
*** rohitksingh_work has joined #timvideos03:41
*** CuriousLearner has joined #timvideos04:37
*** rails has joined #timvideos04:49
*** futarisIRCcloud has quit IRC05:23
*** CarlFK has quit IRC05:35
_florent_cr1901_modern: minerva is not my core, it's developed by LambdaConcept, i'll just try to help06:34
cr1901_modernmithro: Well my productivity went careening off a cliff tonight. I'll busy during the day tomorrow, so I'll be back on the grind tomorrow night06:37
_florent_mithro: yes if we add more cpus, we will have to find a way to improve integration.06:54
*** CarlFK has joined #timvideos07:59
*** ChanServ sets mode: +v CarlFK07:59
*** ewen has joined #timvideos08:16
*** ewen has quit IRC08:19
*** ewen has joined #timvideos08:19
*** ewen has quit IRC09:59
*** rohitksingh_work has quit IRC12:38
*** rohitksingh has joined #timvideos13:44
*** Kripton has quit IRC16:24
*** Kripton has joined #timvideos16:25
*** CarlFK has quit IRC18:29
*** CarlFK has joined #timvideos18:42
*** ChanServ sets mode: +v CarlFK18:42
*** Kripton has quit IRC20:49
*** Kripton has joined #timvideos20:50
*** rqou has quit IRC21:07
*** rqou has joined #timvideos21:08
CarlFKmithro: shorne: trying to test  CFLAGS ... -I$TOP_DIR/third_party/litex/litex/soc/software/include and getting this error, which Im not expecting, wondering if anyone knows whats going on :  http://paste.ubuntu.com/p/2KR5n3jwnT/22:08
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)22:08

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