parthpatelgcet
Posts: 1
Joined: Sat Jul 23, 2016 12:34 pm

How can I Flash Linux board (other than Pi) using Pi

Sat Jul 23, 2016 12:49 pm

We have multiple Linux boards (Other than Raspberry Pi) to be flashed everyday. We want to make Raspberry pi as automation platform that will flash all Linux board automatically. Currently we are using flashing pen drive, directly connected to Linux boards and using scripts we are flashing it. Now to automate this process we want to use Raspberry Pi as as platform: Flashing pen drive will be connected to Raspberry Pi and through LAN cable we will transfer data to other Linux board for flashing. In raspberry PI board complete automation script will be written for flashing. So my query is:
1. Is it possible to use Raspberry Pi as a platform to flash other board?
2. Is there any good suggestion for doing this process?

Thanks in advance.

{MOD EDIT - THREAD TITLE CHANGED TO A MORE APPROPRIATE ONE]

mfa298
Posts: 1387
Joined: Tue Apr 22, 2014 11:18 am

Re: How can I Flash Linux board (other than Pi) using Pi

Mon Jul 25, 2016 1:42 am

parthpatelgcet wrote: 1. Is it possible to use Raspberry Pi as a platform to flash other board?
2. Is there any good suggestion for doing this process?
This is likely to be highly dependent on what type of systems you're flashing and how the flashing process works.

If its a case of DDing an image to a SD card / USB stick that then goes onto the Linux board, then it's likely very easy. If it uses a programmer that's supported on Linux (thinking along the line of avrdude and ATMega chips - yes I know they're not linux) again it could be a fairly simple process.

However having recently looked at things like the CHIP which uses a chrome extension to do the OS flash that's likely to be much harder system to implement as an automated process on a Pi.

trinhnd2000
Posts: 1
Joined: Mon Jul 25, 2016 10:51 pm

Re: How can I Flash Linux board (other than Pi) using Pi

Mon Jul 25, 2016 11:04 pm

I don't know my idea is suite for you on this case or no.
My case is not test on Rasp, but use for server. I have a lot of servers to install the same image. Hence, I create 1 PXE server, create a image and some script to check model of motherboard, memory, cpu ( to make sure same model server). Connect the PXE server and other server to same switch (to make sure same network). PXE server provide IP address. The rest servers must have function to boot from network. When they boot up, they will be looking for PXE server and auto update image to that server.

Back to your case, I think RPi can make as PXE server (maybe as some RPi guru) but problem is your Linux board can boot from network or no.

Return to “Advanced users”