RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    PCI-e NVME on Raspberry Pi CM4

    Scheduled Pinned Locked Moved Ideas and Development
    cm4raspberry pi
    5 Posts 2 Posters 658 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      HotCribbage
      last edited by HotCribbage

      Using the newest firmware from RPi and after updating the kernel to the following:

      CONFIG_BLK_DEV_NVME=y

      CONFIG_NVMEM_RMEM=m

      The CM4 is now able to boot directly from PCI-e NVME devices. This will be very helpful for small handheld device development going forward. I would recommend these updates and am glad to test out any new releases that make use of them to confirm that it is in working order.

      Since RetroPie is built on RPOS, maybe this is simply a question of using a newer build.

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by mitu

        RetroPie uses the default OS (RaspiOS) kernel packages. We only offer some input (gamepad) related modules that are built with dkms, but we don't compile/configure the kernel itself.

        If these kernel options are not present in the package provided by the distribution, you should request their inclusion to the RPT team that creates the packages.

        EDIT: the options may be already enabled on the next LTS kernel version (5.15.y) , you can check the at https://github.com/raspberrypi/linux/

        H 1 Reply Last reply Reply Quote 0
        • H
          HotCribbage @mitu
          last edited by

          @mitu It is already active in the current RPOS kernel, so I guess it's just a matter of figuring out how to put together a build that works well on Bullseye. I'll look into it. Thanks!

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @HotCribbage
            last edited by

            @hotcribbage RetroPie doesn't yet support Bullseye, but it will at some point.

            1 Reply Last reply Reply Quote 0
            • H
              HotCribbage
              last edited by

              I am updating the topic to share that I actually was able to update the core Buster image to the latest kernel and both of these settings are in place. For any users that want to try NVME boot over PCI-e, I cloned the boot and root folders over to my NVME drive after doing a full update on eMMC (SD works just as well).

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.