Skip to content

Commit

Permalink
linux: verdin-imx8mp: add configs to enable PCIe/NVMe support
Browse files Browse the repository at this point in the history
Add kernel configuration for linux 6.x serie to enable PCIe/NVMe support.
The i.MX8MP interconnect driver has been introduced in linux 6.0.

It's required in order to flash Torizon OS on NVMe SSD. See the feature request
on toradex#3

Tested on Toradex Verdin i.MX 8M Plus SoM.

[    0.744749] nvme nvme0: pci function 0000:01:00.0
[    0.744766] nvme 0000:01:00.0: enabling device (0000 -> 0002)
[    0.747602] nvme nvme0: Shutdown timeout set to 10 seconds
[    0.749410] nvme nvme0: 1/0/0 default/read/poll queues
[    0.753817]  nvme0n1: p1

Suggested-by: Rafael Beims <[email protected]>
Signed-off-by: Fathi Boudra <[email protected]>
  • Loading branch information
fboudra committed Oct 22, 2024
1 parent 924ed6c commit 0a22c04
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions recipes-kernel/linux/files/tezi.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,20 @@ CONFIG_SQUASHFS_ZLIB=y
##
# CONFIG_SND is not set
# CONFIG_SOUND is not set

##
## file: drivers/nvme/host/Kconfig
##
CONFIG_NVME_CORE=y
CONFIG_BLK_DEV_NVME=y

##
## file: drivers/phy/freescale/Kconfig
##
CONFIG_PHY_FSL_IMX8M_PCIE=y

##
## file: drivers/interconnect/imx/Kconfig
##
CONFIG_INTERCONNECT_IMX=y
CONFIG_INTERCONNECT_IMX8MP=y

0 comments on commit 0a22c04

Please sign in to comment.