FS#71325 - [linux] Enable driver for accessing SPI connected flash chips on Intel systems

Attached to Project: Arch Linux
Opened by Tomasz M. Nowak (tmn505) - Monday, 21 June 2021, 17:40 GMT
Last edited by Jan Alexander Steffens (heftig) - Saturday, 26 June 2021, 00:45 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Andreas Radke (AndyRTR)
Jan Alexander Steffens (heftig)
Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
This has been disabled as effort of  FS#69479  and explained (https://github.com/archlinux/svntogit-packages/commit/778b8a6b7b12aa81a8f0d75d1ae551f13d938127) as access to these options can be dangerous. But as it stands, by default writing to flash is disabled since the introduction of intel-spi driver, it has to be explicitly enabled when the module is loaded (https://www.kernel.org/doc/html/latest/driver-api/mtd/intel-spi.html). Access to this flash can be useful for making full backup of the flash chip, not partial as the vendors flashing tools allow. Therefore please enable these back:

CONFIG_MTD_SPI_NOR=m
CONFIG_SPI_INTEL_SPI=m
CONFIG_SPI_INTEL_SPI_PCI=m
CONFIG_SPI_INTEL_SPI_PLATFORM=m

Thanks.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Saturday, 26 June 2021, 00:45 GMT
Reason for closing:  Implemented
Additional comments about closing:  linux 5.12.13.arch1-2

Loading...