*** tpb has joined #timvideos | 00:00 | |
CarlFK[m] | I have 4 files? what do I do next? juser@cnt6:~/corelli.tumbleweed.org.za/stefanor/tmp/atlys-16341a1$ ls | 00:06 |
---|---|---|
CarlFK[m] | firmware.bin firmware.fbi top.bin top.bit | 00:06 |
CarlFK[m] | Bus 003 Device 005: ID 04e2:1410 Exar Corp. XR21V1410 USB-UART IC | 00:06 |
CarlFK[m] | Bus 003 Device 004: ID 1443:0007 Digilent Development board JTAG | 00:06 |
tumbleweed | load-gateware with top.bit, load-firmware with firmware.bin, load the fx2 firmware, and see if it works | 00:13 |
tumbleweed | (without powercycling) | 00:13 |
*** aps has quit IRC | 00:14 | |
*** jea has quit IRC | 00:23 | |
*** jea has joined #timvideos | 00:24 | |
CarlFK[m] | FileNotFoundError: [Errno 2] No such file or directory: 'openocd': 'openocd' | 00:30 |
CarlFK[m] | "everything you need" isn't everything I need :p | 00:31 |
tumbleweed | I guess you conda-ed, but didn't add the conda stuff to your PATH? | 00:31 |
CarlFK[m] | I followed the readme :p | 00:34 |
CarlFK[m] | sudo ~/HDMI2USB-mode-switch/conda/bin/hdmi2usb-mode-switch -v --load-gateware top.bit | 00:36 |
CarlFK[m] | that seemed to work | 00:36 |
CarlFK[m] | load-firmware - --load-softcpu-firmware ? | 00:36 |
tumbleweed | yeah | 00:37 |
CarlFK[m] | raise NotImplemented("Not yet finished...") | 00:37 |
CarlFK[m] | TypeError: 'NotImplementedType' object is not callable | 00:37 |
CarlFK[m] | I suspect I need flterm | 00:38 |
tumbleweed | I suspect so too | 00:38 |
tumbleweed | --kernel firmware.bin | 00:38 |
CarlFK[m] | what about --kernel ? | 00:39 |
tumbleweed | it's an argument to flterm | 00:39 |
* tumbleweed is actually going to go home now, and can poke at an atlys too | 00:39 | |
CarlFK[m] | oh.. but mode swich should be doing that? | 00:39 |
tumbleweed | modeswitch doesn't know how to do that, as you can see | 00:40 |
CarlFK[m] | well, it wasn't installed the first time | 00:40 |
CarlFK[m] | but yeah, installed, same error | 00:40 |
CarlFK[m] | where did this come from? /dev/ttyXRUSB0 | 00:46 |
mithro | mode-switch can't "load" softcpu stuff yet - it can however flash it... | 00:47 |
mithro | https://github.com/scanlime/flipsyfat | 00:56 |
tpb | Title: GitHub - scanlime/flipsyfat: FPGA-based emulator to assist with guessing bootloader SD card filenames (at github.com) | 00:56 |
CarlFK[m] | After flashing, the board will need to be power cycled. | 00:58 |
CarlFK[m] | um.. do I do that or (07:12:02 PM) tumbleweed (IRC): (without powercycling) | 00:58 |
CarlFK[m] | Ill do the "without" | 00:59 |
CarlFK[m] | sudo ~/HDMI2USB-mode-switch/conda/bin/hdmi2usb-mode-switch -v --load-fx2-firmware firmware.bin | 00:59 |
CarlFK[m] | subprocess.CalledProcessError: Command '['fxload', '-t', 'fx2lp', '-D', '/dev/bus/usb/003/006', '-I', '/home/juser/corelli.tumbleweed.org.za/stefanor/tmp/atlys-16341a1/firmware.bin', '-v']' returned non-zero exit status 254. | 01:00 |
tumbleweed | OK, home with an atlys... | 01:10 |
tumbleweed | CarlFK[m]: hrm, worked for me | 01:13 |
CarlFK[m] | what did? | 01:17 |
CarlFK[m] | I need to run to dinner for about an hour - any interst in sshing to my box? | 01:17 |
tumbleweed | I mean, it boots, and video is borked | 01:18 |
tumbleweed | so, I have to keep digging | 01:19 |
CarlFK[m] | did you see I ansibled a r&d box? | 01:19 |
tumbleweed | nope, but yay? | 01:19 |
CarlFK[m] | https://github.com/CarlFK/video-stack-deploy/tree/master/roles/rnd | 01:20 |
tpb | Title: video-stack-deploy/roles/rnd at master · CarlFK/video-stack-deploy · GitHub (at github.com) | 01:20 |
tumbleweed | there's some nasty stuff there (I mean, the things it has to do) | 01:22 |
tumbleweed | but yay :) | 01:22 |
CarlFK | :) | 01:26 |
CarlFK | bb in an hour or so | 01:26 |
* tumbleweed tries git bisection again. We have to dig into the nextgen branch... | 01:30 | |
mithro | tumbleweed: No guarantee you can the old nextgen stuff :-P | 02:26 |
CarlFK[m] | mithro No guarantee ... what? | 02:42 |
mithro | can build | 02:42 |
tumbleweed | if it takes > 1hr: give up, right? | 02:55 |
CarlFK[m] | tumbleweed (IRC): is the cpu spinning? | 02:56 |
tumbleweed | yeah | 02:56 |
CarlFK[m] | bummer | 02:56 |
tumbleweed | trying to route | 02:56 |
mithro | tumbleweed: On the older firmware before nextgen >2h | 02:56 |
CarlFK[m] | I thought it went idle. which made no sense. | 02:56 |
tumbleweed | ok | 03:01 |
tumbleweed | I was suprised how fast the nextgen build was | 03:01 |
CarlFK[m] | can you walk me though how you tested https://corelli.tumbleweed.org.za/stefanor/tmp/atlys-16341a1/ ? | 03:05 |
tpb | Title: Index of /stefanor/tmp/atlys-16341a1 (at corelli.tumbleweed.org.za) | 03:05 |
CarlFK[m] | low priority if you are actively trying to .. do just about anything | 03:05 |
tumbleweed | hdmi2usb-mode-switch --load-gateware top.bit | 03:11 |
tumbleweed | flterm --port /dev/ttyVIZ0 --kernel firmware.bin | 03:12 |
tumbleweed | type serialboot | 03:12 |
tumbleweed | /sbin/fxload -t fx2lp -I ~/git/HDMI2USB-firmware-prebuilt/archive/master/v0.0.2-81-gd0d3aea/atlys/hdmi2usb/hdmi2usb.hex -D /dev/hdmi2usb/by-num/atlys0/usbdev | 03:12 |
tumbleweed | that was about it | 03:12 |
CarlFK[m] | ah, I did everything with mode-switch | 03:44 |
mithro | http://www.autoedit.io/ | 04:54 |
tpb | Title: : autoEdit (at www.autoedit.io) | 04:54 |
mithro | "Fast text based video editing" | 04:54 |
mithro | Bunch of extra info at https://product.voxmedia.com/2016/11/22/13669486/faster-video-editing | 04:56 |
tpb | Title: An open source tool for enabling faster, easier editing of video interviews - Vox Product Blog (at product.voxmedia.com) | 04:56 |
CarlFK[m] | that's inginious | 05:09 |
mithro | Anyone tried siteleaf before? https://learn.siteleaf.com/getting-started/ | 07:46 |
*** sb0 has quit IRC | 09:38 | |
*** sb0 has joined #timvideos | 09:38 | |
*** sb0 has quit IRC | 10:29 | |
*** aps has joined #timvideos | 10:45 | |
*** rohitksingh has joined #timvideos | 11:24 | |
*** sb0 has joined #timvideos | 11:41 | |
shorne | I created a pr for some useful stuff | 13:42 |
shorne | https://github.com/mithro/HDMI2USB-litex-firmware/pull/11 | 13:42 |
tpb | Title: Support for in.tftpd + qemu GDB by stffrdhrn · Pull Request #11 · mithro/HDMI2USB-litex-firmware · GitHub (at github.com) | 13:42 |
*** rohitksingh1 has joined #timvideos | 14:28 | |
*** rohitksingh has quit IRC | 14:30 | |
cr1901_modern | mithro: Packages arrived | 15:01 |
rohitksingh1 | mithro: ping | 15:17 |
*** aps has quit IRC | 15:55 | |
*** sb0 has quit IRC | 16:18 | |
*** sb0 has joined #timvideos | 16:49 | |
*** CarlFK has quit IRC | 17:29 | |
mithro | rohitksingh1: pong! | 17:48 |
mithro | rohitksingh1: I'm in US/Pacific timezone currently so it might be hard to get IRC working. | 17:49 |
mithro | rohitksingh1: feel free to send me an email | 17:50 |
rohitksingh1 | mithro: oh okay, sure! | 17:51 |
*** CarlFK has joined #timvideos | 18:22 | |
*** ChanServ sets mode: +v CarlFK | 18:22 | |
tumbleweed | CarlFK[m]: want to try another image? | 18:39 |
CarlFK | tumbleweed: sure thing | 18:40 |
tumbleweed | CarlFK: https://corelli.tumbleweed.org.za/stefanor/tmp/atlys-840e634e/ | 18:41 |
tpb | Title: Index of /stefanor/tmp/atlys-840e634e (at corelli.tumbleweed.org.za) | 18:41 |
*** rohitksingh1 has quit IRC | 19:08 | |
CarlFK[m] | weird. things don't work well plugged into a usb3 port. im confused. | 20:04 |
CarlFK[m] | weird. things don't work well plugged into a usb3 port. im confused. | 20:04 |
CarlFK | twice even | 20:10 |
tumbleweed | so confused | 20:10 |
tumbleweed | I have been able to crash USB ports on my machine before, when hacking on hdmi2usb hardware | 20:11 |
tumbleweed | try suspend & resume, or even reboot | 20:11 |
CarlFK | juser@cnt6:~/bin$ dmesg|grep "xr_usb_serial_set_reg Error" |wc | 20:31 |
CarlFK | 34 204 2584 | 20:31 |
CarlFK | I plugged it into usb2 and its working | 20:31 |
CarlFK[m] | tumbleweed (IRC): for testing your stuff, do I still do: /sbin/fxload -t fx2lp -I ~/git/HDMI2USB-firmware-prebuilt/archive/master/v0.0.2-81-gd0d3aea/atlys/hdmi2usb/hdmi2usb.hex -D /dev/hdmi2usb/by-num/atlys0/usbdev | 20:36 |
tumbleweed | CarlFK[m]: yes | 20:48 |
* CarlFK[m] adds 60 - [timvideos, HDMI2USB-firmware-prebuilt] | 20:50 | |
CarlFK[m] | I'm surprised I didn't have that already | 20:51 |
CarlFK[m] | tumbleweed (IRC): um.. in one term I have: BIOS> serialboot | 21:04 |
CarlFK[m] | Booting from serial... ... Telnet listening on port 23 | 21:04 |
CarlFK[m] | RUNTIME> | 21:04 |
CarlFK[m] | http://paste.ubuntu.com/25868063/ | 21:05 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 21:05 |
CarlFK[m] | in a 2nd: juser@cnt6:~/corelli.tumbleweed.org.za/stefanor/tmp/atlys-840e634e$ /sbin/fxload -t fx2lp -I ~/HDMI2USB-firmware-prebuilt/archive/master/v0.0.2-81-gd0d3aea/atlys/hdmi2usb/hdmi2usb.hex -D /dev/hdmi2usb/by-num/atlys0/usbdev | 21:05 |
CarlFK[m] | it just returned to a prompt v.quick. is that expected ? | 21:05 |
CarlFK[m] | tumbleweed (IRC): uptime 44 min!!! | 21:18 |
CarlFK[m] | sorry, all the stuff is on a different floor, so had to run up and down stairs to see it | 21:19 |
* tumbleweed was out for coffee | 21:35 | |
tumbleweed | CarlFK[m]: is the video over USB corrupted? | 21:35 |
CarlFK[m] | um.. I have to look up a viewer :p | 21:46 |
tumbleweed | mplayer tv://1 -tv device=/dev/video1 | 21:46 |
CarlFK[m] | tumbleweed (IRC): looks like it :( | 21:51 |
CarlFK[m] | nothing but this over and over [mjpeg @ 0x7feb57764560]No JPEG data found in image | 21:51 |
CarlFK[m] | Error while decoding frame! | 21:51 |
tumbleweed | CarlFK[m]: no, it should look corrupted but play fine | 21:52 |
tumbleweed | CarlFK[m]: encoder on? | 21:52 |
CarlFK[m] | um.. I have half forgotten how to test, and half just doing whatever you say :p | 21:53 |
tumbleweed | type encoder on, then | 21:53 |
tumbleweed | you reminded me that it was off by default in thepast | 21:53 |
CarlFK[m] | um.. I still have this flterm prompt | 21:54 |
CarlFK[m] | RUNTIME> | 21:54 |
tumbleweed | yeah, in there | 21:54 |
CarlFK[m] | oh, I guess that is my prmpt | 21:54 |
CarlFK[m] | RUNTIME>x c p e | 21:55 |
CarlFK[m] | Connecting pattern to encoder | 21:55 |
CarlFK[m] | that turns it on, right? | 21:55 |
* CarlFK[m] runs down staris again | 21:55 | |
tumbleweed | and encoder on | 21:55 |
CarlFK[m] | damm, didnt' see that in time | 21:56 |
CarlFK[m] | RUNTIME>encoder on | 21:56 |
CarlFK[m] | Enabling encoder | 21:56 |
CarlFK[m] | back down stairs | 21:56 |
* CarlFK[m] uploaded an image: file1509573347605.jpg (6966KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/NcCOdTtGVYRpbOxSgfZJQxQr> | 21:57 | |
* CarlFK[m] uploaded an image: file1509573393539.jpg (7208KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/YofjYPiOcKsjtzagyURAoGGo> | 21:58 | |
CarlFK[m] | yup | 21:58 |
tumbleweed | mithro: that basically means that the atlys has been broken since atlys support was added to nextgen | 22:16 |
mithro | That would have been my guess | 22:17 |
tumbleweed | 840e634e is only about 8 commits after atlys support was added | 22:17 |
tumbleweed | and it built (earlier ones I tried didn't) | 22:17 |
tumbleweed | so, I'm back to being interested about strategies in testing | 22:18 |
tumbleweed | s/testing/debugging/ | 22:19 |
xfxf | Don’t update the gateware? ;) | 22:20 |
* xfxf ducks | 22:20 | |
CarlFK | I don't understand something. it generates a pattern that goes into a frame buffer (is that correct term here?) | 22:27 |
tumbleweed | yes | 22:28 |
CarlFK | that is used to generate? a signal to send to hdmi out - which works fine | 22:28 |
CarlFK | it is also encoded to a jpeg - which I am guessing is where the problem is, but I don't see how this is different between atlys and opsis | 22:29 |
tumbleweed | the problem we are seeing here is cleary in the encoder or USB stack or the interfaceb etween them | 22:29 |
CarlFK | I have trouble understanding how the usb stack could cause problem without making the jpeg invalid | 22:33 |
CarlFK | ARG!!! I made the ansible tweeks to the pxe branch | 22:37 |
CarlFK | on neat. I made a new branch to pu them in. | 22:40 |
CarlFK[m] | and still mucked it up. bunch of mv's ended up in the wrong branch. | 23:01 |
*** CarlFK has quit IRC | 23:38 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!