*** tpb has joined #timvideos | 00:00 | |
mithro | tumbleweed: The most likely problem is the fact the internal system clock in the Atlys runs at a different speed than the Opsis | 01:01 |
---|---|---|
mithro | tumbleweed: I think we are at the "beg _florent_" stage of testing :-P | 01:01 |
tumbleweed | :P | 01:11 |
*** CarlFK has joined #timvideos | 01:57 | |
*** ChanServ sets mode: +v CarlFK | 01:57 | |
CarlFK[m] | mithro (IRC): do you have the bunny blog thing you showed us handy? | 01:59 |
mithro | https://www.bunniestudios.com/blog/?p=5018 | 02:06 |
CarlFK | thanks - turns out the guy sitting here at ps1 showing me Vivado | 02:15 |
CarlFK[m] | tumbleweed (IRC): mithro (IRC) is there anything I can do to help with my Atlys in the next few hours? | 02:22 |
tumbleweed | CarlFK[m]: nope | 02:42 |
*** rohitksingh_work has joined #timvideos | 04:02 | |
*** CarlFK has quit IRC | 04:40 | |
shenki | mithro: what settings (env variables) should I use for targetting the arty? | 05:04 |
mithro | shenki: "export PLATFORM=arty CPU=or1k TARGET=net" ? | 05:05 |
shenki | ok | 05:06 |
mithro | shenki: Maybe take a look at the "litex-linux" branch on my repo? | 05:08 |
shenki | mithro: the linux tree, or the litex tree? | 05:12 |
mithro | https://github.com/mithro/HDMI2USB-litex-firmware/tree/litex-linux | 05:12 |
tpb | Title: GitHub - mithro/HDMI2USB-litex-firmware at litex-linux (at github.com) | 05:12 |
shenki | wow, did it really build that fast? | 05:12 |
shenki | mithro: https://pastebin.com/raw/4NNZpKE4 | 05:13 |
mithro | shenki: Use "make load-gateware" | 05:15 |
shenki | ok. that was the result of just typing 'make' | 05:15 |
mithro | shenki: Yeah, I'm fixing that error | 05:17 |
mithro | shenki: But you probably just want to be loading when developing | 05:17 |
shenki | (H2U P=arty C=or1k R=litex-linux) joel@aurora ~/dev/timvideos/HDMI2USB-litex-firmware :litex-linux | 05:20 |
shenki | $ make load-gateware | 05:20 |
shenki | make: *** No rule to make target 'load-gateware'. Stop. | 05:20 |
mithro | make gateware-load | 05:20 |
shenki | $ make gateware-load | 05:21 |
shenki | openocd -f board/digilent_arty.cfg -c "init; pld load 0 build/arty_net_or1k//gateware/top.bit; exit" | 05:21 |
shenki | Open On-Chip Debugger 0.10.0+dev-00166-g0e4fbfba0-dirty (2017-07-03-06:50) | 05:21 |
shenki | Licensed under GNU GPL v2 | 05:21 |
shenki | For bug reports, read | 05:21 |
shenki | http://openocd.org/doc/doxygen/bugs.html | 05:21 |
tpb | Title: OpenOCD: Bug Reporting (at openocd.org) | 05:21 |
shenki | embedded:startup.tcl:60: Error: Can't find board/digilent_arty.cfg | 05:21 |
shenki | in procedure 'script' | 05:21 |
shenki | hrm, need a newer openocd | 05:21 |
mithro | conda install openocd | 05:21 |
mithro | ? | 05:21 |
shenki | yup | 05:21 |
shenki | mithro: cool. got it loaded | 05:23 |
mithro | shenki: "make firmware-load" | 05:23 |
mithro | Hrm... I was sure I had solved this previously.... | 05:25 |
shenki | it hangs after this: | 05:26 |
shenki | make[1]: Leaving directory '/home/joel/dev/timvideos/HDMI2USB-litex-firmware/build/arty_net_or1k/software/firmware' | 05:26 |
shenki | real0m1.366s | 05:26 |
shenki | user0m1.287s | 05:26 |
shenki | if i connect i can see the bios | 05:26 |
shenki | sys0m0.090s | 05:26 |
mithro | can you pastebin it so I can actually see probler amount of context? | 05:26 |
shenki | https://pastebin.com/raw/Z3XkAR5h | 05:27 |
shenki | ah. good ol' ccontrol was running with -j | 05:28 |
shenki | make -j1 fixed it | 05:28 |
shenki | https://pastebin.com/raw/hiAYiqrK | 05:28 |
shenki | just waiting at the starting prompt | 05:28 |
mithro | Hit enter | 05:28 |
shenki | nothing | 05:29 |
shenki | should i reset the board? | 05:29 |
mithro | I thought you said you were at the bios prompt? | 05:29 |
shenki | when i connect manually | 05:30 |
shenki | when i use make firmware-load it hangs | 05:30 |
mithro | What is difference in the flterm commands? | 05:31 |
shenki | oh, it loses state when i press the reset button. that's probably what i did wrong | 05:31 |
shenki | flterm --port=/dev/ttyUSB1 --kernel=build/arty_net_or1k//software/firmware/firmware.bin --speed=115200 | 05:31 |
shenki | that hangs | 05:31 |
shenki | flterm --port=/dev/ttyUSB1 --speed=115200 | 05:32 |
shenki | that gets me the BIOS prompt | 05:32 |
mithro | What flterm version do you have? | 05:33 |
shenki | $ flterm --version | 05:34 |
shenki | flterm: unrecognized option '--version' | 05:34 |
shenki | Serial boot program for MiSoC & LiteX - v2.4-15-gd17828f | 05:34 |
mithro | Update flterm? | 05:35 |
shenki | yep | 05:36 |
shenki | get this now | 05:36 |
shenki | http://ozlabs.org/~joel/img1.png | 05:36 |
shenki | second go worked | 05:37 |
shenki | https://pastebin.com/raw/NmDPSNWb | 05:37 |
shenki | beer time. bbl | 05:38 |
*** CarlFK has joined #timvideos | 05:54 | |
*** ChanServ sets mode: +v CarlFK | 05:54 | |
*** fumblehool has joined #timvideos | 06:21 | |
*** rohitksingh_wor1 has joined #timvideos | 06:34 | |
*** rohitksingh_wor2 has joined #timvideos | 06:35 | |
*** rohitksingh_work has quit IRC | 06:36 | |
*** rohitksingh_wor1 has quit IRC | 06:38 | |
*** CarlFK has quit IRC | 08:20 | |
*** fumblehool has quit IRC | 08:56 | |
*** CarlFK has joined #timvideos | 12:03 | |
*** ChanServ sets mode: +v CarlFK | 12:03 | |
*** rohitksingh_wor2 has quit IRC | 12:43 | |
*** CarlFK has quit IRC | 13:36 | |
*** rohitksingh has joined #timvideos | 13:44 | |
*** CarlFK has joined #timvideos | 15:26 | |
*** ChanServ sets mode: +v CarlFK | 15:26 | |
*** rohitksingh has quit IRC | 18:13 | |
CarlFK[m] | tumbleweed (IRC): "Verified the issue is still present in 840e634 (https://github.com/timvideos/HDMI2USB-litex-firmware/commit/840e634e6f726d18b5513f9b03793a9d7793e3a1), which is 8 commits after Atlys support was added to the nextgen branch. So, it's been there since the beginning." | 19:26 |
tpb | Title: Fixes to setup.sh · timvideos/HDMI2USB-litex-firmware@840e634 · GitHub (at github.com) | 19:26 |
CarlFK[m] | does that mean the issue was not present in the commit before? | 19:27 |
tumbleweed | CarlFK[m]: I was struggling to find commits around there that built | 19:49 |
tumbleweed | I didn't test them all, but that seemed close enough to be confident | 19:49 |
CarlFK[m] | I think I get you. it 'might' be a code defect in one of those 8, but probably not and too hard to 'just try it' ? | 19:52 |
tumbleweed | yeah | 20:07 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!