*** tpb has joined #timvideos | 00:00 | |
*** CarlFK has joined #timvideos | 00:19 | |
*** ChanServ sets mode: +v CarlFK | 00:19 | |
*** rohitksingh has joined #timvideos | 01:10 | |
*** shenki has quit IRC | 01:12 | |
*** shenki has joined #timvideos | 01:14 | |
*** ChanServ sets mode: +v shenki | 01:14 | |
*** rohitksingh has quit IRC | 01:20 | |
*** theshaun has quit IRC | 01:24 | |
*** theshaun has joined #timvideos | 01:27 | |
*** shenki has quit IRC | 01:32 | |
xobs | DFU solves the problem by appending a 16-byte suffix with a crc in it. | 01:43 |
---|---|---|
xobs | The 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 #timvideos | 02:05 | |
*** ChanServ sets mode: +v shenki | 02:05 | |
tinyfpga | xobs: what else is in the suffix besides the crc? | 02:19 |
xobs | tinyfpga: 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 #timvideos | 02:20 | |
xobs | It 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_modern | How do you know the length then? Any inband marker has a nonzero chance of being misinterpreted in the actual data | 02:21 |
xobs | cr1901_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_modern | Ahh, a _real_ suffix. But what if you have more than one bitstream? | 02:23 |
cr1901_modern | or more than one payload | 02:23 |
xobs | It 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 |
xobs | So 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_modern | what is DFU anyway? :P | 02:25 |
xobs | Device Firmware Update. It's a USB spec that uses EP0 control transfers to update devices. | 02:25 |
xobs | I've discovered with Tomu that it's ridiculously easy for end-users to use. | 02:26 |
*** rohitksingh has quit IRC | 02:28 | |
cr1901_modern | Oh 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 IRC | 02:31 | |
*** puck_ has joined #timvideos | 02:34 | |
tinyfpga | cr1901_modern: that’s a good opportunity to learn USB | 03:23 |
*** rohitksingh_work has joined #timvideos | 03:41 | |
*** CuriousLearner has joined #timvideos | 04:37 | |
*** rails has joined #timvideos | 04:49 | |
*** futarisIRCcloud has quit IRC | 05:23 | |
*** CarlFK has quit IRC | 05:35 | |
_florent_ | cr1901_modern: minerva is not my core, it's developed by LambdaConcept, i'll just try to help | 06:34 |
cr1901_modern | mithro: 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 night | 06:37 |
_florent_ | mithro: yes if we add more cpus, we will have to find a way to improve integration. | 06:54 |
*** CarlFK has joined #timvideos | 07:59 | |
*** ChanServ sets mode: +v CarlFK | 07:59 | |
*** ewen has joined #timvideos | 08:16 | |
*** ewen has quit IRC | 08:19 | |
*** ewen has joined #timvideos | 08:19 | |
*** ewen has quit IRC | 09:59 | |
*** rohitksingh_work has quit IRC | 12:38 | |
*** rohitksingh has joined #timvideos | 13:44 | |
*** Kripton has quit IRC | 16:24 | |
*** Kripton has joined #timvideos | 16:25 | |
*** CarlFK has quit IRC | 18:29 | |
*** CarlFK has joined #timvideos | 18:42 | |
*** ChanServ sets mode: +v CarlFK | 18:42 | |
*** Kripton has quit IRC | 20:49 | |
*** Kripton has joined #timvideos | 20:50 | |
*** rqou has quit IRC | 21:07 | |
*** rqou has joined #timvideos | 21:08 | |
CarlFK | mithro: 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 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 22:08 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!