I want to use u-boot to boot a linux os from a nvme ssd. The u-boot should be stored in a qspi nor flash. Unfortunately I can't find a pcie driver for the imx8mm in u-boot, so I can't find the nvme device, before loading the linux kernel.
Does anyone have a hint where I can find an appropriate driver? Or is there another bootloader alternative to u-boot that supports the desired procedure?
Thanks for the replies. Since the uboot source code of nxp unfortunately only contains drivers for the IMX8QM and IMX8QXP (or did I miss something?), I have to adapt it as @nirmalbishnoi writes.
I have only had a small insight so far, but maybe the adaptation to the IMX8MM is not that big?
Hi @daniel6234
Are you able to develop uboot PCIe driver code for the iMX8MM ? if you have something to share then please share it.
I found one link that might be helpful in this case:
Regards,
Sanjeev
Hi @daniel6234
Based on your question, it seems you are looking for a PCIe driver for the i.MX8MM can be used with U-Boot. As of now, U-Boot does not have a built-in driver for the i.MX8MM's PCIe interface. However, you can add support for this by modifying the U-Boot source code.
Here is a general outline of the steps you would need to follow:
Please note that this is a complex task that requires a deep understanding of both the i.MX8MM hardware and the U-Boot bootloader. If you are not comfortable with this level of modification, you may want to consider hiring a professional developer or consulting with NXP's technical support team.
As for an alternative bootloader, there is no other bootloader that supports the i.MX8MM's PCIe interface is out of the box. However, you could potentially use a different bootloader and add PCIe support in a similar manner to the method described above for U-Boot.
For more information on the i.MX8MM and its support for PCIe, you can refer to the i.MX8MM reference manual, which can be found on the NXP website. This manual contains detailed information on the i.MX8MM's hardware specifications, including its PCIe interface.
For more information on U-Boot and how to modify its source code, you can refer to the U-Boot user manual, which can also be found on the NXP website. This manual contains detailed information on how to use and modify U-Boot.