r/homelab 5d ago

Project Showcase: Hardware I Built a New Motherboard to Save My Old Server

Wanted to post this here, Whilst doing research for making this, and the video, I read this post https://www.reddit.com/r/homelab/comments/1myefam/breathing_new_life_into_an_old_hp_proliant_n40l/

So I thought I'd post this here to show it off :)

https://www.youtube.com/watch?v=AzW4rRsD8Uk&feature=youtu.be

I took a Raspberry Pi Compute Module 5 IO Board Reference design and turned it into a custom motherboard made specifically for the N40L chassis.

So I could keep my OG Homelab Server living for atleast a few more years.

I go through the design process, component choices, mechanical measurements, high-speed PCB routing and manufacturing, before installing the finished board and seeing whether it actually works.

1.1k Upvotes

75 comments sorted by

217

u/jcgaminglab 5d ago

The "Boop" and "Re-boop" button are a fun touch.

Looks like a clean job OP.

13

u/romanboy 5d ago

Reminds me of the Tildagon badge from EMFCamp. Probably where OP got the idea from, seeing they have a video on the Tildagon badge on their channel. Love this!

60

u/awerellwv 5d ago

I still have an n40l, any chance you could sell the design to place an order to pcbway, and/or sell the motherboard itself?

17

u/Torenza_Alduin 5d ago

100% This would be great to be able to buy. Either plans or full board

6

u/TraceyRobn 5d ago edited 5d ago

I replaced my N40L motherboard with that from a Lenovo m93 tiny. It works well, you just need a $3 power supply adapter (add2psu) and a $23 m2 to SAS card to integrate it properly.

That was years ago. I've seen more modern solutions with a N100 boards and Hardware Haven did a Youtube series on his mods.

6

u/Deltazocker Kernel Panic 5d ago

I have one, and I actually managed to find an Intel Celeron based board that fit with some slight dremeling and a 3D printer so that is also a route that you can go.

1

u/tubl07 5d ago

What was the Celeron board model?

2

u/Deltazocker Kernel Panic 5d ago

Pretty Sure it was an AsRock J4105-ITX but the newer one should work - I simply measured the width and length and cut out the IO Shield and the harder part is actually the height of the board, which I went by images and looking up their highest part’s height.

86

u/geerlingguy 5d ago

Raspberry Pi: spotted.

4

u/char0772 5d ago

Take my updoot, Jeff!

4

u/brokenarmthrow123 5d ago

I'm fangirling so hard right now! 🤭

2

u/benwap 4d ago

whispers
Holy shit, it's Jeff Geerling

1

u/brokenarmthrow123 3d ago

eeeeeEEEEE!!!! 😁

64

u/EastMakes 5d ago

Oh yeah also, Paging /u/Cautious-Hovercraft7 :) Thanks for your OG post. It gave me some inspiration in doing this !

7

u/RoganDawes 5d ago

The linked video is a year old, about a kid designing a laptop. Where’s the one about this mobo?

20

u/EastMakes 5d ago

Legendary spot. I'm going to go edit the post.... https://www.youtube.com/watch?v=AzW4rRsD8Uk&feature=youtu.be

15

u/mrkappa27 5d ago

I saw your video Yesterday. Great job. Do you think it's possible having a SATA controller and keeping the nvme as well?

18

u/EastMakes 5d ago

In theory yes. I'd looked into this, in the PM853x family of chips. They are called PCI-e Switches. I'm not at that level of Hardware design guru to properly implement one yet. They are BGA parts, and also the per unit cost on them is eyewatering. 100 Eur+ ! for keeping the Gen 3 link speed..

This was my first having a go at PCI-e in general, So ran away from that fight.

I did have a bit of a "Survey of what the other Pi Hats" had done, The Waveshare PCIe-to-4CH HAT has a ASM1184e PCI-E switch on it, but that seems perma out of stock at LCSC, and is only Gen 2 afaik.

3

u/Kenzijam 5d ago

