Saturday, 2018-02-03

*** tpb has joined #timvideos00:00
*** futarisIRCcloud has joined #timvideos00:08
micolous[m]Tumbleweed: email me an Android bug report ZIP00:25
*** Thaelim has joined #timvideos02:21
*** Thaelim has quit IRC03:38
*** rohitksingh_work has joined #timvideos03:50
*** samsagaz has quit IRC04:41
*** samsagaz has joined #timvideos04:41
*** nick00000 has joined #timvideos04:55
*** futarisIRCcloud has quit IRC06:48
*** futarisIRCcloud has joined #timvideos07:29
tumbleweedmicolous[m]: I did the feedback email thing. does that include the zip or must I generate that with the developer menu?07:46
futarisIRCcloud_florent: I made those changes, added the pins and  "export CPU=or1k PLATFORM=arty TARGET=video" / "make gateware" fails with litex.build.generic_platform.ConstraintError: Resource not found: oled:None08:06
futarisIRCcloudhttps://www.youtube.com/watch?v=_LnZrXrdC0008:43
futarisIRCcloudcnlohr was using a FX3 as a logic analyser...08:44
futarisIRCcloudIf I get a cheap FX2 devboard, I should be able to do most of what Opsis does (minus HDMI capture) on an Arty board, right?08:44
futarisIRCcloud_florent_: I made those changes, added the pins and  "export CPU=or1k PLATFORM=arty TARGET=video" / "make gateware" fails with litex.build.generic_platform.ConstraintError: Resource not found: oled:None08:45
*** sb0 has quit IRC09:15
*** sb0 has joined #timvideos10:04
_florent_futarisIRCcloud: just answered you mail, it should be fixed now10:12
futarisIRCcloud_florent_: thanks10:34
micolous[m]tumbleweed: I found the report. Another fscking CEPAS error... i wrote a patch that I think can solve it, the code for handling CEPAS isn't great.11:58
micolous[m]Though I think it's actually calypso protocol, just that's xobs code for a Singapore card ;)12:00
tumbleweed:)12:01
xobsCEPAS is the Contactless E-Purse... application system?  I forget.  But it's the protocol name of the Singapore metro card.12:01
tumbleweedwell, if you want dumps and balances - I can probably get several from other FOSDEM attendees12:01
micolous[m]Heh12:02
tumbleweedit seems to have the concpt of tickets rather than balances12:02
micolous[m]So for some reason it says it's CEPAS, because it does Android.nfc.tech.nfcB12:02
tumbleweedhttps://www.dropbox.com/s/0e0a4es5khdp2vu/2018-02-03%2010.08.50.jpg?dl=012:02
tpbTitle: Dropbox - 2018-02-03 10.08.50.jpg (at www.dropbox.com)12:02
micolous[m]I suspect the application protocol it's trying to use is totally wrong12:03
micolous[m]It also looks like it doesn't hump whole tags12:03
futarisIRCcloudSo that patch that I wrote, doesn't add vga as an output in the hdmi2usb firmware on arty. Anyone?12:04
xobsTOC of the specification (which costs $50): http://www.siongboon.com/projects/2012-03-03_rfid/doc/Singapore%20Standard,%20specification%20for%20contactless%20e-purse%20application.pdf12:04
tumbleweedyeahthe website is also o_O - apparently there's a reader you can use to add things from home: https://www.stib-mivb.be/mystib/?l=en#mybootik12:04
tpbTitle: www.stib-mivb.be (at www.stib-mivb.be)12:04
futarisIRCcloudI'll look at it again tomorrow. Is there an easy way to hard code a buffer into the vga output stuff?12:04
micolous[m]tumbleweed: can I order cards by post?12:05
tumbleweedsure. They cost €5 each - you want some?12:06
tumbleweedther are also single journey NFC (I presume) tickets12:07
micolous[m]1 of the reloadable and one of the single tickets would be fine.12:07
tumbleweedsure12:08
xfxfhe means 1 of each with subsequent dollar values on them12:08
xfxfso that's like 50 tickets12:08
tumbleweed:P12:09
micolouslol12:09
micolousThe single use tickets in a lot of systems are pretty useless12:09
xfxfmicolous: if you tell me where the secret 'write free pass onto card' option is in metrodroid i won't tell anymore, promise12:09
micolousI spent today rewriting a bunch of the sqlite3 code in it to use protobufs instead :|12:10
micolousI saved a whole 500KiB in the APK!12:10
tumbleweednow you just need to implement sql queries on top of that12:10
micoloushah12:10
micolousI only need 1 type of query in the app12:11
micoloushttps://github.com/micolous/metrodroid/tree/proto-stationdb/extra/mdst12:11
tpbTitle: metrodroid/extra/mdst at proto-stationdb · micolous/metrodroid · GitHub (at github.com)12:11
micolousAnd this is the problem code and why it was crashing: https://github.com/micolous/metrodroid/commit/e5a9a28c09cb24cce3ed05c6dc3383dab3dbb42c#diff-40970344909643a227533ead930e31e9R9012:12
tpbTitle: cepas: Handle error state in CardHWDetailFragment better · micolous/[email protected] · GitHub (at github.com)12:12
micolousNullPointerExceptions12:12
tumbleweedyeah, that looks like it was quite fragile12:13
micolousIt looks like it might try to dump all the purses on the card12:13
micolousBut if your card doesn't talk the same protocol, it may have issues (which is likely also)12:14
tumbleweedyeah12:14
micolousI'll need to dig up some non-NDA specs for the Calypso card12:15
micolousBut looks like they did a similar thing to SG and implemented an application protocol ontop of some other stack12:16
micolousSo your transit card is more similar to a Mastercard than a dumb storage device12:16
micolous*dumb-ish12:16
tumbleweedcape town's system is like that too (actually a mastercard)12:17
tumbleweedI'll poke at that when I get home12:17
micolousYeah, the ones that are _actual_ Mastercard may be problematic12:17
micolousBecause they don't really store transactions on the card12:17
tumbleweedyeah, I assumed as much12:17
tumbleweedthere is stored value somewhere12:18
micolousAlso found it somewhat funny that News Limited ran with three stories about the different transit card replacement projects in AU about 3 days after my talk...12:23
tumbleweedheh12:23
*** rohitksingh_work has quit IRC12:26
micoloushttp://demo.calypsostandard.net/ lol12:26
tpbTitle: Calypso ticketing in action (at demo.calypsostandard.net)12:26
tumbleweedpoor access.php12:27
tumbleweedclearly someone enjoyed transport tycoon12:27
futarisIRCcloudCAD and open hardware at #fosdem seems to have a lot of FPGA related talks12:28
micoloushttp://demo.calypsostandard.net/common/js/ClientCardAccess.class.js search for "sendCommand"12:35
micolousIf you use MSIE on that site, it has an activex control to talk to a real reader12:35
micolousAnd all the code is implemented in javascript12:35
tumbleweedwat12:36
micolousAll the control commands are documented nicely12:36
tumbleweedyeah12:36
micolous:)12:36
*** sb0 has quit IRC13:03
*** rohitksingh has joined #timvideos13:23
*** sb0 has joined #timvideos13:53
*** rohitksingh has quit IRC14:39
*** rohitksingh-demo has joined #timvideos14:42
*** rohitksingh-demo has quit IRC14:44
*** futarisIRCcloud has quit IRC14:48
mithroCarlFK[m]: ping?17:45
mithrocr1901_modern: ping?17:45
cr1901_modernmithro: pong.18:13
cr1901_modernI have previous engagements this weekend, won't really have time to work on anything. I'll try to check in tomorrow night.18:13
CarlFK[m]mithro: pong18:13
mithrocr1901_modern: I wanted to find out the status of things18:13
mithroCarlFK[m]: How goes the GSoC tasks I gave you?18:13
mithrocr1901_modern: IIRC You were going to try some prjxray work too - I assume that didn't go anywhere?18:14
cr1901_modernmithro: Not yet. The issue is still open and I'm in contact w/ digshadow tho.18:14
CarlFK[m]I looked over the ideas list and it looks good.  what was next?18:15
cr1901_modernmithro: Current status is: working on modifying _florent_'s firmware to handle old SD cards, and then I'll create a small wishbone bus peripheral for litex-buildenv to talk to the SD card.18:15
cr1901_modernmithro: I've confirmed mimasv2 can actually read/write just fine18:15
mithrocr1901_modern: So I also wanted to support very low access via bitbanging to the SD Card using SPI mode18:16
mithrocr1901_modern: Does it make sense to just use that for old SD cards?18:17
*** xobs has quit IRC18:17
mithroCarlFK[m]: Make the hdmi2usb.tv news items look less dead18:17
mithroCarlFK[m]: You have a photo of the post-it notes IIRC?18:17
cr1901_modernmithro: We could include that as an option, but it doesn't really make my job easier. Having read the spec, there's not much reason to support SPI mode if we already have an SD protocol handler18:19
cr1901_modern(and in addition using SPI wouldn't solve the issues I've been seeing wrt READ/WRITE_MULTIPLE)18:20
mithrocr1901_modern: Okay -- the bitbanging SPI mode however is very efficient in terms of FPGA resources (since it basically uses none) right?18:20
cr1901_modernOh _bitbanging_ SPI18:20
cr1901_modernI should read more closely18:20
cr1901_modernErm, yes that is also doable. But slow of course.18:21
mithrocr1901_modern: With the MimasV2 being a SLX9 I'm unsure if it makes sense to try and use hardware accelerated SD card?18:23
mithrocr1901_modern: Of course we probably do want to use the hw accel on the Arty and Opsis18:24
CarlFK[m]mithro: i have the post-its - I should type them into something - any suggestions?  i'm thinking a goog doc is fine.18:24
*** suhdood has joined #timvideos18:24
mithroCarlFK[m]: Don't care18:25
cr1901_modernmithro: Putting the SD card on the FPGA SPI bus is prob a good compromise for mimasv2. But I want to get the SD protocol working anyway before working on that (write my wishbone peripheral once, deploy everywhere)18:27
mithrookay18:36
CarlFK[m]mithro: is the Arty fast enough to decode an hdmi in, discard the video data, look for errors and light an LED or two for pass/fail ?18:56
mithroCarlFK[m]: That is a complicated question18:56
CarlFK[m]mithro: is this simpler: can it generate a 720p color bar test pattern like the hdmi2usb does ?18:58
mithroCarlFK[m]: That is probably yes18:59
mithroCarlFK[m]: I need to finish my pmod hdmi board for that to work19:11
CarlFK[m]mithro (IRC): could someone else "finish pmod hdmi board"  as a gsoc project?19:14
CarlFK[m]having a small device that can be used for diagnostics would be handy.  and maybe also for unit testing the hdmi2usb19:15
mithroCarlFK[m]: Not really19:15
CarlFK[m]shucks.19:16
mithroCarlFK[m]: It just needs someone to put together and test19:41
mithroCarlFK[m]: It should be pretty easy to do but needs time to do it19:41
CarlFK[m]mithro (IRC): oh cool.  I'll try to find a PS1er to do that - I know 2 that might be interested19:42
CarlFK[m]http://whiteboard.debian.net/tvgsoc2018.wb post-its and a few more21:07
tpbTitle: tvgsoc2018 - whiteboard (at whiteboard.debian.net)21:08
*** suhdood has quit IRC22:27
*** suhdood has joined #timvideos22:29
*** suhdood has quit IRC23:44

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