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

PhotonVision for Orange Pi 5 Max #1420

Open
Plugner opened this issue Sep 14, 2024 · 15 comments
Open

PhotonVision for Orange Pi 5 Max #1420

Plugner opened this issue Sep 14, 2024 · 15 comments
Assignees
Labels
enhancement New feature or request

Comments

@Plugner
Copy link

Plugner commented Sep 14, 2024

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

There isn't any image for the OPi 5 Max at the moment, the current way of running photonvision now is getting a retail image and running the .jar in it.

Describe the solution you'd like
A clear and concise description of what you want to happen.

When a new github release happens, a OrangePi 5 Max image should also be given.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Running photonvision JAR file inside another distro.

@Plugner Plugner added the enhancement New feature or request label Sep 14, 2024
@mcm001
Copy link
Contributor

mcm001 commented Sep 14, 2024

Just one more orange pi variant bro it'll be the last we swear just one more RK3588 board

More seriously: this would be done by making a new image be generated by photon-image-modifier and pulling it in. Look at how we added the 5+ for reference on how you can do this.

@Plugner
Copy link
Author

Plugner commented Sep 16, 2024

Just one more orange pi variant bro it'll be the last we swear just one more RK3588 board

More seriously: this would be done by making a new image be generated by photon-image-modifier and pulling it in. Look at how we added the 5+ for reference on how you can do this.

Done! PhotonVision/photon-image-modifier#29

@mcm001
Copy link
Contributor

mcm001 commented Sep 16, 2024

Merged!

@crschardt
Copy link
Contributor

Thank you for adding the OPi5 Max to the images available. I've made a new release v2025.0.0-beta-5 of the image modifier that will include the OPi5 Max image. We also need a PR against the photonvision repository to add the OPi5 Max to the images generated when a new version of photonvision is released.

Some testing of the image would be nice too :)

@crschardt
Copy link
Contributor

There's a problem with the release on that tag. I'm working on a fix now. Until I have the fix, there won't be an artifact for you to reference. I'll let you know when I the fix is in.

@LTCjRet
Copy link

LTCjRet commented Sep 17, 2024

@Plugner, you indicated that it might be possible to run a JAR file inside another opi5max distribution. Has this been tried?

@crschardt
Copy link
Contributor

@Plugner, you indicated that it might be possible to run a JAR file inside another opi5max distribution. Has this been tried?

That's exactly what we do with the images. You can manually install photonvision on your own distro by following the instructions for Other Debian-Based Co-Processor Installation in the documentation.

There are also some testable OPi5Max image ready on my fork, and it should show up within an hour on the photon-image-modifier releases page.

@LTCjRet
Copy link

LTCjRet commented Sep 18, 2024

@crschardt, I was able to get your image https://github.com/crschardt/photon-image-modifier/releases/tag/v2025.0.0-alpha-3 up and running on the Orange Pi 5 Max with minimal issues (purely due to my inexperience). It runs with no obvious problems within the scope of basic calibration and AprilTag detection. Hardware links: opi5max - https://a.co/d/8IzH1JS and Arducam OV9782 - https://a.co/d/aQPdVmT If I can be of any assistance in testing or anything else you can think of I'd be more than happy to help. Thanks so much!

@LTCjRet
Copy link

LTCjRet commented Sep 18, 2024

@Plugner, please see my response to Craig above. I was able to flash and run his image on an opi5max 16Gb board.

@crschardt
Copy link
Contributor

@Plugner - the OPi5max image is available at https://github.com/PhotonVision/photon-image-modifier/releases/tag/v2025.0.0-beta-6

This image includes Photonvision v2024.3.1. If you want to test a newer version, you can download the photonvision-dev-*-linuxarm64.jar version from the Dev release and use the update button in the UI to upload it.

Now that the image seems to be working, the next step is to add the image to the build-image action in the photonvision workflow.

@crschardt crschardt self-assigned this Sep 19, 2024
@Plugner
Copy link
Author

Plugner commented Sep 20, 2024

Thank you!

@tyrius02
Copy link

How hard is it to install the image to eMMC?

@crschardt
Copy link
Contributor

I don’t know, but I really think that there’s no benefit. Photonvision boots in ~10 seconds on an OrangePi from uSD and its performance isn’t disk limited.

@tyrius02
Copy link

See #1432.

@crschardt
Copy link
Contributor

crschardt commented Sep 24, 2024

I don’t see how that requires installing the image on the eMMC. Also, let’s move this discussion to that issue, since this is for adding the image to the ones distributed with Photonvision.

crschardt added a commit that referenced this issue Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants