Booting RPi4 from USB MSD by 5.10

Nicolas Saenz Julienne nsaenzjulienne at suse.de
Tue Feb 9 10:11:27 EST 2021


Hi Ryutaroh,
sorry for the late reply.

On Fri, 2021-02-05 at 10:48 +0900, Ryutaroh Matsumoto wrote:
> Hi Nicolas,
> 
> I have one question regarding your emai.
> 
> From: Nicolas Saenz Julienne <nsaenzjulienne at suse.de>
> Subject: Re: Booting RPi4 from USB MSD by 5.10
> Date: Wed, 03 Feb 2021 13:04:21 +0100
> > It seems I misread your original mail. Turns out reset-raspberrypi and xhci_pci
> > configs are already linked as they should:
> > 
> >  	config RESET_RASPBERRYPI
> >  		tristate "Raspberry Pi 4 Firmware Reset Driver"
> >  		depends on RASPBERRYPI_FIRMWARE || (RASPBERRYPI_FIRMWARE=n && COMPILE_TEST)
> >  	>>	default USB_XHCI_PCI
> >  		help
> >  		  [...]
> > 
> > Your initramfs fix looks OK to me.
> 
> With Linux 5.9, CONFIG_RESET_RASPBERRYPI did not exist,
> and USB booting of RPi4 was possible regardless of CONFIG_RESET_RASPBERRYPI.
> 
> With Linux 5.10 and CONFIG_USB_XHCI_PCI=m, either
> (a) CONFIG_RESET_RASPBERRYPI=y (which works well in general but my buggy
>     USB MSD does not boot with it),
> (b) OR reset_raspberrypi in /etc/initramfs-tools/modules (which also works with
>     my buggy USB MSD)
> is required.
> 
> Is this introduced change is intentional?

Yes, reset-raspberrypi was introduced in v5.10. Before that we depended on a
series of PCI quirks which were pretty nasty.

Regards,
Nicolas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-rpi-kernel/attachments/20210209/85543dcf/attachment.sig>


More information about the linux-rpi-kernel mailing list