View source for Talk:Flashing the GSM Firmware

From Openmoko

Jump to: navigation, search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Administrators.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page:

Template used on this page:

Return to Talk:Flashing the GSM Firmware.

Personal tools

please refer to this very wikipage regarding -oo and flowcontrol Stephan_schmidt had exactly same issue and we fixed it yesterday, using these modifications

WARNING : Flash failed ! From Sleg on 2008/11/25 :

I had a problem during flashing my firmware ... I started again the module by typing 's3c24xx-gpio b7=1' as said in the wiki, and it started to flash the firmware. While it was flashing (I could see the progress ...) I failed by a 'Flash operation timeout'

The GSM module seems to not respond anymore :'(

If I retry, I get :

root@om-gta02:/usr/sbin# FLUID_PORT=/dev/ttySAC0 FLUID_FLOWCONTROL=h fluid.exe \
> -oO -b 115200 \
> -f $HOME/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-moko10.m0
FLUID Revision 2.27, (23 Aug 2004). Copyright Texas Instruments, 2001-2004.
Reading image file: '/home/root/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-moko10.m0' (2138kB) ok

But nothing append even if I start the module by typing in another terminal 's3c24xx-gpio b7=1'

Can somebody please help me ?? sleg AT tsleg -DOT- com

Thanks to Stefan Schmidt on the kernel mailing list My GSM went back !

here is what I did : (Without FLOWCONTROL and with -oo to choose the ROM bootloader)

root@om-gta02:~# opkg install
Installing fluid (0.0+svn20070817-r2) to root...
Configuring fluid
root@om-gta02:~# opkg install
Multiple packages (s3c24xx-gpio and s3c24xx-gpio) providing same name marked HOLD or PREFER.  Using latest.
Installing s3c24xx-gpio (1.0+svnr4130-r2.1) to root...
Configuring s3c24xx-gpio
root@om-gta02:~# wget
Connecting to (
gsm_ac_gp_fd_pu_em_c 100% |**************************************************************************************************|  5419k 00:00:00 ETA
root@om-gta02:~# echo 0 >/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on
root@om-gta02:~# echo 1 >/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on
root@om-gta02:~# cd /usr/sbin
root@om-gta02:/usr/sbin# FLUID_PORT=/dev/ttySAC0 fluid.exe -oo -b 115200 -f $HOME/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-moko10.m0
FLUID Revision 2.27, (23 Aug 2004). Copyright Texas Instruments, 2001-2004.
Reading image file: '/home/root/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-moko10.m0' (2138kB) ok
Bootloader: (reset target) (ROM, version ?) ok
Checksumming (269 * 8kB = 2152kB):  ok
Flash Detect: (0xEC, 0x22A0) Samsung K5A3240CT ok
Program: (31 sectors, 243*8k=1944k) (******************) ok

And to wake up the GSM in another ssh window :

root@om-gta02:~# echo 0 >/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on
root@om-gta02:~# echo 1 >/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on

i recive instead of

"Program: (34 sectors, 267*8k=2136k) (*******************) ok"


"Program: (0 sectors, 0*8k=0k) () ok"

iam currently reflashing the old firmware, that seems to work.

iam using an non-us gsm-freerunner (recived yesterday so most likely the latest hardwar)


[2008-11-19 04:46:39] <Wonka> DocScrutinizer: flashing to moko10-beta2 went though cleanly, i already had working ppp connects with the previously non-working SIM.

[2008-11-19 04:48:24] <Wonka> DocScrutinizer: but there are still problems... more often than not, the GSM chip does not answer. pppd opens the device, gets "AT command interpreter ready", utters "AT\n" and gets nothing. power off, power on, reset on, reset off, try gain... sometimes it works, but mostly not.

O2 UK prepay 3G SIM works with moko10-beta2, was previously not detected. T-mobile UK prepay SIM and old Orange UK contract SIM work with both old and new. Testing so far is cursory at best, but looks good. [quote: Alastair Johnson on devel-ML]

[2008-11-21] I flashed 6 out of our 8 Freerunner V.6 according to the GSM/Flashing- guide. I had no problems and the previously useless 3G- SIMs are working fine now. It seems like the 3G- SIM Issue, our beloved #666, is solved. You should point it out clearly. I heard a lot of users complain about this. The solution is simple and well hidden on the website. By the way, i have new 3G- SIM cards of the following german providers running without problems (O2, T- Mobile, E-Plus, Vodafone). Before the flashing procedure the Vodafone cards were not detected. Good work guys... thanks! Reiner

Works now with new gsm firmware moko10beta2 with O2 in Germany

Very great, I can make calls now after waiting for 5 month, big surprise :). Thanks a lot! --Kevin 15:18, 20 November 2008 (UTC)

I'm very happy to be able to report that the update went smoothly for me (without yielding any surplus "building materials") and that a new O2 SIM from which never worked in my Freerunner before now seems to be working fine. Great work!



Thomas White Department of Materials Science and Metallurgy Electron Microscopy Group (PhD Student) University of Cambridge / Downing College

The flash worked without a hitch for me and now I am able to use a Vodafone prepaid SIM in my 850MHz unit while back in Europe. I am running Om2008.9 with the 20081023 FDOM modifications applied.

Great job!



Replying under subject Success :) I've combined what Michael said (few echo 1 >> .... and echo 0 >> .... in the other terminal) and Joerg's suggestion (-oo instead of -oO) and it worked perfectly. The upgrade to moko10 was done.

So I can confirm the freerunner now works with Simobil's (Slovenian GSM operator) SIM.

Great job and thanks to all that took the time to do it.


State SD-image?

Any update on a SD-image for GSM flashing?

[joerg 2008-12-10 02:43:32]

We're busy on this. Follow wiki instructions, or come up with an automatism by yourself. Expect any update on january.

bug #1024

[Tebra 2009-01-13 07:45]

Hi. Are you working on moko11 to fix #1024 bug? Because of that bug I can't use android distribution.


Got a new Vodafone Prepaid SIM-Card. Didn't work with QTExtended nor with Android until I've used the procedure to upgrade the GSM-Firmware. Looks like it's not just "swiss sim cards". Regards, --Rtreffer 17:14, 25 January 2009 (UTC)

Bricked GTA01bv4 Fix

I recently had to do a special process to recover my GTA01bv4 after bricking the gsm modem with a failed flash. The process is actually fairly simple.

  • boot up from a distro that is neutered so that it does not access or turn on the gsm modem at all
  • issue this stty command twice:
 stty 0:4:18b2:8a00:0:0:7f:15:4:0:0:0:0:0:0:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0 -F /dev/ttySAC0
  • issue this fluid command:
 FLUID_PORT=/dev/ttySAC0 fluid.exe -oo -od13,13 -vvv -b115200 -f $HOME/filename.m0
  • in another ssh session, issue this command:
 echo 1 > /sys/bus/platform/devices/neo1973-pm-gsm.0/power_on

After this, the flashing proceeded as expected, and all seems alright. I'll have to push a new distro to it to be certain, but all looks good so far. Quinn Storm 22:39, 16 March 2009 (UTC)