GSM Shop GSM Shop
GSM-Forum  

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 .

Go Back   GSM-Forum > GSM & CDMA Phones / Tablets Software & Hardware Area > Various > Siemens-Benq > Siemens-Benq Flash Patching > x6x and x7x Flashpatching


x6x and x7x Flashpatching x6x and x7x Flashpatching (and newer phones).

Reply
 
LinkBack Thread Tools Display Modes
Old 01-05-2006, 19:52   #1 (permalink)
Junior Member
 
Join Date: Jan 2006
Posts: 2
Member: 216352
Status: Offline
Thanks Meter: 0
Question Writing patches in C (using ADS or gcc)


Hello!

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
KKaul


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 20:17.
  Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't write flash in 3220 using UFS3 dj_mseal UFS2 + UFS3-Tornadoflasher 2 02-27-2014 05: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? GoLL@B x4x, x5x Flashpatching 3 08-02-2008 21:57
how to use patch in v1.4d 99026 Twisterflasher 4 02-17-2006 07:09

 



All times are GMT +1. The time now is 03:11.



Powered by Searchlight © 2024 Axivo Inc.
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
- GSM Hosting Ltd. - 1999-2023 -
Page generated in 0.13720 seconds with 9 queries

SEO by vBSEO