So i have an embedded device that is in u-boot and i need to load an operasting system on it (proprietry real-time os) i can do this via ymodem by the following steps.
1) Prepare device: uboot> loady
2) in minicom send via ymodem and select my file.
now this works. but i want to do it outside of minicom so i can put it into a shell script as it is something i am going to be doing frequently and i already have a script for steps of the process up to this.
so my research tells me that minicom uses the program sb(sz) to do this but i cannot figure out how to use it.
sb --ymodem -by <filename>.img
which should tell it rb(rz) to expect binary data and overwrite the data.
there are alot of different possible arguments but none that i thought would help!
Hope I have explained myself clearly