fix of osmoload, flashing c155 works
jolly
andreas at eversberg.eu
Sat Jan 5 12:22:40 CET 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>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Generate-Compal-E99-binaries-for-loader-and-flash-lo.patch
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20130105/9c28b8f5/attachment-0001.ksh>
More information about the baseband-devel
mailing list