Sunday, 2021-12-19

*** tpb <[email protected]> has joined #litex00:00
*** mikek_DE1SOC <mikek_DE1SOC!~mikek@cpe000eb66559e0-cm08a7c0b4bdc4.cpe.net.cable.rogers.com> has joined #litex00:23
*** Degi_ <[email protected]> has joined #litex01:35
*** Degi <[email protected]> has quit IRC (Ping timeout: 268 seconds)01:37
*** Degi_ is now known as Degi01:37
*** nelgau <[email protected]> has quit IRC (Remote host closed the connection)02:15
*** nelgau <nelgau!~nelgau@bras-base-mtrlpq2848w-grc-34-174-89-119-57.dsl.bell.ca> has joined #litex02:15
*** nelgau <nelgau!~nelgau@bras-base-mtrlpq2848w-grc-34-174-89-119-57.dsl.bell.ca> has quit IRC (Remote host closed the connection)02:15
*** nelgau <nelgau!~nelgau@bras-base-mtrlpq2848w-grc-34-174-89-119-57.dsl.bell.ca> has joined #litex02:16
*** mikek_DE1SOC <mikek_DE1SOC!~mikek@cpe000eb66559e0-cm08a7c0b4bdc4.cpe.net.cable.rogers.com> has quit IRC (Remote host closed the connection)02:25
*** curtbrune <curtbrune!~curtbrune@2601:646:9600:6271:2d8:61ff:fe57:83f6> has joined #litex05:11
*** nelgau <nelgau!~nelgau@bras-base-mtrlpq2848w-grc-34-174-89-119-57.dsl.bell.ca> has quit IRC (Remote host closed the connection)05:13
*** nelgau <nelgau!~nelgau@bras-base-mtrlpq2848w-grc-34-174-89-119-57.dsl.bell.ca> has joined #litex05:51
*** nelgau <nelgau!~nelgau@bras-base-mtrlpq2848w-grc-34-174-89-119-57.dsl.bell.ca> has quit IRC (Ping timeout: 256 seconds)05:56
*** nelgau <nelgau!~nelgau@bras-base-mtrlpq2848w-grc-34-174-89-119-57.dsl.bell.ca> has joined #litex05:58
*** nelgau <nelgau!~nelgau@bras-base-mtrlpq2848w-grc-34-174-89-119-57.dsl.bell.ca> has quit IRC (Ping timeout: 256 seconds)06:02
*** nelgau <nelgau!~nelgau@bras-base-mtrlpq2848w-grc-34-174-89-119-57.dsl.bell.ca> has joined #litex06:04
*** nelgau <nelgau!~nelgau@bras-base-mtrlpq2848w-grc-34-174-89-119-57.dsl.bell.ca> has quit IRC (Ping timeout: 240 seconds)06:08
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex07:14
*** nelgau <nelgau!~nelgau@bras-base-mtrlpq2848w-grc-34-174-89-119-57.dsl.bell.ca> has joined #litex07:50
*** nelgau <nelgau!~nelgau@bras-base-mtrlpq2848w-grc-34-174-89-119-57.dsl.bell.ca> has quit IRC (Ping timeout: 256 seconds)07:55
*** rlittl01 <[email protected]> has joined #litex09:05
_florent_nickoe: The issue seems related to write latency calibration, you can try to disable it by commenting: https://github.com/enjoy-digital/litedram/blob/master/litedram/init.py#L921-L92209:08
nickoe_florent_: Hmm, ok I am not sure if there was a way to change it, but I just modified the default set in class S7DDRPHY(Module, AutoCSR):  and rebuilt it, now it do seems to pass with OK.  https://dpaste.com/64WCPW3DL.txt11:34
nickoeIs that a "new feature" or is that a clear indication on something I may have misconfigured?11:35
nickoeI set the settings to what is described in https://download.enclustra.com/public_files/FPGA_Modules/Mars_AX3/Mars_AX3_User_Manual_V06.pdf  page 25 or section 2.14.4 Parameters11:46
nickoeNow ehn I try to load the demo.bin it does not appear to run.11:57
nickoebut I note this when I build it: warning: memory region `main_ram' not declared   full log: https://dpaste.com/CP7JNT8PU.txt11:58
nickoeI should be on the latest commit of litex so this "should" be included https://github.com/enjoy-digital/litex/pull/100712:00
nickoeBut something must have changed, because the old demo.bin on an sdcard fails the same way. Maybe there are more that I ened to change to run agianst the latest litex.12:16
*** joseng <[email protected]> has joined #litex13:44
*** Wolfvak <Wolfvak!~Wolfvak@user/wolfvak> has joined #litex14:13
nickoeIs there a good way to install the symbiflow toolchain for use with litex+15:45
*** lexano <[email protected]> has quit IRC (Ping timeout: 256 seconds)16:54
*** lexano <[email protected]> has joined #litex17:06
_florent_nickoe: The default main_ram has been removed from the simulation, you have to explicitly enable it  (with --integrated-main-ram-size or --with-sdram)17:38
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 240 seconds)17:50
*** forksand <[email protected]> has joined #litex19:22
*** curtbrune <curtbrune!~curtbrune@2601:646:9600:6271:2d8:61ff:fe57:83f6> has quit IRC (Quit: Client closed)19:33
nickoeMm, ok, _florent_,  but does it explain why it does not run on hardware?19:49
nickoeI do like this when building ./mars_ax3.py --build --integrated-rom-size=0x10000 --with-spi-sdcard  --load --csr-csv=csr.csv19:49
nickoeWhen I add --integrated-main-ram-size 0x10000 I get: AttributeError: 'BaseSoC' object has no attribute 'sdram'. Did you mean: 'sram'?19:53
nickoei guess I should double check I can run the demo app in lxsim..20:00
*** zjason <[email protected]> has quit IRC (Read error: Connection reset by peer)20:01
*** zjason <[email protected]> has joined #litex20:03
nickoeHow is it that I load the demo.bin in the simultor lxsim?  It is not mentioned here, only with lxterm, https://github.com/enjoy-digital/litex/wiki/Load-Application-Code-To-CPU20:19
nickoeiI can make the lx_server connecto the sim and use litex_cli to get the ident from the simulation, BUT how do l load the demo.bin then?20:33
_florent_nickoe: https://freenode.irclog.whitequark.org/litex/2021-04-20#2970931120:35
tpbTitle: #litex on 2021-04-20 — irc logs at whitequark.org (at freenode.irclog.whitequark.org)20:35
nickoe_florent_: But it does not run for me, I just get the Liftoff!20:36
nickoethat is "litex_sim --ram-init=demo.bin"20:36
nickoeJust running litex_sim boots the bios just fine.20:39
_florent_litex_sim --integrated-main-ram-size=0x1000020:40
nickoeI am on litex commit 321b91d5 (HEAD -> master, origin/master, origin/HEAD) Merge pull request #1134 from fjullien/efinix_titanium_support20:40
_florent_litex_bare_metal_demo --build-path=build/sim20:40
_florent_litex_sim --integrated-main-ram-size=0x10000 --ram-init=demo.bin20:40
nickoeThe last one do run20:41
nickoeSo maybe I need to migrate from --integrated-rom-size=0x10000 to --integrated-main-ram-size=0x10000  in my target?20:46
nickoe_florent_: Is that --ram-init option supposed to support a boot.json?20:47
nickoeFor me it appaers that Vsim  (verilator) crahes20:48
nickoe%Error: mem_2.init:16384: $readmem file address beyond bounds of array20:48
nickoeMm, I can't figure out why i errors with thatit not being able to find the sdram attribute ... maybe I should take a walk and get some fresh air20:58
nickoeHas this construct changed? I mean, the location of the sdram object?21:07
nickoeself.sdram.crossbar.get_port(mode="read", data_width=32, reverse=True),21:07
_florent_except adding the --integrated-main-ram-size, things haven't changed21:08
nickoeThis is my code, and as far as I can tell it does not like the self.sdram anymore there21:09
nickoehttps://github.com/nickoe/litex-boards/blame/mars_ax3_sim_2021.12.18/litex_boards/targets/mars_ax3.py#L21221:09
nickoemaybe caused my be not doing theese changes properly??  https://github.com/nickoe/litex-boards/commit/5eecf4f5b49a25bc386e15ed6120863e5efb6f6c21:10
nickoeI can't explain why the self.sdram does not exist, but I can't really explain how it get added in the first place because of the attr magic chcecks, so it is a bit hard to navigate.21:16
*** lexano <[email protected]> has quit IRC (Remote host closed the connection)21:36
nickoeWhen I don't add the new --integrated-main-ram-size then it builds fine.. so it must be dependent on that.21:36
nickoewell, there is of couser tthe check here.. https://github.com/nickoe/litex-boards/blame/mars_ax3_sim_2021.12.18/litex_boards/targets/mars_ax3.py#L129-L144  but should I just remove that check? 21:41
*** lexano <[email protected]> has joined #litex21:42
nickoehmm, no it appears that sections is called a couple of time.21:45
nickoeWhen "if not self.integrated_main_ram_size and with_sdram:" is not true, hos is the add_sdram then called for the litex_sim.py?22:56
nickoeI can't figure out how to add a brakpoint on just a function name in pycharm.22:56
nickoeoh, right, I could of course just break in the function22:56
nickoeSo it is not called.. _florent_ how is self.sdram then added in the case of "litex_sim --integrated-main-ram-size=0x10000 --ram-init=demo.bin --with-sdram"22:57
nickoemm, maybe I don't want integrated-main-ram-size at all for my setup?23:18
nickoeIs that some sdram that is insude the fpga for some models or?23:19
*** mikek_DE1SOC <mikek_DE1SOC!~mikek@cpe000eb66559e0-cm08a7c0b4bdc4.cpe.net.cable.rogers.com> has joined #litex23:32
mikek_DE1SOCFlorent: tnt: Great news !! I wa able to compile the fairwaves.py script!! Let me know what you wanted for me to do next!!! 23:55
mikek_DE1SOChttps://pastebin.com/TNXg3k1H23:55
tpbTitle: Fairwaves_compile - Pastebin.com (at pastebin.com)23:55
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)23:55
*** TMM_ <[email protected]> has joined #litex23:55
mikek_DE1SOCBut just to clarify! I have the OLD XTRX, the first generation first generation of the card. Not sure if the FPGA is xc7a__50__tcpg236-2??? I think mine is the 35. 23:57
mikek_DE1SOCunless they only made 1 version...23:58
mikek_DE1SOCyeah the CS is the 35....23:58

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!