Re: Question: SiFive U SPI and SD

2020-02-12 Thread Nikita Ermakov
Hello, Bin, Alistair, Thank you for the answers! On Thu, 13 Feb 2020 at 00:16, Alistair Francis wrote: > I had a crack at this awhile ago and you can see the patches here (I > just rebased them): > https://github.com/alistair23/qemu/tree/mainline/alistair/sifive_spi.next > > Debugging failures

Re: Question: SiFive U SPI and SD

2020-02-12 Thread Alistair Francis
On Mon, Feb 10, 2020 at 7:51 AM Bin Meng wrote: > > Hi Nikita, > > On Sun, Feb 9, 2020 at 10:56 PM Nikita Ermakov wrote: > > > > Hello! > > > > I am trying to make an SD card working on the sifive_u > > (hw/riscv/sifive_u.c) SoC machine. > > As far as I understand there is no way to connect an S

Re: Question: SiFive U SPI and SD

2020-02-10 Thread Bin Meng
Hi Nikita, On Sun, Feb 9, 2020 at 10:56 PM Nikita Ermakov wrote: > > Hello! > > I am trying to make an SD card working on the sifive_u (hw/riscv/sifive_u.c) > SoC machine. > As far as I understand there is no way to connect an SD card to the SoC with > cmdline for now. So, I started to dig in t

Question: SiFive U SPI and SD

2020-02-09 Thread Nikita Ermakov
Hello! I am trying to make an SD card working on the sifive_u (hw/riscv/sifive_u.c) SoC machine. As far as I understand there is no way to connect an SD card to the SoC with cmdline for now. So, I started to dig in to the QEMU internals and especially sifive_u SoC implementation to try to understa