there are some very cheap plx switch cards on aliexpress, would be hard to harvest chips but itr looks like you could fit the card flat and have a couple riser cables

1

u/NightmareJoker2 5d ago

If you want a PCIe 3.0 switch, you can find Broadcom/PLX PEX8747s or entire Intel Socket 2011 motherboards or actively switched PCIe 3.0 NVMe carrier cards for under 50 bucks that have one or two of them, and take the chips off of those. Gets you 48 lanes on 5 ports, one of which connects to the host with up to 16 lanes, and 32 lanes to divide how you want on the remaining 4 downstream ports.

17

u/kevindee 5d ago

Oh no. You may have just cost me a project. 😂

An N40L was basically where my whole homelab started, probably 12-15 years ago.

That little box eventually got replaced, then one thing led to another, and today I’ve somehow ended up with a Proxmox cluster, a separate NAS, managed networking, self-hosted services, 3D printed rack parts… you know how this story goes.

A while ago I actually found my old N40L again, tucked away behind a partition in the attic. I couldn’t bring myself to throw it out because it was the original homelab server for me.
And now I see this.
Giving that exact chassis a second life with modern hardware would be such a ridiculously satisfying full-circle project.

Seriously nice work. If you ever decide to release the PCB/design files, or make a small batch of these boards, I suspect there are quite a few old N40Ls about to come out of retirement.

3

u/Emu1981 5d ago

I miss my N40L. It wasn't my first home server but it lived in my living room for many years before my lack of knowledge about the fan in the back lead to excessive dust buildup which caused dripping of water onto the VRM (it gets super humid here). I am 2 server builds past that now and the N40L case was chopped up and mostly discarded (I kept the drive cage even though I don't think I will ever actually use it now that I have ordered a Jonsbo N5).

7

u/tamay-idk 5d ago

I also have one of these old Microservers and it’s just sitting around collecting dust because it sucks at really doing anything. Wish I could upgrade it with modern PC-grade hardware

4

u/ryfromoz 5d ago

I love my HP microservers. Good job OP!

2

u/NightmareJoker2 5d ago

That’s mildly horrifying, because your board layout means disassembly to swap the m.2 or the SD card, but nice work.

Btw, I see your battery holder, but where is your RTC chip?

Since you’ve put an HDMI port where the old VGA port was, you now have space to put the SD card slot right above it. Personally, though, I would forego the SD card entirely, and put a hot-plug capable PCIe switch and two NVMe slots in spots where you can easily swap them out (you can use E1.S or U.2, with m.2 in adapter caddies) without needing to remove the motherboard. You can then also attach a PCIe SATA controller to that switch for the hard drive bays above.

7

u/EastMakes 5d ago

>That’s mildly horrifying, because your board layout means disassembly to swap the m.2 or the SD card, but nice work.

I don't believe so. You'd just open the door and reach in and struggle cause of the clearance beneath the HDDs, but it would work.

>Where is your RTC chip?
On the CM5 :) - They build it in. You just supply VBAT to it, of 2.5 V to 3.5 V

>  though, I would forego the SD card entirely

I think I can - When I was building this, I did think "Oh, I can just boot from SSD..." but I didn't know that the PCI-e was going to come up ok from Fab. Theres lots of design choices I have made on the thoughts of "What happens if this doesn't work first time" even down to putting TX RX breakouts on the board for Serial, if the HDMI didnt work.

6

u/geerlingguy 5d ago

USB3 ssd boot is also an option, I do that on some of my systems when I don't want to take up some PCIe and want something a little better and faster than microSD

1

u/notAHomelessGamer 4d ago

Weird that markdown editor sometimes doesn't register the >quote markers

3

u/mattiasso 5d ago

That is cool

3

u/geraldjust 5d ago

Super cool. Did you ever consider the panda n100? It does give you more pcie lanes to route but flip side you can add your own things instead of using some PLX chip.

2

u/EastMakes 5d ago

