[PATCH] octeontx: kernel: add USB storage boot support

Tim Harvey tharvey at gateworks.com
Fri Feb 24 09:55:01 PST 2023


On Fri, Feb 24, 2023 at 12:16 AM Rafał Miłecki <zajec5 at gmail.com> wrote:
>
>  24 lut 2023 o 00:28 Tim Harvey <tharvey at gateworks.com> napisał(a):
> > Enable BLK_DEV_SD and USB_STORAGE so that rootfs can be on a USB Mass
> > Storage device.
> >
> > This increases the kernel Image by 66KiB
>
> Do we have any device that has firmware installed on USB storage
> device and it boots from it?

This is intended to be used where the boot firmware boots on the SoC's
boot device (emmc in the case of the Gateworks Newport octeontx board)
but the OpenWrt OS itself (bootfs/rootfs) are on USB. The user may
have for example a backup or alternate OS on different devices (USB,
SATA, microSD, etc). It looks to me like many targets enable this and
I believe it was enabled in a previous kernel version but I find its
something that often gets disabled likely be accident when bumping
kernels.

Tim



More information about the openwrt-devel mailing list