*** tpb has joined #timvideos | 00:00 | |
cr1901_modern | mithro: Litex now expects you import migen as of a few days ago. Want me to take a shot at porting hdmi2usb/litex-buildenv to use a more recent litex? | 00:19 |
---|---|---|
cr1901_modern | It should be as simple as a sed expression, adding migen to conda builds, and then waiting 10 hours for the build | 00:19 |
CarlFK[m] | cr1901_modern (IRC): im sure the answer is "yes" | 00:21 |
cr1901_modern | CarlFK[m]: Okay, fair enough. If mithro says he doesn't want to upgrade, I'll blame you :) | 00:22 |
CarlFK[m] | pfft - that would be music to my ears :p | 00:23 |
CarlFK[m] | we don't exactly agree on .. um.. release management | 00:23 |
CarlFK | HDMI-3 disconnected (normal left inverted right x axis y axis) | 00:31 |
CarlFK | is not. | 00:31 |
CarlFK | oh right... edid | 00:32 |
CarlFK | that's what I was testing for | 00:32 |
CarlFK | xrandr ... HDMI-3 disconnected | 00:35 |
CarlFK | how do I tell it "no really, send data..." ? | 00:35 |
tumbleweed | sometimes just running xrandr is enough to re-detect the display | 00:36 |
CarlFK | juser@cnt6:~$ watch -ds xrandr ... no help | 00:38 |
CarlFK | http://paste.ubuntu.com/p/HrSSKB2Jy5/ xrandr with a monitor hooked up | 00:42 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 00:42 |
CarlFK | same cables, replaced the opsis with a coupler | 00:42 |
tumbleweed | is the input on the opsis enabled? | 00:45 |
CarlFK | yes | 00:50 |
CarlFK | H2U 01:26:20>d input1 on ... HDMI Input 1 debug on - nothing | 00:51 |
CarlFK | EDID primary mode: [email protected] | 00:51 |
CarlFK | EDID secondary mode: [email protected] | 00:51 |
tumbleweed | bad firmware then? | 00:53 |
CarlFK | HDMI-3 disconnected (normal left inverted right x axis y axis) | 00:57 |
CarlFK | 1280x720_60.00 59.86 | 00:57 |
CarlFK | winning. | 00:57 |
CarlFK | edid might be wonky | 00:57 |
CarlFK | do you know how I dump it | 00:57 |
CarlFK | hmm.. not sure im winning | 00:58 |
CarlFK | "disconnected" | 00:58 |
CarlFK | it works if I send it a test pattern from the exatron vga box | 00:59 |
tumbleweed | xrandr --verbose will dump it | 00:59 |
CarlFK | hmm, not if it doesn't think something is hooked up. cuz maybe no edid | 01:02 |
*** futarisIRCcloud has joined #timvideos | 01:02 | |
CarlFK | ok, plugged in my laptop - "nothing" | 01:03 |
CarlFK | twist laptop - monitor HDMI1 connected (normal left inverted right x axis y axis) | 01:04 |
CarlFK | 1920x1080 60.00 + | 01:04 |
CarlFK | swap montior for opsis, HDMI1 disconnected (normal left inverted right x axis y axis) | 01:05 |
tumbleweed | you are using input1? (labelled input2 on the board) | 01:05 |
CarlFK | yes - both | 01:06 |
CarlFK | I kinda lost track of what I was testing for .. I am going to try LCA builds again | 01:07 |
CarlFK[m] | ruh roe | 01:21 |
CarlFK[m] | v0.0.4-114-ge423776 HDMI-3 connected 1280x720+0+0 | 01:21 |
CarlFK[m] | im trying the 8 versions between lca and now | 02:07 |
CarlFK[m] | v0.0.4-142-gfe99d5b looks like when edid broke | 02:25 |
CarlFK | v0.0.4-122-gbc7feb5 is ok | 02:26 |
CarlFK | ha! seems I can get it to test itself | 02:39 |
CarlFK | H2U 00:20:59>d edid output0 | 02:39 |
CarlFK | FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ... | 02:39 |
CarlFK | Checksum ERROR in EDID block 0 | 02:39 |
CarlFK | looped the cable. | 02:39 |
CarlFK | http://paste.ubuntu.com/p/SSYwwdprQP/ | 02:43 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 02:43 |
*** sb0_ has quit IRC | 02:58 | |
*** sb0 has quit IRC | 03:42 | |
*** rohitksingh_work has joined #timvideos | 03:43 | |
*** nancy has joined #timvideos | 05:45 | |
*** nancy has quit IRC | 06:14 | |
*** futarisIRCcloud has quit IRC | 09:01 | |
*** sb0 has joined #timvideos | 09:49 | |
*** CarlFK has quit IRC | 10:07 | |
*** sb0 has quit IRC | 10:26 | |
*** f15h has joined #timvideos | 10:40 | |
*** shorne has quit IRC | 11:22 | |
*** shorne has joined #timvideos | 11:29 | |
*** shorne has quit IRC | 11:49 | |
*** shorne has joined #timvideos | 11:52 | |
*** f15h has quit IRC | 11:54 | |
*** rohitksingh_work has quit IRC | 12:31 | |
*** f15h has joined #timvideos | 12:40 | |
*** CarlFK has joined #timvideos | 12:50 | |
*** ChanServ sets mode: +v CarlFK | 12:50 | |
*** CarlFK has quit IRC | 12:54 | |
shivm28 | Hi everyone, I was following this link to build qemu outside HDMI2USB-litex-firmware. I think I have completed all the steps and the build is complete but I am not sure how to test it. Any help is appreciated. | 12:56 |
shivm28 | The link : https://github.com/timvideos/qemu-litex | 12:56 |
tpb | Title: GitHub - timvideos/qemu-litex (at github.com) | 12:56 |
*** samsagaz_ has joined #timvideos | 13:19 | |
*** rohitksingh has joined #timvideos | 13:36 | |
*** samsagaz_ has quit IRC | 13:45 | |
*** samsagaz_ has joined #timvideos | 13:45 | |
*** rohitksingh has quit IRC | 14:02 | |
*** rohitksingh has joined #timvideos | 14:04 | |
*** rohitksingh has quit IRC | 14:36 | |
*** CarlFK has joined #timvideos | 14:50 | |
*** ChanServ sets mode: +v CarlFK | 14:50 | |
*** Kripton has quit IRC | 15:17 | |
*** Kripton has joined #timvideos | 15:18 | |
*** samsagaz_ has quit IRC | 15:26 | |
*** sb0 has joined #timvideos | 15:26 | |
*** f15h has quit IRC | 16:05 | |
CarlFK[m] | shivm28 (IRC): im guessing, but I think you should be able to see a prompt and issue the help and version command | 16:10 |
CarlFK[m] | shivm28 (IRC): this is me talking to the real hardware http://paste.ubuntu.com/p/RCtmJs3Cz5/ | 16:11 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 16:11 |
*** rohitksingh has joined #timvideos | 16:20 | |
*** mcarden_ has joined #timvideos | 16:22 | |
*** shenki_ has joined #timvideos | 16:22 | |
*** ChanServ sets mode: +v shenki_ | 16:22 | |
*** mcarden has quit IRC | 16:27 | |
*** shenki has quit IRC | 16:27 | |
*** Kripton has quit IRC | 16:30 | |
*** Kripton has joined #timvideos | 16:33 | |
shivm28 | I am getting these options after building qemu. https://usercontent.irccloud-cdn.com/file/E7B8r7fe/test1.png | 17:15 |
CarlFK | shivm28: pretty please cut/paste text into a "paste bin" like http://paste.ubuntu.com | 17:18 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 17:18 |
shivm28 | https://paste.ubuntu.com/p/GCmR8VSNXk/ | 17:20 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 17:20 |
CarlFK | thanks - try them both. I suspect the first one at line 5 is what you want | 17:21 |
shivm28 | I tried every command. This is what I am getting: https://paste.ubuntu.com/p/t7Cs9fRTPh/ | 17:33 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 17:33 |
*** shenki_ has quit IRC | 17:49 | |
*** shenki has joined #timvideos | 17:51 | |
*** ChanServ sets mode: +v shenki | 17:51 | |
CarlFK[m] | shivm28 (IRC): "You didn't give QEMU a kernel or BIOS filename at all" thats what I see | 17:57 |
CarlFK[m] | totally guessing, but wget/try this https://github.com/timvideos/HDMI2USB-firmware-prebuilt/blob/master/archive/master/v0.0.4-122-gbc7feb5/mimasv2/base/lm32/software/bios/bios.bin | 18:00 |
tpb | Title: HDMI2USB-firmware-prebuilt/bios.bin at master · timvideos/HDMI2USB-firmware-prebuilt · GitHub (at github.com) | 18:00 |
CarlFK[m] | 122 is the version I am working on today, so I have some assurance it works | 18:00 |
shivm28 | Where should I put the path of BIOS file? Sorry for such trivial questions. | 18:17 |
CarlFK[m] | shivm28 (IRC): im guessing append it to the end of the command | 18:19 |
CarlFK[m] | build/lm32-softmmu/qemu-system-lm32 -nographic -nodefaults bios.bin (https://github.com/timvideos/HDMI2USB-firmware-prebuilt/blob/master/archive/master/v0.0.4-122-gbc7feb5/mimasv2/base/lm32/software/bios/bios.bin) | 18:19 |
tpb | Title: HDMI2USB-firmware-prebuilt/bios.bin at master · timvideos/HDMI2USB-firmware-prebuilt · GitHub (at github.com) | 18:19 |
*** rohitksingh has quit IRC | 18:20 | |
CarlFK[m] | sorry bout the url - cut/paste fail. | 18:21 |
*** rohitksingh has joined #timvideos | 18:26 | |
shivm28 | I tried it but it is not working. I will give it another try from the beginning. | 18:39 |
CarlFK[m] | shivm28 (IRC): show "not working" | 18:41 |
shivm28 | https://paste.ubuntu.com/p/bCTSvcrwvY/ | 18:44 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 18:44 |
CarlFK[m] | 'bios.bin': No such file or directory | 18:44 |
CarlFK[m] | Is that file in the current dir? | 18:45 |
shivm28 | yes | 18:45 |
shivm28 | https://paste.ubuntu.com/p/Vy9prqcQKW/ | 18:46 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 18:46 |
shivm28 | Line 6 | 18:46 |
CarlFK[m] | ~/gsoc/qemu-litex$ | 18:46 |
CarlFK[m] | shivm@shivm-Lenovo-G50-45:~/gsoc/qemu-litex/build/lm32-softmmu$ ls | 18:47 |
CarlFK[m] | different dirs | 18:47 |
*** rohitksingh has quit IRC | 18:47 | |
CarlFK[m] | build/lm32-softmmu/qemu-system-lm32 -nographic -nodefaults ~/gsoc/qemu-litex/build/lm32-softmmu/bios.bin (https://github.com/timvideos/HDMI2USB-firmware-prebuilt/blob/master/archive/master/v0.0.4-122-gbc7feb5/mimasv2/base/lm32/software/bios/bios.bin) | 18:48 |
tpb | Title: HDMI2USB-firmware-prebuilt/bios.bin at master · timvideos/HDMI2USB-firmware-prebuilt · GitHub (at github.com) | 18:48 |
CarlFK[m] | bb in 20 min - getting lunch | 18:48 |
CarlFK | back | 19:12 |
shivm28 | https://paste.ubuntu.com/p/Jzz59KWMkX/ | 19:13 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 19:13 |
shivm28 | I paste the file in the current directory. Sorry for the previous error. | 19:14 |
shivm28 | https://www.irccloud.com/pastebin/97DMrPWo/ | 19:17 |
tpb | Title: Snippet | IRCCloud (at www.irccloud.com) | 19:17 |
CarlFK | shivm28: hmm.. I think you are close. my next guess: qemu thinks you are passing a disk image, and it is trying to boot from the boot sector, but the .bin is something else. | 19:18 |
CarlFK | try -kernel bios.bin | 19:19 |
CarlFK | I have no idea what format bios.bin is, but I am sure it isn't a disk image. | 19:19 |
CarlFK | hopefully someone here who knows more about this can help better than I am | 19:20 |
shivm28 | I will try to build QEMU for Raspberry Pi from their repo and then will come back to it. | 19:25 |
shivm28 | Thanks a lot for the help. | 19:25 |
CarlFK[m] | for Raspberry Pi ? | 19:26 |
CarlFK[m] | I would look around the scripts and --help to see what --options are used. | 19:27 |
shivm28 | I mean using this website: https://www.qemu.org/ | 19:28 |
tpb | Title: QEMU (at www.qemu.org) | 19:28 |
CarlFK[m] | that won't help much with this project | 19:29 |
shivm28 | Oh ok. | 19:30 |
shivm28 | This is an example for invokation from the documentation:qemu-system-i386 linux.img | 19:30 |
shivm28 | Can I know what is the need of an image file? | 19:31 |
shivm28 | Section 2.3 on this page: https://qemu.weilnetz.de/doc/qemu-doc.html#sec_005finvocation | 19:31 |
tpb | Title: QEMU version 2.10.50 User Documentation (at qemu.weilnetz.de) | 19:31 |
CarlFK | I don't really know any useful details | 19:33 |
CarlFK | I mostly understand a disk image file and how that works. but I am very sure that doesnt help | 19:33 |
CarlFK | I also know a bit about pxe booting, which also dosn't help | 19:34 |
CarlFK | and a bit about running elf binaries, and bash shell scripts and python commands in the python vm. more things that don't help. | 19:34 |
shivm28 | I think image file is for running that particular operating system on the arm core of the fpga | 19:37 |
CarlFK | that sounds about right - but not sure it is "arm" ? | 19:38 |
shivm28 | Do we need Linux or any other operating system on the fpga for this project?? | 19:40 |
CarlFK[m] | yes and no. currently no and it works pretty well. | 19:41 |
CarlFK[m] | but it would be better if it was running under linux - then we could use the linux network stack to work with the eathernet port (I think) | 19:42 |
CarlFK[m] | 3 years ago we didn't even have a cpu - it was all just Verilog - it kinda worked, but not very well and was hard to debug/maintain | 19:43 |
shivm28 | Wow. So much progress in such a short span of time. | 19:45 |
shivm28 | I think running Linux on board is also one of the projects | 19:48 |
CarlFK[m] | yes | 19:49 |
CarlFK[m] | but it isn't needed today | 19:50 |
CarlFK[m] | tumbleweed (IRC): TypeError: select_for_update() got an unexpected keyword argument 'skip_locked' | 20:09 |
CarlFK[m] | ep = Episode.objects.select_for_update(skip_locked=True) | 20:09 |
CarlFK[m] | I bet I need a different django - any idea what ver? | 20:09 |
tumbleweed | CarlFK[m]: it was added in 1.11 | 20:11 |
CarlFK[m] | Successfully installed django-1.11 | 20:11 |
CarlFK[m] | yay! | 20:12 |
CarlFK[m] | I wish your next problem is resolved this quickly and definitively | 20:12 |
*** Anonymous has joined #timvideos | 20:13 | |
*** Anonymous is now known as Guest42212 | 20:14 | |
*** Guest42212 has quit IRC | 20:16 | |
*** miselin2 is now known as pcmattman | 21:43 | |
*** pcmattman has joined #timvideos | 21:43 | |
*** pcmattman is now known as miselin | 21:43 | |
*** miselin has left #timvideos | 21:43 | |
*** CarlFK has quit IRC | 22:17 | |
cr1901_modern | _florent_: https://github.com/enjoy-digital/litex/commit/2ff50a8882a82e0c2f159db7f1ba2f8a499e604f#diff-dcda7fe76a0c0fefdcee3d1f29ec4ad4L182 This change broke my build. | 22:40 |
cr1901_modern | Since the Vivado backend doesn't meaningfully support the "source" option at present, shouldn't the default be to look in /opt/Xilinx/Vivado | 22:40 |
tpb | Title: build: fix merge · enjoy-digital/litex@2ff50a8 · GitHub (at github.com) | 22:40 |
cr1901_modern | That way I don't have to specify the toolchain path each time | 22:40 |
_florent_ | cr1901_modern: ok thanks, i'll fix that | 22:45 |
cr1901_modern | _florent_: Tyvm | 22:55 |
cr1901_modern | mithro: So, I have good news- I ported litex-buildenv to a new litex version (which opts to use migen for fhdl) for you. But I ran into a snag at the end: https://imgur.com/FP63SWx | 22:56 |
tpb | Title: Imgur: The magic of the Internet (at imgur.com) | 22:56 |
cr1901_modern | What might be causing this? | 22:56 |
mithro | cr1901_modern / _florent_: That change you are reverting there should be send upstream to misoc | 22:57 |
cr1901_modern | _florent_: That actually didn't solve my problem, I apologize. | 23:01 |
cr1901_modern | Looks like the issue is elsewhere | 23:01 |
cr1901_modern | Well the issue isn't in master... | 23:20 |
*** xfxf has quit IRC | 23:27 | |
*** CARAM___ has quit IRC | 23:28 | |
*** kierank has quit IRC | 23:29 | |
*** xfxf has joined #timvideos | 23:29 | |
*** CARAM___ has joined #timvideos | 23:30 | |
*** CARAM___ has quit IRC | 23:30 | |
*** kierank has joined #timvideos | 23:31 | |
*** CARAM___ has joined #timvideos | 23:31 | |
*** CARAM___ has joined #timvideos | 23:32 | |
cr1901_modern | mithro: The culprit to my path woes is this line | 23:45 |
cr1901_modern | https://github.com/timvideos/litex-buildenv/blob/master/scripts/enter-env.sh#L110 | 23:45 |
tpb | Title: litex-buildenv/enter-env.sh at master · timvideos/litex-buildenv · GitHub (at github.com) | 23:45 |
cr1901_modern | Litex is starting to match migen behavior now, right? | 23:47 |
cr1901_modern | Migen's behavior to extract the Xilinx build directory is to search for version numbers in the supplied toolchain_path directory. | 23:47 |
cr1901_modern | If it doesn't find a version number, it will bomb: https://github.com/m-labs/migen/blob/master/migen/build/tools.py#L36 | 23:47 |
tpb | Title: migen/tools.py at master · m-labs/migen · GitHub (at github.com) | 23:47 |
cr1901_modern | Xilinx ISE stores the version numbers in /opt/Xilinx, e.g. /opt/Xilinx/14.7 | 23:48 |
cr1901_modern | Xilinx Vivado stores version numbers in /opt/Xilinx/Vivado, e.g. /opt/Xilinx/Vivado/2017.4.1 | 23:48 |
cr1901_modern | Meaning now that litex mirrors migen behavior, it's not possible to use a single directory to point to both toolchains | 23:49 |
cr1901_modern | mithro _florent_: What should be done about this? litex-buildenv relies on both ISE and Vivado being accessible from the same directory: https://github.com/timvideos/litex-buildenv/blob/master/scripts/download-env.sh#L107 | 23:55 |
tpb | Title: litex-buildenv/download-env.sh at master · timvideos/litex-buildenv · GitHub (at github.com) | 23:55 |
cr1901_modern | In any case, porting to the most recent litex is stalled until we can figure out what to do here | 23:57 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!