Monday, 2020-06-01

*** tpb has joined #litex00:00
*** _whitelogger has quit IRC00:48
*** _whitelogger has joined #litex00:50
*** FFY00 has quit IRC01:57
*** FFY00 has joined #litex01:58
*** _florent__ has joined #litex02:21
*** leons has quit IRC02:28
*** _florent_ has quit IRC02:28
*** xfxf has quit IRC02:28
*** tucanae47 has quit IRC02:28
*** _florent__ is now known as _florent_02:28
*** Degi has quit IRC02:30
*** Degi has joined #litex02:31
*** synaption[m] has quit IRC02:31
*** xobs has quit IRC02:31
*** john_k[m] has quit IRC02:31
*** sajattack[m] has quit IRC02:32
*** nrossi has quit IRC02:32
*** CarlFK[m] has quit IRC02:32
*** disasm[m] has quit IRC02:32
*** david-sawatzke[m has quit IRC02:32
*** bunnie has quit IRC02:32
*** tucanae47 has joined #litex02:33
*** sajattack[m] has joined #litex02:40
*** Skip has quit IRC02:41
*** xobs has joined #litex02:42
*** CarlFK[m] has joined #litex02:45
*** Degi has quit IRC02:51
*** Degi has joined #litex02:52
*** nrossi has joined #litex02:57
*** bunnie has joined #litex03:02
*** john_k[m] has joined #litex03:03
*** synaption[m] has joined #litex03:04
*** leons has joined #litex03:09
*** disasm[m] has joined #litex03:11
*** david-sawatzke[m has joined #litex03:11
*** kgugala_ has joined #litex06:25
*** kgugala__ has joined #litex06:28
*** kgugala has quit IRC06:29
*** kgugala_ has quit IRC06:30
*** futarisIRCcloud has quit IRC11:24
*** Skip has joined #litex13:49
*** xfxf has joined #litex15:44
somlo_florent_, benh: got BBL and Linux back and working on 64-bit Rocket (now with exclusively 32-bit aligned CSRs): https://github.com/riscv/riscv-pk/commit/e66bf2e460f1c18916631fb1760415fbd305b8b4 and https://github.com/litex-hub/linux/commit/2a20a88851b4a14c064c1f3a41d7f4b04076ea1a (in https://github.com/gsomlo/riscv-pk/tree/gls-litex-devel and https://github.com/litex-hub/linux/tree/litex-rocket-rebase respectively)16:29
tpbTitle: LiteX: UART: switch to 32-bit CSR alignment · riscv/riscv-pk@e66bf2e · GitHub (at github.com)16:29
somlorelatively straightforward16:29
somlonow let's have a look at the new linux sdcard driver, see if I can get it working on rocket...16:30
*** disasm[m] has quit IRC18:35
*** nrossi has quit IRC18:35
*** CarlFK[m] has quit IRC18:35
*** Skip has quit IRC18:37
*** david-sawatzke[m has quit IRC18:41
*** leons has quit IRC18:41
*** synaption[m] has quit IRC18:41
*** bunnie has quit IRC18:41
*** john_k[m] has quit IRC18:42
*** xobs has quit IRC18:42
*** sajattack[m] has quit IRC18:42
*** oter_ has quit IRC18:45
*** nrossi has joined #litex19:20
*** xobs has joined #litex19:52
*** synaption[m] has joined #litex19:52
*** david-sawatzke[m has joined #litex19:52
*** sajattack[m] has joined #litex19:52
*** leons has joined #litex19:52
*** john_k[m] has joined #litex19:52
*** disasm[m] has joined #litex19:52
*** CarlFK[m] has joined #litex19:52
*** abeljj[m] has joined #litex19:52
*** bunnie has joined #litex19:52
*** Skip has joined #litex19:54
*** st-gourichon-fid has quit IRC20:16
*** st-gourichon-fid has joined #litex20:39
*** CarlFK has quit IRC21:10
benhsomlo: what would be nice to help further with Linux is an option to fix endianness of CSRs as well21:42
somlobenh: there's a rough equivalent of `include/hw/common.h` here: https://github.com/litex-hub/linux/blob/litex-rocket-rebase/include/linux/litex.h22:05
tpbTitle: linux/litex.h at litex-rocket-rebase · litex-hub/linux · GitHub (at github.com)22:05
somloif 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 road22:06
benhsomlo: well basically if we make CSRs LE always for Linux capable SoCs then drivers just do readl/writel22:40
benhand that's it22:40
somlobonus points for readq/writeq working transparently across adjacent CSRs through the various up/down shifters and width adapters23:03
benhthey should :)23:04
benhat least with my custom downconverter in standalone microwatt but I would expect it to work with the one in LiteX too23:05
benhhowever, you have to be careful with endian if you do that23:05
benhif it's an actual 64-bit CSR under the hood, it needs to be presented LSB first23:05
benhfor LE23:05
*** Skip has quit IRC23:27

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