Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document neat CM4 projects/accessories #25

Closed
geerlingguy opened this issue Nov 16, 2020 · 102 comments
Closed

Document neat CM4 projects/accessories #25

geerlingguy opened this issue Nov 16, 2020 · 102 comments

Comments

@geerlingguy
Copy link
Owner

geerlingguy commented Nov 16, 2020

For example, today @BG5USN sent me this prototype version of the PiTray mini: https://twitter.com/BG5USN/status/1328331941536477189 (Edit: Now it's available on DFRobot for $14.50! — and check out the main website for the board)

BG5USN_2020-Nov-16

Basically a tiny CM4 IO board. Very neat, great for just working with CM4s (but probably wouldn't be a great replacement for the Pi 4 model B itself), and it has full-size HDMI :)

There's also the Turing Pi 2: https://turingpi.com

scheme

And CM4 MATX, a micro-ATX compliant board design so you can securely install a CM4 inside an ATX case with a PCIe slot in the right place: https://github.com/TheGuyDanish/CM4_MATX

CM4_MATX_PCB

I don't know where exactly I'll document these things, but I know I'm excited to see some of the different builds people make!

@geerlingguy
Copy link
Owner Author

geerlingguy commented Nov 20, 2020

PKG900000001400_overview_1

The Gumstix Raspberry Pi CM4 Development Board, which has a built-in NVMe slot (I presume it is consuming the PCIe 1x lane). It's $130, and backordered.

@paulwratt
Copy link

paulwratt commented Nov 21, 2020

On release day of the CM4, Gumstix had already produces the following hardware and adaptors for the CM4:
https://www.cnx-software.com/2020/10/19/gumstix-introduces-cm4-to-cm3-adapter-carrier-boards-for-raspberry-pi-compute-module-4/
Raspberry Pi CM4 Uprev & UprevAI CM3 adapter board
Gumstix Raspberry Pi CM4 Development Board (mentioned above)
Gumstix Raspberry Pi CM3/CM4 Robo
Gumstix Raspberry Pi CM4 PoE Smart Camera
Gumstix Raspberry Pi CM4 + Pixhawk FMUv6

The CM4-CM3 adapter also works with the current TuringPi (note the inclusion of a Google Coral AI accelerator):
image

@geerlingguy
Copy link
Owner Author

Another interesting project, the PiKeeb:

Enxf7DDXcAQIBQh

Enxf7DIW4AU6FU4

Seems to be a combination mechanical keyboard + CM4 board (similar to Pi 400 in general design), with the addition of a fold-out screen; more details are on the project's subreddit: https://www.reddit.com/r/PiKeeb/ (would be nice to have a page somewhere with consolidated info, because you kinda have to read around in that subreddit to figure out everything the board should be able to do).

@geerlingguy
Copy link
Owner Author

Another interesting project, the StereoPi V2, for stereoscopic photography/video (interesting application for robotics too):

7507051604920184044

@geerlingguy
Copy link
Owner Author

geerlingguy commented Nov 29, 2020

User u/mebs_t on Reddit posted this Compute Module 4 NAS PCB with PCIe board:

12567x1d10z51

The idea is to have that board with the CM4 connected internally to some drives in a tower enclosure like:

pc14ae4ljzz51

The board is documented in this GitHub repo: https://github.com/mebs/CM4-NAS

There are some good links for those interested in putting together a similar kind of project. Also in that thread I found out that Gumstix is offering free manufacturing for CM4 designs through the end of the year—probably some strings attached, but an interesting offer nonetheless.

@geerlingguy geerlingguy changed the title Document some neat CM4 projects/accessories Document neat CM4 projects/accessories Dec 4, 2020
@geerlingguy
Copy link
Owner Author

geerlingguy commented Dec 4, 2020

Uptime Lab (www.uplab.pro) posted this blade server concept to Twitter:

EoUrgsPWMAQiWXx

It looks like it wouldn't be the most complicated PCB to manufacture, and could hold up to 22 devices (176 GB RAM, 44TB storage with 22 2TB NVMe drives. Gigabit backplane maximum, though, so it wouldn't be able to be fully utilized practically (more to come on why in my next video!).

@geerlingguy
Copy link
Owner Author

Another really cool idea is the Piunora from timonsku on Twitter:

Eo5wAgRWMAYuvIo

Eo5xBS6XcAIihwL

It has a slightly custom layout, but features an M.2 B-key connector on the bottom (something many have desired), and tons of other niceties that make it a well rounded little prototype. Not available for sale, but something like this could be a popular option for those of us who want a 'Pi 4 but with built-in NVMe on the bottom' :)