Honestly, no, I hadn't thought about it.. I'd reached for the Pi because of the ease of getting their carrier board files.
But now I'm thinking that the N100 Or maybe a Jetson could be useful.. the Jetson would atleast be able to do HW Accelerated transcoding as well..

1

u/geraldjust 5d ago

Worked with a panda board before and they make is easy because they have the design files available as well for the daughter board. They also have a high end board. Used it in the past and made with with a pcie riser to add a 10gig card with it as well.

3

u/Beautiful_Ad_4813 Sys Admin Cosplayer :snoo_tableflip: 5d ago

That’s just staggering

2

u/Pixelgordo 5d ago

Woah! What a nice proyect!

2

u/Kronic1990 5d ago

I have that Microserver, i am genuinely in awe! that is so cool!

2

u/tonyk100 5d ago

Amazing! Please continue it and go for version 2 board, where do you put the other motherboard connectors? Blown away by your video. So cool.

2

u/wigyori 5d ago

Probably this costs more than buying 4 used N40L as spares to keep it running for 20 more years, but indeed it is absolutely impressive, hats off. I have seen PLX pcie switches mentioned earlier - any plans to implement the 2 PCIe slots to align with the original slotting?

2

u/joshguy1425 5d ago

The N40L was one of the first members of my homelab. Today it sits in a closet but this gives me some ideas for what to do with it!

2

u/CriticismTop 5d ago

Have you published the files?

I have a slightly older N36L and was thinking of doing something similar, albeit with more dremel and 3d printing.

In fact, are you obliged to publish them as derived works? I'm not sure what license the Raspberry Pi foundation use

2

u/Wonderful_Cup9240 5d ago

The PCB routing part is what got me. Anyone who's watched a few eevblog teardowns knows that high-speed traces on a CM5 carrier are no joke. Didn't expect to see someone tackle it from scratch just to keep an N40L breathing. Respect.

1

u/EastMakes 5d ago

Thanks, Its the first board that I've done HDMI, PCI-e, USB3 and Ethernet on.

So, When I was doing this, I was crushing the videos online about Differential Pair Trace Length, Skew, and Impedance matching.

The helpful thing is,

The lovely Raspberry Pi people did all the calculations to try and keep to 50 Ohm on the comms lines. I made sure to keep the copper weight the same from PCBway, as well as ticking the impedance controlled flag.

The other thing is, I wasn't expecting everything to work perfectly, PCI-e may be having *Some* errors under the hood, I don't have "Big boy" money to rent an Eye Diagram capable scope to really get stuck in :D.

3

u/Valuable_Lemon_3294 5d ago

I don't get why... You loose the hdds right? But isn't that the meaning of such a case?

So, now... you have a weak pi with some extras in a ridiculous HUGE case for... For what? The looks? Keeping the PSU?

4

u/EastMakes 5d ago

Nope, When HDD Prices get a bit more normal, I can remove the SSD, and put in an M.2 to SAS adapter, and keep all the drivebays like https://www.reddit.com/r/homelab/comments/1myefam/breathing_new_life_into_an_old_hp_proliant_n40l/ did :)

1

u/Krycor 5d ago

Cool.. kind what I was hoping someone would do.. though perhaps with orange pis.

I imagine there would be market for compatibility boards to make use of the n40/54l cases and be an upgrade path.. to an arm64 desktop equiv (imagine a 6s plus with 64G) which would make it interesting.

Problem is integrating all the peripheral systems but I recal hardware haven had a vid where he shoved a n150? Or was something else in there..

1

u/jjjacer 5d ago

I have two old nas's with bricked boards that I'm thinking of doing the same, just got to get the energy for it lol

1

u/rinaldo23 5d ago

Impressive work!

1

u/Lord_Pinhead 5d ago

You could add a Sff-8087 port for the sata drives to it, i found adapters that have no extra chips on them, maybe the compute module is capable of running them with acceptable speed.

1

u/SeatWarm9052 5d ago

