_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://libera.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has joined #litex
Degi has quit [Ping timeout: 240 seconds]
Degi has joined #litex
<pepijndevos[m]> Huh what's that for?
philpax_ has quit [*.net *.split]
mobius has quit [*.net *.split]
sorear has quit [*.net *.split]
mobius has joined #litex
philpax_ has joined #litex
sorear has joined #litex
_florent_ has quit [*.net *.split]
tumbleweed has quit [*.net *.split]
tumbleweed has joined #litex
_florent_ has joined #litex
FabM has joined #litex
FabM has joined #litex
FabM has quit [Changing host]
davebee has joined #litex
<_florent_> cr1901, pepijndevos[m]: pythondata-auto are in fact just here to give us more flexibility for deployment vs git submodules. For private projects or experiments, this is not really useful.
<_florent_> Wolfvak: Can you verify that the default configuration is also only providing 64MiB? (./make.py --board=orangecrab --build --load)
<_florent_> Wolfvak: if so, I could have a look. (I could also have a look if not, but we'll then know that this related to the additional parameters).
zjason`` is now known as zjason
novenary has quit [Quit: ZNC 1.8.2 - https://znc.in]
novenary has joined #litex
jdmux has quit [Ping timeout: 256 seconds]
<Wolfvak> _florent_, I've also been thinking it might just be a dtb thing since that's what indicates memory regions
<Wolfvak> I used the one from the gh issue with the latest for orangecrab
<Wolfvak> gonna try building the gw without any custom options too
<_florent_> Wolfvak: the LiteX BIOS should also report the DRAM size based on the one computed during the build, does it matches the one in Linux?
<Wolfvak> yep the BIOS reports the full 128MiB
<Wolfvak> and `hexdump /sys/firmware/devicetree/base/memory@40000000/reg` reports that the devicetree is wrong
<Wolfvak> btw there's a bug in line 765 of make.py, someone left a stray `...platforms.orangecrab`, should be `...platforms.gsd_orangecrab`
<Wolfvak> (or at least that fixed it for me, must've been a recent change)
xenador77 has joined #litex
<Wolfvak> and yeah, using the rv32.dtb I get with the build gives me 128 megs so that was my bad
<somlo> very early, alpha quality, read-only, experimental LiteSATA linux driver https://github.com/litex-hub/linux/commit/cd0693dc796834af1271617363b879641f624f91 (in the https://github.com/litex-hub/linux/tree/litex-rebase branch)
<somlo> https://pastebin.com/P4JKWn4t for a first (apparently successful) read test...
<somlo> now I gotta go and do $DAYJOB things for a while, will play a bit more with this over the next few days (add write support, get it to actually scan the disk for partitions, etc.)
linear_cannon has quit [Ping timeout: 240 seconds]
cr1901 has joined #litex
cr1901 has quit [Remote host closed the connection]
cr1901 has joined #litex
cr1901 has quit [Remote host closed the connection]
cr1901 has joined #litex
cr1901 has quit [Client Quit]
davebee has quit [Quit: Leaving]
FabM has quit [Quit: Leaving]
xenador77 has quit [Remote host closed the connection]
xenador77 has joined #litex
xenador77 has quit [Ping timeout: 252 seconds]
<_florent_> somlo: Great, thanks , that's already a first good step!
<_florent_> somlo: I'll try to add the missing features in the interface soon (IRQs and allow running the Identify command from software)
<somlo> _florent_: no rush, it'll be a few days before I can play with it some more. Not sure whether it's worth enabling (requiring) the full SATA IdentifyDevice command given how well encapsulated the rest of the interface is, though
<somlo> maybe just exposing a register (e.g. part of the phy) that allows the software to read how many 512-byte sectors the device has total would be enough?
<somlo> and not having to read a sector as part of initialization would be nice (right now I need to use a global buffer, since dma-mapping anything on the stack of the probe method fails in linux)
<somlo> either way (except for the "don't make me read a buffer" thing) it's still mostly on me to improve the driver before we'd actually need any of the additional stuff (irq, identify/sector-count registers, etc)
xenador77 has joined #litex
xenador77 has quit [Remote host closed the connection]
cr1901 has joined #litex
G33KatWork is now known as andy
andy is now known as G33KatWork
cr1901 has quit [Ping timeout: 248 seconds]
<swetland> heya litex folks, I'm building some ethernet phy pmods (LAN8720A, expecting 50MHz clock from the MAC) -- is there a good example in one of the existing Litex board targets of configuring the ethernet MAC against a RMII PHY for 100TX, with the MAC providing the clock to the PHY?