M400

From Geekworm Wiki
Jump to navigation Jump to search

M400 V1.1 NVME M2 SSD Shield for Raspberry Pi 5
M400 V1.1 Front View

Overview

The M400 V1.1 shield is an NVME M2 SSD PIP (PCIe Peripheral Board) for the Raspberry Pi 5 that uses the new PCIE interface of the Raspberry Pi 5 to utilise the NVME M2 SSDs for fast data transfers and ultra-fast booting.

This shield follows the new "PIP" design guideline from Raspberry Pi fundation ensuring that it will be easy to use and be supported long term by updates to Raspberry Pi OS - though it is very early days and things are improving rapidly there!

Geekworm PCIe to NVME Sets:

After the release of the Raspberry Pi AI Kit, we tested four PIPs: X1001, X1004, X1011, and M901. X1001, X1004, and M901 all support the hailo-8 ai ​​accelerator, but X1011 does not.

It should be noted that X1004 uses ASMedia ASM1182e PCIe switch, and X1011 uses ASM1184e, they can't support PCIe Gen 3 speed, so even though we forced to enable PCIe Gen 3.0 setting in Raspberry Pi 5, it is limited by ASMedia ASM1182e PCIe switch, and speed is still PCIe Gen 2.0 5Gbps speed. when you use an hailo-8 ai accelerator, Raspberry Pi Fundation highly recommends using PCIe 3.0 to achieve best performance with your AI Kit.

Our tentative conclusions are as follows:

  • If you need to use hailo-8 ai accelerator with high performance, it is recommended to use X1015/X1002/X1003/M901/ the official M.2 HAT+ etc. When choosing these PIP boards, you should focus on whether there is a conflict between the camera cable and the PIP board installation, and enable PCIe3.0 to use hailo-8 ai accelerator. At the same time, you need to prepare an SD card as the system disk.
  • If you don't care about the high performance brought by PCIe 3.0, then you can consider using X1004, so that you can use any socket of X1004 to install NVME SSD as the system disk, and another socket to install hailo-8 ai accelerator, so as to have both.
Model Compatible with Position NVMe M2 SSD Length Support Matching Case Matching Cooler Support NVMe Boot Support PCIe 3.0 Support Hailo-8 AI Accelerator
X1000 Raspberry Pi 5 Top 2230/2242 P579 Official Cooler / Argon THRML Cooler / H505/H501 Yes - Not tested
X1001 Raspberry Pi 5 Top 2230/2242/2260/2280 P579 Official Cooler / Argon THRML Cooler / H505/H501 Yes - Yes
X1002 Raspberry Pi 5 Bottom 2230/2242/2260/2280 P580 /
P580-V2
Official Cooler / Argon THRML Cooler / H505/H501 Yes - NO
X1003 Raspberry Pi 5 Top 2230/2242 P579 / P425 Official Cooler / H501 Only Yes - Not tested
X1004 Raspberry Pi 5 Top Dual ssd: 2280 P579-V2 Official Cooler / Argon THRML Cooler / H505/H501 Yes (Requires EEPROM 2024/05/17 and later version) NO Yes
X1015 Raspberry Pi 5 Top 2230/2242/2260/2280 P579 Official Cooler / Argon THRML Cooler / H505/H501 Yes - Yes
X1005 Raspberry Pi 5 Bottom Dual ssd: 2230/2242/2260/2280 P580-V2 Official Cooler / Argon THRML Cooler / H505/H501 Yes (Requires EEPROM 2024/05/17 and later version) NO Yes
X1011 Raspberry Pi 5 Bottom 4 ssds: 2230/2242/2260/2280 X1011-C1 Official Cooler / Argon THRML Cooler / H505/H501 Yes (eeprom 2024/05/17 and later version) NO NO
X1012 Raspberry Pi 5 Top 2230/2242/2260/2280 P579 Official Cooler / Argon THRML Cooler / H505/H501 Yes - Not tested
M901 Raspberry Pi 5 Top 2230/2242/2260/2280 P579 Official Cooler / Argon THRML Cooler / H505/H501 Yes - Yes
Q100 Raspberry Pi 5 Top 2242 P579 Official Cooler / Argon THRML Cooler / H505/H501 Yes - Not tested
Q200 Raspberry Pi 5 Top Dual ssd: 2280 P579 Official Cooler / Argon THRML Cooler / H505/H501 NO - Not tested
M300 Raspberry Pi 5 Top 2230/2242 P579 Official Cooler / Argon THRML Cooler / H505/H501 Yes - Not tested
M400 Raspberry Pi 5 Top 2230/2242/2280 P579 Official Cooler/ Argon THRML Cooler / H505/H501 Yes - Not tested

Important Notes

NVMe SSD Incompatibility List

We recommend avoiding the following NVMe SSD drives which is equipped with a Phison controller due to their proven incompatibility:

