How to Boot Raspberry Pi 5 off NVMe Drives with the M.2 HAT+

Поділитися
Вставка
  • Опубліковано 29 вер 2024

КОМЕНТАРІ • 81

  • @Core-Electronics
    @Core-Electronics  4 місяці тому +7

    Hey all, this video is missing a little equals sign in the setting the Gen 3 PCIe speeds. The line to enable it is "dtparam=pciex1_gen=3" (the equals before the 3 was missing from the video) Cheers!😊

  • @MegaBlox_YT
    @MegaBlox_YT 4 місяці тому +3

    Great video 🔥

  • @NotJohnUK
    @NotJohnUK 4 місяці тому +5

    Got my m.2 Hat+ today. Added A Sabrent Rocket NVMe 4.0 256GB, part number SB-2130-256. Could write to but not boot from. 4 hours later changed my boot priority. Sabrent is working well. Will benchmark and share later. Thank you so much 👍

  • @jensschroder8214
    @jensschroder8214 3 місяці тому +2

    the correct command is: dtparam=pciex1_gen=3
    I've achieved read speeds of around 80 on an SD card,
    400 on an SSD with Gen2, and over 800 on SSD Gen3.

  • @mbunds
    @mbunds 2 місяці тому +2

    This is an excellent production, thanks, but it didn't work for me when I tried to image a 2 TB Samsung 990 PRO SSD NVMe drive from the Pi OS, which reported write failures to the drive.
    I didn't bother to troubleshoot the Pi failure, but instead placed the NVMe drive into a USB adapter and used Raspberry Pi Imager from a PC to write the image.
    The Pi booted from the NVMe drive with no problems, and is seriously fast!

    • @Core-Electronics
      @Core-Electronics  2 місяці тому

      Very strange that it worked through the USB adapter and not on the Pi to install it. Thanks for letting us know!

    • @mbunds
      @mbunds 2 місяці тому +1

      @@Core-Electronics I didn't perform anything like a scientific test to find out why the 2TB write failed, but I'm going to try again soon. I bought a 500GB version of the same NVMe (Samsung PRO NVMe SSD) to see if the 2TB size might have contributed to the write failure.
      I would have had better results if I had simply used the ones recommended by Core Electronics, but I had already made the purchase.

  • @TT-it9gg
    @TT-it9gg 4 місяці тому +2

    Pi5B v1.0 is only certified for Gen2x1 which is 350MB/s.
    But RK3588 is Gen3x4, tested for 2000+MB/s.

  • @marvinwhisman3333
    @marvinwhisman3333 Місяць тому +2

    Just found your channel. Enjoyed your video.

  • @DarcilioKreitlow
    @DarcilioKreitlow Місяць тому +1

    Perfeito. Ótimo vídeo e boa didática. Uma coisa. Ensina como usar casa OS.

  • @MegaBlox_YT
    @MegaBlox_YT 4 місяці тому +3

    Could you use this for a raspberry pi NAS?

    • @Core-Electronics
      @Core-Electronics  4 місяці тому +1

      Yeah that would be a great application for the drive speeds.

  • @MegaBlox_YT
    @MegaBlox_YT 4 місяці тому +3

    You guys should sell stickers 🔥

    • @Unrealdanrath
      @Unrealdanrath 4 місяці тому +2

      I’ve had stickers from them included in my orders before at no additional charge!

    • @MegaBlox_YT
      @MegaBlox_YT 4 місяці тому +1

      @@Unrealdanrath lucky!

  • @ivwshane
    @ivwshane 3 дні тому

    Because my case blocks the ssd card slot, is it possible to do this install using a usb drive instead? Or will the pi not natively boot from usb?

    • @Core-Electronics
      @Core-Electronics  22 години тому

      Its definitely possible to boot a Pi from a USB! The steps are similar and here is a guide for that!
      raspberry.piaustralia.com.au/blogs/getting-started-with-raspberry-pi-5/usb-booting-and-network-attached-storage-nas?srsltid=AfmBOorA6DriH3TW3BTY_kwSKLwXLaCx76RwYLMnOgDUTwdOHpMKhaRy

  • @NotJohnUK
    @NotJohnUK 4 місяці тому +1

    Using Disks on Ubuntu 23.10
    256 GB Disk - Sabrent SB-2130-256 [R21B47.1] (/dev/nvme0n1)
    at 18 May 2024 17:42:07 BST (5 minutes ago)
    10.0 MiB (10,485,760 bytes)
    462.2 MB/s (1000 samples)
    0.08 msec (2000 samples)
    I'm happy with that!
    Will clone the drive and check write speeds sometime in the future
    Again thank you, you have made an old man very happy 😃

    • @Core-Electronics
      @Core-Electronics  4 місяці тому +1

      Cheers for the testing not John! We will add it to the list of SSDs that work for other people.

  • @hardwareful
    @hardwareful 18 днів тому

    I'll have to give you a thumbs down because youtube deleted my comment on the subject.

    • @IM1deadMONEY
      @IM1deadMONEY 4 дні тому

      So that's his fault? Shit happens to me too

  • @jamesbiggleworth4458
    @jamesbiggleworth4458 2 дні тому

    For god's sake stop waving your arms/hands around so much - it detracts form the message you are trying to get across

  • @DarrylAdams
    @DarrylAdams 4 місяці тому +1

    Suprised you did not talk about firmware net installer. Then again that can be another video. Great video though!

    • @Core-Electronics
      @Core-Electronics  4 місяці тому

      G'day Darryl, always glad to see your round when we drop a Pi 5 video!
      We were tossing it up when writing the video, but we thought we would get a short and sweet guide out that can be followed by beginners. It's in the big pile of potential future videos though!

  • @chrisk28
    @chrisk28 4 місяці тому +1

    Good video, well explained. You could do a video about the latest eeprom update which allows for online OS installation directly to the NVMe without an SD card.

    • @ShaneRounce
      @ShaneRounce 4 місяці тому

      How?! :O

    • @chrisk28
      @chrisk28 4 місяці тому

      @@ShaneRounce sudo rpi-eeprom-update -a

  • @nikobellic570
    @nikobellic570 4 місяці тому +1

    Bought one and didn't like how it constricted airflow. For 12 dollars, I'm not complaining though. It gets in between the official case fan and CPU. I prefer the official case fan over the active cooler because its less noisy. Third party nvme cases probably cool it better

    • @Core-Electronics
      @Core-Electronics  4 місяці тому

      Some slightly longer stand-offs might fix the airflow issue, but we found that the active without the fan on (just using as a passive cooler), still performs well even when overclocked, so you might be able to play with your fan curves to keep them slow and quiet. It is a bit of a shame that it doesn't fit in the official case with the case's fan though...

    • @nikobellic570
      @nikobellic570 4 місяці тому

      Might give an unplugged active cooler a try. Passive, silent pi's have been so appealing ever since pi 1 ​@@Core-Electronics

  • @stevegrimeszz
    @stevegrimeszz 4 місяці тому +1

    uh dtparam=pciex1_gen3 ???
    or
    dtparam=pciex1_gen=3 ???

    • @Core-Electronics
      @Core-Electronics  4 місяці тому

      Great catch Steve! Don't know how we missed that little equals sign, will put up a disclaimer so folks don't miss it as well. 😊

  • @pasisaarela4280
    @pasisaarela4280 27 днів тому

    Help? Same Hat.. WD PC SN530 512Gb drive, latest August firmware, everything is done by this "book" and no errors, but not booting from NVME, what to do next? WD should be supported nowadays..

  • @Not2Late2WakeUP
    @Not2Late2WakeUP 3 місяці тому +1

    I used an M.2 external usb adapter and loaded the image directly to the M.2 drive and booted from the nvme. No micro SD needed.

    • @fns58
      @fns58 2 місяці тому

      Which is exactly what he says in the video. He's obviously explaining this for the majority of us that don't have a random nvme reader laying around lol

    • @Not2Late2WakeUP
      @Not2Late2WakeUP 2 місяці тому

      @@fns58 My bad, I thought this was about upgrading to nvme.

  • @SunLISunTube
    @SunLISunTube 2 місяці тому

    Simply clone the OS from the SD card to the NVme drive. Then the job is done ! What about M.2 2280 form factor SSDs?

    • @Core-Electronics
      @Core-Electronics  2 місяці тому +1

      This hat only accepts up to a 2240, but other 3rd party vendors have released their own HATs that accept 2280s if you need, but you can often find the smaller ones in the same price range nowadays.
      Here is a Pimoroni HAT that accepts 2280: core-electronics.com.au/nvme-base-for-raspberry-pi-5-nvme-base.html

    • @SunLISunTube
      @SunLISunTube 2 місяці тому

      @@Core-Electronics Great ! 👍 Thanks

  • @stevesun11001
    @stevesun11001 Місяць тому

    Raspberry Pi should launch at least a two-lane PCIe bus, instead of single-lane! Single lane is gonna create read/write bottle neck!

  • @MarcusPocus
    @MarcusPocus 4 місяці тому

    i will come back to view again later at x0.5 speed.. you are too fast for me but that look simple with elegance!!

  • @christopherboone5461
    @christopherboone5461 Місяць тому

    Is it possible to set this up to dual boot into rasp pi os or into Venus os for controlling and monitoring victron kit.

  • @GenesCustoms.
    @GenesCustoms. 16 днів тому

    Thank you from a beginner. This was a big help!

  • @DarcilioKreitlow
    @DarcilioKreitlow Місяць тому

    Instalei o fydeOs, como acesso as configurações do raspberry pi5? o comando sudo raspi-config por exemplo, não funciona no terminal.

  • @SA-oj3bo
    @SA-oj3bo 4 місяці тому

    Hi, to run YOLO on a RP5 to do obeject detection, could you help me to understand what I need exactly? Thanks.

  • @Demosophist
    @Demosophist 2 місяці тому

    I have a hat that allows 2280 drive, but I don't see it in the file explorer. I'm not sure I've installed the ribbon connector correctly. It looks like it would fit both ways so I may have it 180 degrees wrong, but how would I know?

    • @Core-Electronics
      @Core-Electronics  2 місяці тому

      Sorry for the late reply, when you plug the cable into the Pi 5, the Pins should face toward the USB ports, if you are still having issues, feel free to chuck us a post on the forum post for this video, we have lots of maker eyes over there that can help. Just give us a little bit of information about your setup.
      forum.core-electronics.com.au/t/how-to-add-an-ssd-to-your-raspberry-pi-5-with-the-m-2-hat/19959

  • @3dhYT
    @3dhYT 4 місяці тому

    You're like Stan S. Stanman from The Secret of Monkey Island 😉

    • @Core-Electronics
      @Core-Electronics  4 місяці тому

      Now that's the first time in a long time we've had to google a reference!

  • @ClarkDarlton5000
    @ClarkDarlton5000 2 місяці тому

    Is there any case for this combination???

  • @jyvben1520
    @jyvben1520 4 місяці тому

    i prefer the commands to be highlighted like on ExplainingComputers, also no info on the pcie cable placement, hope the item comes with good instructions.

    • @Core-Electronics
      @Core-Electronics  4 місяці тому

      We are always trying to improve our educational videos, I'll run it by out editor in the next video's production and we will give it a go!
      In terms of the PCIe cable, Raspberry Pi has done a good job, with how it comes out of the box its very difficult to incorrectly plug it in.

  • @flywheeldk
    @flywheeldk 4 місяці тому

    How about update the firmware to latest via SD-cardand then boot up in the onboard installer and install from there ?

    • @Core-Electronics
      @Core-Electronics  4 місяці тому +1

      You could definitely do it in that order, but the firmware issue may only be an issue for Pi 5s that rolled off the factory line early and don't have the newer "post-april-2024" firmware, so we left it as sort of an addendum.

  • @biskero
    @biskero 3 місяці тому

    is there a hat to have dual PCIe slots to have a NVMe and the AI Kit?

    • @Core-Electronics
      @Core-Electronics  3 місяці тому +1

      There are hats out there to do that, but you may run into some issues getting both going. The place to check out would be the legendary Jeff Geerling who does incredible things with Pi stuff: www.jeffgeerling.com/blog

  • @TheBigChinoDon
    @TheBigChinoDon 4 місяці тому

    Can you still use an audio HAT like the DAC Pro in conjunction with the M.2 HAT?

    • @Core-Electronics
      @Core-Electronics  4 місяці тому

      Its definitely possible! You will just need to stack the DAC Pro on top of the M.2 HAT and find some appropriate stand-offs and 40-pin risers if you want to make it look elegant!

  • @kexo465
    @kexo465 4 місяці тому

    Hi, I bought raspberry pi 5 recently with original active cooler, and I am concerned about airflow for the fan, because that m.2 hat+ seems to be really close on top. Will it impact temperature of my Pi or will it stay same? And also what if m.2 drive heats up?

    • @Core-Electronics
      @Core-Electronics  4 місяці тому +1

      We have found that the active cooler without the fan plugged in is sufficient to cool the Pi 5 in day to day desktop tasks (not overclocked), so with a little more airflow (even if restricted), it should be alright. If you need some more airflow, some slightly higher stand-offs might help. M.2 drives do have a reduced lifespan when they are run hot, but the heat from the Pi shouldn't be too much of an issue in general use. If you are really worried about it, a cheap heatsink on the NVME might do the trick!

    • @kexo465
      @kexo465 4 місяці тому

      @@Core-Electronics Thank you for the info!

  • @makratorian
    @makratorian 4 місяці тому

    Question. Im using roboflow on my surface pro and steam deck my model is getting 5fps with this be faster? I need at least 30fps

    • @Core-Electronics
      @Core-Electronics  4 місяці тому

      The Pi 5 is meant to be a small low-cost computer and your steam deck will likely be many times faster than it unfortunately. ☹️

    • @makratorian
      @makratorian 4 місяці тому

      @Core-Electronics I dropped the size from 640x640 to 200x200 I'm at 22fps now detection is good. What if I use the Google coral board or the Google coral tpu usb one? Will performance be

  • @kotgc7987
    @kotgc7987 2 місяці тому

    What happens to the heat sync and cooling fan?

    • @Core-Electronics
      @Core-Electronics  2 місяці тому

      With the default stand offs, the active cooler will fit underneath. It doesn't have much room above it though, but it should be plenty enough even when overclocked.

  • @Gilndrei
    @Gilndrei 3 місяці тому

    Can i use nvme 2280? I bought pi m.2 hat+ yesterday

    • @Core-Electronics
      @Core-Electronics  3 місяці тому

      The M.2 HAT only has mounting holes for a 2230 or 2240 sized NVME. But a 2280 NVME will technically work, you will just have no way to securely mount it to the board.

    • @Gilndrei
      @Gilndrei 3 місяці тому

      Thanks mate! I manage to boot it from nvme 2230.
      May i ask is it possible to install pinn os on nvme?

  • @CharlesKemp-ss5bk
    @CharlesKemp-ss5bk 4 місяці тому

    Great vid, thx! The instructions on the full guide link are very helpful. I know a M.2 2280 drive is too long for the secure screws on the Hat, but would a 2280 drive work after making a custom way to hold the drive in position?

    • @Core-Electronics
      @Core-Electronics  3 місяці тому

      I don't see any reason it shouldn't, as long as it is securely attached and makes a proper connection!

    • @CharlesKemp-ss5bk
      @CharlesKemp-ss5bk 3 місяці тому

      @@Core-Electronics Thx so much! I'm only asking because the price of the 1TB M.2 2280 drives are lower then the shorter 2242 drives.

    • @CharlesKemp-ss5bk
      @CharlesKemp-ss5bk 3 місяці тому +1

      UPDATE: I loaded Rasp Pi OS on a Samsung 970 EVO 2280 SSD NVMe M.3 500GB drive. I purchased the drive back in 2020 and have used it quite a lot for different projects. It boots and works perfectly!

  • @mikedeath7333
    @mikedeath7333 4 місяці тому

    Poe?

  • @Akshun82
    @Akshun82 4 місяці тому

    Niiice!

  • @paulfg5230
    @paulfg5230 3 місяці тому

    is there an R is Data, comon

  • @alevans51
    @alevans51 4 місяці тому

    Please button your shirt.

  • @MegaBlox_YT
    @MegaBlox_YT 4 місяці тому +1

    I was here when it was uploaded 36 seconds ago 🫢