*** tpb has joined #timvideos | 00:00 | |
*** TheAssassin has quit IRC | 00:07 | |
*** TheAssassin has joined #timvideos | 00:08 | |
*** ozel has joined #timvideos | 00:55 | |
*** ozel has quit IRC | 02:21 | |
*** futarisIRCcloud has joined #timvideos | 03:42 | |
*** futarisIRCcloud has quit IRC | 05:51 | |
*** rohitksingh has joined #timvideos | 05:51 | |
*** Kripton has quit IRC | 06:00 | |
*** Kripton has joined #timvideos | 06:02 | |
*** rohitksingh has quit IRC | 07:23 | |
*** rohitksingh has joined #timvideos | 07:44 | |
*** rohitksingh has quit IRC | 09:52 | |
*** rohitksingh has joined #timvideos | 09:56 | |
*** rohitksingh has quit IRC | 10:02 | |
*** AlexL has joined #timvideos | 10:33 | |
*** AlexL has quit IRC | 10:36 | |
*** AlexJ_ has joined #timvideos | 10:38 | |
*** AlexJ_ has quit IRC | 10:42 | |
*** AlexJ_ has joined #timvideos | 10:42 | |
AlexJ_ | Hi guys - I am trying to build the gateware for PLATFORM=tinyfpga_bx but am seeing failures | 10:45 |
---|---|---|
AlexJ_ | I wondered if you had any thoughts on what might be going wrong here? | 10:46 |
AlexJ_ | Info: Placed 13 cells based on constraints. Info: Creating initial placement for remaining 6378 cells. <snip/> Info: initial placement placed 3500/6378 cells ERROR: failed to place cell 'lm32_cpu.instruction_unit.icache.memories[0].way_0_data_ram.mem.1.0.0_RAM' of type 'ICESTORM_RAM' ERROR: Placing design failed. 1 warning, 2 errors Traceback (most recent call last): File "./make.py", line 164, in <module> main() <snip/> | 10:46 |
cr1901_modern | AlexJ_: Oh whoops, I wans't paying attention. Like I said on birdsite, you need CPU_VARIANT=minimal. CPU_VARIANT=lite also works, but it's a tradeoff- 2kb of icache is 2kb less RAM for your program. | 11:28 |
AlexJ_ | Brill thanks - it's creating the bitmap now :))) | 11:29 |
cr1901_modern | tinyfpga BX supports 4x SPI flash but you have to do something special- I forget what- to enable it (cc: tinyfpga whenever he takes a peek). | 11:30 |
AlexJ_ | Hoping I can get everything loaded from the onboard SPI flash on boot? | 11:31 |
cr1901_modern | oh sure, it'll work. I'm just talking about speed of no cache vs 2kb icache | 11:32 |
cr1901_modern | (icache is about twice as fast) | 11:32 |
AlexJ_ | Ah ok - thansk | 11:34 |
AlexJ_ | I'm imagining `make gateware-load` should work etc. etc. ? | 11:34 |
cr1901_modern | You need make gateware-flash for tinyfpga_bx. This will only update the gateware. "image-flash" will update your gateware _and_ firmware. | 11:37 |
cr1901_modern | Updating just the firmware ("firmware-flash") is unsupported. | 11:37 |
AlexJ_ | Great - thanks! Is this written down anywhere I might have missed? Don't want to bother you if there are docs I should be following? :) | 11:40 |
cr1901_modern | I thought there was a "Makefile targets" page on the wiki (see github repo), but I can't find it right now. | 11:42 |
cr1901_modern | anyways it's feasible in the future, the makefiles will be replaced? Maybe that's why there aren't any targets. Not sure. | 11:43 |
AlexJ_ | I'm doing all this in a VirtualBox VM. When I connect up the TInyFPGA It comes up as "InterBiometrics" and seems to lock up the VM until I disconnect. Not seen that kind of behaviour before | 11:43 |
cr1901_modern | "interbiometrics" is the correct VID | 11:44 |
cr1901_modern | (long story) | 11:44 |
AlexJ_ | ok cool ta :) | 11:44 |
cr1901_modern | Are you on Windows by any chance? | 11:44 |
AlexJ_ | Unfortunately yes, the host is Win10 | 11:44 |
AlexJ_ | Ubuntu 18.04 in the guest | 11:44 |
cr1901_modern | I have not tested using Litex-buildenv from a guest... I tolerate doing things manually from Windows as a litex-buildenv dev from an msys2 prompt. Conda is not set up for it yet (it's on my todo list, now that travisCI supports Windoze) | 11:46 |
cr1901_modern | I would recommend building everything within the guest, sending your image to the host, and manually installing/running tinyprog on the host, as I'm not in a position to test guests. | 11:46 |
cr1901_modern | https://github.com/timvideos/litex-buildenv/blob/master/targets/tinyfpga_bx/Makefile.mk | 11:47 |
tpb | Title: litex-buildenv/Makefile.mk at master · timvideos/litex-buildenv · GitHub (at github.com) | 11:47 |
AlexJ_ | great - thanks - that's what I will do :) | 11:47 |
cr1901_modern | Run "make image" in your guest. That'll create everything you need. | 11:48 |
AlexJ_ | Awesome - I will leave that running while I am called to put the Christmas bumph in the loft :) | 11:49 |
cr1901_modern | The equivalent command for "make image-flash" is "tinyprog --program-image image-gateware+bios+micropython.bin"- you can find it in the build directory | 11:49 |
AlexJ_ | oh perfect - ok so I will get tiny prog sorted on the Win host and go that route. Brilliant... | 11:49 |
cr1901_modern | Right, that'll let you take advantage of _most_ of litex-buildenv incl the conda env :). I am in NO position to debug Virtualbox woes | 11:50 |
AlexJ_ | Hehehe I don't blame you at all for that :-D ;-D | 11:57 |
*** rohitksingh has joined #timvideos | 13:36 | |
*** cr1901_modern1 has joined #timvideos | 14:18 | |
*** cr1901_modern has quit IRC | 14:21 | |
*** cr1901_modern1 has quit IRC | 14:50 | |
*** cr1901_modern has joined #timvideos | 14:50 | |
*** rohitksingh has quit IRC | 15:28 | |
*** rohitksingh has joined #timvideos | 15:31 | |
*** rohitksingh has quit IRC | 16:59 | |
*** rohitksingh has joined #timvideos | 17:02 | |
*** CarlFK has quit IRC | 18:03 | |
*** AlexJ_ has quit IRC | 19:12 | |
*** rohitksingh has quit IRC | 21:34 | |
*** Kripton has quit IRC | 21:39 | |
*** Kripton has joined #timvideos | 21:46 | |
*** techman83 has quit IRC | 22:07 | |
*** techman83 has joined #timvideos | 22:07 | |
*** ChanServ sets mode: +v techman83 | 22:07 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!