These specific models have demonstrated compatibility issues, and it is advisable to avoid them when considering NVMe SSD options for the X10xx series NVMe shield. You can run "lspci" command to check the controller brand of the SSD.

We confirm that the following SSDs are incompatible:

  • Micron 2200 256GB M.2 NVMe Gen3 x4, MODEL: MTFDHBA256TCH, The SSD is recognized but I cannot boot from it.

Also note:

  • Compatible with M.2 NVMe SSDs only, Not compatible with M.2 SATA SSDs, M.2 PCIe AHCI SSDs, or other M.2 non-NVMe devices
  • Older NVMe drives with less efficient flash media may not perform as well as newer drives
  • New NVMe SSDs are not partitioned and will need to be both partitioned and formatted when first connected to the Raspberry Pi before they will be accessed in the Explorer.
  • We get feedback from customers that Polaris Controller will also have compatibility problems. Please replace the other SSD test if it not work, whether it is compatible with the Raspberry Pi 5 does not depend on the X100X series boards
  • NVMEs using the MAP1202 controller may not support PCIe Gen 2, and must be forced to enable PCIe Gen 3 in order to be recognised. This is due to the fact that the controller is not backward compatible with PCIe Gen 2, and NVMEs using this controller will have compatibility issues, and are not recommended for use. Can refer to https://zhuanlan.zhihu.com/p/644984347


PS: There is also feedback from buyers that even NVME SSDs with Phison controller are supported after updating the latest firmware. Please refer to go to: X1001#comment-4638

Features

  • Supports installation of official active coolers;
  • Dual LED Indicators: 5V Power LED and 'ACT' (M.2 disk activity).
  • Supports 2230/2242/2280 NVME M2 SSD.
  • Can power the M400 shield directly from the FFC PCIe ribbon (providing maximum 5W of continuous power)

PS:

  • Maximum current for pcie connector is 1A, and voltage is 5V
  • If you find that the SSD is not working properly, it is possible that the power supply of SSD is not enough, then you need to check the current requirement of your SSD to decide whether power the SSD separately.
  • The M400 hardware has no limit on NVME SSD capacity, which is dependent on the Raspberry Pi OS.
  • Do not reserve the nut column to fix the 2230/2242 SSD, users need to find proper way to fix the 2230/2242 SSD.

How to Power

Can power the M400 shield directly from the FFC PCIe ribbon (providing maximum 5W of continuous power)

Nvme-SSD-Current-Note.jpg

Packing List

  • 1 x M400 V1.1 NVMe SSD Shield
  • 1 x PCIe FFC Cable(50mm length)
  • 4 x M2.5x17mm F/F Spacers
  • 8 x M2.5x5mm Screws
  • 1 x M2x3mm Screws (to fix M2 SSD)


NOTE:

The M2*3 screw is to fix M2 SSD;

User Manual

FAQ

In fact, some PIPs such as X1001 / X1002 / X1003 / X1000 etc are just an extension of the Raspberry Pi 5 PCIe, and their own hardware functions are limited. If the OS configuration and PCle FFC cable faults can be ruled out, the normal operation of PCIe (recognizing and booting) depends more on the firmware and SSD compatibility. Since October 2023, the Raspberry Pi Foundation has been updating the bootloader version to solve similar problems. You can learn more from the link below.

Raspberry Pi5 bootloader EEPROM release notes

After several major version updates, the bootloader has basically solved the firmware issue, so the remaining is the OS configuration and SSD compatibility issues.

If you are using a very old SSD, if you are experiencing issues with it being recognised and not being able to boot, the first thing you should consider is replacing the NVME SSD.

Q1: Can't boot/recognize from NVMe SSD?

click it to zoom out