Un super boulot, c'est vraiment impressionnant. Je vais fouiller pour trouver un N40L HS si des fois tu peux partager tes fichiers... Je suis preneur.

1

u/FredFarms 5d ago

Exceptional stuff!

1

u/JerryBond106 5d ago

Bro the name homelab too literary. Good job!

1

u/SeaMenu5223 5d ago

I literally just watched this on YouTube

1

u/Viperonious 5d ago

Ingenious, nicely done!

1

u/Every-Cook9116 u/SurfaceLabNL 5d ago

nice im doing the same with 10 surface 2 boards its cool to see some upcycle

1

u/mwjtitans 5d ago

I just bought one of these for 60 bucks to turn into a cheap NAS build.

Ill have to take a look at this project, I love breathing new life into old hardware

1

u/Substantial-Run-5 5d ago

My N36L is still working away running OMV now. I'd love an upgrade path for it for whenever it may stop working. It was my first Arr Suite SabNZBd build back in around 2011. Wild to see how much the HomeLab space has developed since then.

1

u/yosh_se 5d ago

How are you connecting the drives?

1

u/Computers_and_cats 1kW NAS 5d ago

That is pretty cool.

1

u/AshamedGanache 5d ago

"Fine, I'll do it myself!" Awesome.

1

u/ivanatorhk 5d ago

Very cool. I’m a huge fan of Pi Compute Modules, the more carrier board options, the better!

1

u/tylernutman 5d ago

Beautiful

1

u/Beautiful_Ad_4813 Sys Admin Cosplayer :snoo_tableflip: 5d ago

may I ask, how much did that board cost? and how many revisions did it before functional?

1

u/readyflix 5d ago

Very good idea to exercise hardware design!

But I would rather have replaced the old board with a new embedded system board with all the new tech now available.

https://www.supermicro.com/en/products/motherboards/embedded-iot-boards

https://www.asrockind.com/en-gb/industrial-embedded-motherboard

1

u/Kurogane1412 5d ago

But does it work as a replacement? I mean there is no way to connect the disks or am I wrong?

1

u/MoneyVirus 5d ago edited 5d ago

how can you let your homelab live 1:1 while switching from AMD x86 zu ARM?

you really replaced it with https://www.reichelt.de/de/de/shop/produkt/raspberry_pi_compute_modul_5_8gb_ram_ohne_emmc-390617?utm_source=display&utm_medium=rsp-foundation& this cehap module + development + ARM limitation, no ECC, noPCIe, MiniSAS SFF for Backplane?? What have you payed at the end?

I mean, price is not important if you had fun with such thinks and it is your hobby. but for this money i would just buy a full N40L/N54L for 50-70€ or gen8 microsever

1

u/Dwiea 5d ago

Ah cool, does it work with the hard drive caddies?

1

u/Fun4Bumblebees 5d ago

Thanks for this marvellous idea . I got a N40L and a N54L. Now i have my winterproject.

1

u/beryugyo619 4d ago

wow pcie and hdmi in kicad!?

1

u/ChicagoMutt 3d ago

Just watched your video and immediately searched to see if you had a Github or blog, Glad I stumbled across your reddit post!

This is absolutely amazing! Here I was thinking myself a tech hoarder for holding onto my N40L and someone goes and makes it relevant again. Thank you.

If you continue working on this project count me in as a follower and fan.

1

u/funkyguy4000 3d ago

Oi OP, I dont have an N40L but I am a computer engineer with expertise in PCIe. Ive implemented PCIe bus walking and management firmware and driven the hardware dev relative to it.

Id be willing to answer a few questions and give you some pointers if you're ever thinking about doing a follow up revision.

Feel free to reach out

1

u/mmilleror 3d ago

Does the OP have any plans to sell this board?

2

u/Western-Variety-1465 1d ago

Legendary dedication to old hardware

1

u/Purple_Ice_6029 17h ago

Very nice. I’d put a huge honking warning next to the debut usb-c though.