*** tpb has joined #upy-fpga | 00:00 | |
*** upy-fpga-bridge has joined #upy-fpga | 01:30 | |
katharos | shenki: Is there a way I can turn leds on and off with your led module? | 11:56 |
---|---|---|
katharos | as in.. do I need to do anything other than building and loading the firmware? (mimasV2 board) | 11:57 |
upy-fpga-bridge | [Joel Stanley] You need new gateware | 12:04 |
katharos | from upy-fpga/upy-fpga-litex-gateware I assume? | 12:05 |
upy-fpga-bridge | [Joel Stanley] Ummm | 12:07 |
upy-fpga-bridge | [Joel Stanley] Just getting my laptop out | 12:09 |
shenki | katharos: https://github.com/shenki/opsis-soc/tree/mimasv2-cas | 12:20 |
tpb | Title: GitHub - shenki/opsis-soc at mimasv2-cas (at github.com) | 12:20 |
katharos | ah, thanks | 12:21 |
shenki | katharos: actually, take this one: https://github.com/shenki/opsis-soc/tree/mimasv2-cas-nofirmware | 12:22 |
tpb | Title: GitHub - shenki/opsis-soc at mimasv2-cas-nofirmware (at github.com) | 12:22 |
shenki | there's a hacky commit on top that stops the firmware from building | 12:22 |
shenki | as it fails to build | 12:22 |
shenki | due to the added code from the CAS module | 12:22 |
shenki | we don't need the firmware as we're running micropython | 12:23 |
katharos | yep | 12:23 |
shenki | so that skips building it, and skips putting it in the image that is flashed to the SPI | 12:23 |
shenki | i've been using the flterm 'serialboot' command to boot micropython | 12:23 |
shenki | flterm --port=/dev/ttyACM1 --speed=19200 --kernel=~/dev/micropython/lm32/build/firmware.bin | 12:23 |
katharos | that's pretty much the same command I've been using | 12:24 |
shenki | cool | 12:28 |
katharos | It's failing to build the gateware because it's still trying to do something with the firmware | 12:55 |
katharos | https://www.irccloud.com/pastebin/KjNEW0mC/ | 12:56 |
tpb | Title: Snippet | IRCCloud (at www.irccloud.com) | 12:56 |
shenki | hrm. perhaps i have some stuff lying around that made it succeed | 12:59 |
shenki | fatal: No names found, cannot describe anything. | 13:00 |
shenki | that's from git-describe | 13:00 |
shenki | katharos: you could just change the script to exit 0 at the top | 13:00 |
katharos | /home/katharos/fpgastuff/shenki-opsis-soc/firmware/pattern.c:13:26: fatal error: version_data.h: No such file or directory | 13:01 |
katharos | #include "version_data.h" | 13:01 |
katharos | ^ | 13:01 |
shenki | oh | 13:02 |
shenki | so i had a full firmware build there | 13:02 |
shenki | my hacks just commented out the link step | 13:03 |
katharos | Maybe I can cut all the firmware parts out of the makefile | 13:03 |
shenki | yeah. that would be better | 13:03 |
shenki | from what i could tell the makefile just calls make.py | 13:03 |
shenki | make.py has lots of stuff about building the firmware | 13:03 |
shenki | but i couldn't work out where it kicks off the gateware | 13:03 |
shenki | MAKE_CMD | 13:04 |
katharos | ah | 13:04 |
shenki | the gateware target depends on gateware-submodules. gateware-submodules is most of the fun | 13:05 |
shenki | perhaps it's all of the fun? | 13:05 |
shenki | fun == gateware building | 13:05 |
shenki | katharos: you could try 'make gateware-submodules' | 13:05 |
katharos | hmm... I commented out two lines in make.py and it seems to be getting further than it was | 13:06 |
shenki | ok, cool | 13:06 |
katharos | It's doing placement | 13:06 |
katharos | What does vns mean? | 13:09 |
shenki | not sure. what's the context? | 13:10 |
katharos | um, in make.py | 13:11 |
katharos | https://www.irccloud.com/pastebin/2oXTCyy4/ | 13:11 |
tpb | Title: Snippet | IRCCloud (at www.irccloud.com) | 13:11 |
katharos | Those are the lines I commented | 13:11 |
_florent_ | katharos: "variables name space" | 13:11 |
katharos | ah | 13:11 |
katharos | thanks _florent_ :) | 13:11 |
shenki | ah nice one katharos | 13:12 |
shenki | we should add an arugment so it skips firmware building | 13:12 |
katharos | I just want to turn an LED on and off... | 13:16 |
shenki | gotta shave the yaks | 13:17 |
katharos | LED IS ON! | 13:17 |
katharos | :D | 13:17 |
katharos | Thanks shenki! | 13:18 |
shenki | katharos: woot! | 13:19 |
katharos | ok, bedtime now. Next time I'll see if I can retrace your steps to apply it to the 7-seg display | 13:19 |
shenki | awesome | 13:20 |
shenki | jim has some litex code for a different board that might be useful for the 7 seg | 13:20 |
katharos | Cool, I can ask him about that | 13:21 |
*** upy-fpga-bot has joined #upy-fpga | 13:45 | |
upy-fpga-bot | [upy-fpga-litex-gateware] shenki opened pull request #1: Mimasv2 cas and build fixes (nextgen...mimasv2-cas) https://git.io/vD4tI | 13:45 |
*** upy-fpga-bot has left #upy-fpga | 13:45 | |
shenki | katharos: that is a pull request with your suggestion implemented | 13:48 |
*** upy-fpga-bot has joined #upy-fpga | 13:50 | |
upy-fpga-bot | [micropython] shenki opened pull request #1: Lm32 leds (lm32...lm32-leds) https://git.io/vD4ty | 13:50 |
*** upy-fpga-bot has left #upy-fpga | 13:50 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!