fix of osmoload, flashing c155 works

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

jolly andreas at eversberg.eu
Sat Jan 5 11:22:40 UTC 2013


hi,

just fixed the issue from 29c3, where flashing of phones did not work
anymore. if no one complains, i will apply it.

it is also possible to flash c155 phones. the original compal boot
loader will start firmware at 0x20000 instead of 0x2000 (c123), so i
modified the linker scripts for compal_e99. i am not sure, if all c155
phones behave the same. to check this, i dumped some pages of the flash
memory:

run the loader:
$ host/osmocon/osmocon -p /dev/ttyUSB0 -m c155
target/firmware/board/compal_e99/loader.compalram.bin

start the phone and dump some flash:
$ host/osmocon/osmoload memdump 0x000000 0x30000 dump

a hexdump of that dump showed me where the actual firmware starts:

...
0000800 4f42 544f 392e 2e30 3530 0000 0000 0000
0000810 3031 3330 0101 0000 ffff ffff ffff ffff
0000820 ffff ffff ffff ffff ffff ffff ffff ffff
*
0020000 4f43 4544 392e 2e30 3130 0000 0000 0000
0020010 4c46 5845 392e 2e30 3130 302e 0031 0000
0020020 5352 4b50 392e 2e30 3130 302e 0031 0000
...

i would like to know, if this is true for other c155 phones.


regards,

andreas

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Fix-Correctly-handle-return-value-of-msgb_pull.patch
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20130105/9c28b8f5/attachment.ksh>


More information about the baseband-devel mailing list