(@timonsku was also the person behind this dead-simple carrier board featured on Hackaday.io.)

@alexellis
Copy link

I need to stop looking at this thread! Nice collection Jeff.

@iandk
Copy link

iandk commented Dec 11, 2020

Someone should design a nice small board with a few onboard SATA + power ports.

@andywarburton
Copy link

I would love to see a little carrier board tuned for cyberdeck makers. Onboard battery charging plus boost to get us enough amps for all the things, power out for additional devices too full sized hdmi out, 4 USB, ethernet etc (basically a full pi4 with battery management and a few extra terminals for power).

@volkertb
Copy link

It would be cool to have something similar to the Piunora, that would expose the PCIe interface as a Thunderbolt (or USB4?) port. I'm not sure how complicated it would be to implement something like that, though.

@Belcarra
Copy link

Looking for a board that has a SuperSpeed (aka USB 3.x) USB Client port.

@GaganCJ
Copy link

GaganCJ commented Dec 13, 2020

Ethernet port in Piunora would have been nice

@geerlingguy
Copy link
Owner Author

geerlingguy commented Dec 13, 2020

Another project that showed up on the radar today thanks to @JorisBryssinck, the CutiePi tablet, an open hardware design with a target MSRP of $229 (including screen, battery, and a CM4 2GB WiFi/BT Lite!):

cutiepi-spec

Even though the website still mentions the CM3+ Lite, they recently announced an upgraded design using the CM4:

EnvCKERUcAIG1HS

EDIT: Update on the CutiePi — it lives! https://twitter.com/penk/status/1341211268552658944

@gabyavra
Copy link

Anybody found a minimalistic carrier board with only USB C for instance (data + power), so I can use the CM4 like this? https://www.youtube.com/watch?v=IR6sDcKo3V8 (emulated Ethernet via USB c in order to ssh into the device)
Thank you

@geerlingguy
Copy link
Owner Author

geerlingguy commented Dec 16, 2020

Looks like there's also the MCUzone CM4 4G:

005wDMK3ly1gl9e1wacosj31bz0u0gw3

142055w22jh0mrjggmzg0f jpg thumb

Video: https://www.bilibili.com/video/BV1mi4y1V7qw

Forum posts: http://www.mcuzone.com/forum/forum.php?mod=viewthread&tid=34195

And gathering what I can from translations, it seems the board is tailored for use with a 4G or 5G modem (through an onboard mini-PCIe slot). The board as pictured has "4K HDMI output, Gigabit wired Ethernet, 4G LTE Cat4 network, dual USB host, and USB-C power supply interface."

@arthuraldridge
Copy link

Someone should design a nice small board with a few onboard SATA + power ports.

Power would still be an issue but...

https://www.seeedstudio.com/M-2-to-SATA-Converter-5-Ports-p-4726.html

@volkertb
Copy link

I'm frankly surprised that there isn't yet a project or crowdfunding drive to create a smartphone around a CM4. So with a smartphone form factor, including a touch screen, 4G modem, the ability to make voice calls, etc, but having an interface for a CM4 (or compatible device) instead of an integrated SoC. You wouldn't even have to start entirely from scratch for something like this. You could basically take the schematics of the PinePhone and/or the LibRem 5 (I believe they are both open source hardware), and use those as a basis.

The advantage would be a phone that would not only be open with out-of-the-box mainline Linux kernel support, but upgradable as well.

