flashing hardware with software from the web

It's possible to flash hardware from the web

Getting custom software onto hardware is hard. Particularly if you want people to be able to modify, change, and share that software. It can be as easy visiting a web page, connecting our devices, and loading our customized versions.

flash.getchip.com uses the C.H.I.P. Flasher chrome-plugin

Most AllWinner boot roms detect when a uboot pin is connected to ground. This forces the devices into FEL mode to support flashing. On the C.H.I.P., a physical paperclip can be used to short the uboot/FEL pin.

A paperclip is used to turn on write-mode

image

This allows the website + plugin to detect the C.H.I.P. and present valid images for flashing.

image

image

The images can be saved to disk and the plugin can be used offline to flash again.

Flashing will download between 250MB-625MB of data. If you have a slow internet connection, it can take a very long time to finish. If your connection is slow, we recommend that you click on the "cloud" icon in the upper-right corner of the image you want, and download the file first. You can then use the "Choose a file..." option once it's downloaded.

Currently only a few images are available

image

However this chrome plugin could be used with any custom OS image build pipeline to deploy directly to hardware from the web!

We've took resinOS and ported it to the C.H.I.P. and think it would be useful to flash any AllWinner/FEL device directly from gitlab or other ci automation pipeline web interface.

image

What if we could replace the Download link with Flash directly?

image

What's needed?