Hi list, I am trying, with no success so far ,to chain-load the trx-firmware on my c118 with usb-serial-cable.:
------output-----
./osmocon -p /dev/ttyUSB0 -m c123xor -c ../ ../target/firmware/board/compal_e88/trx.compalram.bin ../ ../target/firmware/board/compal_e88/chainload.highram.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 opening file: No such file or directory ------------------------------------
I also tried switching highram-compalram: ./osmocon -p /dev/ttyUSB0 -m c123xor -c ../ ../target/firmware/board/compal_e88/trx.highram.bin ../ ../target/firmware/board/compal_e88/chainload.compalram.bin
And also
./osmocon -p /dev/ttyUSB0 -m c123xor -c target/firmware/board/compal_e88/trx.compalram.bin target/firmware/board/compal_e88/chainload.highram.bin
but got same errors. I used the script in the wiki for building the toolchain prior to building the code.
----------------------------------
Any ideas what might be wrong?
Regards erich
Hello Eric
if you pass the msg correct you have a space between ../ ../ , this dont have any space. you need to check the correct path. Use the command pwd
On Thu, Feb 28, 2013 at 12:01 PM, Erich Dachleger edachleger@yahoo.com wrote:
Hi list, I am trying, with no success so far ,to chain-load the trx-firmware on my c118 with usb-serial-cable.:
------output----- ./osmocon -p /dev/ttyUSB0 -m c123xor -c ../ ../target/firmware/board/compal_e88/trx.compalram.bin ../ ../target/firmware/board/compal_e88/chainload.highram.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 opening file: No such file or directory
I also tried switching highram-compalram: ./osmocon -p /dev/ttyUSB0 -m c123xor -c ../ ../target/firmware/board/compal_e88/trx.highram.bin ../ ../target/firmware/board/compal_e88/chainload.compalram.bin
And also ./osmocon -p /dev/ttyUSB0 -m c123xor -c target/firmware/board/compal_e88/trx.compalram.bin target/firmware/board/compal_e88/chainload.highram.bin
but got same errors. I used the script in the wiki for building the toolchain prior to building the code.
Any ideas what might be wrong?
Regards erich
On Thu, Feb 28, 2013 at 1:01 PM, Erich Dachleger edachleger@yahoo.com wrote:
./osmocon -p /dev/ttyUSB0 -m c123xor -c ../ ../target/firmware/board/compal_e88/trx.compalram.bin ../ ../target/firmware/board/compal_e88/chainload.highram.bin
If I am not wrong, compalram image should be loaded as argument, while highram image should be passed to -c, so this command is wrong.
I also tried switching highram-compalram: ./osmocon -p /dev/ttyUSB0 -m c123xor -c ../ ../target/firmware/board/compal_e88/trx.highram.bin ../ ../target/firmware/board/compal_e88/chainload.compalram.bin
That should be right: you're loading the chainloader that loads the trx. This looks like the command I used to load the TRX. But if you're getting the message "no such file" you're probably pointing to the wrong file names. Do an "ls" from the dir you're running the code to be sure you're pointing to right files.
Last but not least: insist. Firmwares in my phones never load at the first try. Dario.
Thanks for the answers. It was the spaces between "../ ../" and the first commandline that was the errorcause. erich
________________________________ Fra: Dario Lombardo dario.lombardo.ml@gmail.com Til: Erich Dachleger edachleger@yahoo.com Kopi: "baseband-devel@lists.osmocom.org" baseband-devel@lists.osmocom.org Sendt: Torsdag, 28. februar 2013 15.18 Emne: Re: trouble loading trx-firmware
On Thu, Feb 28, 2013 at 1:01 PM, Erich Dachleger edachleger@yahoo.com wrote:
./osmocon -p /dev/ttyUSB0 -m c123xor -c ../ ../target/firmware/board/compal_e88/trx.compalram.bin ../ ../target/firmware/board/compal_e88/chainload.highram.bin
If I am not wrong, compalram image should be loaded as argument, while highram image should be passed to -c, so this command is wrong.
I also tried switching highram-compalram: ./osmocon -p /dev/ttyUSB0 -m c123xor -c ../ ../target/firmware/board/compal_e88/trx.highram.bin ../ ../target/firmware/board/compal_e88/chainload.compalram.bin
That should be right: you're loading the chainloader that loads the trx. This looks like the command I used to load the TRX. But if you're getting the message "no such file" you're probably pointing to the wrong file names. Do an "ls" from the dir you're running the code to be sure you're pointing to right files.
Last but not least: insist. Firmwares in my phones never load at the first try. Dario.
Try the command sudo ldconfig and then load binary on your phone.
On Thursday, February 28, 2013, Erich Dachleger wrote:
Thanks for the answers. It was the spaces between "../ ../" and the first commandline that was the errorcause. erich
On Thu, Feb 28, 2013 at 1:01 PM, Erich Dachleger edachleger@yahoo.com wrote:
./osmocon -p /dev/ttyUSB0 -m c123xor -c ../ ../target/firmware/board/compal_e88/trx.compalram.bin ../ ../target/firmware/board/compal_e88/chainload.highram.bin
If I am not wrong, compalram image should be loaded as argument, while highram image should be passed to -c, so this command is wrong.
I also tried switching highram-compalram: ./osmocon -p /dev/ttyUSB0 -m c123xor -c ../ ../target/firmware/board/compal_e88/trx.highram.bin ../ ../target/firmware/board/compal_e88/chainload.compalram.bin
That should be right: you're loading the chainloader that loads the trx. This looks like the command I used to load the TRX. But if you're getting the message "no such file" you're probably pointing to the wrong file names. Do an "ls" from the dir you're running the code to be sure you're pointing to right files.
Last but not least: insist. Firmwares in my phones never load at the first try. Dario.
baseband-devel@lists.osmocom.org