how to transfer data via ymodem with sb?
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. Code:
sb --ymodem -by <filename>.img there are alot of different possible arguments but none that i thought would help! Hope I have explained myself clearly Thanks |
Ahh i didnt realise i was posting this in linux newbie. (shows im a noob ahahah)
Could a moderator please move this to an appropriate place where it may receive the right attention! Thanks Edit: Best place would be the embedded linux section probably as they are the people that will most likely be using this tool! |
Ymodem is such an odd file transfer implementation. Perhaps you can accomplish the scriptability (yup, that's a word; I just invented it) part by using C-Kermit, which is itself highly scriptable, rather than minicom.
--- rod. |
Moved: This thread is more suitable in Linux - Embedded and has been moved accordingly to help your thread/question get the exposure it deserves. As per request.
|
All times are GMT -5. The time now is 12:43 PM. |