*** tpb has joined #litex | 00:00 | |
*** somlo has joined #litex | 03:15 | |
*** daveshah has quit IRC | 09:53 | |
*** daveshah has joined #litex | 10:08 | |
*** ambro718 has joined #litex | 11:41 | |
*** ambro718 has quit IRC | 13:31 | |
*** ambro718 has joined #litex | 13:56 | |
CarlFK | mithro: hdmi2usb listens on port 20 (telnet) right ? | 21:22 |
---|---|---|
mithro | CarlFK: You mean the firmware on the opsis / atlys? | 21:25 |
CarlFK | yes | 21:25 |
mithro | Telnet is generally 23 | 21:25 |
CarlFK | whoops, - ok 23 | 21:26 |
*** tumbleweed has joined #litex | 21:26 | |
CarlFK | mithro: does the firmware have enough plumbing so that port 80 send/receive json or something of that nature | 21:27 |
mithro | CarlFK: Kinda - it would be non-trivial but doable | 21:27 |
mithro | CarlFK: your better of starting with hdmi2usbd | 21:28 |
CarlFK | mithro: is the firmware is collecting debug stats even when it isn't displaying them ? | 21:35 |
*** ambro718 has quit IRC | 21:37 | |
mithro | CarlFK: unclear, for some yes... | 21:38 |
CarlFK | mithro: the thought is: step 1: get port 80 to respond.. step 2: send "get /v1/stats/everything" and get back the state of everything, and reset the error counters. so a .js in a browser can pole that every second | 21:43 |
CarlFK | "get /v1/..." might be validated for that string | 21:44 |
mithro | Do it with hdmi2usbd then people can develop without hardware | 21:45 |
CarlFK | step 3 is "get or post /v1/cmd/ connect input0 output1" | 21:45 |
mithro | Or even just write up a python web server that does that | 21:46 |
CarlFK | I'm trying to avoid interfering with the current setup | 21:46 |
mithro | Get a the GUI stuff going and then someone will have the incentive to do the hardware side | 21:47 |
mithro | Just use a fake server first | 21:48 |
CarlFK | I have a long time chicago python friend say "I just did something like that. I'll help you with the .js side" | 21:49 |
mithro | The .js side being? | 21:49 |
CarlFK | the UI in a browser | 21:50 |
CarlFK | which is kinda in my grasp, but I would rather work with someone who is good at it | 21:50 |
mithro | So, make him a fake python http server with the json endpoints for him to work against | 21:51 |
CarlFK | that's a bit of work that will get thrown out | 21:51 |
mithro | He can then start the UI stuff before the firmware on the server even works | 21:52 |
mithro | The python server is like couple of hours of work that you don't need my help with | 21:53 |
tumbleweed | it's a bit of work that will continue to be useful for UI development | 21:53 |
mithro | The C firmware side would take me a couple of days at a minimum | 21:53 |
CarlFK | yeiks - full 8 hour days? | 21:54 |
mithro | Yes | 21:55 |
CarlFK | I was going to bug Ben H to help me make it respond 200 OK and then see how much I could do | 21:55 |
mithro | C is not an easy language to work on, bare metal C is even worse | 21:55 |
CarlFK | this assumed I can figure out how to build | 21:55 |
mithro | If you had the GUI working and it looked good, then I'm sure someone would do the C side | 21:56 |
CarlFK | mithro: that would be me - but I'll be bugging you about building | 21:57 |
CarlFK | maybe flashing too. I think my pi is still the only thing I have that I have any confidence in | 21:57 |
mithro | You need that too work reliably if you want to do development | 21:58 |
mithro | So, go write the Python fake, unblock your friend and then come back to this | 21:59 |
CarlFK | mithro: is there a file that enumerates? all the states? (I think those are the words I want) | 22:01 |
CarlFK | https://github.com/timvideos/HDMI2USB-litex-firmware/tree/master/firmware in here right ? | 22:02 |
tpb | Title: HDMI2USB-litex-firmware/firmware at master · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 22:02 |
CarlFK | these 2 blocks are alarmingly similar: | 22:04 |
CarlFK | https://github.com/timvideos/HDMI2USB-litex-firmware/blob/master/firmware/ci.c#L391-L408 | 22:04 |
tpb | Title: HDMI2USB-litex-firmware/ci.c at master · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 22:04 |
CarlFK | https://github.com/timvideos/HDMI2USB-litex-firmware/blob/master/firmware/ci.c#L502-L520 | 22:05 |
tpb | Title: HDMI2USB-litex-firmware/ci.c at master · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 22:05 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!