_florent_ changed the topic of #litex to: LiteX FPGA SoC builder and Cores / Github : https://github.com/enjoy-digital, https://github.com/litex-hub / Logs: https://freenode.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has quit [Remote host closed the connection]
tpb has joined #litex
tpb has joined #litex
lf has quit [Ping timeout: 240 seconds]
lf has quit [Ping timeout: 240 seconds]
lf has joined #litex
lf has joined #litex
kgugala has joined #litex
kgugala has joined #litex
Degi_ has joined #litex
Degi_ has joined #litex
Degi has quit [Ping timeout: 276 seconds]
Degi has quit [Ping timeout: 276 seconds]
Degi_ is now known as Degi
Degi_ is now known as Degi
CarlFK has joined #litex
CarlFK has joined #litex
Bertl is now known as Bertl_zZ
Bertl is now known as Bertl_zZ
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #litex
_whitelogger_ has joined #litex
kgugala_ has joined #litex
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 264 seconds]
kgugala has quit [Ping timeout: 264 seconds]
rozpruwacz has joined #litex
rozpruwacz has joined #litex
rozpruwacz has quit [Ping timeout: 260 seconds]
rozpruwacz has quit [Ping timeout: 260 seconds]
rozpruwacz has joined #litex
rozpruwacz has joined #litex
RaivisR has joined #litex
RaivisR has joined #litex
kgugala_ has quit [Read error: Connection reset by peer]
kgugala_ has quit [Read error: Connection reset by peer]
kgugala has joined #litex
kgugala has joined #litex
RaivisR_ has joined #litex
RaivisR_ has joined #litex
RaivisR has quit [Ping timeout: 264 seconds]
RaivisR has quit [Ping timeout: 264 seconds]
RaivisR__ has joined #litex
RaivisR__ has joined #litex
RaivisR_ has quit [Ping timeout: 256 seconds]
RaivisR_ has quit [Ping timeout: 256 seconds]
rozpruwacz has quit [Ping timeout: 256 seconds]
rozpruwacz has quit [Ping timeout: 256 seconds]
rozpruwacz has joined #litex
rozpruwacz has joined #litex
RaivisR__ has quit [Quit: Leaving]
RaivisR__ has quit [Quit: Leaving]
CarlFK has quit [Quit: Leaving.]
CarlFK has quit [Quit: Leaving.]
Bertl_zZ is now known as Bertl
Bertl_zZ is now known as Bertl
smiteff has quit [Ping timeout: 264 seconds]
smiteff has quit [Ping timeout: 264 seconds]
simeonm has joined #litex
simeonm has joined #litex
shorne has quit [Ping timeout: 256 seconds]
shorne has quit [Ping timeout: 256 seconds]
rozpruwacz has quit [Ping timeout: 256 seconds]
rozpruwacz has quit [Ping timeout: 256 seconds]
rozpruwacz has joined #litex
rozpruwacz has joined #litex
RaivisR has joined #litex
RaivisR has joined #litex
rj has joined #litex
rj has joined #litex
<keesj> is there a place where the API are documented / I can link to ?
<keesj> is there a place where the API are documented / I can link to ?
<keesj> is there an example of a wishbone slave where I can act upon a wishbone write / CSR change
<keesj> is there an example of a wishbone slave where I can act upon a wishbone write / CSR change
<_florent_> keesj: sorry not yet, the example code/wiki/projects/tutorials have to be used for that. I'd like to free up more time to do this
<_florent_> keesj: sorry not yet, the example code/wiki/projects/tutorials have to be used for that. I'd like to free up more time to do this
<keesj> well. I am trying to add a little documentation to the wiki (on the adding verilog modules) but it would be nice to be able to link to the Instance documentation for example. I do a lot of grep/silversearch-ag google / search for example and ofthen that just works™ and it is all not that complicated (once you know what do do)
<keesj> well. I am trying to add a little documentation to the wiki (on the adding verilog modules) but it would be nice to be able to link to the Instance documentation for example. I do a lot of grep/silversearch-ag google / search for example and ofthen that just works™ and it is all not that complicated (once you know what do do)
<_florent_> Instance are from Migen/FHDL: https://m-labs.hk/migen/manual/fhdl.html#instances
<_florent_> Instance are from Migen/FHDL: https://m-labs.hk/migen/manual/fhdl.html#instances
<tpb> Title: The FHDL domain-specific language Migen 0.8.dev0 documentation (at m-labs.hk)
<tpb> Title: The FHDL domain-specific language Migen 0.8.dev0 documentation (at m-labs.hk)
shivampotdar has quit [Ping timeout: 265 seconds]
shivampotdar has quit [Ping timeout: 265 seconds]
CarlFK[m] has quit [Ping timeout: 265 seconds]
CarlFK[m] has quit [Ping timeout: 265 seconds]
[Matt]_ has quit [Ping timeout: 264 seconds]
[Matt]_ has quit [Ping timeout: 264 seconds]
[Matt] has joined #litex
[Matt] has joined #litex
disasm[m] has quit [Ping timeout: 244 seconds]
disasm[m] has quit [Ping timeout: 244 seconds]
shoragan[m] has quit [Ping timeout: 258 seconds]
shoragan[m] has quit [Ping timeout: 258 seconds]
jryans has quit [Ping timeout: 240 seconds]
JJJollyjim has quit [Ping timeout: 240 seconds]
JJJollyjim has quit [Ping timeout: 240 seconds]
jryans has quit [Ping timeout: 240 seconds]
apolkosnik[m] has quit [Ping timeout: 258 seconds]
apolkosnik[m] has quit [Ping timeout: 258 seconds]
leons has quit [Ping timeout: 240 seconds]
leons has quit [Ping timeout: 240 seconds]
xobs has quit [Ping timeout: 268 seconds]
xobs has quit [Ping timeout: 268 seconds]
sajattack[m] has quit [Ping timeout: 244 seconds]
sajattack[m] has quit [Ping timeout: 244 seconds]
Guest57260 has quit [Ping timeout: 244 seconds]
Guest57260 has quit [Ping timeout: 244 seconds]
promach3 has quit [Ping timeout: 258 seconds]
promach3 has quit [Ping timeout: 258 seconds]
simeonm has quit [Ping timeout: 244 seconds]
simeonm has quit [Ping timeout: 244 seconds]
simeonm has joined #litex
simeonm has joined #litex
simeonm has quit [Ping timeout: 240 seconds]
simeonm has quit [Ping timeout: 240 seconds]
simeonm has joined #litex
simeonm has joined #litex
shivampotdar has joined #litex
shivampotdar has joined #litex
disasm[m] has joined #litex
disasm[m] has joined #litex
shoragan[m] has joined #litex
shoragan[m] has joined #litex
rozpruwacz has quit [Ping timeout: 256 seconds]
rozpruwacz has quit [Ping timeout: 256 seconds]
JJJollyjim has joined #litex
JJJollyjim has joined #litex
sajattack[m] has joined #litex
sajattack[m] has joined #litex
jryans has joined #litex
jryans has joined #litex
apolkosnik[m] has joined #litex
apolkosnik[m] has joined #litex
CarlFK[m] has joined #litex
CarlFK[m] has joined #litex
xobs has joined #litex
xobs has joined #litex
Guest57260 has joined #litex
Guest57260 has joined #litex
leons has joined #litex
leons has joined #litex
promach3 has joined #litex
promach3 has joined #litex
shorne has joined #litex
shorne has joined #litex
Bertl is now known as Bertl_oO
Bertl is now known as Bertl_oO
<G33KatWork> does anybody here know a good sdcard sniffing project? I looked at litesdcard, but that's master only, but I want to tap the sd commands for something and I have a hard time thinking about how to get the data properly into the fpga. The clk is async to the internal fpga clock obviously and it is also only active when there is actual traffic from the device to the sd. I don't think I can oversample the
<G33KatWork> does anybody here know a good sdcard sniffing project? I looked at litesdcard, but that's master only, but I want to tap the sd commands for something and I have a hard time thinking about how to get the data properly into the fpga. The clk is async to the internal fpga clock obviously and it is also only active when there is actual traffic from the device to the sd. I don't think I can oversample the
<G33KatWork> clock and command/data lines, because it's an emmc which is potentially very fast - I just don't know *how* fast yet
<G33KatWork> clock and command/data lines, because it's an emmc which is potentially very fast - I just don't know *how* fast yet
<keesj> Just for sniffing.. Saleae Logic did work nicely for me (the pro version) emmc can be more painfull (more data lines/ ddr) (sigrok also had some code)
<keesj> Just for sniffing.. Saleae Logic did work nicely for me (the pro version) emmc can be more painfull (more data lines/ ddr) (sigrok also had some code)
<G33KatWork> I need it in an fpga for fault injection
<G33KatWork> I need it in an fpga for fault injection
<G33KatWork> clk/cmd should be enough
<G33KatWork> clk/cmd should be enough
<keesj> A.. that is more my type of fun :P
<keesj> A.. that is more my type of fun :P
<G33KatWork> I am just brainstorming right now and looking for existing stuff. I didn't even prepare the hardware yet
<G33KatWork> I am just brainstorming right now and looking for existing stuff. I didn't even prepare the hardware yet
<G33KatWork> and I am not very experienced at writing my own fpga cores from scratch to be honest. talking to external components or sniffing stuff with an fpga has always been very painful to me...
<G33KatWork> and I am not very experienced at writing my own fpga cores from scratch to be honest. talking to external components or sniffing stuff with an fpga has always been very painful to me...
<keesj> I have previously worked on something like this and currently doing the same for nand flash (Mitm/TOCTOU type attacks)
<keesj> I have previously worked on something like this and currently doing the same for nand flash (Mitm/TOCTOU type attacks)
<keesj> is emulation an option? do you already know .. how you are going to/planning on performing the experiment on the hardware?
<keesj> is emulation an option? do you already know .. how you are going to/planning on performing the experiment on the hardware?
<G33KatWork> I have something a friend did in the past - even in migen, but that was 3 years ago, I personally never used it and I am not sure if it even works flawlessly. I think it had problems with capturing the data properly
<G33KatWork> I have something a friend did in the past - even in migen, but that was 3 years ago, I personally never used it and I am not sure if it even works flawlessly. I think it had problems with capturing the data properly
<G33KatWork> emulation could work
<G33KatWork> emulation could work
<G33KatWork> hmm, there is micah's flipsyfat: https://github.com/scanlime/flipsyfat
<G33KatWork> hmm, there is micah's flipsyfat: https://github.com/scanlime/flipsyfat
<keesj> yes.. it no all that trivial. the more I know about it the more things are getting difficult:) and for example for serious capture you can not just sample you will probably want to clock the recived using the eMMC clock line (I used the arty serdes2 ip for that)
<keesj> yes.. it no all that trivial. the more I know about it the more things are getting difficult:) and for example for serious capture you can not just sample you will probably want to clock the recived using the eMMC clock line (I used the arty serdes2 ip for that)
<G33KatWork> yeah, that's exactly what I have no experience with...
<G33KatWork> yeah, that's exactly what I have no experience with...
<G33KatWork> I guess I'm going to read some xilinx serdes appnotes then :)
<G33KatWork> I guess I'm going to read some xilinx serdes appnotes then :)
<keesj> hmm I had flipyfat already bookmarked but forgot about it
<keesj> hmm I had flipyfat already bookmarked but forgot about it
<G33KatWork> I used it once to implement an LVDS input for a camera chip using 4x oversampling which was... quite an adventure, but I made it work in the end! (XPP523)
<G33KatWork> I used it once to implement an LVDS input for a camera chip using 4x oversampling which was... quite an adventure, but I made it work in the end! (XPP523)
<keesj> this works but perhaps I am overreacting :P ( I was looking at snopping ddr3 back then)
<keesj> this works but perhaps I am overreacting :P ( I was looking at snopping ddr3 back then)
<G33KatWork> haha, ouch. okay
<G33KatWork> haha, ouch. okay
CarlFK has joined #litex
CarlFK has joined #litex
CarlFK has quit [Client Quit]
CarlFK has quit [Client Quit]
<G33KatWork> the main thing that concerns me is that the clk might not be continous. so I need to be source-synchronous, but I don't have a continous data stream and need to lock and recover the clock more or less instantly
<G33KatWork> the main thing that concerns me is that the clk might not be continous. so I need to be source-synchronous, but I don't have a continous data stream and need to lock and recover the clock more or less instantly
<keesj> but that app note I think is nice but I don't know well about the latency you are allowed to have on eMMC. (SPI flash for example is quite hard to emulate) https://github.com/osresearch/spispy
<keesj> but that app note I think is nice but I don't know well about the latency you are allowed to have on eMMC. (SPI flash for example is quite hard to emulate) https://github.com/osresearch/spispy
<G33KatWork> with every transaction the phase is going to be different etc.
<G33KatWork> with every transaction the phase is going to be different etc.
<keesj> The SPI protocol is difficult to emulate without specialized hardware since it has very demanding timing requirements.
<keesj> The SPI protocol is difficult to emulate without specialized hardware since it has very demanding timing requirements.
<G33KatWork> yeah, I remember that SPI ROM emulator trammell hudson built for SPI flash emulation. he faced the same problems
<G33KatWork> yeah, I remember that SPI ROM emulator trammell hudson built for SPI flash emulation. he faced the same problems
<keesj> but anways.. getting the data in nicely is already great. for eMMC on startup all you need to do is give it a clock and it will spit out the data at your own rate
<keesj> but anways.. getting the data in nicely is already great. for eMMC on startup all you need to do is give it a clock and it will spit out the data at your own rate
<keesj> (the link is his work)
<keesj> (the link is his work)
<G33KatWork> heh, overlooked that. thanks
<G33KatWork> heh, overlooked that. thanks
<G33KatWork> I think I have enough to read now, thanks for the pointers!
<G33KatWork> I think I have enough to read now, thanks for the pointers!
<keesj> well. it looks like you probably know your way already .. good luck and also ask other people .. I am actually a dog
<keesj> well. it looks like you probably know your way already .. good luck and also ask other people .. I am actually a dog
<G33KatWork> :D
<G33KatWork> :D
<keesj> do you publish you research somewhere?
<keesj> do you publish you research somewhere?
<G33KatWork> yes, I will
<G33KatWork> yes, I will
<G33KatWork> I am not the only one working on that right now though
<G33KatWork> I am not the only one working on that right now though
<G33KatWork> so that somebody else I am in contact with might be faster with a different approach ;)
<G33KatWork> so that somebody else I am in contact with might be faster with a different approach ;)
<G33KatWork> but it's a university thesis, so I'll let him do his stuff first until he's fed up or done
<G33KatWork> but it's a university thesis, so I'll let him do his stuff first until he's fed up or done
<keesj> we choose to use FPGA not because it is easy
<keesj> we choose to use FPGA not because it is easy
kgugala_ has joined #litex
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 245 seconds]
kgugala has quit [Ping timeout: 245 seconds]
rj has quit [Ping timeout: 268 seconds]
rj has quit [Ping timeout: 268 seconds]
rj has joined #litex
rj has joined #litex
pdp7 has joined #litex
pdp7 has joined #litex
peeps[zen] has joined #litex
peeps[zen] has joined #litex
peepsalot has quit [Ping timeout: 240 seconds]
peepsalot has quit [Ping timeout: 240 seconds]
peeps[zen] is now known as peepsalot
peeps[zen] is now known as peepsalot