*** tpb has joined #timvideos | 00:00 | |
cr1901_modern | mithro: https://twitter.com/hmemcpy/status/673834562246606849 | 00:01 |
---|---|---|
*** akhil_singh has joined #timvideos | 00:04 | |
*** shorne has joined #timvideos | 00:05 | |
*** shorne_ has joined #timvideos | 00:05 | |
akhil_singh | mithro: For implementing error detector. I am thinking of something like that the error detector will use the incoming data as seeds to generate the expected patterns in the lock state. After a certain number of error-free cycles, it switches to internal seeds so that incoming erroneous bits will not disturb the error checking of the detector. | 00:05 |
akhil_singh | mithro: Is this correct ? | 00:06 |
mithro | akhil_singh: I think you are talking about a self synchronizing pattern detector? | 00:06 |
mithro | akhil_singh: The most basic pattern should be a predefined like 0101 | 00:07 |
mithro | shorne/shorne_: ping? | 00:08 |
akhil_singh | mithro: Yeah | 00:09 |
akhil_singh | mithro: Also now for pattern generation we can design a state machine which will check for idle condition and pattern generator. So if it is idle then tx_out < sync data otherwise enable pattern generator | 00:11 |
mithro | akhil_singh: The pattern which is being used should be selectable from a bunch of possibilities by the user | 00:11 |
akhil_singh | mithro: Okay | 00:12 |
mithro | akhil_singh: A good part of your proposal should be which patterns should be available by default and why they would be useful | 00:13 |
akhil_singh | mithro: What if we go from idle to pattern_generate state if (rx_freqlock & rx_patterndetect) = 1 . | 00:14 |
mithro | akhil_singh: hrm? | 00:14 |
akhil_singh | mithro: Will imposing this condition help us choose from a bunch of possibilities by the user. | 00:17 |
mithro | akhil_singh: I'm afraid I still don't understand the question | 00:17 |
akhil_singh | mithro: we can set rx_patterndetect=1 only when it is from bunch of possibilities defined by the user. In this correct ? | 00:19 |
mithro | I don't get what rx_patterndetect is? | 00:19 |
cr1901_modern | mithro: Is it possible for you to downgrade the Xilinx dist until the TCL problem goes away? | 00:20 |
mithro | cr1901_modern: So you don't need my change? | 00:21 |
cr1901_modern | mithro: I haven't built anything since you pushed your changes | 00:21 |
akhil_singh | mithro: This is about Pre-define training patterns. | 00:22 |
cr1901_modern | mithro: I'm asking whether you think the TCL error was _also_ due to tarball issues or potentially due to my changes. | 00:22 |
mithro | cr1901_modern: The tcl problem is caused by migen using the tcl if I understand correctly... | 00:22 |
akhil_singh | mithro: So that now we can transmit Pre-defined training patterns and verify for the link to establish word boundary and for the state machine to advance to the link-lock mode. | 00:23 |
cr1901_modern | Okay I'll take a look then. In any case, I'm going to do my work off of new-litex starting now (new-litex-tmp is a dead end) | 00:23 |
mithro | akhil_singh: Yes | 00:24 |
akhil_singh | mithro: Okay. | 00:24 |
akhil_singh | mithro: As you suggested that good part of your proposal should be which patterns should be available by default and why they would be useful. So i will start writing proposal and code for PRBS. Should I do write code for any other sublock now ? | 00:27 |
mithro | akhil_singh: You don't need to write the code - just describe what type / styles of patterns might be useful | 00:28 |
akhil_singh | mithro: Okay | 00:28 |
akhil_singh | mithro: Thanks | 00:28 |
shorne | mithro: hello | 00:29 |
mithro | shorne: How's the gcc porting going? I saw you did some test stuff to get a feel about how to do the port? | 00:30 |
shorne | mithro: yes, its ok, I did a dummy architecture following a tutorial, I think that went well | 00:31 |
shorne | finished that last week, so starting on the or1k port. I did some housekeeping yesterday and update binutils (which I will use for the port) | 00:32 |
shorne | I decided to create a toolchain release with gdb too (https://openrisc.io/2018/03/16/gdbupstreamandreleases) | 00:32 |
mithro | shorne: Cool! | 00:32 |
tpb | Title: GDB Upstreaming and Binaries: 7.2.0 - OpenRISC (at openrisc.io) | 00:32 |
cr1901_modern | mithro: I'd like to get these changes merged in tonight, but right now I'm afk. Be back in an hour hopefully | 00:32 |
cr1901_modern | shorne: Excellent work! Seeing ppl port gcc keeps me motivated to improve | 00:32 |
mithro | shorne: We build them as part of our conda packages -> https://github.com/timvideos/conda-hdmi2usb-packages/tree/master/or1k | 00:33 |
tpb | Title: conda-hdmi2usb-packages/or1k at master · timvideos/conda-hdmi2usb-packages · GitHub (at github.com) | 00:33 |
shorne | mithro: but thats probably the last release, with that version of the gcc port as Ill be working on the rewrite now | 00:33 |
shorne | mithro: yeah, I seem to remember that | 00:33 |
shorne | I create a few different toolchains | 00:33 |
shorne | cr1901_modern: do you have experiecen with gcc backend porting? | 00:34 |
*** akhil_singh has quit IRC | 00:34 | |
cr1901_modern | shorne: Dabbled in it once in 2015 for a deprecated arch. Didn't make it that far. More recently I've been reading about the RTL language | 00:35 |
cr1901_modern | and well, I like it better than LLVM let's just say that :) | 00:35 |
shorne | cr1901_modern: I haven't messed with llvm much but I take its probably a bit easier to write the port | 00:38 |
mithro | cr1901_modern: don't you let whitequark hear you say that :-P | 00:38 |
shorne | but gcc is quite flexible | 00:38 |
shorne | mithro: I will admit I dont know what I am talking about, I never looked much at LLVM code :) | 00:39 |
cr1901_modern | mithro: I'm well aware | 00:39 |
mithro | shorne: I was more talking about cr1901_modern liking gcc better then llvm :-P | 00:39 |
shorne | haha :) | 00:40 |
*** shorne_ has quit IRC | 00:41 | |
shorne | I was logged in 2 times, had trouble with my dsl connection this morning after a router firmware upgrade | 00:42 |
cr1901_modern | mithro: I find s-exprs (RTL) easier to read. I am basing my opinion on aesthetics rather than any design decision concerned with what "physically existing architecture" code is generate | 00:42 |
mithro | shorne: Oh - nolib is a good name for the nostdc binary :-P | 00:42 |
shorne | mithro: I think thats what it was called by crosstool | 00:42 |
shorne | mithro: https://mirrors.edge.kernel.org/pub/tools/crosstool/ | 00:43 |
tpb | Title: Latest cross-compilers (at mirrors.edge.kernel.org) | 00:43 |
shorne | oh wow, arnd has a 7.3.0 toolchain there for openrisc | 00:44 |
shorne | mithro: I cant find reference to 'nolib' there, I dont think I came up with it | 00:46 |
mithro | Is or1k in crosstool-ng? | 00:46 |
shorne | the build script they/we use is here: http://git.infradead.org/users/segher/buildall.git | 00:46 |
tpb | Title: git.infradead.org Git - users/segher/buildall.git/summary (at git.infradead.org) | 00:46 |
shorne | mithro: I dont think crosstool-ng is related, I am just seeing that myself for the first time | 00:47 |
mithro | shorne: crosstool-ng is what conda currently uses to build toolchains | 00:47 |
shorne | mithro: good, maybe I should look into it | 00:48 |
mithro | I won't necessarily say it is _good_ - but the version they use supports building windows/linux/mac host toolchains | 00:48 |
shorne | mithro: I just hacked together this docker image and script to spit out toolchains https://github.com/stffrdhrn/or1k-toolchain-build | 00:49 |
tpb | Title: GitHub - stffrdhrn/or1k-toolchain-build: OpenRISC toolchain build scripts (at github.com) | 00:49 |
shorne | its a bit slow but its repeatable so I use it | 00:49 |
mithro | shorne: Yeah | 00:50 |
mithro | They use this fork -> https://github.com/diorcety/crosstool-ng | 00:51 |
tpb | Title: GitHub - diorcety/crosstool-ng: crosstool-ng fork with the full support of Darwin/Linux/Windows as build and host machine (at github.com) | 00:51 |
shorne | mithro: I see, for the openrisc toolchains I didnt even thing for Darwin/WIndows users | 00:52 |
shorne | probably I should :) | 00:52 |
shorne | mithro: do you find many people actually use the toolchains on windows? I guess Darwin/MacOS would exist | 00:53 |
mithro | shorne: not yet :-P | 00:53 |
shorne | mithro: I need to go do some chores | 00:57 |
mithro | declare -x HAS_ANTARES_THREE_LITTLE_FRONZIES_BADGE="true" | 00:57 |
cr1901_modern | ^The hell? (No I haven't left my keyboard yet) | 00:58 |
mithro | https://travis-ci.org/mithro/HDMI2USB-litex-firmware/jobs/354879709#L3735 | 00:58 |
cr1901_modern | "fronzie" sounds like a branded milkshake or something | 00:59 |
mithro | Hrm, I can't see anything about TCL path | 01:00 |
cr1901_modern | Does the TCL path issues predate new-litex? | 01:01 |
cr1901_modern | Why not restart a build of a prev successful job w/ the new Xilinx tarball | 01:01 |
*** sb0 has quit IRC | 01:05 | |
cr1901_modern | like for instance: https://travis-ci.org/timvideos/HDMI2USB-litex-firmware/builds/352554849?utm_source=github_status&utm_medium=notification | 01:09 |
cr1901_modern | err wait, passibly wrong build | 01:09 |
cr1901_modern | mithro: I'm lost at this point: https://travis-ci.org/mithro/HDMI2USB-litex-firmware/jobs/352554810 This build fails on your branch | 01:13 |
cr1901_modern | https://travis-ci.org/timvideos/HDMI2USB-litex-firmware/builds/352554849 This build is the merge of the build just above and master | 01:14 |
cr1901_modern | Notice that one of them succeeds... why?! T_T Does the timvideos version use a different list of xilinx builds? | 01:14 |
cr1901_modern | s/one of them/the upstream build/ | 01:15 |
mithro | https://www.xilinx.com/support/answers/62945.html | 01:16 |
tpb | Title: AR# 62945: Vivado - When launching Vivado I see: ERROR: [Common 17-656] Repo catalog is not loaded. (at www.xilinx.com) | 01:16 |
mithro | cr1901_modern: Pull requests don't run toolchain | 01:17 |
cr1901_modern | Ahhh | 01:17 |
mithro | s/run toolchain/run using Xilinx toolchain/ | 01:17 |
cr1901_modern | mithro: I want to eliminate the Xilinx tarball as the source of TCL issues before diving into the code. Do you remember the earliest commit where the issue appeared? | 01:20 |
cr1901_modern | s/the issue/the TCL issue/ | 01:21 |
mithro | cr1901_modern: Which issue are you looking into? | 01:22 |
cr1901_modern | mithro: There's more than one now? The one where Vivado can't find it's TCL script | 01:24 |
cr1901_modern | I just want new-litex merged. My PR is starting to block other ppls work, and porting back to migen _should_ have been a simple text substitution. | 01:26 |
mithro | cr1901_modern: I think I've succeeded -> https://travis-ci.org/mithro/HDMI2USB-litex-firmware/jobs/354885761 | 03:40 |
cr1901_modern | mithro: That's wonderful :D! Still worried about why it's required after the migen switchover | 03:43 |
cr1901_modern | (and additionally, my local copy didn't require an env var like that) | 03:43 |
cr1901_modern | I swear I tested the PR before I made it :P | 03:43 |
mithro | cr1901_modern: I'm guessing you have the correct files in ~/.Xilinx | 03:48 |
cr1901_modern | mithro: I do have the correct files under ~/.Xilinx | 03:51 |
cr1901_modern | (8:19:35 PM) mithro: cr1901_modern: The tcl problem is caused by migen using the tcl if I understand correctly... | 03:57 |
cr1901_modern | I think I see now... https://github.com/enjoy-digital/litex/commit/64e4e1ce84daad98d6120f075e27f4a8a5060271#diff-dcda7fe76a0c0fefdcee3d1f29ec4ad4L97 | 03:57 |
tpb | Title: build: merge with migen.build 27beffe7 · enjoy-digital/litex@64e4e1c · GitHub (at github.com) | 03:57 |
mithro | cr1901_modern: Yeah https://github.com/enjoy-digital/litex/commit/64e4e1ce84daad98d6120f075e27f4a8a5060271#diff-dcda7fe76a0c0fefdcee3d1f29ec4ad4R98 | 04:00 |
tpb | Title: build: merge with migen.build 27beffe7 · enjoy-digital/litex@64e4e1c · GitHub (at github.com) | 04:00 |
mithro | gah -> https://travis-ci.org/timvideos/HDMI2USB-litex-firmware/jobs/354907349 | 04:04 |
cr1901_modern | https://github.com/m-labs/migen/commit/f5da0f76237ed1c2fa18dbe2c632b2ca3e6b33c0#diff-c82f6659be7b4b2a98dd93a461295295 Culprit on the Migen side (I wasn't aware of this change in Migen) | 04:13 |
tpb | Title: vivado: create vivado project to enable inspection · m-labs/migen@f5da0f7 · GitHub (at github.com) | 04:13 |
cr1901_modern | (That's why I was so confused about why the swap to migen would change behavior) | 04:13 |
*** shivm has joined #timvideos | 04:27 | |
*** shivm has quit IRC | 04:38 | |
mithro | ERROR:Xst:1817 - Invalid target device 'xc6slx9'. | 04:43 |
cr1901_modern | Spartan 6 never existed, it was a figament of our imaginations :D! (wtaf?!) | 04:45 |
nancy | Help! The file image-gateware+bios+firmware.bin in HDMI2USB-litex-firmware/build/opsis_video_lm32 couldnt be built! | 04:55 |
*** suhdood has joined #timvideos | 05:03 | |
CarlFK | nancy: paste bin the output (using http://paste.ubuntu.com/ again) | 05:16 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 05:16 |
nancy | ok sir | 05:24 |
nancy | https://paste.ubuntu.com/p/yBVsKmK7kw/ | 05:25 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 05:25 |
CarlFK | nancy: sorry, I mean the output from the make command. | 05:44 |
CarlFK | er, wait.. it did build: image-gateware+bios+firmware.bin | 05:44 |
CarlFK | I think you mean it didn't work on my opsis. | 05:45 |
*** suhdood has quit IRC | 05:47 | |
nancy | make gateware ? command | 05:49 |
nancy | Sir , after running make gateware command i performed "make image command" which was not mentioned in repo. And after that image-gateware+bios+firmware.bin came | 05:51 |
CarlFK | cr1901_modern: can you help nancy with https://github.com/timvideos/HDMI2USB-litex-firmware/blob/master/getting-started.md | 05:57 |
tpb | Title: HDMI2USB-litex-firmware/getting-started.md at master · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 05:57 |
CarlFK | that doc may have gotten out of date- im not sure how to debug | 05:59 |
nancy | yes sir | 06:00 |
nancy | After make gateware i had to run make image which was not mentioned in getting-started.md | 06:01 |
cr1901_modern | CarlFK, nancy: I'm going to bed, but I've been having trouble building the images recently as well. I would not be surprised if it's a latent bug. | 06:01 |
CarlFK | cr1901_modern: but... the problems you are having havn't landed in the repo yet, right ? | 06:03 |
CarlFK | or maybe they have, and travis.. never mind. I think I understand enough. | 06:03 |
cr1901_modern | CarlFK: Me being unable to build the images has been a thing even on the main branch if memory serves | 06:03 |
*** rohitksingh has joined #timvideos | 06:05 | |
nancy | sir do we use Firewire ? | 06:11 |
CarlFK | nancy: no | 06:12 |
CarlFK | nancy: git checkout bc7feb5 | 06:17 |
CarlFK | that will go back about 10 commits to a version we used successfully at an event. | 06:18 |
CarlFK | and then gateware command | 06:19 |
nancy | yes sir | 06:25 |
*** rohitksingh has quit IRC | 06:33 | |
nancy | i am figuring it out sir | 06:35 |
*** rohitksingh has joined #timvideos | 06:43 | |
nancy | now it is not entering the (H2U P=opsis) # | 06:49 |
*** rohitksingh has quit IRC | 06:50 | |
CarlFK | nancy: sorry, im not sure why that would happen. | 07:05 |
CarlFK | have a look at the .sh script, it isn't too long | 07:06 |
CarlFK | sadly, I need to get to bed | 07:06 |
*** tsukasa_au has quit IRC | 07:19 | |
*** Ishan_Bansal_ has joined #timvideos | 07:20 | |
*** jimmo_ has joined #timvideos | 07:20 | |
*** thaytan_ has joined #timvideos | 07:22 | |
*** jimmo has quit IRC | 07:22 | |
*** tsukasa_au has joined #timvideos | 07:22 | |
*** Ishan_Bansal has quit IRC | 07:22 | |
*** mcarden_ has quit IRC | 07:22 | |
*** thaytan has quit IRC | 07:22 | |
*** xobs has quit IRC | 07:22 | |
*** tsukasa_au has quit IRC | 07:22 | |
*** tsukasa_au has joined #timvideos | 07:22 | |
*** Ishan_Bansal_ is now known as Ishan_Bansal | 07:22 | |
*** jimmo_ is now known as jimmo | 07:22 | |
*** mcarden has joined #timvideos | 07:22 | |
*** xobs has joined #timvideos | 07:23 | |
*** xfxf_ has joined #timvideos | 07:30 | |
*** tsukasa_au__ has joined #timvideos | 07:30 | |
*** xfxf has quit IRC | 07:32 | |
*** tsukasa_au has quit IRC | 07:32 | |
*** xfxf_ is now known as xfxf | 07:32 | |
*** tsukasa_au__ is now known as tsukasa_au | 07:32 | |
*** shivm has joined #timvideos | 07:56 | |
*** shivm_ has joined #timvideos | 08:18 | |
*** shivm has quit IRC | 08:20 | |
*** shivm__ has joined #timvideos | 08:23 | |
*** shivm_ has quit IRC | 08:26 | |
*** harshgugale has joined #timvideos | 08:42 | |
*** nancy has quit IRC | 09:00 | |
*** shivm__ has quit IRC | 09:38 | |
*** harshgugale has quit IRC | 10:29 | |
*** shivm has joined #timvideos | 10:58 | |
*** sb0 has joined #timvideos | 12:29 | |
*** anant3110 has joined #timvideos | 13:20 | |
CarlFK | me too: 502 Bad Gateway https://members.pumpingstationone.org/mm/member_list/ | 13:55 |
tpb | Title: PS:One Member Site (at members.pumpingstationone.org) | 13:55 |
*** shivm_ has joined #timvideos | 13:58 | |
*** shivm has quit IRC | 14:01 | |
*** shivm__ has joined #timvideos | 14:07 | |
*** anant3110 has quit IRC | 14:41 | |
CarlFK | whoops, wrong #chan... | 15:09 |
*** nancy has joined #timvideos | 15:23 | |
*** nancy has quit IRC | 16:14 | |
*** nancy has joined #timvideos | 16:14 | |
nancy | JOIN | 16:41 |
nancy | @CarlFk sir , kindly review https://paste.ubuntu.com/p/DQ5dwcbRKp/ | 16:44 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 16:44 |
*** shivm__ has quit IRC | 17:02 | |
*** shivm_ has quit IRC | 17:02 | |
*** shivm has joined #timvideos | 17:03 | |
*** shivm_ has joined #timvideos | 17:03 | |
CarlFK | nancy: looking... | 17:04 |
*** Samidhamdhi has joined #timvideos | 17:26 | |
*** Samidhamdhi has quit IRC | 17:32 | |
CarlFK | nancy: do this for me... mv image-gateware+bios+firmware.bin image-gateware+bios+firmware-nancy-v1.bin | 17:34 |
CarlFK | md5sum image-gateware+bios+firmware-nancy-v1.bin | 17:34 |
CarlFK | and email me that file and the md5sum | 17:34 |
*** samishamshi has joined #timvideos | 17:35 | |
CarlFK | the rename is to make sure I don't end up flashing the wrong file, the md5sum is to make sure it isn't corrupted | 17:39 |
nancy | ok sir | 17:41 |
nancy | let me mail | 17:42 |
nancy | yes sir , kindly review | 17:44 |
CarlFK | nancy: carl@nextdayvideo | 17:49 |
CarlFK | er. | 17:49 |
CarlFK | nancy: [email protected] | 17:49 |
CarlFK | no need to fill everyone's inbox with the attachment | 17:49 |
nancy | i am sorry sir ! | 17:49 |
nancy | didnt ask your id earlier | 17:50 |
nancy | i am just sending it again | 17:50 |
CarlFK | no problem - we dont really have a procedure for this kind of thing | 17:52 |
*** samishamshi has quit IRC | 18:03 | |
nancy | yes sir | 18:04 |
CarlFK | nancy: same result: opsis doesn't boot. :( | 18:15 |
CarlFK | nancy: is this the same? a1955f00ccf014c0f071073e6f890430 image-gateware+bios+firmware-nancy-v1.bin | 18:15 |
shivm_ | CarlFK: Hi, Do I need any specialised USB cable to flash .bin on board? | 18:16 |
shivm_ | Currently, I am using just a standard USB cable to flash the board. | 18:17 |
CarlFK | shivm - no - normal usb cable. (two of them.. well 1 if you know which port to use, I just hook up both | 18:17 |
shivm_ | Did my .bin file work? | 18:18 |
CarlFK | yes | 18:18 |
shivm_ | ok thanks | 18:18 |
CarlFK | shivm: do you have a machine you can wipe/install a fresh OS? | 18:18 |
nancy | it is the same | 18:19 |
shivm_ | CarlFK:Nope. | 18:19 |
shivm_ | But I can try setting up things on in one of the computers in the lab. | 18:20 |
shivm_ | What all do I need? | 18:20 |
CarlFK | shivm shucks. we have a pretty good script to : make usb installer - wipe, install debian and the few things needed | 18:20 |
nancy | what might be the probelm sir ? | 18:21 |
CarlFK | shivm: this is 'everything' which includes drive partitions, user names.. and the few things that are relevant to your flashing problem https://github.com/CarlFK/video-stack-deploy/tree/master/scripts | 18:22 |
tpb | Title: video-stack-deploy/scripts at master · CarlFK/video-stack-deploy · GitHub (at github.com) | 18:22 |
shivm_ | CarlFK: thanks a lot!! | 18:23 |
CarlFK | shivm iv you have something like a raspberry pi we could make that work | 18:24 |
shivm_ | Currently, I have access to Arduino UNO. I can ask for Rpi from the lab tomorrow. | 18:25 |
CarlFK | nancy: really I don't know. I have 2 guesses: 1. it isn't the right platform/target. (but it looks like that is right) 2. the version you are trying to build is broken on our side | 18:26 |
nancy | because i deleted and set the environment again today sir | 18:26 |
CarlFK | shivm: needs to be something that will run linux. ideally something that can boot from usb. so an old laptop from 1995 would be ok | 18:27 |
nancy | i just want to bring one thing in notice, that after i followed all instruction as given in getting started.md | 18:28 |
nancy | and after make gateware , make image was followed | 18:28 |
nancy | and than image-gateware+bios+firmware-nancy-v1.bin file was build | 18:29 |
CarlFK | mithro: and cr1901_modern and maybe shivm know more about the build process than I do | 18:31 |
CarlFK | nancy: can you pastebin the output of make gateware ? | 18:34 |
*** samishamshi has joined #timvideos | 18:36 | |
*** nancy has quit IRC | 18:36 | |
*** nancy has joined #timvideos | 18:37 | |
nancy | shivam seeking your help ! | 18:43 |
shivm_ | CarlFK: I will issue an Rpy tomorrow from the lab and then follow the link. Currently, I am in the process of writing proposal for GSOC. | 18:45 |
CarlFK | shivm: you won't be able to boot the pi from usb. you are going to need to put a minimal debian install and then use ansible to set up the things you need | 18:47 |
CarlFK | and you can do all of that on the pi | 18:47 |
CarlFK | nancy: can you pastebin the output of make gateware | 18:47 |
shivm_ | Currently, I have installed Ubuntu 16.04 and Windows 10 on my laptop. | 18:48 |
CarlFK | nancy: I am hoping that will help anyone see what the problem is | 18:48 |
CarlFK | shivm: I use ubuntu too. I use both debian and ubuntu for testing - | 18:49 |
CarlFK | shivm: mithro likes ubuntu, tumbleweed and a few others like debian. for 'this' I think you want as simple as possible, so debian | 18:49 |
shivm_ | I think there is some issue with Ubuntu 16.04. Is there any need to change permissions for serial port? | 18:50 |
shivm_ | I can install debian on Virtual Machine and then check, right? | 18:51 |
nancy | yes i am doing it | 18:52 |
CarlFK | shivm: don't bother with the VM - it can't override whatever the problem is with the host os | 18:53 |
CarlFK | shivm: i suspect udev rules - either one is doing something we dont want, or you need one to do soemthing and it isn't | 18:54 |
CarlFK | this is why starting with a bare system that we know doesn't do anything is a good place to start | 18:54 |
shivm_ | Okay I will try something. | 18:56 |
*** samishamshi has quit IRC | 18:56 | |
nancy | sir in issue #[HDMI2USB] Get Milkymist "Video DJing" functionality on the Numato Opsis board #33, i read a document given | 18:59 |
nancy | i have a query that TimVideos is developing on Option 3: Porting Linux to run on MiSoC based gateware and porting Flickernoise to Linux | 19:00 |
CarlFK | nancy: I think porting Linux has been done, but... I suspect it isn't well documented and no tests. ... | 19:05 |
CarlFK | right now I do most of the testing, and I don't even have .. a procedure | 19:05 |
CarlFK | it would be wonderful if there was something that would flash a file and check for results | 19:06 |
CarlFK | one problem with that is "flash a file" is not reliable. so that would have to be accounted for somehow. | 19:07 |
nancy | the code base for this is in https://github.com/m-labs/linux-milkymist ? | 19:10 |
tpb | Title: GitHub - m-labs/linux-milkymist: Linux kernel with Milkymist support patches (at github.com) | 19:10 |
CarlFK | nancy: I would ignore milkyumist part | 19:12 |
CarlFK | nancy: well, I am assuming there is an easier way to boot Linux on Opsis. but maybe that is the only way. | 19:17 |
*** nancy has quit IRC | 19:19 | |
*** nancy has joined #timvideos | 19:20 | |
CarlFK | shivm: when you plug in / power cycle the atlys, does dmesg show ttyVIZ0 | 19:22 |
shivm_ | Nope | 19:24 |
shivm_ | I tried changing permissions for serial port and tried one or two scripts from internet but nothing worked. | 19:25 |
CarlFK | I bet you don't have the driver installed | 19:25 |
CarlFK | which I think is needed - for sure i is needed to operate, and maybe you need it to flash too | 19:25 |
shivm_ | I were able to load gateware using PROG port but there is some issue with USB/JTAG port | 19:26 |
mithro | I'll be around in about 1 hour | 19:27 |
CarlFK | sudo apt install vizzini-dkms | 19:27 |
nancy | sir should i paste the output of make gateware at ubuntu pastebin ! | 19:27 |
mithro | cr1901_modern: it's merged! | 19:28 |
CarlFK | nancy: yes | 19:34 |
shivm_ | CarlFK: I just installed vizzini-dkms | 19:34 |
shivm_ | Now, what command should I use to see if board is connected or not? | 19:35 |
CarlFK | shivm:power cycele the atlys, dmesg, look for ttyVIZ0 | 19:35 |
shivm_ | Ok, it's there. | 19:35 |
CarlFK | yay | 19:35 |
CarlFK | shivm https://github.com/timvideos/HDMI2USB/wiki/Flashing-Firmware | 19:36 |
tpb | Title: Flashing Firmware · timvideos/HDMI2USB Wiki · GitHub (at github.com) | 19:36 |
CarlFK | hdmi2usb-mode-switch -v --flash-image <your image filename> | 19:38 |
shivm_ | Error: Unknown flash device (ID 0x00ffffff) | 19:39 |
mithro | Morning | 19:41 |
CarlFK | hey mithro | 19:41 |
mithro | I'm around now and have about 20 minutes to help out before I have to get to work on a presentation for work | 19:41 |
nancy | https://paste.ubuntu.com/p/7C4pQr3yD9/ | 19:42 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 19:42 |
nancy | this is the output of make gateware command | 19:42 |
CarlFK | mithro: nancy is building, she sends me a .bin, I flash it to the Opsis, and I can't connect a term (that is the only thing I hav etested..) | 19:42 |
CarlFK | mithro: shivm can build, sends me bin, I flash to my Atlys, it works. *yay* | 19:43 |
mithro | That target is nacy building for? | 19:43 |
mithro | s/That/What/ | 19:43 |
mithro | I can't tell from the pastebin... | 19:44 |
nancy | I am trying to build image-gateware+bios+firmware.bin the file | 19:45 |
shivm_ | mithro: Hi, I am doing some research about generic debug system issue and posted some queries on this thread: https://groups.google.com/forum/#!topic/timvideos/E6XkGPLOVbk. Can you please take a look at it? | 19:45 |
tpb | Title: Google Groups (at groups.google.com) | 19:45 |
CarlFK | mithro: i hope so. should this confirm? strings image-gateware+bios+firmware-nancy-v1.bin | grep opsis | 19:46 |
CarlFK | opsis_eeprom: NACK while writing opsis_eeprom address! | 19:46 |
mithro | shivm_: I'll try to, I managed to reply to some of the emails to the list yesterday | 19:46 |
shivm_ | mithro: thanks a lot!! | 19:48 |
mithro | shivm_: What is your email address? Since you are here in the channel, I'll try and reply to yours first | 19:49 |
mithro | shivm_: Have you been talking to the opendebugsoc people at all? | 19:50 |
nancy | sir , what could be the bugs | 19:52 |
nancy | i have set up the environment twice and did make gateware | 19:52 |
nancy | .bin doesnt work Atlys | 19:53 |
mithro | nancy: Can you explain to me the exact steps you did to set up the environment and build the gateware? Assume I know *nothing* about how to set up the gateware | 19:53 |
nancy | I installed the Xilinix ISE with license in default directory /opt/xilinix | 19:54 |
mithro | nancy: /opt/xilinix or /opt/Xilinx case and spelling matter... | 19:56 |
nancy | and than i ran the bootsrtrap script | 19:56 |
nancy | curl -fsS https://raw.githubusercontent.com/timvideos/HDMI2USB-litex-firmware/master/scripts/bootstrap.sh | bash | 19:56 |
nancy | i could the output as given in getting strted.md | 19:56 |
shivm_ | mithro: my email address: [email protected] | 19:57 |
nancy | than i went to the directory of scripts and ran sudo bash env-env.sh | 19:57 |
mithro | nancy: Couple of quick tips - when you are experiencing bugs the small details **really** matter | 19:59 |
nancy | export PLATFORM =opsis, cd HDMI2USB-litex-firmware , source scripts/enter-env.sh | 19:59 |
mithro | nancy: so please make sure what you are saying here is *exactly* what you did -- all the way down to the white space | 20:00 |
shivm_ | mithro: I am still reading about adv_dbg_sys and have not talked to opendebugsoc people. | 20:00 |
mithro | nancy: This is why we ask people to use a pastebin, because it is much harder to accidentally say something different to what you actually did or saw | 20:01 |
mithro | nancy: Something like a single space at the wrong point can *drastically* affect the results you get | 20:03 |
nancy | yes sir | 20:04 |
nancy | i get it | 20:04 |
mithro | nancy: Great! So can you answer my previous questions with that in mind? | 20:05 |
nancy | i am sorry sir, i thing i have commit some step wrong , while installing . i will try again from step 1 | 20:10 |
CarlFK | nancy: what did you find? | 20:11 |
*** nancy_ has joined #timvideos | 20:17 | |
*** nancy has quit IRC | 20:17 | |
nancy_ | sir , i followed same steps but after make gateware command i ran make image command | 20:17 |
shivm_ | I am getting same error while loading firmware: https://paste.ubuntu.com/p/JkpbgTZxhC/. Any idea? | 20:22 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 20:22 |
CarlFK | nancy_: please pastebin whatever is in your terminal buffer right now so we can see what is going on | 20:24 |
shivm_ | CarlFK: this issue is also listed here: https://github.com/timvideos/HDMI2USB-mode-switch/issues/24 | 20:25 |
tpb | Title: Detect "Error: Unknown flash device (ID 0x00ffffff)" on Digilent Atlys · Issue #24 · timvideos/HDMI2USB-mode-switch · GitHub (at github.com) | 20:25 |
CarlFK | shivm: yay!! that is progress | 20:26 |
CarlFK | shivm: there may be notes on how to fix this.. we have a few pages like this https://github.com/timvideos/HDMI2USB-litex-firmware/blob/master/getting-started.md#common-errors | 20:28 |
tpb | Title: HDMI2USB-litex-firmware/getting-started.md at master · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 20:28 |
nancy_ | https://paste.ubuntu.com/p/CQNKNMCD8m/ | 20:29 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 20:29 |
mithro | sorry, I was just replying to shivm_' | 20:30 |
mithro | sorry, I was just replying to shivm_'s email | 20:30 |
mithro | CarlFK: I know what shivm_'s issue is | 20:31 |
mithro | CarlFK: You are correct it is this iss -> https://github.com/timvideos/HDMI2USB-mode-switch/issues/24 | 20:32 |
tpb | Title: Detect "Error: Unknown flash device (ID 0x00ffffff)" on Digilent Atlys · Issue #24 · timvideos/HDMI2USB-mode-switch · GitHub (at github.com) | 20:32 |
mithro | Dammit past Tim, why didn't you link to the special instructions for the work around :-( | 20:32 |
mithro | CarlFK: https://github.com/timvideos/HDMI2USB/wiki/Digilent-Atlys-Board:-Jumpers-and-Video-Connections | 20:35 |
tpb | Title: Digilent Atlys Board: Jumpers and Video Connections · timvideos/HDMI2USB Wiki · GitHub (at github.com) | 20:35 |
mithro | JP11 is used to disable the FPGA from loading the configuration from the onboard SPI flash. This header may not be populated on your board. During normal operation this should not have a jumper on it. This jumper is only needed when loading the HDMI2USB firmware onto the board permanently for the first time. From the Digilent Atlys manual; | 20:36 |
mithro | An on-board mode jumper (JP11) selects between JTAG/USB and ROM programming modes. If JP11 is not loaded, the FPGA will automatically configure itself from the ROM. If JP11 is loaded, the FPGA will remain idle after power-on until configured from the JTAG or Serial programming port. | 20:36 |
mithro | https://paginas.fe.up.pt/~ee06211/doku.php?id=digilent_atlys#interfacing_with_the_onboard_numonyx_n25q128 | 20:36 |
tpb | Title: digilent_atlys [Generation of Reconfigurable Circuits from Machine Code] (at paginas.fe.up.pt) | 20:36 |
shivm_ | mithro: I did that too. Are there any other configuration jumpers on the board? | 20:37 |
mithro | shivm_: The steps are very fiddly and it's very important to do them in the right order | 20:37 |
shivm_ | mithro: My .bin image is working on the board tested by Carl. | 20:38 |
mithro | shivm_: Great! | 20:39 |
CarlFK | shivm: in case it isn't clear: Atlys board ships with firmware. to update it, you need to fiddle with jumpers | 20:39 |
shivm_ | Ya I know. | 20:39 |
CarlFK | once you get our firmware on it, you no longer need to touch the jumpers | 20:39 |
CarlFK | I forgot all about that | 20:40 |
mithro | shivm_: The issue is that the Atlys ships with firmware which *leaves* the flash into QSPI mode -- when the flash is in QSPI mode openocd / hdmi2usb-mode-switch is unable to program the flash | 20:40 |
shivm_ | So, how can I disable QPSI mode other than using a header on JUMPER J11 | 20:42 |
mithro | nancy_: So you ran "make gateware" to get the output in the above pastebin? | 20:42 |
mithro | nancy_: How did you get the image-gateware+bios+firmware-nancy-v1.bin file? | 20:43 |
nancy_ | make gateware and after that make image | 20:43 |
mithro | nancy_: Can you give me the output of the "make image" command and the output of "git describe; git status"? | 20:44 |
mithro | shivm_: The only way I know is putting a jumper on J11, powering on the board, removing the jumper from J11 while the power is still connected, then programming using mode-switch without power cycling, **then** power cycle... | 20:45 |
*** nancy has joined #timvideos | 20:47 | |
mithro | shivm_: The process is pretty frustrating to get right | 20:47 |
*** nancy_ has quit IRC | 20:47 | |
shivm_ | thanks. Then I will try again later with another board. | 20:47 |
mithro | nancy_: Can you give me the output of the "make image" command and the output of "git describe; git status"? | 20:47 |
mithro | shivm_: I'm pretty sure this will work on your current board | 20:48 |
*** shivm_ has quit IRC | 20:48 | |
*** shivm has quit IRC | 20:48 | |
*** Samishamshi has joined #timvideos | 20:48 | |
nancy | https://paste.ubuntu.com/p/PygRNGDFxJ/ output of make image | 20:49 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 20:49 |
*** samishamshi_ has joined #timvideos | 20:50 | |
mithro | nancy: That all looks good to me! | 20:51 |
mithro | CarlFK: Can you also test the latest hdmi2usb builds from last night? They are probably broken - but if they are not then they should have the edid fix -- archive/master/v0.0.4-190-gcacbf40 | 20:53 |
*** akhil_singh has joined #timvideos | 20:53 | |
*** Samishamshi has quit IRC | 20:53 | |
mithro | CarlFK: FYI - You should **never** put the same name in the "Tag Name" column twice in the spreadsheet here -> https://docs.google.com/spreadsheets/d/14BENNLHrGddCI5ZVyB87Tmwt3fnEcA19S776xIYSpVo/edit#gid=0 | 20:54 |
tpb | Title: HDMI2USB Firmware Versions - Google Sheets (at docs.google.com) | 20:54 |
nancy | yes sir this is all i build https://paste.ubuntu.com/p/xDJzSXnMct/ output of git describe; git status | 20:55 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 20:55 |
*** samishamshi_ has quit IRC | 20:55 | |
akhil_singh | mithro: Is there any memory constraint on how much we can use for bit error tester on FPGA. | 20:56 |
akhil_singh | mithro: because if not then we can store all patterns we generate and do error checking. | 20:57 |
akhil_singh | mithro: or if there is some memory constraint then we will need to do some form of compression for the same. | 20:58 |
mithro | akhil_singh: I don't think the bit patterns will be that big? | 21:00 |
*** nancy_ has joined #timvideos | 21:00 | |
mithro | nancy: That all looks good! | 21:01 |
*** nancy has quit IRC | 21:02 | |
akhil_singh | mithro: what should be the number of bits for each pattern ? | 21:02 |
mithro | akhil_singh: Most patterns should be repeating right? | 21:02 |
akhil_singh | I am thinking of random which will generate from 0 to 2^(n-1) but not in a particular sequence. | 21:03 |
mithro | akhil_singh: I want you to think about why different patterns would be useful -- what is the pattern trying to test | 21:04 |
akhil_singh | mithro: Because how will one know which patterns are important for testing. We need to check for every possible pattern that trans receiver are working fine. Right ? | 21:05 |
mithro | akhil_singh: Do you know much about unit testing / test coverage? | 21:07 |
mithro | akhil_singh: The key to good testing is coming up with tests which represent what you actually want to do with the code or device | 21:07 |
akhil_singh | mithro: I have knowledge of Design Verification and Test of Digital VLSI Designs. | 21:10 |
akhil_singh | mithro: Can you tell what we are trying to do with these high speed trans receivers so that i can think of what patterns might be useful for that case ? | 21:11 |
mithro | akhil_singh: You should try and figure out what we could possibly want first, it is much quicker for me to check a list then try and enumerate them from scratch | 21:13 |
mithro | akhil_singh: I would probably start by looking at what Xilinx advertises the GTPs being useful for | 21:15 |
akhil_singh | mithro: Okay i will look at that and will update you what patterns might be useful. | 21:19 |
mithro | interesting looking device... https://usercontent.irccloud-cdn.com/file/2VP8jHGb/FB_IMG_1521408010111.jpg | 21:24 |
mithro | Got to run - see ya! | 21:29 |
*** akhil_singh has quit IRC | 21:35 | |
CarlFK | nancy_: I am back, so let me know if you have a new image for me to test | 21:52 |
CarlFK | nancy_: also, I'll set up an ftp server that you can send files to, that might be easier than email | 21:53 |
*** techman83 has quit IRC | 22:03 | |
nancy_ | yes sir | 22:04 |
nancy_ | @CarlFK should i mail you | 22:04 |
*** techman83 has joined #timvideos | 22:04 | |
*** ChanServ sets mode: +v techman83 | 22:04 | |
CarlFK | nancy_: no - give me a min | 22:04 |
CarlFK | nancy_: well, yes. but I may have someting else soon | 22:04 |
nancy_ | sir mithro sir checked it and he said everything is fine ! | 22:05 |
mithro | nancy_: I more said that everything looks good and I can't see any errors at first inspection :-P | 22:18 |
mithro | bblr - Have to concentrate on this presentation.... | 22:20 |
*** shorne has quit IRC | 22:38 | |
*** shorne has joined #timvideos | 22:39 | |
*** NIIX0Bavelardi has joined #timvideos | 23:26 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!