howtos:flash_soekris
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | howtos:flash_soekris [02/12/2018 21:34] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Flash Soekris with Minicom ====== | ||
+ | |||
+ | Install lrzsz before starting: | ||
+ | < | ||
+ | $ apt-get install lrzsz | ||
+ | </ | ||
+ | |||
+ | I had some trouble using minicom (I didn't understand the instructions properly) so I've made a step-by-step guide - hopefully it saves someone else the troubles I had. | ||
+ | |||
+ | You can update Soekris Bios (any model) with Minicom and few steps. Before starting, download the latest available bios from soekris.com and save it in your home directory (minicom' | ||
+ | |||
+ | |||
+ | < | ||
+ | Serial Device : / | ||
+ | Lockfile Location : /var/lock | ||
+ | Bps/ | ||
+ | Hardware Flow Control : No | ||
+ | Software Flow Control : No | ||
+ | </ | ||
+ | |||
+ | Here's what I did to update BIOS, step by step (everything after # is a comment, after > is what you type to the comBIOS monitor) | ||
+ | |||
+ | < | ||
+ | $ sudo minicom | ||
+ | Welcome to minicom 2.2 | ||
+ | |||
+ | | ||
+ | | ||
+ | Port /dev/ttyS0 | ||
+ | |||
+ | Press CTRL-A Z for help on special keys | ||
+ | |||
+ | # turn on the Soekris board, and it starts the comBIOS (I have snipped some extra lines from the output) | ||
+ | |||
+ | POST: 012345689bcefghips1234ajklnopqr,,, | ||
+ | comBIOS ver. 1.32i 20071005 | ||
+ | net5501 | ||
+ | 0512 Mbyte Memory | ||
+ | Pri Mas SanDisk SDCFH-1024 | ||
+ | |||
+ | 4 Seconds to automatic boot. Press Ctrl-P for entering Monitor. | ||
+ | |||
+ | # here I hit Ctrl-P | ||
+ | |||
+ | comBIOS Monitor. | ||
+ | |||
+ | > download - | ||
+ | |||
+ | Start sending file using XMODEM/CRC protocol. | ||
+ | |||
+ | # Hit Ctrl-a, then z (presents the minicom menu) then s (for "Send file") | ||
+ | # this opens a text-mode dialog-box like this: | ||
+ | |||
+ | +-[Upload]--+ | ||
+ | | zmodem | ||
+ | | ymodem | ||
+ | | xmodem | ||
+ | | kermit | ||
+ | | ascii | | ||
+ | +-----------+ | ||
+ | |||
+ | # arrow-down to xmodem and hit Enter | ||
+ | # this will present a text-mode dialog to choose the file: | ||
+ | |||
+ | +------------------------[Select a file for upload]-------------------------+ | ||
+ | |Directory: / | ||
+ | | [.ssh] | ||
+ | | [Desktop] | ||
+ | | b5501_132i.bin | ||
+ | | b5501_133.bin | ||
+ | | ( Escape to exit, Space to tag ) | | ||
+ | +---------------------------------------------------------------------------+ | ||
+ | [Goto] | ||
+ | |||
+ | # arrow-down to the file you want, hit space-bar to select it, then hit Enter | ||
+ | # this will show another dialog to display transfer progress | ||
+ | |||
+ | +-----------[xmodem upload - Press CTRL-C to quit]------------+ | ||
+ | |Xmodem sectors/ | ||
+ | |Retry 0: NAK on sector | ||
+ | |Retry 0: NAK on sector | ||
+ | |Retry 0: NAK on sector | ||
+ | |Retry 0: NAK on sector | ||
+ | |Retry 0: NAK on sector | ||
+ | |Xmodem sectors/ | ||
+ | +-------------------------------------------------------------+ | ||
+ | |||
+ | # when the transfer is complete, it tells you so: | ||
+ | |||
+ | +-----------[xmodem upload - Press CTRL-C to quit]------------+ | ||
+ | |Retry 0: NAK on sector | ||
+ | |Retry 0: NAK on sector | ||
+ | |Bytes Sent: 100352 | ||
+ | | | | ||
+ | |Transfer complete | ||
+ | | | | ||
+ | | READY: press any key to continue... | ||
+ | +-------------------------------------------------------------+ | ||
+ | |||
+ | # Note: you are unable to transfer the file, change your Soekris serial speed to 9600. | ||
+ | |||
+ | # hit enter, which will return you to the comBIOS prompt, and type flashupdate | ||
+ | |||
+ | > flashupdate | ||
+ | Updating BIOS Flash ,,,,,,,,,,,,,,,,,,,,,,,,,,,, | ||
+ | |||
+ | # and now reboot | ||
+ | > reboot | ||
+ | |||
+ | # and watch as your Soekris reboots with new BIOS: | ||
+ | |||
+ | comBIOS ver. 1.33 20070103 | ||
+ | </ | ||
+ | |||
+ | If minicom report errors during transfer, you can try this: | ||
+ | |||
+ | in minicom: | ||
+ | |||
+ | < | ||
+ | > download | ||
+ | </ | ||
+ | |||
+ | in another term, run the transfer command: | ||
+ | |||
+ | < | ||
+ | sx -X / | ||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | Source: http:// |
howtos/flash_soekris.txt · Last modified: 02/12/2018 21:34 by 127.0.0.1