Re: [Qemu-devel] RFC raspberry pi sd-card reset

2019-08-01 Thread Damien Hedde
On 7/31/19 5:45 PM, Philippe Mathieu-Daudé wrote: > On Wed, Jul 31, 2019 at 5:43 PM Philippe Mathieu-Daudé > wrote: >> On 7/31/19 4:21 PM, Damien Hedde wrote: >>> Concerning the reset on the raspi2/3 machine, I ran into an issue with >>> the sd-card. >>> >>> Here follows a subset of the qbus/qde

Re: [Qemu-devel] RFC raspberry pi sd-card reset

2019-07-31 Thread Damien Hedde
On 7/31/19 5:28 PM, Andrew Baumann wrote: > Hi, > >   > > (Sorry for top-posting, just wanted to give you some quick context.) > >   > > The Pi-specific quirk here is that there are two different SD > controllers on the board, both accessing the same card, where only one > can be used at a t

Re: [Qemu-devel] RFC raspberry pi sd-card reset

2019-07-31 Thread Philippe Mathieu-Daudé
On Wed, Jul 31, 2019 at 5:43 PM Philippe Mathieu-Daudé wrote: > On 7/31/19 4:21 PM, Damien Hedde wrote: > > Concerning the reset on the raspi2/3 machine, I ran into an issue with > > the sd-card. > > > > Here follows a subset of the qbus/qdev tree of the raspi2&3 machine as > > it is initialized:

Re: [Qemu-devel] RFC raspberry pi sd-card reset

2019-07-31 Thread Philippe Mathieu-Daudé
On 7/31/19 4:21 PM, Damien Hedde wrote: > Hi, > > Concerning the reset on the raspi2/3 machine, I ran into an issue with > the sd-card. > > Here follows a subset of the qbus/qdev tree of the raspi2&3 machine as > it is initialized: > + System >* bcm2835_gpio > + sd-bus >* sd-car

Re: [Qemu-devel] RFC raspberry pi sd-card reset

2019-07-31 Thread Andrew Baumann via Qemu-devel
Hi, (Sorry for top-posting, just wanted to give you some quick context.) The Pi-specific quirk here is that there are two different SD controllers on the board, both accessing the same card, where only one can be used at a time. IIRC Clement Deschamps added this reparenting logic to accompl

[Qemu-devel] RFC raspberry pi sd-card reset

2019-07-31 Thread Damien Hedde
Hi, Concerning the reset on the raspi2/3 machine, I ran into an issue with the sd-card. Here follows a subset of the qbus/qdev tree of the raspi2&3 machine as it is initialized: + System * bcm2835_gpio + sd-bus * sd-card * bcm2835-sdhost + bcm2835-sdhost-bus * generic-s