Network Booting on Beagleboard xM
Chris Gransden (337) 1207 posts |
This may be of interest. It’s possible to boot a riscos rom and load a cmos file stored on the network. Saves having to keep swapping over SD cards all the time. It adds about 20 seconds to the boot time. You’ll need to download a recent uboot. There’s one here and copy the MLO and u-boot.bin onto an existing SD card. A ‘tftp’ server needs to be available on the same subnet. I’ll assume this is already setup. Also create a ‘preEnv.txt’ containing,
and a ‘uEnv.txt’ containing,
|
Chris Gransden (337) 1207 posts |
I just realised you can load the ‘cmos’ file this way too. I’ve updated the instructions. You can even use a smartphone as a tftp server. There’s an app for that! |
Trevor Johnson (329) 1645 posts |
Sounds cool. Are you going to demo this at Wakefield? |
Rob Heaton (274) 515 posts |
I assume this would work over the Internet? (If an IP gateway could be specified) |
Chris Gransden (337) 1207 posts |
In theory you could do this. Instead you could just use wget and create an obey file that does all the fetching, unzip’ing and tftp’ing. I couldn’t find a tftp client or server than runs on RISC OS 5. I’ve done a quick port of both so it’s now possible to do the whole thing on RISC OS if you’ve got more than one machine.
It would be easy enough to set up a demonstration. |
Trevor Johnson (329) 1645 posts |
It sounds like a potentially useful way to ensure that a group of networked boards are all using a specific (read current) version of the OS. Shame about the 20s overhead, but you can’t have everything, I guess! |
Rick Murray (539) 13840 posts |
Still quicker than <cough> <cough> ! :-) |