Sunday, 2021-10-10

*** tpb <[email protected]> has joined #litex00:00
*** NotHet <[email protected]> has joined #litex02:30
NotHetSo couple days ago I posted that Zephyr was hanging. I think I found out why. The register definitions in the Zephyr/litex_timer.c are all wrong. If I hack it to have updated addresses Zephr runs02:34
NotHetIt seems like the spacing between CSRs AND the location of some of the registers changed, but I am not sure02:35
NotHetMight all of the litex drivers have this? I'm going to try and figure out what all could have been impacted, but I am _totally_ new to this ecosystem and its a bit of a stumble around. What all should I be looking for?02:35
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)02:52
*** TMM_ <[email protected]> has joined #litex02:52
*** Degi <[email protected]> has quit IRC (Ping timeout: 260 seconds)02:56
*** Degi <[email protected]> has joined #litex02:56
Wolf0_florent_: I found this out, that's right. It's eye detection03:03
NotHetLooks like the eth_liteeth.c has bad register definitions too. Bit these are a bit less straight forward to hack-to-fix03:20
NotHetI created a GH issue https://github.com/zephyrproject-rtos/zephyr/issues/39298 03:34
*** NotHet <[email protected]> has quit IRC (Remote host closed the connection)04:12
_florent_NotHet : This is probably related to the merge https://github.com/enjoy-digital/liteeth/pull/74 (that removes an error CSR), I'll look at this tomorrow06:53
*** ewen <[email protected]> has quit IRC (Quit: leaving)07:45
*** guan <[email protected]> has quit IRC (Ping timeout: 252 seconds)09:21
*** guan <[email protected]> has joined #litex09:22
*** key2 <[email protected]> has quit IRC (Read error: Connection reset by peer)09:30
*** key2 <[email protected]> has joined #litex09:32
Wolf0https://www.reddit.com/r/FPGA/comments/q515qd/things_xilinx_wont_tell_you_about_their_internal/ - It took me way too long to write this, but it came out okay10:07
*** key2 <[email protected]> has quit IRC (Ping timeout: 260 seconds)10:36
*** key2 <[email protected]> has joined #litex10:37
*** NotHet <[email protected]> has joined #litex13:40
*** zjason <[email protected]> has quit IRC (Remote host closed the connection)13:46
*** zjason <[email protected]> has joined #litex13:46
*** NotHet <[email protected]> has quit IRC (Remote host closed the connection)14:01
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)15:20
*** TMM_ <[email protected]> has joined #litex15:20
*** NotHet_ <[email protected]> has joined #litex17:07
*** NotHet_ is now known as NotHet17:14
*** NotHet <[email protected]> has quit IRC (Read error: Connection reset by peer)18:18
*** NotHet <[email protected]> has joined #litex18:22
*** NotHet <[email protected]> has quit IRC (Client Quit)18:24
*** NotHet <[email protected]> has joined #litex18:25
NotHet_florent_ thanks. I've also created a Zephyr PR for the timer fix https://github.com/zephyrproject-rtos/zephyr/pull/39304 18:26
*** NotHet <[email protected]> has quit IRC (Ping timeout: 252 seconds)18:43
*** NotHet <[email protected]> has joined #litex19:20
_florent_NotHet: Thanks, I have a preference to revert the LiteEth change because otherwise we'll also have to update other drivers19:26
*** NotHet <[email protected]> has quit IRC (Ping timeout: 265 seconds)19:49
*** linear_cannon <[email protected]> has quit IRC (Ping timeout: 252 seconds)20:15
*** linear_cannon <[email protected]> has joined #litex20:16
*** NotHet <[email protected]> has joined #litex20:16
*** NotHet <[email protected]> has quit IRC (Ping timeout: 252 seconds)20:45
*** Guest48 <[email protected]> has joined #litex20:54
*** Guest48 is now known as nosky20:57
noskyhi everyone, does anyone know what is the cheapest ice40 fpga that can do SATA I ?20:58
tntNone of them.21:02
noskyI'd have to use a SATA controller? Or maybe a fast serializer (mux) ?21:06
tntThere used to be external chips but I don't think you'll find any anymore. 21:10
tntBut the ice40 is kind of ill suited for that anyway ... why do you want to use it to do _sata_ ?21:10
noskyto get access to multi-terabyte hard drives21:11
tntIf you're really intended to do that, you migh twant to get something like : https://www.redcorp.com/en/product/i-o-controller-sata-esata/startech-com/ide-pata-to-sata-adapter-converter-for-hdd-ssd-odd-40-pin-ide2sat2/7564599721:13
tpbTitle: STARTECH.COM Ide Pata To SATA Adapter Converter For HDD/SSD/odd 40-pin - IDE2SAT2 - Redcorp.com/en (at www.redcorp.com)21:13
tntand then just access it as PATA.21:13
tntwhich would be way more doable on an ice40 class device. Something like an HX8k would probably do.21:13
noskydo you know what kind of chip are they using on that adapter? I want the sata connector to be on the same board as the fpga21:18
noskyfound it, JM20330, but it's not on sale anymore21:21
noskynevermind, found it on aliexpress. Thanks for the great idea! https://www.aliexpress.com/item/1005002000538254.html21:23
tpbTitle: MeiMxy JM20330 JMH330 QFP NEW HDD CHIP 1PCS|Integrated Circuits| - AliExpress (at www.aliexpress.com)21:23
*** NotHet <[email protected]> has joined #litex21:29
NotHet_florent_ Did the liteeth's change effect Timer's CSRs too? Looking to know if I should keep my PR or cancel it. Not sure how it all fits together, so maybe silly question. 21:34
NotHetSeems like the ethlite and the timer are unrelated problems? Like Timer CSRs are using the old style 8 bit CSR bus to access the 32 bit registers. But the LiteX SOC is using 32 bit wide CSR bus now. Which would mean keep the PR open? 22:34
*** NotHet <[email protected]> has quit IRC (Ping timeout: 252 seconds)22:39
*** NotHet <[email protected]> has joined #litex22:39
NotHetActually I think I see a problem in my PR now. The write into TIMER_RELOAD and TIMER_LOAD are using the 8 bit CSR bus....22:51
*** NotHet <[email protected]> has quit IRC (Ping timeout: 252 seconds)23:07

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