*** tpb <[email protected]> has joined #litex | 00:00 | |
*** Degi_ <[email protected]> has joined #litex | 00:26 | |
*** Degi <[email protected]> has quit IRC (Ping timeout: 264 seconds) | 00:27 | |
*** Degi_ is now known as Degi | 00:27 | |
*** nickoe <[email protected]> has quit IRC (Quit: Client closed) | 01:17 | |
*** nickoe <[email protected]> has joined #litex | 01:17 | |
*** nickoe <[email protected]> has quit IRC (Quit: Client closed) | 04:56 | |
*** nickoe <[email protected]> has joined #litex | 04:56 | |
*** FabM <FabM!~FabM@2a03:d604:103:600:2e60:8c7c:e8fb:7990> has joined #litex | 06:23 | |
*** nickoe <[email protected]> has quit IRC (Quit: Client closed) | 07:22 | |
*** nickoe <[email protected]> has joined #litex | 07:23 | |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 08:43 | |
*** TMM_ <[email protected]> has joined #litex | 08:44 | |
*** slagernate <[email protected]> has joined #litex | 09:57 | |
slagernate | I can't seem to get the software/demo working on a crosslink-nx eval board. litex_term is hanging when I try to upload anything. Same behaviour when I try e.g. the wishbone tool on this [icebreaker-litex tutorial](https://github.com/icebreaker-fpga/icebreaker-litex-examples) (although at least in this case I am getting `screen /dev/ttyUSB1 115200` | 10:00 |
---|---|---|
slagernate | to work. Can someone share or point me to an example crosslinknx setup? Kind of disappointed how difficult this has been.. was getting similar errors as this closed issue, https://github.com/enjoy-digital/litex/issues/814, which took a while to overcome. | 10:00 |
*** Brinx <[email protected]> has quit IRC (Remote host closed the connection) | 10:19 | |
*** Brinx <[email protected]> has joined #litex | 10:19 | |
*** slagernathan <slagernathan!~slagernat@2601:643:8a80:e50:b49a:eac7:a8aa:199b> has joined #litex | 10:23 | |
*** nickoe <[email protected]> has quit IRC (Quit: Client closed) | 10:23 | |
*** nickoe <[email protected]> has joined #litex | 10:24 | |
*** slagernathan <slagernathan!~slagernat@2601:643:8a80:e50:b49a:eac7:a8aa:199b> has quit IRC (Client Quit) | 10:24 | |
*** Brinx_ <[email protected]> has joined #litex | 10:27 | |
*** Brinx <[email protected]> has quit IRC (Ping timeout: 268 seconds) | 10:31 | |
*** nelgau_ <[email protected]> has joined #litex | 10:41 | |
*** nelgau <[email protected]> has quit IRC (Ping timeout: 264 seconds) | 10:41 | |
*** Guest8389 <Guest8389!~Guest83@2001:638:504:2023::173> has joined #litex | 10:44 | |
*** Guest8389 <Guest8389!~Guest83@2001:638:504:2023::173> has quit IRC (Client Quit) | 10:47 | |
minute | i have the VideoFrameBuffer base set to 0x50000000. my memory goes from 0x40000000-0x80000000. i see a semi random pixel pattern on screen. but if i run a mem_test 0x50000000 0x100000, for example, there's no change. i think that the LiteDRAMDMAReader is somehow reading a different location. what could be the issue? | 10:47 |
minute | i can read video_framebuffer_dma_offset and i see it is cycling. | 10:48 |
minute | and the video_framebuffer_dma_base is > 0xf0009800 00 00 00 50 | 10:49 |
minute | if i do mem_copy 0x50000000 0x40000000 0x100000 i also see no change on screen | 10:50 |
minute | but mem_read 0x50000000 shows all 0xff now, so def. the content has changed | 10:51 |
minute | is there some kind of mmu remapping involved so that i have to give the videoframebuffer a different address than the physical memory address, _florent_ ? | 10:51 |
minute | i'm building vexriscv with --cpu-count 1 --with-coherent-dma | 10:51 |
minute | if i do mem_write 0xf0009800 0x40000000 to change the dma base address, i can see different pixel content, but instead of all white it is just a different semi-random pattern (looks like uninitialized memory). so the base address does _something_, but does not point at the expected memory address | 10:55 |
minute | aha, mem_write 0xf0009800 0x10000000 gives me all white! | 10:55 |
minute | so the video dma base has to be 0 if it has to read from the start of dram | 10:56 |
*** Brinx_ <[email protected]> has quit IRC (Remote host closed the connection) | 11:14 | |
*** indy <[email protected]> has quit IRC (Ping timeout: 265 seconds) | 11:47 | |
*** philpax_ <[email protected]> has quit IRC (Quit: Connection closed for inactivity) | 12:01 | |
gatecat | slagernate: unfortunately, this seems like it's probably a problem somewhere in the oss stack - testing with the evn board radiant works but oxide doesn't | 12:11 |
gatecat | I will try and investigate but that is unlikely to be before next week as I'm heading out for some time afk fairly soon | 12:11 |
*** Brinx <[email protected]> has joined #litex | 12:14 | |
*** Brinx <[email protected]> has quit IRC (Remote host closed the connection) | 12:15 | |
*** Brinx <[email protected]> has joined #litex | 12:15 | |
gatecat | slagernate: as a workaround for now, using picorv32 instead of vexriscv works | 12:17 |
gatecat | (I think the problem might be somewhere in memory inference and related to the vexriscv caches but don't hold me on that one, still doing some investigation) | 12:17 |
gatecat | slagernate: one last notif I promise :D if you want to try living on the wild side vexriscv hopefully works too with the patch in this last comment: https://github.com/YosysHQ/yosys/issues/3416#issuecomment-1249317118 | 12:44 |
gatecat | I'm building the SoC from litex-boards with `python ~/litex-boards/litex_boards/targets/lattice_crosslink_nx_evn.py --toolchain oxide --build` for reference | 12:45 |
MoeIcenowy | BTW I saw RocketChip tagged 1.4 today | 13:17 |
*** indy <[email protected]> has joined #litex | 13:38 | |
somlo | maybe it's time for an update to `pythondata-cpu-rocket` :) | 14:08 |
somlo | I was planning on that before diving into trying to debug Fedora booting on litex+rocket, but $DAYJOB keeps getting in the way... | 14:09 |
minute | there's no linux driver for litex i2s yet, correct? | 14:30 |
somlo | minute: this is the most up to date list of out-of-tree litex drivers I'm aware of: https://github.com/torvalds/linux/compare/master...litex-hub:linux:litex-rebase | 14:50 |
minute | somlo: thanks! | 14:50 |
somlo | I try to keep things up to date w.r.t. the linus tree here: https://github.com/litex-hub/linux/tree/litex-rebase | 14:52 |
*** Brinx <[email protected]> has quit IRC (Remote host closed the connection) | 14:57 | |
*** Brinx <[email protected]> has joined #litex | 15:01 | |
*** Brinx <[email protected]> has quit IRC (Ping timeout: 268 seconds) | 15:06 | |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 15:43 | |
*** TMM_ <[email protected]> has joined #litex | 15:43 | |
*** Brinx <[email protected]> has joined #litex | 15:59 | |
*** Brinx <[email protected]> has quit IRC (Ping timeout: 265 seconds) | 16:03 | |
*** slagernate <[email protected]> has quit IRC (Quit: Client closed) | 16:05 | |
*** Brinx <[email protected]> has joined #litex | 16:06 | |
*** nickoe <[email protected]> has quit IRC (Quit: Client closed) | 16:09 | |
*** nickoe <[email protected]> has joined #litex | 16:09 | |
*** nickoe <[email protected]> has quit IRC (Quit: Client closed) | 16:28 | |
*** nickoe <[email protected]> has joined #litex | 16:28 | |
*** slagernathan <slagernathan!~slagernat@2601:643:8a80:e50:b49a:eac7:a8aa:199b> has joined #litex | 17:07 | |
*** slagernathan <slagernathan!~slagernat@2601:643:8a80:e50:b49a:eac7:a8aa:199b> has quit IRC (Client Quit) | 17:10 | |
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Quit: Leaving) | 17:21 | |
*** nickoe <[email protected]> has quit IRC (Quit: Client closed) | 17:22 | |
*** nickoe <[email protected]> has joined #litex | 17:22 | |
*** SpaceCoaster <SpaceCoaster!~derek@user/spacecoaster> has quit IRC (Quit: Bye) | 17:51 | |
*** SpaceCoaster <SpaceCoaster!~derek@user/spacecoaster> has joined #litex | 17:52 | |
*** zjason` <zjason`[email protected]> has joined #litex | 19:13 | |
*** zjason <[email protected]> has quit IRC (Ping timeout: 252 seconds) | 19:14 | |
*** nickoe <[email protected]> has quit IRC (Quit: Client closed) | 19:50 | |
*** nickoe <[email protected]> has joined #litex | 19:51 | |
*** nickoe <[email protected]> has quit IRC (Quit: Client closed) | 21:57 | |
*** nickoe <[email protected]> has joined #litex | 21:58 | |
*** slagernate <[email protected]> has joined #litex | 23:19 | |
slagernate | gatecat: sadly, litex_term is still hanging for me even when using picorv also, likely this is a simple mistake of mine, but when using radiant as toolchain, synpwrap is failing with `Fail to run synpwrap -prj lattice_crosslink_nx_evn_impl_synplify.tcl -log lattice_crosslink_nx_evn_impl.srf` and `@E| Mal-formed command line - please check for extra | 23:19 |
slagernate | quotes in macro specification' | 23:19 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!