*** tpb has joined #timvideos | 00:00 | |
futarisIRCcloud | ewen & mithro: http://langster1980.blogspot.com.au/2016/06/linux-on-mimas-v2.html shows how to upgrade the mimasv2 PIC hex to run the ttyUSB at 115200. As mentioned on that site, I haven't seen an Original ttyUSB @ 19200 firmware anywhere. | 00:01 |
---|---|---|
mithro | futarisIRCcloud: https://github.com/jimmo/numato-mimasv2-pic-firmware | 00:04 |
tpb | Title: GitHub - jimmo/numato-mimasv2-pic-firmware (at github.com) | 00:04 |
mithro | jimmo: ^ | 00:04 |
cr1901_modern | futarisIRCcloud: the original firmware is closed source AFAIK | 00:09 |
futarisIRCcloud | mithro: Cheers. Looks different to the other firmware, but it should work with landley's j-core linux too. | 00:12 |
futarisIRCcloud | NB, http://lists.j-core.org/pipermail/j-core/2018-February/000787.html - Cedric Bail is looking to get qemu running for that. | 00:13 |
tpb | Title: [J-core] Development board/target (at lists.j-core.org) | 00:13 |
*** gsmalik has quit IRC | 01:50 | |
*** gsmalik has joined #timvideos | 01:50 | |
*** gsmalik has joined #timvideos | 01:59 | |
gsmalik | Hey everyone. So I am setting up the LiteX build environment. So far so good. The slight problem is that I have my vivado installed in a separate linux partition for binaries and installed software(I have some serious OCD about how my linux env is set up). Obviously since the litex build looks for Vivado in /opt/Xilinx, I have 2 options : | 02:06 |
gsmalik | 1.) Resetup my entire linux paritions (takes time) | 02:06 |
gsmalik | 2.) Softlink the /opt/Xilinx to my installation path | 02:06 |
gsmalik | Do you think option number (2) is a good idea and wont cause my head/heart aches later on? | 02:07 |
futarisIRCcloud | gsmalik: https://github.com/timvideos/litex-buildenv/blob/master/scripts/enter-env.sh#L94 - You should just be able to export XILINX_DIR ... | 02:28 |
tpb | Title: litex-buildenv/enter-env.sh at master · timvideos/litex-buildenv · GitHub (at github.com) | 02:28 |
gsmalik | futarisIRCcloud: Thanks. I was able to successfully build the gateware by soft linking. But what you suggested is definitely better, assuming this is the only place the xilinx path is set. Maybe ill do a quick grep and confirm. Thanks! | 02:36 |
gsmalik | I have made a suggestion if someone else gets the error I was getting and suggested the solution in page 4 of the linux.conf.au 2018 doc. | 02:37 |
*** swalladge has quit IRC | 02:41 | |
*** swalladge has joined #timvideos | 02:46 | |
*** rohitksingh has joined #timvideos | 03:04 | |
*** rohitksingh_work has joined #timvideos | 03:46 | |
*** rohitksingh1 has joined #timvideos | 04:28 | |
*** rohitksingh has quit IRC | 04:30 | |
gsmalik | I have completed the following today : | 05:35 |
gsmalik | 1.) I have finished reading and executing everything in the doc before the actual hardware play. I will do that from my lab tomorrow once I connect the atlys board to my pc. The following were some of the issues I faced and improvements: | 05:35 |
gsmalik | --> Xilinx path can actually be picked up automatically by "which vivado". Helpful if not installed at default directory | 05:35 |
gsmalik | --> While running the test firmware inside QEMU, my telnet malfunctioned. While etherbone and telnet were listening perfectly, I was not able to do anything at the telnet prompt. Any key I pressed would cause ASCII characters to show up. Even pressing "Ctrl+]" did not work. I am not too sre of whats happening here. I did read a lot on stack overflow about this being an encoding issue between telnet and my terminal. I | 05:35 |
gsmalik | will try it on my lab machine tomorrow and see what happens there. If the issue persists, Ill highlight it here | 05:35 |
gsmalik | 2.) Finished the videos about HDMI2USB on YouTube | 05:35 |
gsmalik | 3.) I believe I am ready to solve my first bug | 05:36 |
gsmalik | mithro: Could you assign me the bug "Replace the version_data.sh shell script with a Python script". This will give me some hands on exprience with python which will be great. Once I solve this, I might look at some fpga related bugs | 05:37 |
cr1901_modern | I'll make sure your version_data.py script works on Windoze when I get the chance | 06:17 |
gsmalik | cool. I am not that great on python. So a great chance for me to get some learning with this | 06:23 |
gsmalik | Is it OK if I use pygithub3 library to check commit version, branch etc? I do not want to use OS function calls within python because that would constrain me to a single OS again.. | 06:31 |
cr1901_modern | gsmalik: You don't have to use OS function calls. Python has a subprocess module | 06:36 |
cr1901_modern | https://docs.python.org/3/library/subprocess.html | 06:37 |
tpb | Title: 17.5. subprocess — Subprocess management Python 3.6.4 documentation (at docs.python.org) | 06:37 |
gsmalik | cr1901_modern: Thanks. I understand now. Would it be safe to say that the command "git log --format="%H" -n 1" works the same way across OS's? Sorry I have not used windows since more than 6 years. So dont know what the git commands are. Although I could check :P | 06:53 |
cr1901_modern | gsmalik: Yes it _should_ work just fine | 06:53 |
cr1901_modern | gsmalik: For all intents and purposes the git provided by Windows is the same as the git provided by *nix | 06:54 |
gsmalik | Cool. Thanks. I really appreciate the help :) | 06:55 |
*** Kripton has quit IRC | 07:27 | |
*** Kripton has joined #timvideos | 07:28 | |
gsmalik | Quick question. UPLATFORM="$(echo $PLATFORM | tr '[:lower:]' '[:upper:]')". Where is $PLATFORM coming from? When I run the version_data.sh standalone, the $TARGET and $PLATFORM come up empty | 07:29 |
gsmalik | grep has not helped here | 07:30 |
cr1901_modern | gsmalik: You are expected to set PLATFORM yourself | 07:32 |
cr1901_modern | PLATFORM=mimasv2, for instance. Look underneath the "platforms" directory | 07:33 |
cr1901_modern | you also need a TARGET (set to "base" for now) and CPU (set to "lm32" for now) | 07:34 |
gsmalik | Ok. If I understand this correctly, PLATFORM, TARGET, CPU are all environment variables exported to all the child processes in the active shell. Correct? :) | 07:39 |
*** f15h has joined #timvideos | 07:41 | |
cr1901_modern | gsmalik: Correct | 07:43 |
gsmalik | cr1901_modern: Great. Thanks. So this command should be good enough to extract the necessary information : print os.environ['PLATFORM'] | 07:47 |
cr1901_modern | I'd assign it to a string, but yes: | 07:50 |
cr1901_modern | platform = os.environ["PLATFORM"] | 07:50 |
cr1901_modern | (also, install flake8 to lint your Python code) | 07:50 |
cr1901_modern | gsmalik: I need to go to bed for tonight unfortunately :( | 07:52 |
gsmalik | cr1901_modern: Thanks for all the help and patience. Have a good night :) | 07:53 |
gsmalik | Thanks to you I should be able to push the code out in some time. | 07:53 |
cr1901_modern | Yw... good luck! | 07:53 |
gsmalik | Calling it a day as well. Its 3 AM in Canada here. I am nearly 80% done with the python script. So once I am done with my lab work I will push these changes. | 08:10 |
*** futarisIRCcloud has quit IRC | 10:05 | |
*** Sigyn has quit IRC | 10:45 | |
*** Sigyn has joined #timvideos | 10:46 | |
*** f15h has quit IRC | 10:46 | |
shorne | mithro: I am happy to help on mentoring, I am also signed up for openrisc GCC rewrite mentoring (if it gets chosen) | 11:33 |
*** fumblehool has joined #timvideos | 11:37 | |
*** f15h has joined #timvideos | 11:55 | |
*** f15h has quit IRC | 12:16 | |
*** futarisIRCcloud has joined #timvideos | 12:22 | |
*** rohitksingh_work has quit IRC | 12:39 | |
*** rohitksingh has joined #timvideos | 13:15 | |
*** f15h has joined #timvideos | 13:23 | |
felix_ | hmm, vivado is only in the path (thus can be found by "which vivado") when the settings file is already sourced, but if i remember correctly some things broke when i sourced that file in the shell before running the build thing (not sure though if this was with litex directly or with the wrapper) | 14:02 |
*** Joelw_ has quit IRC | 14:51 | |
*** Joelw has joined #timvideos | 14:51 | |
CarlFK[m] | ottingerg (are you here?) https://github.com/timvideos/getting-started/issues/46 says: More technical details at [Link to bug in the ](http://github.com/timvideos/{{reference.repo}}/issues/{{reference.number}}) | 15:07 |
tpb | Title: [VideoBrick] capture HDMI video and audio at multiple resolutions · Issue #46 · timvideos/getting-started · GitHub (at github.com) | 15:07 |
CarlFK[m] | Potential Mentors: @{{github mentor username}} | 15:07 |
f15h | CarlFk[m]: thats me | 15:16 |
f15h | I would be interessted to restart the videobrick project as GSOC student .. and i am looking of a potintial mentor | 15:17 |
f15h | for | 15:17 |
CarlFK | f15h: neat - fix yo landing page ;) (or whatever you want to cal that) | 15:18 |
f15h | CarlFK: I don't have the permissions to set labels. Do I? | 15:22 |
CarlFK | don't know about lables - maybe I can set them | 15:23 |
CarlFK | in 20 min - walking out the door to meet a friend at a coffee shop | 15:24 |
CarlFK | {{reference.repo}}/issues/{{reference.number}} - I was thinking you need to fill that in manually | 15:24 |
CarlFK | bb in 20 | 15:24 |
f15h | ok | 15:25 |
*** CarlFK has quit IRC | 15:28 | |
mithro | shorne: I would be more than happy to have a student work on gcc for or1k if you can find a good student for that | 15:50 |
*** fumblehool has quit IRC | 15:55 | |
*** daveshah has joined #timvideos | 16:06 | |
*** ivodd has quit IRC | 16:21 | |
*** ivodd has joined #timvideos | 16:21 | |
*** f15h has left #timvideos | 16:22 | |
*** f15h has joined #timvideos | 16:23 | |
*** CarlFK has joined #timvideos | 16:35 | |
*** ChanServ sets mode: +v CarlFK | 16:35 | |
*** suhdood has joined #timvideos | 17:05 | |
*** f15h has quit IRC | 17:18 | |
*** f15h has joined #timvideos | 17:19 | |
*** rohitksingh1 has quit IRC | 17:26 | |
*** daveshah has quit IRC | 17:34 | |
*** daveshah_ has joined #timvideos | 17:34 | |
*** daveshah_ is now known as daveshah | 17:34 | |
*** suhdood_ has joined #timvideos | 18:22 | |
*** suhdood has quit IRC | 18:25 | |
*** suhdood_ has quit IRC | 18:26 | |
*** CarlFK has quit IRC | 19:10 | |
*** rohitksingh has quit IRC | 19:14 | |
*** ocean has joined #timvideos | 19:29 | |
*** daveshah has quit IRC | 19:50 | |
*** daveshah has joined #timvideos | 19:52 | |
*** f15h has quit IRC | 20:13 | |
*** f15h has joined #timvideos | 20:54 | |
*** f15h has quit IRC | 22:28 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!