(Let's just hope the Raspberry Pi foundation will not make incompatible changes to the Compute Module form factor so soon again, like they did between the CM3 and the CM4.)

@hatonthecat
Copy link

Someone should design a nice small board with a few onboard SATA + power ports.

Power would still be an issue but...

https://www.seeedstudio.com/M-2-to-SATA-Converter-5-Ports-p-4726.html

mSATA has some of best performance/watt ratio. The Samsung PM851 uses <200mW in active use.
https://www.amazon.com/Original-512GB-mSATA-Retail-Packaging/dp/B08DLW863Y
There are some USB-mSATA expansion boards for the Pi4 like: https://notenoughtech.com/rpi-hat/x857-msata-for-raspberry-pi-4/
and I've seen some GPIO adapters for mSATA like the PiDrive (2015 status unknown). I think a little boost for write and random reads would be great, Otherwise there is a handful of Class 10 cards that are 1GB transfers in less than a minute for copy/write speeds.

@stevefan1999-personal

This comment has been minimized.

@stevefan1999-personal

This comment has been minimized.

@TheGuyDanish

This comment has been minimized.

@stuart-c

This comment has been minimized.

@geerlingguy

This comment has been minimized.

@geerlingguy geerlingguy pinned this issue Dec 27, 2020
@geerlingguy
Copy link
Owner Author

Another new NAS board, from @olvint this time: https://github.com/olvint/CM4-NAS-MiniPCIE — It's a fork of https://github.com/mebs/CM4-NAS with a mini PCIe slot (instead of full-size). Pictures speak louder than words:

JLC PCB gbr render small

MiniPCIecard

That looks like this little IOCrest mini PCIe card with the ASMedia 1061R chipset for $27. Syba also makes a full-size mini PCIe card with 4 SATA ports for $31.

@g30ba1
Copy link

g30ba1 commented Dec 28, 2020

Wow! There are so many cool projects on course!

I hope that EdgeTPU guys finish the work to get the MSI-X support done and ready to deploy 🙏

@ansonhex
Copy link

Could also check this out: https://twitter.com/Nicho810/status/1337210218980118529

Dual gigabit Ports for CM4, soft router options :D

@geerlingguy
Copy link
Owner Author

@ArthurVnL - Apparently this issue is getting a bit too long; that board was already mentioned earlier (in the folded section of comments): #25 (comment)

@SuNNjek
Copy link

SuNNjek commented Jan 29, 2021

@jedahan
Copy link

jedahan commented Jan 29, 2021

This seems a decent use for github discussions? Though I do like having this as gh issues so i can view from the terminal...

@geerlingguy
Copy link
Owner Author

@SuNNjek - Yeah I spotted that too! It looks like it's a 4x SATA carrier made for super compact gigabit NAS devices, more details at Wiretrustee:

top_CM4_sata_board_nas-e1611855453450-873x1024

bottom_CM4_sata_board_nas-e1611855679979-1024x1024

control_CM4_sata_board_nas-e1611856044407-1015x1024

I especially like that little separate status and power board—you could make a really polished Pi NAS out of this thing. I'm trying to see if I might be able to get access to one to play around with it :)

@geerlingguy
Copy link
Owner Author

New video posted today: Raspberry Pi CM4 Boards arrive! Waveshare PoE and PiTray mini.

@dmitriarekhta
Copy link

I've made it work on 64-bit Ubuntu Server 20.10 simply by enabling the kernel's lan743x driver as it. However, make sure including this commit; otherwise, it may crash when accessing the interface before the physical link is up.

~The performance seems very satisfying. It could reach 900+ Mbps in simple NAT with VLAN cases. (PC1 -> RPi -> LAN7430/1 -> simulated External network). However, if using the Pi as an OpenVPN gateway, it could only reach 60Mbps. (I messed up my routing table).

Guys, considering how cheap 1Gbps switches are it probably doesn't make much sense to reduce PCIe Gen2 x1 to single RGMII pair just to make switching works on CM4. I've been thinking about this a lot and I think that the best approach for "CM4 as nextgen routing platform" would be using PCIe switch and two 2.5Gbps controllers, e.g ASMedia AS1182 + 2xRTL8125. This will allow us to make CM4 gateway in the following configuration:
1x 2.5Gbps WAN
1x 2.5Gbps LAN1
1x 1Gbps LAN2/WAN2

PCIe would allow us to push ~4Gbps throughput. I also do believe that SoC is powerful enough to make it happen. We just need the right software, i.e XDP+eBPF. I will try to work on OpenWRT and Polycube (https://github.com/polycube-network/polycube) integration to make it happen.

@geerlingguy
Copy link
Owner Author

@dmitriarekhta - Check out https://pipci.jeffgeerling.com/cards_network/syba-dual-25gbe-pcie-nic.html — I've been doing a bit of testing with a dual-2.5GbE card and also documenting performance characteristics.

@StonedEdge
Copy link

StonedEdge commented Feb 8, 2021

The Retro Lite CM4 is a sleek, handheld gaming console to be completed early 2021. It is a collaboration project between myself and Dmcke5 on the BitBuilt forums. It is modelled in SolidWorks and the PCBs were designed in EAGLE. The project is a work in progress, but we hope to have it all done very soon! Final shell will be done in 6061 aluminum, but we have made some renders and custom prototypes already to get started. We still can't get our hands on the latest compute module as at the time of this post, but hopefully we can get one soon. Everything will be on custom connectors and require no soldering for assembly.

Current feature list: Retro Lite CM4

Left PCB:

  • Arduino ATmega32 USB controller
  • Switch joystick x 1
  • Abxy buttons
  • Start button
  • Silicone membranes (custom made using CNC'd molds)

Main PCB:

  • BQ24292i Power Management IC
  • ATtiny84 8-bit microcontroller for controlling BQ
  • USB2422 USB hub
  • i2s Audio amp (wm8960 i2c master with switchable headphone jack)
  • 1 x 4Ah lithium-ion cell
  • TFP401 hdmi->rgb888 converter IC
  • USB-C sink PD (15V, compatible with Nintendo Switch Lite charger)
  • SD card
  • HDMI 2.0 port
  • 2 x FFC connectors to connect side PCBs to main board
  • Raspberry Pi 90-pin D-Sub High Density Connectors x 2
  • 5v boost regulator (4A capable)
  • 800 x 480 5" HDMI TFT monitor

Right PCB:

  • DPAD
  • Switch joystick x 1
  • Select button

Check out the photos below. If you are interested in following the worklog as we build it along the way, you can check it out below. A lot of information I have left out can be found here:
https://bitbuilt.net/forums/index.php?threads/retro-lite-cm4-a-stonededge-and-dmcke5-collaboration.3934/

145425074_3877383828981222_8402150208117869027_o
146465538_3877383678981237_6055653763378899079_o
145585802_3877383072314631_2520542659773593343_o
Retro Lite Internals
13mm

@geerlingguy
Copy link
Owner Author

@StonedEdge - Those renderings are beautiful! Thanks for sharing this project, it looks like the CM4 Handheld project mentioned earlier (which was in the Wii U form factor) but narrowed down even more to the point this thing could be a stand-in for a Switch Lite!

@geerlingguy
Copy link
Owner Author

Just a heads up—I'm going to be creating a new section on the PCIe database site for 'CM4 boards', so I can better document/catalog all these amazing projects (and a few more that I'm privy to but sadly can't share yet...). I'll hopefully be moving many of the boards mentioned in this issue into that new section of the site in the coming weeks.

It'll also make it easier for me to track which of these boards are commercially available, since I know a lot of people really want to buy some of them, but many are being built as a one-off or with an open source hardware license, and being able to see that at a glance would be very handy.

Follow issue #78 for progress there!

@geerlingguy
Copy link
Owner Author

Alrighty then. That was a fair bit of work, but I think I've cataloged every card from this issue on the site at this point in the PR #82

I will merge that, and there will be a new section on the site: https://pipci.jeffgeerling.com/boards_cm

For any future passers-by, please open a new issue for any new boards you'd like to highlight, and feel free to follow the template style of one of the existing boards to place the board on the site in a PR too. I like having more detail in the GitHub issue so I can link back to it in case people want to discuss it more.

Also note that I will not put any board into the top 'production' category until it is able to be purchased and shipped. No prototypes, no 'it is already being produced'—if I can't order it, it ain't going up there.

@starchivore
Copy link

A sneaky preview for audiophiles — CM4AES from Pi 2 Design:

https://www.pi2design.com/coming-soon.html

@geerlingguy
Copy link
Owner Author

@starchivore - This issue has been closed in favor of opening a new issue per design (so I can aggregate them all on the site here: https://pipci.jeffgeerling.com/boards_cm — can you add that as a new separate issue? Looks interesting!

@warmwaffles
Copy link

@geerlingguy the scalenode blade has been getting some updates to it recently https://github.com/antmicro/scalenode/tree/develop looks pretty interesting.

@geerlingguy
Copy link
Owner Author

@warmwaffles - I added the Scalenode here: #119 — please feel free to add anything that's missing in that issue or if you want a PR to improve the page on the site!

@geerlingguy
Copy link
Owner Author

Just wanted to note the Retro Lite CM4 is nearing completion:

1nsu717x60t71

daqwi17x60t71

@jarno9981
Copy link

Just wanted to note the Retro Lite CM4 is nearing completion:

1nsu717x60t71

daqwi17x60t71

Is this open source ???

melanj pushed a commit to melanj/raspberry-pi-pcie-devices that referenced this issue Nov 10, 2021
@punnypenguins
Copy link
Contributor

Live site page for the MCUzone CM4 4G board: https://pipci.jeffgeerling.com/boards_cm/mcuzone-cm4-4g.html

@ajokela
Copy link

ajokela commented Jan 15, 2023

PCIe would allow us to push ~4Gbps throughput. I also do believe that SoC is powerful enough to make it happen. We just need the right software, i.e XDP+eBPF. I will try to work on OpenWRT and Polycube (https://github.com/polycube-network/polycube) integration to make it happen.

Has there been any movement on getting Polycube running on CM4? I asked because I have been able to successfully build polycube, but when attempting to run polycubed - the process does nothing but consume 100% of one core. It never gets to the point of listening on localhost:9000

Here's my write-up: https://tinycomputers.io/posts/polycube-network-on-arm-hardware-WIP.html

@Bra1nsen
Copy link

Hey guys very interesting discussion here.

Iam looking for an electronics engineer for a custom pcb layout for raspberry cm4 module. it involves:

-poe
-cam port
-gpio hat including google coral tpu, bme280, gy-511
-some kind of cpu fan

If someone is interested in that freelancer job, please contact me:

[email protected]

@Syachrul24
Copy link

PKG900000001400_overview_1

The Gumstix Raspberry Pi CM4 Development Board, which has a built-in NVMe slot (I presume it is consuming the PCIe 1x lane). It's $130, and backordered.

hello would you share me a Gumstix Raspberry Pi CM4 Development Board schematic or board file because i just developing the same system and got some trouble on power, the current measured is 0.08a which my target is 500ma - 1A

@LucaschS
Copy link

Looks like there's also the MCUzone CM4 4G:

005wDMK3ly1gl9e1wacosj31bz0u0gw3

142055w22jh0mrjggmzg0f jpg thumb

Video: https://www.bilibili.com/video/BV1mi4y1V7qw

Forum posts: http://www.mcuzone.com/forum/forum.php?mod=viewthread&tid=34195

And gathering what I can from translations, it seems the board is tailored for use with a 4G or 5G modem (through an onboard mini-PCIe slot). The board as pictured has "4K HDMI output, Gigabit wired Ethernet, 4G LTE Cat4 network, dual USB host, and USB-C power supply interface."

Can I send and receive sms and make calls via this modem ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests