linux-riscv.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Driver for HiFive-U MMC interface
@ 2018-09-06  8:19 Andreas Schwab
  2018-09-06 12:47 ` Andreas Schwab
  2018-09-19  1:45 ` Palmer Dabbelt
  0 siblings, 2 replies; 6+ messages in thread
From: Andreas Schwab @ 2018-09-06  8:19 UTC (permalink / raw)
  To: linux-riscv

Further trying to boot git://github.com/riscv/riscv-linux#riscv-linux-4.18 on
the HiFive-U I can't seem to find the necessary bits to drive the MMC
interface.  Any pointers?

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Driver for HiFive-U MMC interface
  2018-09-06  8:19 Driver for HiFive-U MMC interface Andreas Schwab
@ 2018-09-06 12:47 ` Andreas Schwab
  2018-09-19  1:45 ` Palmer Dabbelt
  1 sibling, 0 replies; 6+ messages in thread
From: Andreas Schwab @ 2018-09-06 12:47 UTC (permalink / raw)
  To: linux-riscv

I have now found the missing drivers and pushed the result to
git://github.com/andreas-schwab/riscv-linux#riscv-linux-4.18

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Driver for HiFive-U MMC interface
  2018-09-06  8:19 Driver for HiFive-U MMC interface Andreas Schwab
  2018-09-06 12:47 ` Andreas Schwab
@ 2018-09-19  1:45 ` Palmer Dabbelt
  2018-09-19  7:22   ` Andreas Schwab
  1 sibling, 1 reply; 6+ messages in thread
From: Palmer Dabbelt @ 2018-09-19  1:45 UTC (permalink / raw)
  To: linux-riscv

On Thu, 06 Sep 2018 01:19:43 PDT (-0700), schwab at suse.de wrote:
> Further trying to boot git://github.com/riscv/riscv-linux#riscv-linux-4.18 on
> the HiFive-U I can't seem to find the necessary bits to drive the MMC
> interface.  Any pointers?

Paul is probably the best bet here, as he's working through our mess of 
out-of-tree drivers.  If you want to do it yourself then you'll have to 
forward-port the SPI driver from riscv-linux-4.15 (or wip-spi), fix the bugs, 
and then port the dependent drivers.

Sorry!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Driver for HiFive-U MMC interface
  2018-09-19  1:45 ` Palmer Dabbelt
@ 2018-09-19  7:22   ` Andreas Schwab
  2018-09-19  7:35     ` Atish Patra
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Schwab @ 2018-09-19  7:22 UTC (permalink / raw)
  To: linux-riscv

On Sep 18 2018, Palmer Dabbelt <palmer@sifive.com> wrote:

> On Thu, 06 Sep 2018 01:19:43 PDT (-0700), schwab at suse.de wrote:
>> Further trying to boot git://github.com/riscv/riscv-linux#riscv-linux-4.18 on
>> the HiFive-U I can't seem to find the necessary bits to drive the MMC
>> interface.  Any pointers?
>
> Paul is probably the best bet here, as he's working through our mess of
> out-of-tree drivers.  If you want to do it yourself then you'll have to
> forward-port the SPI driver from riscv-linux-4.15 (or wip-spi), fix the
> bugs, and then port the dependent drivers.

At least on top of 4.17 it works pretty well (see
git://github.com/andreas-schwab/riscv-linux#riscv-4.17), but the same
drivers on top of 4.18 are very unstable.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Driver for HiFive-U MMC interface
  2018-09-19  7:22   ` Andreas Schwab
@ 2018-09-19  7:35     ` Atish Patra
  2018-09-19 10:15       ` Andreas Schwab
  0 siblings, 1 reply; 6+ messages in thread
From: Atish Patra @ 2018-09-19  7:35 UTC (permalink / raw)
  To: linux-riscv

On 9/19/18 12:23 AM, Andreas Schwab wrote:
> On Sep 18 2018, Palmer Dabbelt <palmer@sifive.com> wrote:
> 
>> On Thu, 06 Sep 2018 01:19:43 PDT (-0700), schwab at suse.de wrote:
>>> Further trying to boot git://github.com/riscv/riscv-linux#riscv-linux-4.18 on
>>> the HiFive-U I can't seem to find the necessary bits to drive the MMC
>>> interface.  Any pointers?
>>
>> Paul is probably the best bet here, as he's working through our mess of
>> out-of-tree drivers.  If you want to do it yourself then you'll have to
>> forward-port the SPI driver from riscv-linux-4.15 (or wip-spi), fix the
>> bugs, and then port the dependent drivers.
> 
> At least on top of 4.17 it works pretty well (see
> git://github.com/andreas-schwab/riscv-linux#riscv-4.17), but the same
> drivers on top of 4.18 are very unstable.
> 
> Andreas.
> 
There were some network and DMA32 issues in 4.18. Here is my tree on top 
of 4.19-rc2. I use this for booting Fedora Gnome Desktop as well.

https://github.com/atishp04/riscv-linux/tree/4.19_fedora_success_sep11


Regards,
Atish

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Driver for HiFive-U MMC interface
  2018-09-19  7:35     ` Atish Patra
@ 2018-09-19 10:15       ` Andreas Schwab
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas Schwab @ 2018-09-19 10:15 UTC (permalink / raw)
  To: linux-riscv

On Sep 19 2018, Atish Patra <atish.patra@wdc.com> wrote:

> There were some network and DMA32 issues in 4.18. Here is my tree on top
> of 4.19-rc2. I use this for booting Fedora Gnome Desktop as well.
>
> https://github.com/atishp04/riscv-linux/tree/4.19_fedora_success_sep11

Thanks, after cherry-picking the missing commits I have now a 4.19-rc4
kernel that looks stable.

git://github.com/andreas-schwab/linux#riscv-4.19-rc4

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-09-19 10:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-06  8:19 Driver for HiFive-U MMC interface Andreas Schwab
2018-09-06 12:47 ` Andreas Schwab
2018-09-19  1:45 ` Palmer Dabbelt
2018-09-19  7:22   ` Andreas Schwab
2018-09-19  7:35     ` Atish Patra
2018-09-19 10:15       ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).