*** tpb has joined #litex | 00:00 | |
*** _whitelogger has quit IRC | 00:48 | |
*** _whitelogger has joined #litex | 00:50 | |
*** FFY00 has quit IRC | 01:57 | |
*** FFY00 has joined #litex | 01:58 | |
*** _florent__ has joined #litex | 02:21 | |
*** leons has quit IRC | 02:28 | |
*** _florent_ has quit IRC | 02:28 | |
*** xfxf has quit IRC | 02:28 | |
*** tucanae47 has quit IRC | 02:28 | |
*** _florent__ is now known as _florent_ | 02:28 | |
*** Degi has quit IRC | 02:30 | |
*** Degi has joined #litex | 02:31 | |
*** synaption[m] has quit IRC | 02:31 | |
*** xobs has quit IRC | 02:31 | |
*** john_k[m] has quit IRC | 02:31 | |
*** sajattack[m] has quit IRC | 02:32 | |
*** nrossi has quit IRC | 02:32 | |
*** CarlFK[m] has quit IRC | 02:32 | |
*** disasm[m] has quit IRC | 02:32 | |
*** david-sawatzke[m has quit IRC | 02:32 | |
*** bunnie has quit IRC | 02:32 | |
*** tucanae47 has joined #litex | 02:33 | |
*** sajattack[m] has joined #litex | 02:40 | |
*** Skip has quit IRC | 02:41 | |
*** xobs has joined #litex | 02:42 | |
*** CarlFK[m] has joined #litex | 02:45 | |
*** Degi has quit IRC | 02:51 | |
*** Degi has joined #litex | 02:52 | |
*** nrossi has joined #litex | 02:57 | |
*** bunnie has joined #litex | 03:02 | |
*** john_k[m] has joined #litex | 03:03 | |
*** synaption[m] has joined #litex | 03:04 | |
*** leons has joined #litex | 03:09 | |
*** disasm[m] has joined #litex | 03:11 | |
*** david-sawatzke[m has joined #litex | 03:11 | |
*** kgugala_ has joined #litex | 06:25 | |
*** kgugala__ has joined #litex | 06:28 | |
*** kgugala has quit IRC | 06:29 | |
*** kgugala_ has quit IRC | 06:30 | |
*** futarisIRCcloud has quit IRC | 11:24 | |
*** Skip has joined #litex | 13:49 | |
*** xfxf has joined #litex | 15: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 |
---|---|---|
tpb | Title: LiteX: UART: switch to 32-bit CSR alignment · riscv/riscv-pk@e66bf2e · GitHub (at github.com) | 16:29 |
somlo | relatively straightforward | 16:29 |
somlo | now 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 IRC | 18:35 | |
*** nrossi has quit IRC | 18:35 | |
*** CarlFK[m] has quit IRC | 18:35 | |
*** Skip has quit IRC | 18:37 | |
*** david-sawatzke[m has quit IRC | 18:41 | |
*** leons has quit IRC | 18:41 | |
*** synaption[m] has quit IRC | 18:41 | |
*** bunnie has quit IRC | 18:41 | |
*** john_k[m] has quit IRC | 18:42 | |
*** xobs has quit IRC | 18:42 | |
*** sajattack[m] has quit IRC | 18:42 | |
*** oter_ has quit IRC | 18:45 | |
*** nrossi has joined #litex | 19:20 | |
*** xobs has joined #litex | 19:52 | |
*** synaption[m] has joined #litex | 19:52 | |
*** david-sawatzke[m has joined #litex | 19:52 | |
*** sajattack[m] has joined #litex | 19:52 | |
*** leons has joined #litex | 19:52 | |
*** john_k[m] has joined #litex | 19:52 | |
*** disasm[m] has joined #litex | 19:52 | |
*** CarlFK[m] has joined #litex | 19:52 | |
*** abeljj[m] has joined #litex | 19:52 | |
*** bunnie has joined #litex | 19:52 | |
*** Skip has joined #litex | 19:54 | |
*** st-gourichon-fid has quit IRC | 20:16 | |
*** st-gourichon-fid has joined #litex | 20:39 | |
*** CarlFK has quit IRC | 21:10 | |
benh | somlo: what would be nice to help further with Linux is an option to fix endianness of CSRs as well | 21:42 |
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 | 22:05 |
tpb | Title: linux/litex.h at litex-rocket-rebase · litex-hub/linux · GitHub (at github.com) | 22:05 |
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 | 22:06 |
benh | somlo: well basically if we make CSRs LE always for Linux capable SoCs then drivers just do readl/writel | 22:40 |
benh | and that's it | 22:40 |
somlo | bonus points for readq/writeq working transparently across adjacent CSRs through the various up/down shifters and width adapters | 23:03 |
benh | they should :) | 23:04 |
benh | at least with my custom downconverter in standalone microwatt but I would expect it to work with the one in LiteX too | 23:05 |
benh | however, you have to be careful with endian if you do that | 23:05 |
benh | if it's an actual 64-bit CSR under the hood, it needs to be presented LSB first | 23:05 |
benh | for LE | 23:05 |
*** Skip has quit IRC | 23:27 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!