Welcome to the GSM-Forum forums. |
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features.
Only registered members may post questions, contact other members or search our database of over 8 million posts.
Registration is fast, simple and absolutely free so please - Click to REGISTER!
If you have any problems with the registration process or your account login, please contact contact us .
|x6x and x7x Flashpatching x6x and x7x Flashpatching (and newer phones).|
| ||LinkBack||Thread Tools||Display Modes|
|01-05-2006, 18:52||#1 (permalink)|
Join Date: Jan 2006
Thanks Meter: 0
Writing patches in C (using ADS or gcc)
I recently decided to progress in C, as asm-code becomes too unreadable too soon...
I tried it with ADS 2.2.. It compiles, alright, but somehow I can't get the hang of it... How can I tell it to use my own base address (and not 0x0)? And how can I get the code out of this ELF-Binaries it produces? (And I don't want it to use any (.data...) segments beside the code-segment!)
Can somebody give me some hints or point out some (important) settings for me I have overlooked?
(I have in mind the x65 series with ARM926EJ-S (and I've set this). Further I've set ARM/Thumb Interworking and turned all options what to include in the .o binary off.
For linking, I tried "Simple" setting with RO-Base as 0x0800xxx my wanted base address (is that the right option to set?!) )
I am thankful for any hint how to use this (or the gcc) compiler properly for the ARM926EJ-S...
Thanks in advance
PS: Even some russian links would help me atm...
Edit: I finally found "fromelf" that seems to do something like code-extraction from elf-binaries... So I've compiled miniGPS and compared with the bytecode I had... There's something going wrong.. its code is much longer (a0c bytes to 6f3), it does not use some instructions (although the cpu-type ist set to ARM926EJ-S..) and it uses some data-segments!
So I am doing something wrong....
Last edited by KKaul; 01-05-2006 at 19:17.
|Thread||Thread Starter||Forum||Replies||Last Post|
|can't write flash in 3220 using UFS3||dj_mseal||UFS2 + UFS3-Tornadoflasher||2||02-27-2014 04:25|
|need help in write rpl for 6021 using jaf||jeffleesc||Nokia Hardware & Hardware Repair||0||07-09-2009 10:10|
|A707 after write patch file, show error...||msantar||NSPRO||2||03-23-2009 15:47|
|Are any people who write patches yet?||[email protected]||x4x, x5x Flashpatching||3||08-02-2008 21:57|
|how to use patch in v1.4d||99026||Twisterflasher||4||02-17-2006 06:09|