Hardware configuration scriptable instead of armbian-config?

Is there a scriptable way to modify hardware configuration? I want to turn on rk3588-12c7-m3 with a bash script. Not sure what file to modify?

We have a plan / wish in (slow) motion which would transfer this tool into proper API / CLI driven tool. But it looks like there is no interest to help https://github.com/armbian/configng while we alone can’t do this.

You can use rsetup to enable or disable overlay, and you can refer to this https://wiki.radxa.com/Rockpi4/hardware/devtree_overlays_linux5.10

“scriptable way” ?

rsetup is similiar with armbian-config, which provides a GUI to configure hardware

I know that. OP is asking for CLI / API variant. None of mentioned has that except new armbian-config which is in early development stage.

This is easily solved with this version of the system. Enabling and disabling overlays is performed on running system, no reboots are needed. Put these commands in the script with the appropriate change, you can add service for systemd. which will run or stop it (edit the script with the overlay data according to your conditions and do not forget to create or copy the desired DTBO to place available to the system).

https://forum.armbian.com/topic/24931-armbian-efigrub-nvme/?do=findComment&comment=160812

Simple answer is overlays applied via /boot/armbianEnv.txt

Watch the change made by armbian-config then you can script it

See here

https://docs.armbian.com/User-Guide_Armbian_overlays/#armbianenvtxt-entries-reference

1 Like

Thank you everyone for your input. I really appreciate the forum.

The reason I’m looking for this is my intention is to “provision” several hundred if not more of the rock5b’s for an IOT project and every setup/config I can include into a bash script saves a lot of time not having to go into the gui.

You should build custom images.

Read armbians docs in userpatches, hooks,.and extensions