talos icon indicating copy to clipboard operation
talos copied to clipboard

Add support for Orange PI 5

Open schneid-l opened this issue 1 year ago • 5 comments

Feature Request

Adding support for Orange PI 5 (including sata ssd boot)

Description

Hello guys

I'd like to install Talos on an Orange PI 5 cluster. I tested the rpi_generic image on an SD card and managed to boot (without going very far in the install) but the Orange PI 5 has an NVME/Sata M2 SSD port like the Rock PI 4 that it would be a shame not to exploit.

Would it be possible to build an image for the Orange PI 5? Unfortunately I don't have enough knowledge to do this (I'm going to try and get some training), but I do have the hardware to test it :)

Would someone be able to guide me through the procedure for building an image? Armbian has a target for the Orange PI 5, so I imagine we can rely on that.

Thanks a lot

schneid-l avatar Jan 11 '24 17:01 schneid-l

Community SBC support is planned in an external repo (#8065). In the meantime, I wrote a small guide for adding new SBCs (#7913) based on my experiences with the Pine64 SOQuartz and Turing RK1. @nberlee's Turing RK1 repo is also a great example, and has GitHub Actions CI for long-term maintenance.

pl4nty avatar Jan 27 '24 02:01 pl4nty

Hi @pl4nty, thanks for your help I have indeed come across issue #8065 After exploring the various Talos repos over the past few days, I feel more comfortable adding OPI5.

I'm thinking of implementing OPI5 in a dedicated repo first (with a minimal approach to start embracing the split principle), while waiting to see how it can be reintegrated once the structure has been defined for future sbcs management.

I'll share the repo link here when it's ready

schneid-l avatar Jan 27 '24 21:01 schneid-l

Hi @pl4nty @nberlee 👋 A big thanks for your work on porting the Turing RK1, which helped me to get started on the Orange Pi 5 ❤️

I'm working on this repository to support Orange Pi 5: talos-orangepi5

I tried a minimal approach waiting for the outcome of #8065 to find out how to support SBCs, so I decided not to fork the Talos repos and just rebuild U-boot and the Kernel and patch Talos.

I'm interested in your feedback and opinion (from a Talos maintainer too).

At the moment I'm adding patches to the Kernel to allow the extensions to be built (I confess, @pl4nty, I'm copying you completely ahah). For the moment I haven't tested it on an Orange Pi 5 (I'm waiting for a full complete build).

I think I'll do a feedback on #8065 to give some ideas on what would be a great way to allow porting for SBCs that require non-synchronised versions of the Kernel or U-Boot / some patches, etc.

schneid-l avatar Feb 03 '24 18:02 schneid-l

@si0ls looks great! I've used your patches to build a v1.6.4 image without the rk3588 extension using my image-factory, no idea if it'll boot though

pl4nty avatar Feb 04 '24 08:02 pl4nty

I've built a v1.6.5 image with latest kernel/U-Boot/ATF (started yesterday, just saw you're working on this too). I also fixed the U-Boot rootfs path, maybe that'll fix your boot issues? I don't own an Orange Pi 5 to test.

pl4nty avatar Feb 25 '24 02:02 pl4nty

Closing as the path to port Talos to sbcs is now clear. Still waiting for proper kernel replacement but not blocking

schneid-l avatar Jul 08 '24 20:07 schneid-l