As said in the topic, I don't know what is the difference between the two .bin file. And when I try the osmocon app, only the hello_world.compalram.bin works, why? Thanks in advance.
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/What-s-the-difference-between-the... Sent from the baseband-devel mailing list archive at Nabble.com.
qiuhan1989 wrote:
As said in the topic, I don't know what is the difference between the two .bin file. And when I try the osmocon app, only the hello_world.compalram.bin works, why? Thanks in advance.
hi,
the e88flash.bin is compiled for running from flash memory rather than ram.
andreas
Thank you for your replying! I see that difference. When I try to run the following command, it works, but if I change FIRMWARE.compalram.bin to FIRMWARE.e88flash.bin, there is no result.
$ ./osmocon -p /dev/ttyUSB0 -m c123xor ../../target/firmware/board/PHONE_TYPE/FIRMWARE.compalram.bin
And one more further question, if I want to write a firmware file by myself, how can I manage to compile it running in ram or flash?
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/What-s-the-difference-between-the... Sent from the baseband-devel mailing list archive at Nabble.com.
Hi, * qiuhan1989 qiuhan1989@gmail.com [2013-01-21 21:45]:
Thank you for your replying! I see that difference. When I try to run the following command, it works, but if I change FIRMWARE.compalram.bin to FIRMWARE.e88flash.bin, there is no result.
It's just not intended to be used like that. These firmwares are used by the osmocom loader in case you want to flash an application. For more information regarding flashing firmwares see http://bb.osmocom.org/trac/wiki/flashing
$ ./osmocon -p /dev/ttyUSB0 -m c123xor ../../target/firmware/board/PHONE_TYPE/FIRMWARE.compalram.bin
And one more further question, if I want to write a firmware file by myself, how can I manage to compile it running in ram or flash?
Have a look at src/target/firmware/Makefile, you can basically generate both versions by adding your application there.
Cheers Nico
baseband-devel@lists.osmocom.org