openpowerbot | [slack] <Matt Johnston> having built for arty with a pmod connector sdcard (and `use_litesdcard=true` in microwatt.core), I'm not seeing anything, not even interrupt counts when I add/remove a sdcard. are there other things that need enabling for that? | 10:27 |
---|---|---|
openpowerbot | [slack] <Matt Johnston> having built for arty with a pmod connector sdcard (and `use_litesdcard=true` in microwatt.core), I'm not seeing anything, not even interrupt counts when I add/remove a sdcard. are there other things that need enabling for that? a recent rev with the clock speed fix | 10:28 |
openpowerbot | [slack] <Matt Johnston> having built for arty with a pmod connector microsdcard (and `use_litesdcard=true` in microwatt.core), I'm not seeing anything, not even interrupt counts when I add/remove a sdcard. are there other things that need enabling for that? a recent rev with the clock speed fix | 10:32 |
openpowerbot | [slack] <Matt Johnston> aah, the `arty_a7.xdc` pinout appears to be for a different pmod board | 10:34 |
openpowerbot | [slack] <Jeremy Kerr> @Matt Johnston given Joel's comments, is the pinout as expected? | 10:37 |
openpowerbot | [slack] <Matt Johnston> I think it is, I was just mistaken with spi vs 4 pin modes | 10:38 |
openpowerbot | [slack] <joel> @Matt Johnston have you fixed up the device tree? When @Anton Blanchard was playing with it recently he had to make updates to match the upstream mmc driver | 10:49 |
openpowerbot | [slack] <Matt Johnston> ah I'll have a look, thanks | 10:53 |
openpowerbot | [slack] <joel> ``` + clocks { | 12:28 |
openpowerbot | [slack] <joel> + sys_clk: litex_sys_clk { | 12:28 |
openpowerbot | [slack] <joel> + #clock-cells = <0>; | 12:28 |
openpowerbot | [slack] <joel> + compatible = "fixed-clock"; | 12:28 |
openpowerbot | [slack] <joel> + clock-frequency = <100000000>; | 12:28 |
openpowerbot | [slack] <joel> + }; | 12:28 |
openpowerbot | [slack] <joel> + }; | 12:28 |
openpowerbot | [slack] <joel> ``` | 12:28 |
openpowerbot | [slack] <joel> | 12:28 |
openpowerbot | [slack] <joel> ``` + litex-mmc@8040000 { | 12:28 |
openpowerbot | [slack] <joel> + compatible = "litex,mmc"; | 12:28 |
openpowerbot | [slack] <joel> + reg = <0x8042800 0x100 | 12:28 |
openpowerbot | [slack] <joel> @Matt Johnston this is what Anton used. I've not been able to test it myself | 12:28 |
openpowerbot | [slack] <Matt Johnston> ah, I don't have clocks | 13:07 |
openpowerbot | [slack] <joel> The driver will fail to probe without that 😞 | 13:07 |
openpowerbot | [slack] <Matt Johnston> this is 5.16rc1 | 13:07 |
openpowerbot | [slack] <joel> It's unfortunate, in inherits a bunch of stuff because of the way it sets up clocks | 13:08 |
openpowerbot | [slack] <Matt Johnston> it _seemed_ to probe | 13:08 |
openpowerbot | [slack] <Matt Johnston> ```[ 4.385800] litex-mmc c8042800.litex-mmc: Requested clk_freq=12500000: set to 12500000 via div=8 | 13:08 |
openpowerbot | [slack] <Matt Johnston> [ 4.405912] litex-mmc c8042800.litex-mmc: Requested clk_freq=0: set to 390625 via div=256``` | 13:08 |
openpowerbot | [slack] <joel> I see! None of what I said matters; you're using the out of tree driver | 13:09 |
openpowerbot | [slack] <Matt Johnston> aha | 13:09 |
openpowerbot | [slack] <Matt Johnston> ok yeah, merged jan 2022 | 13:10 |
*** pietrushnic <pietrushnic!~pietrushn@2001:470:69fc:105::1:69c> has quit IRC | 19:05 | |
*** pietrushnic <pietrushnic!~pietrushn@2001:470:69fc:105::1:69c> has joined #microwatt | 19:05 | |
*** ibot` <ibot`!~supybot@libre-soc.org> has joined #microwatt | 19:34 | |
*** ibot <ibot!~supybot@libre-soc.org> has quit IRC | 19:34 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!