Thursday, 2020-10-29

*** tpb has joined #litex00:00
*** lf_ has quit IRC00:12
*** lf has joined #litex00:13
*** key2 has quit IRC02:03
*** key2 has joined #litex02:03
*** Degi has quit IRC02:48
*** Degi has joined #litex02:51
*** shorne has quit IRC05:14
*** KSmith has quit IRC06:04
*** kgugala has joined #litex06:22
*** kgugala_ has quit IRC06:25
*** kgugala_ has joined #litex07:42
*** kgugala has quit IRC07:45
*** shorne has joined #litex07:45
*** shorne has quit IRC07:49
*** shorne has joined #litex07:55
*** [Matt] has quit IRC09:03
*** Melkhior has joined #litex09:07
*** [Matt] has joined #litex09:10
*** Melkhior has quit IRC10:33
*** kgugala has joined #litex12:02
*** kgugala_ has quit IRC12:04
*** kgugala has quit IRC12:11
*** kgugala has joined #litex12:11
_florent_KSmith, Melkhior: the Kernel panic was due to a csr_data_width mismatch between the gateware and linux drivers (default csr_data_width changed recently to 32-bit), this is solved with https://github.com/litex-hub/linux-on-litex-vexriscv/commit/7b0c212b8051eb7416bbbd3c8826cf6625a4f80a13:13
_florent_Krickit: i just tried building ./versa_ecp5 --cpu-type=picorv32 on my machine and it builds correctly but Yosys/Nextpnr is a but outdated, i'll do another test with a recent version.13:17
*** Melkhior has joined #litex14:12
Melkhior_florent_ Indeed with the 'working' commit from buildroot (88a268354d) and HEAD you just committed, it works fine :-)14:30
MelkhiorThanks :-)14:32
*** Melkhior has quit IRC16:23
powergraphic[m]Are there any examples using litesata as part of a soc? I would like to access a data drive through Linux.16:35
*** peeps has joined #litex17:32
*** peeps[zen] has quit IRC17:33
*** scientes_ is now known as scientes18:32
*** scientes has joined #litex18:32
kbeckmannis it ok to ask netv2 questions here? can't seem to find a dedicated channel for it. anyway, i am wondering if there is a LiteX project setup where PCIe is enabled for netv2?18:53
*** kgugala_ has joined #litex19:04
*** kgugala has quit IRC19:07
*** kgugala_ has quit IRC19:15
*** kgugala has joined #litex19:15
*** kgugala_ has joined #litex19:41
*** kgugala has quit IRC19:43
*** kgugala has joined #litex19:54
*** kgugala_ has quit IRC19:59
st-gourichon-fidzyp, regarding unaligned read, I'm just writing C code. Booting then reading 32-bit word at 0x80070001 works and provides expected value.  Looks like it is supported, then.  But: booting then reading 32-bit word at 0x80070000 (works) then 32-bit word at 0x80070001 crashes.20:27
st-gourichon-fid0x8007xxxx is flash.20:29
st-gourichon-fidReading only 8-bit bytes from addresses and assembling them with a C macro works always.20:30
st-gourichon-fid#define READ32_LE(p) ( (((p)[3]) << 24 ) | (((p)[2]) << 16 ) | (((p)[1]) << 8 ) | (((p)[0]) ) )20:30
st-gourichon-fidREAD32_LE(0x80070000) followed by READ32_LE(0x80070001) works.20:31
st-gourichon-fidprintf("%p", *((uint32_t *)0x80070000) ) printf("%p", *((uint32_t *)0x80070001) ) prints only one value20:33
st-gourichon-fidSmells like a bug in flash-handling logic? Anyone experienced this kind of behavior? zyp, _florent_ ?20:34
*** captain_morgan has quit IRC21:10
*** captain_morgan has joined #litex21:11
*** CarlFK has quit IRC23:09
*** acathla has quit IRC23:45
*** acathla has joined #litex23:46
kbeckmannanother pcie question.. has someone managed to instantiate two or more PCIe PHYs on Artix-7 with LiteX? i'm giving it a go but it seems i get stuck on using multiple refclk/IBUFDS_GTE2, which I guess isn't physically supported (need to check the datasheet here). i'm asking here in case someone has already attempted this and can nudge me in the right direction. I guess sharing one refclk between the23:50
kbeckmannlinks is preferrable.23:50
kbeckmannfor context i want to build something that intercepts a PCIe link, forwarding TLPs between one uplink and one downlink. so sharing one refclk for both tx ports shouldn't be a problem if i understand things correctly.23:52

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