Hello.
I'm trying to load RSSI firmware into my c123 phone. It's too big to be loaded directly so it should be chainloaded. Unfortunately chainloading is almost undocumented (or I failed to locate the documentation :)
As far as I understood it we use chainloader (small one) so it would load actual payload (big one).
I've disabled size check in src/host/osmocon/osmocon.c:270 and recompiled latest git.
After that I've tried following:
./osmocom-bb/src/host/osmocon/osmocon -p /dev/ttyUSB0 -m c123xor -c ./osmocom-bb/src/target/firmware/board/compal_e88/rssi.highram.bin ./osmocom-bb/src/target/firmware/board/compal_e88/chainload.compalram.bin
but got only eternal stream of "Sending Calypso romloader beacon..."
Could you help me to figure out proper image names?
What's the meaning of -c option: the file to be loaded (big one)? And as a last argument we supply actual chainloader (small one)?
Hi,
On 05.10.2012 18:43, ☎ wrote:
Hello.
I'm trying to load RSSI firmware into my c123 phone. It's too big to be loaded directly so it should be chainloaded. Unfortunately chainloading is almost undocumented (or I failed to locate the documentation :)
It's a bit hidden on the C140 page in the wiki: http://bb.osmocom.org/trac/wiki/MotorolaC140#Bootloader
I've disabled size check in src/host/osmocon/osmocon.c:270 and recompiled latest git.
After that I've tried following:
./osmocom-bb/src/host/osmocon/osmocon -p /dev/ttyUSB0 -m c123xor -c ./osmocom-bb/src/target/firmware/board/compal_e88/rssi.highram.bin ./osmocom-bb/src/target/firmware/board/compal_e88/chainload.compalram.bin
but got only eternal stream of "Sending Calypso romloader beacon..."
Hm, strange. Did you try -m c123? Does loading other apps without chainloader work?
Could you help me to figure out proper image names?
What's the meaning of -c option: the file to be loaded (big one)? And as a last argument we supply actual chainloader (small one)?
Yes, thats correct.
Regards, Steve
05.10.2012 19:18, Steve Markgraf пишет:
I've disabled size check in src/host/osmocon/osmocon.c:270 and recompiled latest git.
Btw, do I actually have to do that?
Hm, strange. Did you try -m c123? Does loading other apps without chainloader work?
if I use -m c123 than loading proceed up to "handle_write(): finished" but I do not see rssi (or anything at all) on phone's screen.
And ./osmocom-bb/src/host/osmocon/osmocon -p /dev/ttyUSB0 -m c123xor ./osmocom-bb/src/target/firmware/board/compal_e88/layer1.compalram.bin loads firmware just fine.
Am I using the right images (rssi.highram.bin and chainload.compalram.bin)?
Have a look at this old thread
http://lists.osmocom.org/pipermail/baseband-devel/2012-January/002690.html
that goes through the topic. At a first glance you're issuing the right commands, but you can try the alternative suggested way (osmoload jump). Sometimes I must reload the firmware many times before it starts (freeze after handle_write() finished).
Bye Dario.
On Fri, Oct 5, 2012 at 8:15 PM, ☎ Max.Suraev@fairwaves.ru wrote:
05.10.2012 19:18, Steve Markgraf пишет:
I've disabled size check in src/host/osmocon/osmocon.c:270 and recompiled latest git.
Btw, do I actually have to do that?
Hm, strange. Did you try -m c123? Does loading other apps without chainloader work?
if I use -m c123 than loading proceed up to "handle_write(): finished" but I do not see rssi (or anything at all) on phone's screen.
And ./osmocom-bb/src/host/osmocon/osmocon -p /dev/ttyUSB0 -m c123xor ./osmocom-bb/src/target/firmware/board/compal_e88/layer1.compalram.bin loads firmware just fine.
Am I using the right images (rssi.highram.bin and chainload.compalram.bin)?
-- best regards, Max, http://fairwaves.ru
baseband-devel@lists.osmocom.org