soc.lore.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ARM: configs: aspeed: Add support for USB flash drives
@ 2021-12-22  0:41 Joel Stanley
  2022-01-08 22:00 ` patchwork-bot+linux-soc
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Stanley @ 2021-12-22  0:41 UTC (permalink / raw)
  To: soc; +Cc: Adriana Kobylak

From: Adriana Kobylak <anoo@us.ibm.com>

Add support to detect USB flash drives and create the /dev/sd* devices.
Also add support for vfat to support USB drives formatted as FAT32.
This support will be used to enable firmware updates via USB flash
drives where the firmware image is stored in the USB drive and it's
plugged into the BMC USB port.

Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Tested-by: Adriana Kobylak <anoo@us.ibm.com>
Link: https://lore.kernel.org/r/20211112202931.2379145-1-anoo@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
v2: Remove stray (and duplicate) FIRMWARE_MEMMAP=y to avoid warning:

 arch/arm/configs/aspeed_g5_defconfig:101:warning: override: reassigning to symbol FIRMWARE_MEMMAP

Please apply this one for v5.17

 arch/arm/configs/aspeed_g5_defconfig | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/configs/aspeed_g5_defconfig b/arch/arm/configs/aspeed_g5_defconfig
index ae4f3c56ae6b..591b65695725 100644
--- a/arch/arm/configs/aspeed_g5_defconfig
+++ b/arch/arm/configs/aspeed_g5_defconfig
@@ -83,6 +83,8 @@ CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_NBD=y
 CONFIG_EEPROM_AT24=y
 CONFIG_EEPROM_AT25=y
+CONFIG_SCSI=y
+CONFIG_BLK_DEV_SD=y
 CONFIG_NETDEVICES=y
 CONFIG_NETCONSOLE=y
 # CONFIG_NET_VENDOR_ALACRITECH is not set
@@ -200,6 +202,7 @@ CONFIG_USB_DYNAMIC_MINORS=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_ROOT_HUB_TT=y
 CONFIG_USB_EHCI_HCD_PLATFORM=y
+CONFIG_USB_STORAGE=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_ASPEED_VHUB=y
 CONFIG_USB_CONFIGFS=y
@@ -246,6 +249,7 @@ CONFIG_FSI_OCC=y
 CONFIG_EXT4_FS=y
 CONFIG_FANOTIFY=y
 CONFIG_OVERLAY_FS=y
+CONFIG_VFAT_FS=y
 CONFIG_TMPFS=y
 CONFIG_JFFS2_FS=y
 # CONFIG_JFFS2_FS_WRITEBUFFER is not set
@@ -261,6 +265,8 @@ CONFIG_PSTORE_PMSG=y
 CONFIG_PSTORE_FTRACE=y
 CONFIG_PSTORE_RAM=y
 # CONFIG_NETWORK_FILESYSTEMS is not set
+CONFIG_NLS_CODEPAGE_437=y
+CONFIG_NLS_ISO8859_1=y
 CONFIG_HARDENED_USERCOPY=y
 CONFIG_FORTIFY_SOURCE=y
 CONFIG_CRYPTO_HMAC=y
-- 
2.34.1


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

* Re: [PATCH v2] ARM: configs: aspeed: Add support for USB flash drives
  2021-12-22  0:41 [PATCH v2] ARM: configs: aspeed: Add support for USB flash drives Joel Stanley
@ 2022-01-08 22:00 ` patchwork-bot+linux-soc
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+linux-soc @ 2022-01-08 22:00 UTC (permalink / raw)
  To: Joel Stanley; +Cc: soc

Hello:

This patch was applied to soc/soc.git (for-next)
by Olof Johansson <olof@lixom.net>:

On Wed, 22 Dec 2021 11:11:23 +1030 you wrote:
> From: Adriana Kobylak <anoo@us.ibm.com>
> 
> Add support to detect USB flash drives and create the /dev/sd* devices.
> Also add support for vfat to support USB drives formatted as FAT32.
> This support will be used to enable firmware updates via USB flash
> drives where the firmware image is stored in the USB drive and it's
> plugged into the BMC USB port.
> 
> [...]

Here is the summary with links:
  - [v2] ARM: configs: aspeed: Add support for USB flash drives
    https://git.kernel.org/soc/soc/c/bda9b8122e53

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2022-01-08 22:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-22  0:41 [PATCH v2] ARM: configs: aspeed: Add support for USB flash drives Joel Stanley
2022-01-08 22:00 ` patchwork-bot+linux-soc

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).