Tuesday, 2015-09-01

*** tpb has joined #timvideos00:00
mithroCarlFK: join #debian-bootstrap on OFTC00:11
mithroCarlFK: I just updated that rebootstrap page with status of the lm32 stuff00:11
*** rohitksingh has quit IRC00:36
CarlFKmithro: what page?02:17
mithroCarlFK: Helmut was suggesting we use https://wiki.debian.org/HelmutGrohne/rebootstrap to do it02:18
tpbTitle: HelmutGrohne/rebootstrap - Debian Wiki (at wiki.debian.org)02:18
CarlFKmithro: I am confused.  I was talking about exar-uart-driver ... are you?02:38
mithroNo02:38
CarlFKlol02:38
mithroI was talking about the 2:44 pm <+CarlFK> mithro: 4. Compile and install binutils. Take the latest version from GNU.02:38
CarlFKoh right..02:39
CarlFKmithro: I may have messed up this page : https://github.com/timvideos/streaming-system/wiki/Debian-Packaging02:40
tpbTitle: Debian Packaging · timvideos/streaming-system Wiki · GitHub (at github.com)02:40
CarlFK by putting exar-uart-driver between "Package gcc-lm32 port?" and "Compile and install binutils"02:41
CarlFKmithro: can you clean that up and add a link to whatever gcc-lm32 is about?02:42
mithroI moved the exar-uart-driver stuff to the HDMI2USB related stuff02:43
CarlFKmithro: thanks.02:47
mithroCarlFK: the exar-uart-driver already has some packaging stuff02:49
mithroit just not very good02:49
CarlFKmithro: yeah, that looked like an easy one for someone to do that knows what they are doing02:50
CarlFKand also the 2 dvswitch02:51
mithroCarlFK: yeah02:52
mithrosadly I didn't get any takers02:52
mithroWell, there was one who is helping with the firmware packaging02:55
CarlFKwho was that ?02:59
*** tija has joined #timvideos04:10
mithroCarlFK: back now04:19
mithrohey tija!04:19
tijamithro: Hi! How are you?04:19
mithrotija: busy!04:20
tijamithro: Tell me something new!04:20
mithrotija: The misoc firmware is going well04:20
mithroCarlFK: stappers04:21
tijamithro: Yeah I have been following the development. I was having problems with generating the gateware but now it is sorted.04:22
mithrotija: Did you see ryan's get-env.sh and setup-env.sh scripts?04:22
tijamithro: yes,I used that but after the script complete, I had to go to the build folder and the run setup.py og migen, then everything started working.04:23
tijamithro: I am trying to figure out the code, any leads will be helpful. I would like to modify it and use it for another project.04:27
mithrotija: what do you mean by "figure out the code" as in migen/misoc or for the hdmi2usb-misoc-firmware?04:34
tijamithro: hdmi2usb-misoc-firmware04:35
mithrotija: what do you want to use it for?04:36
tijamithro: I want to remove the jpeg encoder and use another image processing ip.04:37
mithrotija: so you need to wrap it?04:37
tijamithro: yes04:37
mithrotija: take a look at the encoder stuff04:39
mithrotija: https://github.com/timvideos/HDMI2USB-misoc-firmware/blob/master/hdl/encoder/__init__.py05:10
tpbTitle: HDMI2USB-misoc-firmware/__init__.py at master · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com)05:10
*** hyades has joined #timvideos06:01
_florent_hi07:18
_florent_mithro: I'll have a look at the mnemonic in the firmware for the ports07:18
mithro_florent_: I would like both a mnemonic and a textual description07:19
_florent_you want to use the mnemonic in the command right? (ex: hdmi_out1 J1?)07:20
mithro_florent_: eventually something like "connect output J2 to input J1"07:23
_florent_OK yes that's more explicit07:24
_florent_can you give me an example of textual description you want ot add?07:24
mithroHDMI2USB> help J207:24
mithroJ2 is the HDMI connect on the top right hand corner of the board near the USB connected and power switch.07:25
mithros/connect/connector/07:25
mithroHDMI2USB> help J807:25
mithroWhen looking straight on, J8 is the leftmost HDMI connector and is an input labeled "HDMI In 1".07:26
mithroSomething like that07:26
_florent_OK, I'll see how we can add that07:29
_florent_tija: if you want to use another image processing ip, you can build a SoC on top of VideomixerSoC07:30
_florent_as it's done here:07:30
_florent_https://github.com/timvideos/HDMI2USB-misoc-firmware/blob/master/targets/atlys_hdmi2usb.py#L5607:31
tpbTitle: HDMI2USB-misoc-firmware/atlys_hdmi2usb.py at master · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com)07:31
mithro_florent_: as I said, I think we just dump some extra strings in a header file somewhere.07:35
tija_florent_: Hi florent! Is the dataflow of VideomixerSoC something like this: HDMI IN -> Framebuffer -> HDMI OUT ?07:39
_florent_yes, you can configure the dataflow with the software07:40
tija_florent_: CAn you point me to the file? processor.c?07:44
*** CarlFK has quit IRC07:48
_florent_https://github.com/timvideos/HDMI2USB-misoc-firmware/blob/master/firmware/lm32/ci.c#L21907:55
tpbTitle: HDMI2USB-misoc-firmware/ci.c at master · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com)07:55
_florent_https://github.com/timvideos/HDMI2USB-misoc-firmware/blob/master/firmware/lm32/ci.c#L23407:55
tpbTitle: HDMI2USB-misoc-firmware/ci.c at master · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com)07:55
*** hyades has quit IRC08:10
tijaThank you08:22
*** rohitksingh has joined #timvideos09:59
*** rohitksingh has quit IRC11:42
*** sb0 has joined #timvideos13:23
*** rohitksingh has joined #timvideos13:29
*** tija has quit IRC13:34
*** tija has joined #timvideos14:24
tijaAnyone around? When I run source scripts/flash-hdmi2usb.sh  my terminal crashes.14:47
_florent_tija: can you try the commands of the script manually to see what is causing your crash?15:04
_florent_mithro: can you fill the descriptions here:15:05
_florent_https://github.com/timvideos/HDMI2USB-misoc-firmware/blob/master/platforms/atlys.py#L53015:05
tpbTitle: HDMI2USB-misoc-firmware/atlys.py at master · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com)15:05
_florent_https://github.com/timvideos/HDMI2USB-misoc-firmware/blob/master/platforms/opsis.py#L31315:05
tpbTitle: HDMI2USB-misoc-firmware/opsis.py at master · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com)15:05
tijaAny help with this error? https://www.irccloud.com/pastebin/jFaU22pG/15:07
tpbTitle: Pastebin | IRCCloud (at www.irccloud.com)15:07
mithroTija: did you source the setup-env.sh script?15:08
tijayes15:09
mithro_florent_: Awesome!15:09
mithro_florent_: I was asking sb0 about I kind of generic system to tag things at the platform level in miaoc15:11
*** sb0 has quit IRC15:13
_florent_so is it fine for you? or do you want to put that in _io? (not sure it needs to be generic)15:15
_florent_I've also change the commands, now to configure the video matrix, "video_matrix connect hdmi_in0 hdmi_out1"15:16
_florent_changed15:16
mithro_florent_: okay - will try and look at it soon but need to do other things right now15:39
_florent_ok, np15:40
*** rohitksingh has quit IRC16:02
*** rohitksingh has joined #timvideos16:17
*** CarlFK has joined #timvideos16:49
*** ChanServ sets mode: +v CarlFK16:49
*** Joelw has quit IRC19:35
*** Joelw has joined #timvideos19:36
*** Joelw has quit IRC19:49
*** Joelw has joined #timvideos19:53
*** rohitksingh has quit IRC19:56
mithroIf anyone has time, I'd appreciate fact checking of roger.mithis.com/~tim/comparison-table.html20:23
*** tija has quit IRC20:24
CarlFKmithro: packing for ps1.  quick note: seems when hdmi input drops, encoder stops.20:48
CarlFKcan we make sure it starts up again when input comes back?20:48
CarlFKenter an issue if needed20:48
CarlFKI don't have time right now.20:48
CarlFKbut I think this will kill a recording if the screen saver kicks in or whatever20:49
*** rohitksingh has joined #timvideos21:28
*** CarlFK has quit IRC21:28
*** rohitksingh has quit IRC22:03
*** CarlFK has joined #timvideos22:07
*** ChanServ sets mode: +v CarlFK22:07
mithroCarlFK: that is a bug the encoder should confine running if the input stops22:08
CarlFKmithro: hooking things up now22:08
mithroCarlFK: okay22:16
*** rohitksingh has joined #timvideos22:16
CarlFKmithro: fresh boot of everything.  ran juser@dc10b:~$ ~/HDMI2USB-misoc-firmware/scripts/flash-hdmi2usb.sh22:26
CarlFKfl.FLException: FPGALink device did not renumerate properly as 1D50:602B:000222:26
CarlFKany clue what that means?22:26
CarlFKmithro: I still see the stock color bar test pattern coming from the Atlys22:28
mithroCarlFK: I think that is the problem where you have to run "PROG=fpgalink make load-gateware" multiple times22:28
CarlFKmithro: k. running  ~/HDMI2USB-misoc-firmware/scripts/flash-hdmi2usb.sh a 2nd time seems to have worked.22:30
CarlFKmithro: do you know what states things are expected to be in?22:35
CarlFKi guess status tells me22:36
CarlFKmithro: hdmi_in0:  0x022:42
CarlFKhdmi_in1:  0x022:42
CarlFKthere are sources plugged into both22:42
CarlFKlaptop I have been using on 1, pi on 022:42
mithroCarlFK: what changed since the last time you tested?22:43
CarlFKI haven't tried random things until I noticed it working22:44
mithroCarlFK: have you run xrandr on the laptop?22:45
CarlFKmithro: HDMI1 disconnected (normal left inverted right x axis y axis)22:46
mithroBRB22:47
CarlFKmithro: _florent_  are there commands that should affect hdmi_in0:  0x023:21
mithroCarlFK: the hot plug ones23:23
CarlFKmithro: I don't understand23:23
mithrohelp23:26
_florent_mithro: no, video input should always work23:26
CarlFK_florent_: do you know what the video mode is for a pi that is booting up and still in 80x25 text mode?23:28
CarlFKoh, look: pi is hdmi_in1:  640x48023:29
_florent_mine was 1280x720 IIRC23:32
_florent_hdmi_in from your laptop is not working?23:32
CarlFK_florent_: correct23:35
_florent_hmm, was it working the other days?23:37
CarlFKyep23:38
_florent_hmm strange23:39
CarlFKif I plug it into the hdmi monitor, it quickly detects and shows the desktop23:39
_florent_and if you plug it in hdmi_in1 where rapberry pi is actually?23:40
CarlFKsec.  I just configured the pi into graphics.. lets see what res...23:41
CarlFKhmm. hdmi monitor says 1920x108023:43
CarlFKpi.  any idea how to set the pi to 1280x720?23:44
_florent_no sorry23:46
CarlFKhmm, the pi display dialog only lets me set Auto or Screen 0: minimum 1824 x 984, current 1824 x 984, maximum 1824 x 98423:50
CarlFKIf I set video_mode 9 and boot the pi, it should work, right?23:51
_florent_yes that was working on my setup23:57
CarlFKpi xrandr: 1824x98423:58
CarlFKhdmi_in1:  0x023:58
CarlFKrebooting pi23:58
CarlFKcurrently hdmi_in1:  640x48023:58

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