*** tpb has joined #litex | 00:00 | |
flammit | Hi all! I'm very new to litex and fpgas in general, so if my question is wrong or off base, my apologies upfront. I'm playing with the linux-on-litex-vexriscv repo and trying to add and initialize a small new SRAM block at 0x18000000 from the bitstream to be used during the bios execution. Unfortunately, when I read the data early on in the bios/main.c, it seems to already be corrupted / not what was specified in init data. | 03:30 |
---|---|---|
flammit | feels like I'm missing something very basic/obvious, hence my question here =) | 03:31 |
*** rohitksingh_work has joined #litex | 05:07 | |
_florent_ | Hi flammit, i think your issue is related the current limitation of the address_decoder: your new SRAM block needs to be 256MB aligned | 05:26 |
_florent_ | https://github.com/litex-hub/linux-on-litex-vexriscv/blob/master/soc_linux.py#L25 | 05:26 |
tpb | Title: linux-on-litex-vexriscv/soc_linux.py at master · litex-hub/linux-on-litex-vexriscv · GitHub (at github.com) | 05:26 |
_florent_ | you can use 0x60000000 for example | 05:27 |
flammit | Aaah. Thanks for the tip! | 05:27 |
flammit | I should’ve known I did something wrong by the careful choices in the mem_map | 05:29 |
_florent_ | We should also add a warning or raise an error in the code when it happens :) | 05:29 |
_florent_ | but i'll try to remove this limitation soon, you are not the first one having this issue/question | 05:30 |
flammit | No worries at all. Makes me want to dig deeper into all the magic. Thanks again for all the help and the great work here. | 05:33 |
keesj_ | and.. to be honest.. it is quite amazing .."I new to litex and fpgas in general" and I am playing with a full SoC design | 06:47 |
*** rohitksingh_work has quit IRC | 14:23 | |
somlo | Booting linux on Litex+Rocket (well, not all the way, but it's a start :) http://www.contrib.andrew.cmu.edu/~somlo/BTCP/LitexRocketNexys4ddrLinuxCrash.mp4 | 16:20 |
_florent_ | somlo: nice! | 17:11 |
somlo | I think I'm missing something about generating a litex-specific defconfig -- the default CMDLINE I'm specifying doesn't get picked up by the compiled kernel | 17:14 |
somlo | so for now I've hacked it in directly into the source file for init/main.c; will spend the rest of today figuring out how not to have to do that anymore -- and hopefully that'll take care of my "initramfs.cpio" as well -- that's where init *should* be, so I'm probably compiling a different configuration than the one I *think* I am :) | 17:15 |
somlo | but hey, now that it's actually willing to talk to me, it should be easier than staring at a blank console with no output :) | 17:16 |
_florent_ | :) | 17:20 |
futarisIRCcloud | somlo: Looks good. You can record ascii sessions using https://asciinema.org/ ... | 23:55 |
tpb | Title: asciinema - Record and share your terminal sessions, the right way (at asciinema.org) | 23:55 |
futarisIRCcloud | https://en.wikipedia.org/wiki/Large_receive_offload | 23:55 |
tpb | Title: Large receive offload - Wikipedia (at en.wikipedia.org) | 23:55 |
futarisIRCcloud | https://en.wikipedia.org/wiki/New_API | 23:55 |
tpb | Title: New API - Wikipedia (at en.wikipedia.org) | 23:55 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!