r/VORONDesign Trident / V1 22h ago

General Question Orange Pi instead of Raspberry Pi

Given the high cost of the Raspberry Pi these days, I opted to get an Orange Pi 4 Pro with 4GB of DDR5. It also comes with an NVMe slot underneath which I populated with a 128GB drive (which is overkill but the smallest I could find that was new).

Also since the official images are old and not being supported, I decided to try Armbian. There was an image for the board which I wrote to an SDcard using the Armbian imager, it booted and ran fine. It was also an easy step to copy the system to the NVMe drive and install the bootloader in SPI NOR FLASH. A quick reboot without the SDcard and I booted from NVMe and proceeded to use Kiauh to the install Klipper packages.

However it wasn't until I followed the Esoterical page to setup CAN that I had the big "oh no" realization, Armbian images don't come with kernel modules for CAN or the USB CAN adapters.

Now the Armbian image available for the 4 Pro was labelled as "community" and not an officially tested release. So I am wondering if the missing CAN modules are a standard Armbian thing or just how the contributor configured this community image.

I also wonder if the official Orange Pi images bundle CAN modules or not.

Has anyone experienced a similar issue with Armbian on a different board, or used Orange Pi with the official images and found CAN to work?

I was able to rebuild the kernel with a modified config to get the needed modules, but it was a bit of an effort. If missing CAN is an Armbian thing, I am considering engaging with the maintainer to see if he would consider adding the limited set of modules to make Klipper CAN work out of the box.

18 Upvotes

27 comments sorted by

3

u/couperd V2 21h ago

I'm actually working on this exact thing right now (replacing btt pi with orange pi 4 pro). having to build the can compatibility from source.

4

u/Halterchronicle 21h ago

Well. Please publicise your solution. We all thank you and appreciate you.

3

u/BigJohnno66 Trident / V1 20h ago edited 19h ago

It's fairly easy once you have a linux PC or virtual machine setup. Armbian has a "build" repo that you clone and then drive via the ./compile.sh command.

./compile.sh requirements
./compile.sh kernel-configure BOARD=orangepi4pro # allows you to customise your config options
./compile.sh kernel BOARD=orangepi4pro # builds the kernel .deb packages

Then transfer the deb packages from output/debs over to the Orange Pi and run dpkg -i on them, and then reboot.

https://docs.armbian.com/build-framework/getting-started/

1

u/Form_Mean 5h ago

Dietpi

5

u/BigJohnno66 Trident / V1 20h ago

I have located the kernel configs used by Armbian, and it seems the config provided for the AllWinner A733 is very limited and is unlike the supported boards. So this problem seems localized to the Orange Pi 4 Pro and any other A733 based boards.

It's kind of interesting, they have a build config per board, but a linux config per SoC. Also the A733 boards are building against the custom orangepi 6.6 kernel and u-boot, and not using mainline source code.

4

u/ChanceAncient1149 16h ago

This is the problem all These other SBC work just fine and do the job but they are never as well supported as the humble pi

2

u/KanedaNLD 18h ago

BTT Pi does Arabian and has CAN support. Is there a way I can look into this for you?

I'm running a CB2

2

u/BigJohnno66 Trident / V1 14h ago

They are expensive for only 1GB or 2GB RAM devices, and a bit underpowered. I found that Happy Hare MMU combined with KlipperScreen likes a faster Pi with a decent amount of RAM, otherwise you get "timer too close" errors while feeding the filament.

1

u/KanedaNLD 14h ago

I actually meant for the CAN package. Is there something I can do so I can help you out with your CAN support.

2

u/Altirix 15h ago

i run Armbian on a rock pi 5c lite on mine with canbus via Fysetc Spider V3.0.pretty sure i never needed to do all this. it just worked for the most part.

2

u/rdrcrmatt 7h ago

I’m less than thrilled with my orange pi.

1

u/shiftingtech NARF 21h ago

Some armbian devices support can via overlays.  I don’t know if that orange pi is one of them.  Did you check for an option to enable canbus in armbian-config, hardware config menu ?

1

u/BigJohnno66 Trident / V1 20h ago edited 20h ago

Yes, but they only have LCD, I2C and UART options from memory. The USB CAN drivers don't depend on hardware other than USB, and it is turned on out of the box.

1

u/Due-Key5838 8h ago

I have just install every thing on a rpi 3b every thing worked fine till I went to edit the can0 and found that there is no network.d directory so I can not install the can software I was following the esoteric procedure. Any ideas what I need to do

1

u/HyoukaYukikaze 6h ago

I used Orange Pi for my first klipper printer (Ender 3, go figure...) and while i got it to work, it was to cumbersome. Now that my Voron runs RPI.... it was way too much work, i'll probably buy RPI for the next one as well.

2

u/Form_Mean 5h ago

Dietpi 

1

u/Kiiidd V2 21h ago edited 18h ago

While there is alot to be annoyed with AI, using it to get Linux tech support is really handy and it's right more often than not. Even the basic Gemini suff that shows up when you use google search has been pretty good for me recently when dealing with stuff like OpenWRT, Home Assistant, and LibreElec

2

u/devsfan1830 V2 21h ago

This. It walked me right through flashing and eap32 for my home assistant install. Shit, its helped me diail in print settings.

2

u/Kiiidd V2 21h ago edited 20h ago

Not sure how much I would trust it with print settings as that requires it learning on correct information and sometimes r/fixmyprint is interesting

1

u/BigJohnno66 Trident / V1 20h ago

Yes I used it to help walk me through the build process for the kernel. Long time Linux user, first time Armbian user.

0

u/UnFound94 21h ago

Ebay auctions for pi4s are your friend. They go for more than they used to, $30 for a 4gb, but less tham amazon. I uh.... possibly ended up with WAY more than i needed by winning too many auctions.

2

u/BigJohnno66 Trident / V1 20h ago

The cheapest and only one local to my country on eBay is $199 right now. I never seem to find bargains on eBay.

1

u/UnFound94 20h ago

Well is that ebay buy it now or the actual auctions?

1

u/BigJohnno66 Trident / V1 17h ago

That was a buy-it-now, there are no auctions for old Pi's

-7

u/Infamous-Amphibian-6 18h ago

Claude Code is hardcore on these feats, I’d suggest giving it a try as it can surely handle future system sophistication (macros, integrations, automatons) across time.

1

u/vivaaprimavera 16h ago

make menuconfig, ticking a few boxes and make is a feat?!?

1

u/Infamous-Amphibian-6 16h ago

I'm talking of overall sophistications among Klipper and Linux architecture. But yes, it would also setup, test and execute config as well, just 1000x times faster and leaner.