Hello everybody I'm trying to use the RSSI firmware on a c118 and c115. Both of them give me this error
host/osmocon/osmocon -p /dev/ttyUSB0 -m c123xor target/firmware/board/compal_e88/rssi.compalram.bin got 1 bytes from modem, data looks like: 04 . got 1 bytes from modem, data looks like: 81 . got 5 bytes from modem, data looks like: 1b f6 02 00 41 ....A got 1 bytes from modem, data looks like: 01 . got 1 bytes from modem, data looks like: 40 @ Received PROMPT1 from phone, responding with CMD The maximum file size is 64kBytes (65535 bytes) read_file(target/firmware/board/compal_e88/rssi.compalram.bin) failed with -27
Do I need to do something different to load this FW or simply my phones have no enough room for it?
Thanks for your help. Dario.
That's what I get after removing that check
host/osmocon/osmocon -p /dev/ttyUSB0 -m c123xor target/firmware/board/compal_e88/rssi.compalram.bin got 2 bytes from modem, data looks like: 04 81 .. got 5 bytes from modem, data looks like: 1b f6 02 00 41 ....A got 1 bytes from modem, data looks like: 01 . got 1 bytes from modem, data looks like: 40 @ Received PROMPT1 from phone, responding with CMD read_file(target/firmware/board/compal_e88/rssi.compalram.bin): file_size=80916, hdr_len=4, dnload_len=80923 got 1 bytes from modem, data looks like: 1b . got 1 bytes from modem, data looks like: f6 . got 1 bytes from modem, data looks like: 02 . got 1 bytes from modem, data looks like: 00 . got 1 bytes from modem, data looks like: 41 A got 1 bytes from modem, data looks like: 02 . got 1 bytes from modem, data looks like: 43 C Received PROMPT2 from phone, starting download handle_write(): 4096 bytes (4096/80923) handle_write(): 4096 bytes (8192/80923) handle_write(): 4096 bytes (12288/80923) handle_write(): 4096 bytes (16384/80923) got 1 bytes from modem, data looks like: 1b . got 1 bytes from modem, data looks like: f6 . got 1 bytes from modem, data looks like: 02 . got 1 bytes from modem, data looks like: 00 . got 1 bytes from modem, data looks like: 45 E got 1 bytes from modem, data looks like: 53 S got 1 bytes from modem, data looks like: 16 . Received DOWNLOAD NACK from phone, something went wrong :( got 1 bytes from modem, data looks like: 66 f got 1 bytes from modem, data looks like: 74 t got 1 bytes from modem, data looks like: 6d m got 1 bytes from modem, data looks like: 74 t got 1 bytes from modem, data looks like: 6f o got 1 bytes from modem, data looks like: 6f o got 1 bytes from modem, data looks like: 6c l Received FTMTOOL from phone, ramloader has aborted got 1 bytes from modem, data looks like: 65 e got 1 bytes from modem, data looks like: 72 r got 1 bytes from modem, data looks like: 72 r got 1 bytes from modem, data looks like: 6f o got 1 bytes from modem, data looks like: 72 r
On Tue, Jan 31, 2012 at 10:45 AM, Peter Stuge peter@stuge.se wrote:
Dario Lombardo wrote:
The maximum file size is 64kBytes (65535 bytes)
Do I need to do something different to load this FW
Have you tried removing that size check?
//Peter
On 31.01.2012 09:52, Dario Lombardo wrote:
Do I need to do something different to load this FW or simply my phones have no enough room for it?
the normal compal ramloader cannot be used with firmware sizes larger than 64k. http://bb.osmocom.org/trac/wiki/CompalRamloader
Instead of loading 'monitor.compalram.bin' directly you have to load 'loader.compalram.bin' and then use 'osmocon memload' to load the monitor-app into the RAM.
In my case (C123) i have to use this: load the second stage bootloader, load monitor-app into highram and then jump to the proper address
sudo ./osmocon -p /dev/ttyUSB0 -m c123xor ../../target/firmware/board/compal_e88/loader.compalram.bin sudo ./osmoload memload 0x820000 ../../target/firmware/board/compal_e88/monitor.highram.bin sudo ./osmoload jump 0x820000
Thanks to Andreas Eversberg who had provided the crucial tip.
Martin
Hi,
On 31.01.2012 13:21, Martin Hauke wrote:
Instead of loading 'monitor.compalram.bin' directly you have to load 'loader.compalram.bin' and then use 'osmocon memload' to load the monitor-app into the RAM.
What also works is chainloading the binary with the Calypso romloader:
./osmocon -p /dev/ttyUSB0 -m c123xor -c ../../target/firmware/board/compal_e88/monitor.highram.bin ../../target/firmware/board/compal_e88/chainload.compalram.bin
But for that the size check in osmocon needs to be removed, as discussed earlier in this thread.
Regards, Steve
sudo ./osmocon -p /dev/ttyUSB0 -m c123xor ../../target/firmware/board/compal_e88/loader.compalram.bin sudo ./osmoload memload 0x820000 ../../target/firmware/board/compal_e88/monitor.highram.bin sudo ./osmoload jump 0x820000
This solution works pretty well!
./osmocon -p /dev/ttyUSB0 -m c123xor -c ../../target/firmware/board/compal_e88/monitor.highram.bin ../../target/firmware/board/compal_e88/chainload.compalram.bin
I'm not able to make this one working. The fw is downloaded but not run.
monitor.highram.bin has been changed into rssi.highram.bin.
Due to a minor issue in my cable the second solution didn't work. I can confirm that both solutions work well.
On Wed, Feb 1, 2012 at 10:00 AM, Dario Lombardo dario.lombardo@libero.itwrote:
sudo ./osmocon -p /dev/ttyUSB0 -m c123xor ../../target/firmware/board/compal_e88/loader.compalram.bin sudo ./osmoload memload 0x820000 ../../target/firmware/board/compal_e88/monitor.highram.bin sudo ./osmoload jump 0x820000
This solution works pretty well!
./osmocon -p /dev/ttyUSB0 -m c123xor -c ../../target/firmware/board/compal_e88/monitor.highram.bin ../../target/firmware/board/compal_e88/chainload.compalram.bin
I'm not able to make this one working. The fw is downloaded but not run.
monitor.highram.bin has been changed into rssi.highram.bin.
Hello, list! RSSI firmware is really good. I wanted to ask is any way to start phone with RSSI firmware without everytime loading this firmware with osmoload. I mean how to load this firmware in ROM and boot phone with it by holding red button? With best wishes, Victor
baseband-devel@lists.osmocom.org