Write image to eMMC USB OTG for bulk units?

Hi, we have some 800 ROCK Pi 4B+ we’d like to push a new image and loader to. Is there some way to do this over USB OTG in bulk? Right now we are doing this 1 by 1 using the RKDevTool.exe. This works fine, but is slow. Wondering if there is some way to plug multiple in to one PC to do this?

Thanks

Hi taylor, what’s the image os do you used, android or linux, for debian, you can use this tool https://docs.radxa.com/en/general-tutorial/rksdk/upgrade_tool
to write multi devices at the same time.
For android, you can use FactoryTool with update.img format.
https://rootmydevice.com/download-rockchip-factory-tool/

Thanks - the image we’re writing to the Rock is a modified debian image. I tried running upgrade_tool from a few different distros, tried 32 and 64-bit, but I always get errors…

This is what I get from a ROCK 4B+ running Debian 10 from https://wiki.radxa.com/Rock4/downloads:

bash: ./upgrade_tool: cannot execute binary file: Exec format error

Any ideas?

Oh, I see now the binary is compiled for x86. Do you have an ARM build for the upgrade_tool, or is the source available? I’d like to run it from a ROCK Pi or Raspberry Pi ideally.

The goal is to have 20 or 30 USB A cables we can start plugging in to the ROCK Pi 4B+, put it in maskrom mode, and then have a script on the host initiate the install. It’ll be headless and the user will just have to wait for blue LED to flash on the ROCK Pi. Being able to use Raspberry or ROCK Pi as host means I can distribute the load among 10-15 Pi instead of having a single x86 machine writing to all the Pis.

understand and I also think it’s a good idea, but upgrade_tool doesn’t have a arm version as i know

Ok, will order some x86 mini PC and test with that. Thanks