Monday, 2021-12-20

*** tpb <[email protected]> has joined #litex00:00
*** mikek_DE1SOC <mikek_DE1SOC!~mikek@cpe000eb66559e0-cm08a7c0b4bdc4.cpe.net.cable.rogers.com> has quit IRC (Quit: Leaving)00:02
*** Degi_ <[email protected]> has joined #litex01:35
*** Degi <[email protected]> has quit IRC (Ping timeout: 256 seconds)01:35
*** Degi_ is now known as Degi01:35
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex06:36
_florent_nickoe: --integrated-main-ram-size parameter allows you to add a Main Ram to your SoC when your board does not have SDRAM. This will be implemented in block rams and size will of course be limited compared to a propoer SDRAM, but this is useful when for test or to embed a small firmware in your SoC in addition to the BIOS.06:48
_florent_That's what is done currently for the XTRX development, the SoC has the BIOS + Firmware to initialize/test the XRTX. In the end we'll probably just have this firmware but keeping the BIOS for now is useful to be able to update/reload the firmware with litex_term.06:48
_florent_mikek_DE1SOC: Can you identify your XTRX version? For now I'm focusing on the R4 for the develomment, but it should be possible (and not too complicated) to support the different revisions (ideally with the same bitstream not too much difference between revisions).06:51
*** kbeckmann <[email protected]> has quit IRC (Ping timeout: 256 seconds)06:52
*** kbeckmann <[email protected]> has joined #litex06:56
*** peeps[zen] <peeps[zen]!~peepsalot@openscad/peepsalot> has joined #litex07:41
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has quit IRC (Ping timeout: 240 seconds)07:42
*** forksand <[email protected]> has quit IRC (Ping timeout: 256 seconds)10:00
*** forksand <[email protected]> has joined #litex10:14
nickoe_florent_: I my case the RAM chip is on the SoM board, but outside the FPGA - so is that still "integrated main ram"?10:24
nickoehttps://www.enclustra.com/en/products/fpga-modules/mars-ax3/10:25
tpbTitle: Enclustra FPGA Solutions | Mars AX3 | Xilinx Artix-7 28nm FPGA Module | 7A35T | 7A50T | 7A100T (at www.enclustra.com)10:25
_florent_nickoe: Sorry, I'm trying to answer the questions but think you can answer this one :)10:30
nickoeIt is a terminology question, where I am trying to undenrstand if it is still considered "main integrated ram" when it is on the PCB, but not in the FPGA chip. I would guess not, but the reason to understand this is if I should still keep muching around with that option or not.10:32
nickoeMy main problem is that self.sdram is not avaiable when I use that.10:32
_florent_integrated_main_ram is useful to have a small RAM implemented in Block Ram when your FPGA does not have external memory10:39
_florent_Since you have a DDR3 on your board, you don't necessarily need it. And if you did the board support similar to the others boards, DDR3/integrated-main-ram will be mutually exclusive10:40
_florent_One difference between integrated-main-ram and external SDRAM is that the external SDRAM canno't be initialized (except in simulation, but will not be possible on hardware)10:41
nickoeOk cool, that makes more sense. So in my case where I did mange to make the mem test pass  but not running that levelign thing you suggested, it should be good for me to use the real "external" sdram.10:45
nickoeBut I also still wonder why the memcheck really faliled in the way it did, becuase this worked in april or there about. It is just a bit hard to test with the old code as I asume there are too may repos that I need to checkout to and arbitrary older date.10:46
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 240 seconds)10:51
nickoeI am not sure how to interpret those "graphs" from the sdram_init in the bios10:51
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex11:43
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 268 seconds)11:58
_florent_nickoe: write latency calibration was added for some Ultrascale(+) config, it has been working correctly with the other 7-Series board but seems to cause issue on your board.12:23
_florent_nickoe: for now you can disable it and we'll try to fix later (I'm not able to spend time on this now and don't have a hardware to reproduce currently)12:23
_florent_nickoe: if you want to contribute the mars_ax3 support to litex_boards, feel also free to create an issue for this12:24
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex13:23
nickoeI can certainly add it, but I don't know who else uses it13:48
tnt_florent_: the CS version should all be rev4 but 35T.14:17
tntI'm probably like one of 5 people or so (outside fairwaves) with a rev3.14:18
tnt(Unrelated but ... I've been cleaning all my jesd code and tests .... and of course I broke everything ... damnit)14:19
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 240 seconds)14:59
SpaceCoasterAnyone have an example for building the zynq+arm soc?15:39
nickoetnt: Just curius, what are you working on?16:13
nickoe*curious that is16:16
*** mikek_DE1SOC <[email protected]> has joined #litex16:18
mikek_DE1SOCflorent: OK will check tonight! I did mange to get the images compiled and working for the kernel driver magically. But still need to understand the process of the BIOS + Firmware for the XTRX..  This is ALL new to me! But looks REALLY Fun!16:31
mikek_DE1SOCBut I am still not going to burn to talk to the card yet until I really understand what;s going on...  I am still new to the X86 host thing too...  ANY Document ion where you can point me towards! Would be great. 16:32
mikek_DE1SOCI did see the quick notes in the fairwaves.py file... But if ther eany errors I would need a better understanding of what's going on.. I really want to keep the FPGA Chip in my board happy. 16:33
mikek_DE1SOCtnt: I might be one of those other 5 guys!  :)16:33
mikek_DE1SOCflorent: BTW, that Overview graphic that you had on your Twitter feed for the XTRX/litex setup, where can I find that???16:37
nickoe_florent_: Shouldn't something like this work just fine?  "litex_sim --with-sdram --sdram-init demo.bin --sdram-module MT48LC16M16"   It does not appaers to work for me when simulating.16:40
nickoeWhen it starts simulating the SoC it does show SDRAM: 65536KiB 32-bit @ 1MT/s (CL-2 CWL-2)  , but it does not run the demo app, I just see the liftoff message.16:41
nickoeI am trying to _not_ use the integrated main ram16:41
nickoeBut just the sdram16:41
*** curtbrune <curtbrune!~curtbrune@2601:646:9600:6271:2d8:61ff:fe57:83f6> has joined #litex17:22
nickoeHuh!? When I build the bare metal demo against the build/sim it builds fine, but when I build it against my own target, it fails to link :S Why is this? I must be missing something, https://dpaste.com/BS4TYWKWQ.txt17:29
mikek_DE1SOC OOPS Sorry that came out wrong...   :)  just ignore this "But I am still not going to burn to talk to the card yet.... "  :)17:32
*** mikek_DE1SOC <[email protected]> has quit IRC (Ping timeout: 240 seconds)17:44
nickoeah, ok, it was becasue my simulation model was outputting to the build/sim dir and not build/_myproject_17:47
nickoe.....aaaandd then the demo.bin works on my board..17:48
nickoein simulation17:53
*** forksand <[email protected]> has quit IRC (Ping timeout: 256 seconds)17:56
*** forksand <[email protected]> has joined #litex18:11
*** forksand <[email protected]> has quit IRC (Client Quit)18:12
*** forksand <[email protected]> has joined #litex18:12
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex18:24
*** mikek_DE1SOC <[email protected]> has joined #litex18:31
nickoemm, but it does not work on the target, hmm, even thought he memtests do appear to work fine18:33
nickoeloading with lxterm via uart18:33
mikek_DE1SOCnickoe: are you having issues loading the bin files with over the uart?18:36
mikek_DE1SOCFor me, with the DE1-Soc, I find you have to lower the bitrate..18:36
mikek_DE1SOCAt one point i was able to use 3Mibs  now sometimes i have to lower to 350k/s18:37
mikek_DE1SOCBut i was using a Chinese RS232 to uart/jtag - USB converter. Since it's serial, maybe I was using the unit in a High EMI environment.. something to consider.18:39
nickoeIt appers to transfer it correctly, the CRC check passes18:51
nickoeLike this https://dpaste.com/33YQ2FYZ5.txt18:52
mikek_DE1SOCok great!   :)19:02
*** mikek_DE1SOC <[email protected]> has quit IRC (Ping timeout: 256 seconds)19:09
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 252 seconds)19:11
*** mikek_DE1SOC <[email protected]> has joined #litex19:12
nickoemikek_DE1SOC: But it does not run after that though.19:12
nickoeIt works in the simulation19:12
nickoeBut maybe it is becase my simulation is diffrent somehow, I mean the build made against the litex_sim script didn't boot in my projects sim19:13
nickoemaybe I should try to figure out what is different there.19:13
*** mikek_DE1SOC <[email protected]> has quit IRC (Ping timeout: 240 seconds)19:28
*** mikek_DE1SOC <[email protected]> has joined #litex20:11
*** nelgau <nelgau!~nelgau@bras-base-mtrlpq2848w-grc-34-174-89-119-57.dsl.bell.ca> has joined #litex21:24
*** mikek_DE1SOC <[email protected]> has quit IRC (Quit: Leaving)21:32
*** curtbrune <curtbrune!~curtbrune@2601:646:9600:6271:2d8:61ff:fe57:83f6> has quit IRC (Quit: Client closed)21:54
*** mikek_DE1SOC <mikek_DE1SOC!~mikek@cpe000eb66559e0-cm08a7c0b4bdc4.cpe.net.cable.rogers.com> has joined #litex23:14
*** mikek_ <mikek_!~mikek@cpe000eb66559e0-cm08a7c0b4bdc4.cpe.net.cable.rogers.com> has joined #litex23:41
*** mikek_DE1SOC <mikek_DE1SOC!~mikek@cpe000eb66559e0-cm08a7c0b4bdc4.cpe.net.cable.rogers.com> has quit IRC (Ping timeout: 256 seconds)23:44
*** mikek__ <mikek__!~mikek@cpe000eb66559e0-cm08a7c0b4bdc4.cpe.net.cable.rogers.com> has joined #litex23:50
*** mikek_ <mikek_!~mikek@cpe000eb66559e0-cm08a7c0b4bdc4.cpe.net.cable.rogers.com> has quit IRC (Ping timeout: 240 seconds)23:52

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