Skip to content

Add Orange Pi 5 line names#119

Draft
thatcomputerguy0101 wants to merge 6 commits into
PhotonVision:mainfrom
thatcomputerguy0101:opi-gpio-line-names
Draft

Add Orange Pi 5 line names#119
thatcomputerguy0101 wants to merge 6 commits into
PhotonVision:mainfrom
thatcomputerguy0101:opi-gpio-line-names

Conversation

@thatcomputerguy0101

Copy link
Copy Markdown
Contributor

This adds a line name overlay for Orange Pi 5 models. This should unblock reasonable GPIO use on Orange Pi 5. Currently untested, drafting for CI runs.

Comment thread files/rk3588-line-names.dtso
Comment thread install_opi5.sh Outdated
@thatcomputerguy0101

Copy link
Copy Markdown
Contributor Author

The CI completes now, but I do not have hardware to test this on. The command gpioinfo from gpiod should now show the line names instead of "unnamed" for the user-facing pins.

@crschardt

Copy link
Copy Markdown
Contributor

I’ll try to test it tonight.

@thatcomputerguy0101 thatcomputerguy0101 changed the title Add OrangePi line names Add Orange Pi 5 line names Jan 5, 2026
@Gold856

Gold856 commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

Is there a source for these line names, or are flying by tests and establishing ourselves as a source of truth?

@crschardt

Copy link
Copy Markdown
Contributor

I just confirmed that there's a problem with the way that the image-runner is mounting partition 1. I'll fix it in our image runner this week.

@thatcomputerguy0101

Copy link
Copy Markdown
Contributor Author

There are diagrams on Orange Pi's site with these names. I have draft documentation that I'm working on with those images. I still want to do some hardware testing on Raspberry Pi before publishing that branch though.

@thatcomputerguy0101

Copy link
Copy Markdown
Contributor Author

Here's the one for a vanilla Orange Pi 5: Orange Pi 5 pinout

@thatcomputerguy0101

Copy link
Copy Markdown
Contributor Author

Maybe we should rehost those since Orange Pi's servers are very slow? (Or is that just me?)

@Gold856

Gold856 commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

Orange Pi servers are known to be unreliable and/or slow.

@crschardt

crschardt commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

I'm pretty confident that #120 is the fix, but I want to test the images to confirm that they are working properly before we merge it to main. It's getting late for me, so I'll have to do that later this week.

@thatcomputerguy0101

Copy link
Copy Markdown
Contributor Author

Seems like #120 worked:

+ echo 'U_BOOT_FDT_OVERLAYS="device-tree/rockchip/overlay/rk3588-line-names.dtbo"'
+ u-boot-update
P: Checking for EXTLINUX directory... found.
P: Writing config for vmlinuz-6.1.0-1025-rockchip...
P: Updating /boot/extlinux/extlinux.conf...

@crschardt

Copy link
Copy Markdown
Contributor

This is causing my OPi5 to boot into recovery mode. #120 works correctly, so it seems like its a problem with the device overlay.

@thatcomputerguy0101

Copy link
Copy Markdown
Contributor Author

I think I messed up the overlay since the gpio chips would be separate device tree entries. This might be fixed now.

@thatcomputerguy0101 thatcomputerguy0101 changed the base branch from main to 2027 April 8, 2026 23:13
@samfreund samfreund force-pushed the opi-gpio-line-names branch from 9e466a4 to 23b270e Compare April 9, 2026 15:05
@samfreund samfreund deleted the branch PhotonVision:main May 27, 2026 00:11
@samfreund samfreund closed this May 27, 2026
@samfreund samfreund reopened this May 27, 2026
@samfreund samfreund changed the base branch from 2027 to main May 27, 2026 00:14
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

Successfully merging this pull request may close these issues.

4 participants