A: Here are a few steps to help you troubleshoot some issues:

  1. Only Raspberry Pi OS (Bookworm) supports PCIe, Raspberry Pi OS bullseye is NOT supported, refer to https://www.raspberrypi.com/software/operating-systems/
  2. Make sure that your OS configuration (/boot/firmware/config.txt) is completely correct: refer to the tutorial:NVMe SSD boot with the Raspberry Pi 5 (will Continuously updating)
  3. Update the bootloader firmware to the last verson, refer to How to update eeprom firmware, this is very important!!! Make sure your upgrade is successful by running command vcgencmd bootloader_version
  4. Add PCIE_PROBE=1 to the eeprom, (Run sudo rpi-eeprom-config --edit command, then add this line, then press CTRL+O to write change to file, press CTRL+X to exit, then reboot)
  5. Make sure the SSD type you use is correct, only support M.2 NVME (Sata) Key-M SSD NOT support M.2 NGFF Key-B SSD. Refer to the right diagram:
  6. Make sure the FPC cable is firmly and fully inserted into the PI 5, this is very important. For X1003 shield, make sure the FPC cable direction is correct also.
  7. For some small brand SSD, consider forcing open PCIe Gen3 to test (add dtparam=pciex1_gen=3 line in config.txt then reboot), because some small brand SSDs are NOT backward compatible with PCIe Gen 2 for cost reasons.
  8. For X1003 shield, make sure the FPC cable direction is correct also. If an error still occurs, replace the FFC cable to test or purchase other PFC from here[1]to troubleshoot the issue.
  9. Read this post to get some help;
  10. Although you can also boot from a SD card, Pi OS is required for the NVMe SSD to boot, DON'T forget Flash OS into NVMe SSD.
  11. If you're flashing a fresh Pi OS into NVME SSD , DON'T forget to ENABLE PCIe to NVME SSD.
  12. Run the lspci and lsblk command to check the NVMe SSD is recognized. (NOTE: Make sure your NVMe SSD is plugged into the PCIe PIP, not just connecting PCIe PIP to the Pi5, otherwise the lspci will not be able to display any PCIe device). For X1004, X1005, Q200 and X1011, , you can only see several ASMedia Technology PCIe devices when running lspci, but not the NVME SSD information. You need to use the lsblk command to check whether NVME can be recognized.
  13. Start thinking about SSD compatibility issues and try to switch to other brands of NVME SSDs. Some customers have reported that they have successfully solved their problems by replacing their SSDs.
  14. Contact us at email: support@geekworm.com, and attached your product model, OS version (run uname -a to get), bootloader version (run vcgencmd bootloader_version to get) and order number
  • How to get FPC Wires:
  • PS: The shortest length of the FPC cable here is 30mm, but the length of the FPC cable used by X1003 is only 22mm. For X1003, this may not be perfect, but you can use these FPC cables to troubleshoot the issue. DON'T buy it if you mind.
  • If the issue is confirmed to be a FFC cable, we will reimburse you the cost of purchasing the FFC cable.

Q2: Don't recognize / boot from NVME SSD?

A: If you have enabled pcie and find that you still cannot boot from NVME SSD, please perform the following actions

1. Follow the picture below to check the version of X1001 or X1000

X1001-V1.1-IMG-6871-old-new.jpg

2. If it is an Old Version, refer to How to update eeprom firmware to update the firmware with pieeprom-2023-10-30.bin file.

3. If it is an New Version, refer to How to update eeprom firmware to update the firmware to lasted version.

4. If you still have not solved the problem, please refer to the next FAQ:Q1

Q3: How to fix the 2230/2242/2260 SSD on X1001 or other PIP?

A: The X1001 and other pips does not reserve the nut column to fix the 2230/2242/2260 SSD. Based on our test, you can secure the 2230/2242/2260 SSD using an M2*6mm screw and 2pcs M2 nuts. Place one M2 nut under the SSD, then use the M2*6mm screw and the other M2 nut to fasten the SSD.

PS: As of April 2024, we have added customized copper pillar in only X1001 packing list to solve this issue, please refer to the packing list of X1001.

Q4. X1002 can't boot when install into the P580 case?

A: Please check if the FPC cable touch the metal case make shorting when install X1002 into the metal case, you can stick the electrical tape on the case to prevent the ribbon FPC cable from contacting the case to test.

Q5: Which NVMe drives work with a Raspberry Pi 5?

A: You can refer to the video: https://youtu.be/3mUgVTBmKio.

Q6: Can they support gen3 PCIe speeds or only gen2?

A:

  • All PIPs (such X1001, X1002, X1003 etc) are just an extension of the Raspberry Pi 5 PCIe interface. Apart from whether the chip on the PIP board supports PCIe 3.0 or not, the more main focus is on the Raspberry Pi 5.
  • X1004, X1011, X1005 PIP boards do not support PCIe Gen 3 speed.

Q7: Why can the SSD be recognized but not bootable?

A:Please consider the following advice:

  • The method of flashing OS to NVME SSD may be problematic.

It is recommended that you boot from the SD card first and then use the SD Card Copier tool to flash the OS to the NVME SSD. Refer to NVMe_SSD_boot_with_the_Raspberry_Pi_5#Flash_OS_onto_NVME_SSD

  • The SSD used may be incompatible. Please replace it with other brand SSD.

Q8: Why does the LED of X1001/X1004 still blinking after issuing the shutdown command poweroff?

A:Please run the folloing command:

sudo rpi-eeprom-config -e

Then Change the setting of POWER_OFF_ON_HALT from 0 to 1

Then save & reboot your rpi 5.

PS: Currently setting is 1 by default


Add your comment
Geekworm Wiki welcomes all comments. If you do not want to be anonymous, register or log in. It is free.


Anonymous user #2

8 months ago
Score 0++

FFC Cables

Blue Side faces the Brown Connectors. The Leads are on the Beige Side.

So it will be Blue Side Faces Brown and White Facing Beige.

Anonymous user #1

9 months ago
Score 0++

Don't purchase this product. Run

This documentation is useless. They don't even show a picture of how to connect the ribbon cable.