*** tpb has joined #timvideos | 00:00 | |
felix_ | one moment; i'll make a pull request for that | 00:01 |
---|---|---|
shenki | okay | 00:04 |
shenki | so when I do this step, it gives me the "failed to identify flash" message: | 00:04 |
shenki | jtagspi_init 0 {third_party/flash_proxies/bscan_spi_xc7a35t.bit} | 00:04 |
shenki | Error: Unknown flash device (ID 0x00ffffff) | 00:05 |
felix_ | you have the spi proxy bitstreams on your machine? iirc they aren't shipped within openocd | 00:05 |
shenki | yeah, i do | 00:10 |
shenki | mithro ships them as part of the litex environment we use | 00:10 |
shenki | it comes from https://github.com/jordens/bscan_spi_bitstreams | 00:11 |
tpb | Title: GitHub - jordens/bscan_spi_bitstreams (at github.com) | 00:11 |
felix_ | made a pull request for that; would be good if someone could verify that this doesn't break anything (it shouldn't, but i don't have an arty here to test) https://github.com/timvideos/conda-hdmi2usb-packages/pull/23 | 00:17 |
tpb | Title: openocd/digilent-arty: use existing digilent-hs1.cfg as programmer by felixheld · Pull Request #23 · timvideos/conda-hdmi2usb-packages · GitHub (at github.com) | 00:17 |
felix_ | upstreaming that would be best, but the openocd people seem to be quite slow with looking at patches; i submitted openocd support for the ac701 maybe three weeks ago and still didn't get any response or review | 00:19 |
mithro | See also -> http://openocd.zylin.com/#/c/4156/ | 00:22 |
tpb | Title: Gerrit Code Review (at openocd.zylin.com) | 00:22 |
mithro | felix_: I've found the best way is to join #openocd and poke PaulFester to get stuff reviewed | 00:23 |
shenki | mithro: how do we debug the failure to identify flash? | 00:24 |
mithro | shenki: Not sure... | 00:24 |
mithro | shenki: Sorry, have stuff I need to be doing... | 00:24 |
felix_ | the patch on the openocd gerrit misses the spi flash programming include | 00:24 |
felix_ | mithro: ok, thx; i put that on my todo list | 00:25 |
felix_ | currently packing the stuff i need for the hackathon in vienna | 00:26 |
mithro | This year is disappearing soooooo fast.... | 00:32 |
mithro | felix_: Do you have an Arty A7 board? | 00:37 |
*** CarlFK has quit IRC | 00:37 | |
felix_ | no | 00:39 |
*** shorne_ has joined #timvideos | 00:40 | |
felix_ | i currently have a zybo, an ac701, an icoboard, a pipistrello, some custom fpga board and maybe some old fpga boards i don't remember exactly (maybe spartan 3 and virtex 4) | 00:41 |
felix_ | ah and one trenz artix7 micromodule with base board | 00:42 |
*** shorne has quit IRC | 00:43 | |
shenki | mithro: my cpu_reset hacks did not work | 00:48 |
shenki | mithro: when you have a moment please tell me what I did wrong | 00:48 |
shenki | mithro: https://github.com/shenki/HDMI2USB-misoc-firmware/commit/a42618965c446503b8239d0f5920a0969770ec6f | 00:48 |
tpb | Title: arty: add csr for cpu_reset · shenki/HDMI2USB-misoc-firmware@a426189 · GitHub (at github.com) | 00:48 |
mithro | shenki: What happens? | 00:49 |
mithro | shenki: Nothing or the system locks up? | 00:50 |
shenki | nothing | 00:50 |
mithro | shenki: Can you test by using bios mr command? | 00:50 |
shenki | i can try that. i was using devmem from userspace which does the same thing | 00:51 |
shenki | oh. that made the console print lots of "ef bf bd ef" | 00:57 |
shenki | and then it hung | 00:57 |
*** CarlFK has joined #timvideos | 00:57 | |
*** ChanServ sets mode: +v CarlFK | 00:57 | |
mithro | shenki: Well that is kind of what I expected.... | 01:01 |
*** wcmckee has quit IRC | 01:01 | |
shenki | that's not what i'm after | 01:02 |
shenki | i want it to reboot the cpu :) | 01:02 |
mithro | shenki: You need to do something a little bit more advanced because doing the reset causes the clock to go away which means you never come out of reset... | 01:02 |
shenki | okay | 01:03 |
mithro | shenki: | 01:23 |
mithro | arch/openrisc/kernel/head.o: In function `evbar_setup': | 01:23 |
mithro | >> (.head.text+0xa8): undefined reference to `PHYSICAL_START' | 01:23 |
shenki | git describe? | 01:23 |
felix_ | something seems to be wrong with the openocd buildbot from conda-hdmi2usb-packages; it fails with "Source download failed. Please investigate." https://travis-ci.org/timvideos/conda-hdmi2usb-packages/jobs/316173495 | 01:24 |
shenki | mithro: what does 'git describe' say? | 01:26 |
mithro | shenki: It's in a random email from kbuild-test-robot | 01:26 |
shenki | oh. ignore it | 01:26 |
shenki | my github tree gets build by the intel 0day infrastructure :) | 01:26 |
shenki | free build-test coverage of litex development \o/ | 01:27 |
mithro | felix_: Open the last fold on that page | 01:27 |
mithro | Applying patch: '/home/travis/build/timvideos/conda-hdmi2usb-packages/openocd/digilent-arty.patch' | 01:27 |
mithro | Patch level ambiguous, selecting least deep | 01:27 |
mithro | patching file tcl/board/digilent_arty.cfg | 01:27 |
mithro | /usr/bin/patch: **** unexpected end of file in patch | 01:27 |
felix_ | oops. well i'll fix it tomorrow | 01:29 |
shenki | generate the patch with `git format-patch` | 01:30 |
shenki | if you haven't committed it, then generate it with `diff -up` | 01:30 |
shenki | but i recommend committing it :) | 01:30 |
felix_ | ok, will do. have to get some sleep now though to be awake when i have to catch my train to the airport | 01:31 |
shenki | no worries. enjoy your hackfest! | 01:32 |
felix_ | thx :) | 01:34 |
*** [d__d] has quit IRC | 02:34 | |
*** jea has quit IRC | 02:34 | |
*** [d__d] has joined #timvideos | 02:38 | |
*** jea has joined #timvideos | 02:38 | |
*** CarlFK has quit IRC | 02:57 | |
*** CarlFK has joined #timvideos | 03:00 | |
*** ChanServ sets mode: +v CarlFK | 03:00 | |
*** CarlFK has quit IRC | 03:31 | |
*** rohitksingh_work has joined #timvideos | 03:49 | |
*** rohitksingh_wor1 has joined #timvideos | 04:07 | |
*** rohitksingh_work has quit IRC | 04:09 | |
*** sb0 has quit IRC | 04:57 | |
shorne_ | shenki: I will start looking at the patches for evbar | 06:41 |
shenki | shorne_: cool | 06:42 |
shorne_ | as per mithro's mail updates for: networking, evbar patches, next steps... | 06:42 |
shorne_ | Is there anything you want me to take over? | 06:42 |
shenki | let me check the email | 06:43 |
shorne_ | I have been busy the last few days/weeks with gdb upstreaming (or1k port is upstream now) and the uclibc fixes | 06:43 |
shenki | shorne_: congrats on the gdb upstreaming work! | 06:43 |
shenki | shorne_: there are a few things in head.S we need to fix for litex support | 06:48 |
shenki | shorne_: one is using evbar for saving registers | 06:48 |
shenki | shorne_: another changing the way the uart is used in head.S | 06:49 |
shenki | shorne_: the options there would be to write a driver for the litex uart, and use that when we're on a litex platform | 06:49 |
shenki | shorne_: the other is to remove the use of it from the assembly, and rely on a C driver | 06:49 |
shenki | do you have thoughts? | 06:49 |
shorne_ | shenki: thanks on gdb its been a long work in progress | 07:13 |
shorne_ | on uart, I am fine removing in head.S, usually thats just there for some really early time debugging | 07:14 |
shorne_ | its just edited when needed | 07:14 |
shorne_ | Is it needed/used in litex? | 07:14 |
shenki | shorne_: i don't think it's required. need to double check | 08:12 |
*** sb0 has joined #timvideos | 09:59 | |
*** tsglove has joined #timvideos | 12:05 | |
*** rohitksingh_wor1 has quit IRC | 12:35 | |
*** rohitksingh has joined #timvideos | 13:20 | |
*** CarlFK has joined #timvideos | 13:26 | |
*** ChanServ sets mode: +v CarlFK | 13:26 | |
*** sb0 has quit IRC | 13:29 | |
*** sb0 has joined #timvideos | 14:53 | |
*** FelixVi has joined #timvideos | 15:29 | |
*** CarlFK has quit IRC | 15:45 | |
*** CarlFK has joined #timvideos | 15:51 | |
*** ChanServ sets mode: +v CarlFK | 15:51 | |
*** springermac has quit IRC | 16:01 | |
*** FelixVi has quit IRC | 16:01 | |
cr1901_modern | mithro: the enter-env.sh needs work detecting the python version. On my machine "python" is for python 2, not python 3 | 16:23 |
cr1901_modern | I'm not sure how to proceed considering I almost never use enter-env, and I'm only doing so b/c I suspect I broke travis by not assuming enter-env.sh was run | 16:23 |
cr1901_modern | mithro: Disregard, I didn't follow directions | 16:28 |
cr1901_modern | Actually, maybe not. Do you support either running from conda or your distro-provided python? | 16:30 |
*** samsagaz has joined #timvideos | 16:36 | |
*** rohitksingh has quit IRC | 16:43 | |
*** rohitksingh has joined #timvideos | 16:44 | |
mithro | cr1901_modern: no | 17:21 |
mithro | cr1901_modern: we only support running inside of the conda environment... | 17:21 |
cr1901_modern | mithro: I see. Well in any case, that wasn't the issue | 17:22 |
cr1901_modern | mithro: Check #j-core for what the real issue was, since I asked resident Unix expert dalias a question about what I was seeing in travis | 17:22 |
cr1901_modern | Okay _finally_ the travis builds (except for arty so far) are passing | 17:27 |
cr1901_modern | (and it's a missing #ifdef, so that's simple enough) | 17:28 |
cr1901_modern | https://travis-ci.org/timvideos/HDMI2USB-litex-firmware/jobs/316532852#L3783 | 17:28 |
mithro | How hard is it to avoid the meson dependency until we use meson for everything? | 17:29 |
cr1901_modern | Difficult. | 17:30 |
mithro | Or an alternative question, how hard would it to be to convert our makefile + scripts/xxxx-env.sh into meson? | 17:30 |
cr1901_modern | that would also be a bit of work (but it would make things a lot cleaner when its done) | 17:31 |
cr1901_modern | I don't see you getting around scripts/xxx-env.sh tho | 17:32 |
cr1901_modern | perhaps talk to jpakkane and see what he thinks? | 17:33 |
*** FelixVi has joined #timvideos | 17:52 | |
*** tsglove has quit IRC | 18:11 | |
*** tsglove has joined #timvideos | 18:14 | |
*** rohitksingh has quit IRC | 18:15 | |
cr1901_modern | Okay, that should be the last commit: https://github.com/timvideos/HDMI2USB-litex-firmware/pull/370 | 18:46 |
tpb | Title: Add writable SPI flash and XMODEM xfer support by cr1901 · Pull Request #370 · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 18:46 |
cr1901_modern | Now, would anybody be willing to try out the spiflash XMODEM upload and report any issues to me? Compiling should work fine now that the travis build passes | 18:47 |
cr1901_modern | cc: mithro^^ | 18:47 |
CarlFK[m] | cr1901_modern (IRC): wanna try it on my box? (Im into something else right now) | 18:53 |
CarlFK[m] | like monkeypatching print so that it errrors because I can't find what is printing !!! | 18:54 |
cr1901_modern | ^ Was that my fault ._. | 18:55 |
cr1901_modern | CarlFK[m] And sure, but I don't have an acct on your box | 18:56 |
CarlFK[m] | what is your github username? | 18:56 |
cr1901_modern | cr1901 | 18:56 |
*** samsagaz has quit IRC | 19:15 | |
*** MaZderMind has joined #timvideos | 20:25 | |
cr1901_modern | mithro: https://github.com/timvideos/HDMI2USB-litex-firmware/blob/master/getting-started.md#warn-bypassing-jtag-setup-events-due-to-errors How do I handle this is switching to serial and back to jtag doesn't remedy the issue? | 21:28 |
tpb | Title: HDMI2USB-litex-firmware/getting-started.md at master · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 21:28 |
mithro | https://www.youtube.com/watch?v=aLr0SMRJFAs | 22:38 |
shorne_ | shenki: I posted some comments on the patch set on your github | 23:22 |
shorne_ | on the linux/litex-4.15 branch | 23:22 |
shorne_ | I dont think most of the evbar patches are needed in head.S anylonger | 23:23 |
_florent_ | shenki: n_rst.eq(~rst) --> self.comb += n_rst.eq(~rst) | 23:38 |
mithro | _florent_: Is just that enough? | 23:52 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!