*** tpb has joined #timvideos | 00:00 | |
CarlFK | mithro: kwargs['integrated_rom_size'] = 0x30000 | 00:01 |
---|---|---|
CarlFK | 00:01 | |
CarlFK | assert len(bios_data) < make.BIOS_SIZE | 00:01 |
CarlFK | http://paste.ubuntu.com/p/9fCcSb6q3v/ | 00:01 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 00:01 |
mithro | CarlFK: Looks like there is a hard coded value at https://github.com/timvideos/litex-buildenv/blob/master/make.py#L10 too | 00:13 |
tpb | Title: litex-buildenv/make.py at master · timvideos/litex-buildenv · GitHub (at github.com) | 00:13 |
CarlFK | mithro: that 'fixed' it. | 00:15 |
CarlFK | mithro: you don't want these 2 rom_size edits as part of my PR, right ? | 00:17 |
mithro | Nope! | 00:18 |
CarlFK | mithro: do you want build-qemu.sh indented with tabs or spaces? | 00:20 |
mithro | CarlFK: Whatever is consistent with the current file? | 00:21 |
CarlFK | mithro: um.. I'm not sure. I thought it was tabs, but when I changed all my 4x spaces to tabs it got a bunch of other lines | 00:22 |
CarlFK | mithro: changing tabs to 4 spaces is showing even more in the diff | 00:23 |
shorne | CarlFK: yeah, that issue #43 is the right one. | 00:23 |
shorne | CarlFK: the verb for what we are doing is something like forward-porting patches, or rebasing on latest master | 00:24 |
CarlFK | forward-porting patches - yeah, that. | 00:24 |
shorne | fyi, I just learned I have a lot more freetime than I thought | 00:26 |
mithro | shorne: Oh? | 00:26 |
CarlFK | send me some please :) | 00:26 |
mithro | shorne: So, what is the status of or1k in upstream GCC? | 00:26 |
CarlFK | mithro: im un breaking this line: git pull $CURRENT_QEMU_REMOTE_NAME $QEMU_BRANCH | 00:27 |
mithro | CarlFK: Yes, that was the only thing I was expecting you to change | 00:27 |
CarlFK | mithro: I don't think I submitted the -I$TOP_DIR/third_party/litex/litex/soc/software/include" \ | 00:28 |
shorne | I am off for about a month on garden leave, and the test I thought I had to take before work starts is not needed until after I work starts. | 00:28 |
mithro | CarlFK: https://github.com/timvideos/litex-buildenv/pull/51 | 00:29 |
tpb | Title: tools: Read the BIOS maxsize from the SoC. by mithro · Pull Request #51 · timvideos/litex-buildenv · GitHub (at github.com) | 00:29 |
mithro | CarlFK: Give that a go | 00:30 |
CarlFK | mithro: um.. merging that with my fork is going to be cumbersome | 00:30 |
shorne | mithro: its almost ready, I have a few things on todo list, I finished the documentation todo item. But just got this mail: | 00:30 |
mithro | CarlFK: fix the pull and I'll merge and rebase | 00:31 |
CarlFK | mithro: I need to walk out the door in 5-10 min to meet a friend - I was just about to push what I have so my PR is ready, .. ok, | 00:31 |
shorne | https://lists.librecores.org/pipermail/openrisc/2018-September/001405.html | 00:32 |
tpb | Title: [OpenRISC] OpenRISC GCC requirements (at lists.librecores.org) | 00:32 |
shorne | and | 00:32 |
CarlFK | mithro: should it be just "git fetch" or "git fetch $CURRENT_QEMU_REMOTE_NAME $QEMU_BRANCH" ? | 00:32 |
shorne | the whole thread: https://lists.librecores.org/pipermail/openrisc/2018-September/thread.html | 00:32 |
tpb | Title: The OpenRISC September 2018 Archive by thread (at lists.librecores.org) | 00:32 |
mithro | CarlFK: second one I think? | 00:32 |
CarlFK | k | 00:32 |
mithro | shorne: What upstream revision of git do I need to be after to get a working gcc for or1k? | 00:33 |
CarlFK | woot - nbpy bid sent | 00:38 |
CarlFK | "All good, we assumed you were good when you said you were coming again at every conference I saw you at :)" | 00:41 |
CarlFK | arg... git pull error: You have not concluded your merge (MERGE_HEAD exists). | 00:44 |
CarlFK | git commit ... fatal: cannot do a partial commit during a merge. | 00:44 |
CarlFK | mithro: any clue how to get me out of this in about 2 min, else it will be a few hours, but Im sure I can get bck to it tonight | 00:45 |
mithro | git rebase --abort | 00:45 |
mithro | git merge --abort | 00:45 |
CarlFK | yay - not erroring | 00:46 |
CarlFK | arg. push errored - g2g bye! | 00:48 |
CarlFK | back - I have 5 more min | 00:49 |
CarlFK | next train in 3 min.. I better go - bb later | 00:54 |
cr1901_modern | mithro: It's going okay. Gonna have to keep the clock freq down at 16 MHz until this bug is fixed: https://github.com/YosysHQ/nextpnr/issues/71 | 01:02 |
tpb | Title: `nextpnr-ice40` is failing to route PLL clock · Issue #71 · YosysHQ/nextpnr · GitHub (at github.com) | 01:02 |
cr1901_modern | arachne-pnr doesn't come even close to my target of 32 MHz, but sometimes the generated bitstream actually works anyway. | 01:03 |
cr1901_modern | I'd rather not rely on it | 01:03 |
mithro | cr1901_modern: This is executing the BIOS from SPI flash? | 01:03 |
cr1901_modern | Yes | 01:03 |
mithro | cr1901_modern: Can you send a pull request then? | 01:04 |
cr1901_modern | mithro: Oh I've been working on a fork of _florent_'s tinyfpga-soc. litex-buildenv isn't ready yet :). | 01:05 |
mithro | cr1901_modern: I'd like to play with it myself | 01:05 |
cr1901_modern | mithro: Do you want to see my copy of tinyfpga-soc for now? | 01:05 |
cr1901_modern | (has a command line interface) | 01:05 |
mithro | Well, I'd prefer you send a pull request for litex-buildenv ASAP... | 01:06 |
cr1901_modern | ack I'll get on that | 01:07 |
cr1901_modern | mithro: Heads up for 2 PRs on LiteX | 01:10 |
cr1901_modern | https://github.com/enjoy-digital/litex/pull/99 | 01:13 |
tpb | Title: Add COPY_TO_MAIN_RAM generated Makefile variable to distinguish syste… by cr1901 · Pull Request #99 · enjoy-digital/litex · GitHub (at github.com) | 01:13 |
cr1901_modern | https://github.com/enjoy-digital/litex/pull/100 | 01:13 |
tpb | Title: lattice/programmer: Use --program-image option with tinyprog if addre… by cr1901 · Pull Request #100 · enjoy-digital/litex · GitHub (at github.com) | 01:13 |
mithro | cr1901_modern: Why do you end up with between your title and description on your pull requests? | 01:18 |
cr1901_modern | B/c that's the default behavior of Github when you click the green "Compare and pull request" button | 01:18 |
*** tac-tics has quit IRC | 01:42 | |
mithro | cr1901_modern: but it never seems to happen to my pull requests? | 01:46 |
cr1901_modern | When you push a branch to Github and you go to the repo page for your fork, GH will show you a "you recently pushed branches" dialog on the webpage. If you click the green "Compare and pull request button" >> | 01:48 |
cr1901_modern | GH will send you to the "create pull request" page with the title filled in as the commit message if it's a single commit (idk if it works for multiple commits) | 01:49 |
cr1901_modern | If the title gets too long, GH will truncate your commit message and put it in the description | 01:49 |
cr1901_modern | I did it just to save time b/c I felt the commit message was self-explanatory | 01:50 |
cr1901_modern | should I change it? | 01:50 |
mithro | cr1901_modern: can you remove the ... bit then I will merge.. | 01:52 |
mithro | Also, see _florent_'s commnet | 01:53 |
cr1901_modern | yea I see... none of that stuff is supposed to be there lol | 01:53 |
mithro | Just walking home now | 01:53 |
mithro | Be back in 30-1 hour | 01:53 |
cr1901_modern | _florent_: Fixed | 01:55 |
*** CarlFK has quit IRC | 02:30 | |
*** hyadez has joined #timvideos | 02:55 | |
*** CarlFK has joined #timvideos | 04:21 | |
*** ChanServ sets mode: +v CarlFK | 04:21 | |
CarlFK | mithro: are you around to help me un break my git repo? | 04:41 |
mithro | Not really | 04:42 |
CarlFK | k | 04:42 |
mithro | What error? | 04:42 |
CarlFK | mithro: http://paste.ubuntu.com/p/YPC69qf4dT/ | 04:54 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 04:54 |
mithro | git push origin master --force | 04:55 |
CarlFK | mithro: k - that seemed to go ok | 04:57 |
mithro | carl@twist:~/mnt/cnt6/litex-buildenv$ git commit ./scripts/build-qemu.sh -m "CFLAGS=-I... and unbreak git fetch." | 05:00 |
mithro | error: bad index file sha1 signature | 05:00 |
mithro | fatal: index file corrupt | 05:00 |
mithro | That seems bad... | 05:00 |
CarlFK | mithro: I only have one file, and I almost have the changes memorized | 05:00 |
mithro | git add xxx && git commit | 05:01 |
CarlFK | working... (the repo is on the other side of an sshfs mount.. things go very slow.... | 05:05 |
CarlFK | mithro: git add/commit, but "nothing to commit" and a few things I hope are unrelated http://paste.ubuntu.com/p/nhSnhJ7rZ4/ | 05:10 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 05:10 |
CarlFK | mithro: looks like my changes got committed 5 hours ago - everything is here: https://github.com/timvideos/litex-buildenv/pull/47/commits/8e2dee53d57901a8d0678b3440fa2f67a849ae4a | 05:16 |
tpb | Title: implement QEMU_REMOTE and QEMU_BRANCH. and CPU=or1k by CarlFK · Pull Request #47 · timvideos/litex-buildenv · GitHub (at github.com) | 05:16 |
CarlFK | including the "Joe User committed 3 days ago" which I was trying to show up as me | 05:16 |
*** rohitksingh has joined #timvideos | 06:10 | |
cr1901_modern | mithro: Close to getting tinyfpga to boot the litex-buildenv firmware, but the sram section runs out of space. 10kB sram does not appear to be enough to boot the stock firmware- needs about 14kB, and that's not including the stack pointer | 06:15 |
cr1901_modern | not including stack space* | 06:15 |
cr1901_modern | mithro: If you want to play with what I've done so far, here: https://github.com/cr1901/litex-buildenv/tree/tinyfpga | 06:18 |
tpb | Title: GitHub - cr1901/litex-buildenv at tinyfpga (at github.com) | 06:18 |
cr1901_modern | I use the following command-line invocation: "HDMI2USB_ENV=1 PLATFORM=tinyfpga_bx TARGET=base CPU=lm32 CPU_VARIANT=lite PYTHON=python3 make firmware" | 06:18 |
cr1901_modern | we get as far as the link step for the litex-buildenv firmware before running out of SRAM. Probably can figure something out for this, but still interesting | 06:19 |
*** rohitksingh has quit IRC | 06:34 | |
*** rohitksingh has joined #timvideos | 06:52 | |
*** rohitksingh has quit IRC | 07:15 | |
*** rohitksingh has joined #timvideos | 07:37 | |
*** futarisIRCcloud has joined #timvideos | 09:21 | |
*** rohitksingh has quit IRC | 09:24 | |
*** CarlFK has quit IRC | 09:33 | |
*** rohitksingh has joined #timvideos | 09:52 | |
*** rohitksingh has joined #timvideos | 09:52 | |
*** CarlFK has joined #timvideos | 11:25 | |
*** ChanServ sets mode: +v CarlFK | 11:25 | |
*** futarisIRCcloud has quit IRC | 11:31 | |
*** rohitksingh has quit IRC | 12:06 | |
*** fitzsim has joined #timvideos | 14:30 | |
*** fitzsim has quit IRC | 14:43 | |
*** fitzsim has joined #timvideos | 15:25 | |
*** fitzsim has quit IRC | 15:31 | |
*** rohitksingh has joined #timvideos | 15:54 | |
*** fitzsim has joined #timvideos | 16:14 | |
*** mauz555 has joined #timvideos | 17:10 | |
CarlFK | mauz555: hey | 17:10 |
CarlFK | arty fpga - I can help a little, and if I can't there are others here that might | 17:11 |
mauz555 | thank you guys -> https://pastebin.com/fKyDfhm3 | 17:11 |
tpb | Title: Hello, im trying to connect my brand new "Digilent Arty Artix-7 35T FPGA" to my - Pastebin.com (at pastebin.com) | 17:11 |
CarlFK | mauz555: look this over, it may have what you need: https://github.com/timvideos/litex-buildenv/wiki/HowTo-LCA2018-FPGA-Miniconf | 17:13 |
tpb | Title: HowTo LCA2018 FPGA Miniconf · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 17:13 |
CarlFK | mauz555: this was a tutorial about installing linux on the Arty | 17:13 |
CarlFK | this is probably what you need: https://github.com/timvideos/litex-buildenv/wiki/HowTo-LCA2018-FPGA-Miniconf#download--setup-udev-rules | 17:14 |
tpb | Title: HowTo LCA2018 FPGA Miniconf · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 17:14 |
CarlFK | mauz555: crazy long shot - do you live in Chicago? I am about to meet with a friend to hack on FPGA things | 17:17 |
CarlFK | 2 or so more may show up, there is room for about 8 of us | 17:18 |
mauz555 | I tried reloading udev, doesnt do the job | 17:21 |
CarlFK | did you install those rules? | 17:21 |
mauz555 | `sudo udevadm control --reload-rules` | 17:21 |
mauz555 | yes the driver installer put everything into `/etc/udev/rules.d` | 17:22 |
CarlFK | did you install these rules: https://github.com/timvideos/HDMI2USB-mode-switch.git | 17:23 |
tpb | Title: GitHub - timvideos/HDMI2USB-mode-switch: Tool for switching boards supported by HDMI2USB firmware between multiple different modes (programming, webcam, etc). (at github.com) | 17:23 |
*** rohitksingh has quit IRC | 17:34 | |
mauz555 | I installed the HDMI2USB/dev rules and reloaded udev rules `sudo udevadm control --reload-rules` | 17:36 |
mauz555 | It doesnt fix the problem | 17:37 |
mauz555 | the FPGA is well connected the PWR led is RED and the DONE led is GREEN. It seems to be well powered. | 17:37 |
mauz555 | I ran the tests programs, they work well. It's just my machine that is not able to communicate through the serialusb/uart | 17:38 |
CarlFK | unplug usb, udevadm monitor, plug in usb | 17:40 |
CarlFK | paste what it logs to the screen | 17:40 |
CarlFK | ah and run groups, paste that too | 17:40 |
mauz555 | `sudo udevadm monitor` prints nothing while plugin/unplugin the FPGA usb cable | 17:47 |
mauz555 | $ groups --> jimmy adm cdrom sudo dip plugdev lpadmin sambashare | 17:48 |
CarlFK | Get the right permissions video dialout | 17:51 |
mauz555 | $ groups --> jimmy adm dialout cdrom sudo dip video plugdev lpadmin sambashare | 17:57 |
mauz555 | same behaviour for udevadm monitor and dmesg | 17:58 |
CarlFK | udevadm monitor doesn't show anything? | 18:03 |
mauz555 | I fixed the problem | 18:06 |
mauz555 | I found another cable | 18:07 |
mauz555 | udevadn showed nothing when pluging in | 18:07 |
mauz555 | with the new cable it shows a lot of events -- all good ! | 18:08 |
CarlFK | usb cable was the problem? | 18:08 |
mauz555 | yeah definitely -- i did no other changes | 18:10 |
CarlFK | http://youtu.be/181-roBM0tI | 18:10 |
CarlFK | crazy. and yay. and have a video that gives an idea what sorts of things we do here | 18:10 |
mauz555 | thanks btw -- Im glad to have found an FPGA community, I worked on some video processing at my old job. I'll check this out | 18:12 |
CarlFK | let me know if you want to do the rest of https://github.com/timvideos/litex-buildenv/wiki/HowTo-LCA2018-FPGA-Miniconf - it is currently broken on current ubuntu waiting on some PRs to land: https://github.com/timvideos/litex-buildenv/labels/pull%20request%20open | 18:13 |
tpb | Title: HowTo LCA2018 FPGA Miniconf · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 18:13 |
*** rohitksingh has joined #timvideos | 18:18 | |
mithro | Morning | 18:31 |
mithro | CarlFK: I think your pull request is broken? $CURRENT_QEMU_REMOTE_NAME shouldn't be defined on line #70 -- will try locally in a minute | 18:35 |
*** rohitksingh has quit IRC | 18:45 | |
*** rohitksingh1 has joined #timvideos | 18:45 | |
CarlFK | mithro: hmm, I may not have tested that on a 2nd run | 18:46 |
CarlFK | "that" being the final git pull/fetch line after I changed it back to fetch | 18:46 |
mauz555 | CarlFK: I'm a newcomer in FPGA land but I know software. LiteX sounds perfect for a software engineer background. I'll do the LCA2018-FPGA-Miniconf on my Ubuntu. Hope I can fix it | 18:58 |
CarlFK | mauz555: well.. we may have made all the changes to fix it, just need to get them in place | 18:59 |
CarlFK | so as soon as you hit an error or any sort of blocker, post here - no point in spending time on bugs that have already been fixed | 19:00 |
CarlFK | mauz555: https://fupy.github.io ... "Getting Started Aug 2018 - HowTo FμPy on Digilent Arty A7 " | 19:09 |
tpb | Title: Welcome to FPGA MicroPython (FμPy) | fupy.github.io (at fupy.github.io) | 19:09 |
*** rohitksingh1 has quit IRC | 19:23 | |
mithro | https://github.com/NVIDIA/vid2vid - cool | 19:40 |
tpb | Title: GitHub - NVIDIA/vid2vid: Pytorch implementation of our method for high-resolution (e.g. 2048x1024) photorealistic video-to-video translation. (at github.com) | 19:40 |
*** CarlFK has quit IRC | 19:59 | |
*** tdonahue has joined #timvideos | 20:09 | |
fitzsim | mithro: I already have one of these: http://www.latticesemi.com/Products/DevelopmentBoardsAndKits/iCE40HX8KBreakoutBoard.aspx | 20:20 |
tpb | Title: iCE40-HX8K Breakout Board - Lattice Semiconductor (at www.latticesemi.com) | 20:20 |
mithro | fitzsim: I also have one of these on my desk right now | 20:21 |
fitzsim | mithro: I'd be interested in trying a LiteX workflow with it | 20:21 |
mithro | fitzsim: cr1901_modern is currently working on the tinyfpga stuff | 20:34 |
*** mauz555 has quit IRC | 20:52 | |
shorne | mithro: for gcc: 3b585b58dae2211fd16f62f0939730cf10ce5fb9 | 21:34 |
shorne | mithro: for binutils: b80b84421d380e34c2a7c0643e169c7bb65e9466 | 21:34 |
shorne | mithro: you should be able to see my releases here (last that I ran build and tests on) | 21:35 |
shorne | https://github.com/stffrdhrn/gcc/releases, for both binutils and gcc I have a tag or1k-2.30.51 and or1k-9.0.0 respectively that I run the build off of | 21:37 |
*** CarlFK has joined #timvideos | 21:46 | |
*** ChanServ sets mode: +v CarlFK | 21:46 | |
* CarlFK arrived at ps1 | 21:47 | |
mithro | shorne: Is this a bare metal and linux gcc? | 23:00 |
mithro | shorne: Do you have any experience with yocto / bitbake or are you mainly a buildroot person? | 23:17 |
mithro | CarlFK: Before I go to do some other stuff, what do you want me to do with your pull request? | 23:25 |
CarlFK | mithro: I was just about to re-run it to see what happens with a 2nd run that will hit the git fetch | 23:26 |
mithro | Okay | 23:28 |
CarlFK | mithro: ok, I think I see your concern, but I don't think that code path will ever happen... but the #comment may be misleading, so please explain these 2 lines: | 23:35 |
CarlFK | 67 # Checkout master branch if not already on it | 23:35 |
CarlFK | 68 if [ "$(git rev-parse --abbrev-ref HEAD)" != "$QEMU_BRANCH" ]; then | 23:35 |
mithro | CarlFK: values define inside a subshell don't escape the subshell | 23:35 |
CarlFK | ah, right. hmm.. | 23:36 |
CarlFK | mithro: "# Checkout master branch..." should be "#Checkout desired branch..." right ? | 23:36 |
mithro | Hrm? | 23:37 |
CarlFK | the comment on line 67 isn't right if QEMU_BRANCH has been set to something other than "master" | 23:38 |
CarlFK | mithro: I think the fix is to put these lines back into the subshell, ad then take the subshell out of the line 48 else and just run it every time, even on a fresh checkout | 23:40 |
mithro | Hrm? | 23:44 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!