_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 joined #litex
_whitelogger has joined #litex
FFY00 has quit [Read error: Connection reset by peer]
FFY00 has joined #litex
_florent__ has joined #litex
leons has quit [*.net *.split]
_florent_ has quit [*.net *.split]
xfxf has quit [*.net *.split]
tucanae47 has quit [*.net *.split]
_florent__ is now known as _florent_
Degi has quit [Ping timeout: 246 seconds]
Degi has joined #litex
synaption[m] has quit [Ping timeout: 240 seconds]
xobs has quit [Ping timeout: 256 seconds]
john_k[m] has quit [Ping timeout: 260 seconds]
nrossi has quit [Ping timeout: 260 seconds]
sajattack[m] has quit [Ping timeout: 252 seconds]
CarlFK[m] has quit [Ping timeout: 244 seconds]
disasm[m] has quit [Ping timeout: 256 seconds]
david-sawatzke[m has quit [Ping timeout: 256 seconds]
bunnie has quit [Ping timeout: 246 seconds]
tucanae47 has joined #litex
sajattack[m] has joined #litex
Skip has quit [Remote host closed the connection]
xobs has joined #litex
CarlFK[m] has joined #litex
Degi has quit [Ping timeout: 256 seconds]
Degi has joined #litex
nrossi has joined #litex
bunnie has joined #litex
john_k[m] has joined #litex
synaption[m] has joined #litex
leons has joined #litex
disasm[m] has joined #litex
david-sawatzke[m has joined #litex
kgugala_ has joined #litex
kgugala__ has joined #litex
kgugala has quit [Ping timeout: 265 seconds]
kgugala_ has quit [Ping timeout: 240 seconds]
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
Skip has joined #litex
xfxf has joined #litex
<tpb> Title: LiteX: UART: switch to 32-bit CSR alignment · riscv/riscv-pk@e66bf2e · GitHub (at github.com)
<somlo> relatively straightforward
<somlo> now let's have a look at the new linux sdcard driver, see if I can get it working on rocket...
disasm[m] has quit [*.net *.split]
nrossi has quit [*.net *.split]
CarlFK[m] has quit [*.net *.split]
Skip has quit [Remote host closed the connection]
david-sawatzke[m has quit [Ping timeout: 260 seconds]
leons has quit [Ping timeout: 252 seconds]
synaption[m] has quit [Ping timeout: 252 seconds]
bunnie has quit [Ping timeout: 252 seconds]
john_k[m] has quit [Ping timeout: 256 seconds]
xobs has quit [Ping timeout: 260 seconds]
sajattack[m] has quit [Ping timeout: 252 seconds]
oter_ has quit [Ping timeout: 264 seconds]
nrossi has joined #litex
xobs has joined #litex
david-sawatzke[m has joined #litex
synaption[m] has joined #litex
sajattack[m] has joined #litex
disasm[m] has joined #litex
leons has joined #litex
john_k[m] has joined #litex
CarlFK[m] has joined #litex
abeljj[m] has joined #litex
bunnie has joined #litex
Skip has joined #litex
st-gourichon-fid has quit [Ping timeout: 246 seconds]
st-gourichon-fid has joined #litex
CarlFK has quit [Read error: No route to host]
<benh> somlo: what would be nice to help further with Linux is an option to fix endianness of CSRs as well
<somlo> benh: there's a rough equivalent of `include/hw/common.h` here: https://github.com/litex-hub/linux/blob/litex-rocket-rebase/include/linux/litex.h
<tpb> Title: linux/litex.h at litex-rocket-rebase · litex-hub/linux · GitHub (at github.com)
<somlo> if all linux drivers used methods as high-level as possible, and they all lived in that file, it'd be very simple to adapt to whatever happens to CSR endianness down the road
<benh> somlo: well basically if we make CSRs LE always for Linux capable SoCs then drivers just do readl/writel
<benh> and that's it
<somlo> bonus points for readq/writeq working transparently across adjacent CSRs through the various up/down shifters and width adapters
<benh> they should :)
<benh> at least with my custom downconverter in standalone microwatt but I would expect it to work with the one in LiteX too
<benh> however, you have to be careful with endian if you do that
<benh> if it's an actual 64-bit CSR under the hood, it needs to be presented LSB first
<benh> for LE
Skip has quit [Remote host closed the connection]