EP-0235

From 52Pi Wiki
Jump to navigation Jump to search

U5000 M.2 NVME Dual USB3.0 to 2.5g Ethernet for Raspberry pi 5

Description

The U5000 M.2 NVMe & dual 2.5G ethernet for Raspberry Pi 5. The Raspberry Pi HAT (Hardware Attached on Top) board you have is a versatile expansion module designed to enhance the capabilities of your Raspberry Pi 5.

Features

  • PCIe Interface Support It includes a single PCIe (Peripheral Component Interconnect Express) interface that can be used to expand the system with an M.2 NVMe SSD. This allows for high-speed storage solutions that are compatible with the 2230 and 2242 form factors.
  • M.2 NVMe SSD Support The HAT board supports M.2 NVMe Solid State Drives, which are known for their high-speed data transfer rates and low latency. This is particularly useful for applications that require fast access to data, such as databases, media servers, and high-performance computing tasks.
  • USB to Ethernet Conversion It cleverly utilizes two USB 3.0 ports, converting them into two Gigabit Ethernet interfaces. This provides the Raspberry Pi with additional network connectivity options, which can be beneficial for network-intensive applications, such as web servers, media streaming, or IoT (Internet of Things) projects.
  • Compact and Integrated Design The board is designed to be compact and integrate seamlessly with the Raspberry Pi, providing a clean and efficient setup without the need for additional cables or adapters.
  • Enhanced Functionality By combining high-speed storage and network capabilities, this HAT board significantly enhances the functionality of a Raspberry Pi, making it suitable for a wide range of applications that require both storage and network performance.

This HAT board is an excellent addition to any Raspberry Pi setup, offering a convenient way to boost both storage and networking capabilities in a single, compact package.

Specifications

  • Raspberry Pi 5 Support Only
  • Support M.2 NVMe M-key 2230/2242 SSD
  • Up to 2.5Gbps Dual ethernet expansion
  • Support PCIex1
  • Dual USB port connector

Gallery

TBD.

How to enable PCIe on Raspberry Pi 5

  • We assume that you are using Raspberry Pi OS (bookworm) 2024-03-15
  • Enable PCIe function

Edit /boot/firmware/config.txt file and adding following parameter in to the file.

dtparam=pciex1
dtparam=pciex1_gen=3
Config.txt file.png


Save it and then do remember reboot your Raspberry Pi to take effect. Following figure shows that the speed of transport on NVMe SSD and booting from nvme device.

Nvme speed U5000.png


How to enable dual 2.5Gbps ethernet interface

  • Do remember connect the USB connector from U5000 expansion board to Raspberry Pi 5 on USB3.0 Ports.
sudo ifconfig 

Result be like:

Dual ethernet interfaces.png


Then you can use `nmcli` command to configure network connection.

Nmcli show.png


Here's a step-by-step guide on how to configure a network interface using `nmcli`, the command-line client for NetworkManager:

1. Check Network Interfaces

  First, you need to identify the network interfaces available on your system. Use the following command to list all network interfaces:
   nmcli device status
   

2. Connect to a Network:

  To connect to a wired or wireless network, you can use the `nmcli` command with the `d` (device) and `connect` options:
   nmcli d connect [interface-name]
  Replace `[interface-name]` with the name of your network interface.

3. Set a Static IP Address:

  If you want to set a static IP address for a wired connection, use the following command:
   nmcli con mod [connection-name] ipv4.addresses [ip-address]/[subnet-mask]
   nmcli con mod [connection-name] ipv4.gateway [gateway-address]
   nmcli con mod [connection-name] ipv4.dns "[dns1],[dns2]"
   nmcli con mod [connection-name] ipv4.method manual
  Replace `[connection-name]` with the name of your connection, `[ip-address]` with your desired IP address, `[subnet-mask]` with the subnet mask, `[gateway-address]` with the default gateway, and `[dns1],[dns2]` with your DNS servers.

4. Set a Static IP Address for Wireless:

  For a wireless connection, you'll need to create a new connection profile:
   nmcli con add type wifi con-name [connection-name] ifname [interface-name] ssid [ssid] mode [mode] ssid-type [type]
  Replace `[connection-name]` with a name for your connection, `[interface-name]` with the wireless interface name, `[ssid]` with the network's SSID, `[mode]` with the mode (usually `infrastructure`), and `[type]` with the SSID type (usually `ap`.
  Then set the static IP details:
   nmcli con mod [connection-name] ipv4.addresses [ip-address]/[subnet-mask]
   nmcli con mod [connection-name] ipv4.gateway [gateway-address]
   nmcli con mod [connection-name] ipv4.dns "[dns1],[dns2]"
   nmcli con mod [connection-name] ipv4.method manual

5. Bring Up the Interface:

  Once you've configured the interface, you can bring it up using the following command:
   nmcli con up [connection-name]

6. Bring Down the Interface:

  If you need to bring down the interface, use the following command:
   nmcli con down [connection-name]

7. Check Connection Status:

  To check the status of your connection, use:
   nmcli con show [connection-name]

8. Delete a Connection :

  If you need to delete a connection profile, you can do so with:
   nmcli con del [connection-name]

Remember to replace placeholders with actual values relevant to your network configuration. Also, you might need to run `nmcli` commands with `sudo` if you require administrative privileges.

Package Includes

Keywords

  • U5000 NVMe & Dual 2.5G ethernet for RPi5 expansion board, U5000, expansion board for RPi5, Raspberry Pi 5 hat expansion board with 2 gigabytes ethernet interface.