Talk:Flashing the GSM Firmware

From Openmoko

Revision as of 10:58, 27 November 2008 by Sleg (Talk | contribs)

Jump to: navigation, search

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
Bootloader: 

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 :

root@om-gta02:~# opkg install http://people.openmoko.org/joerg/calypso_moko_FW/fluid_0.0+svn20070817-r2_armv4t_eabi.ipk
Downloading http://people.openmoko.org/joerg/calypso_moko_FW/fluid_0.0+svn20070817-r2_armv4t_eabi.ipk
Installing fluid (0.0+svn20070817-r2) to root...
Configuring fluid
root@om-gta02:~# opkg install http://people.openmoko.org/joerg/calypso_moko_FW/s3c24xx-gpio_1.0+svnr4130-r2.1_armv4t.ipk
Downloading http://people.openmoko.org/joerg/calypso_moko_FW/s3c24xx-gpio_1.0+svnr4130-r2.1_armv4t.ipk
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 http://people.openmoko.org/joerg/calypso_moko_FW/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-moko10.m0
Connecting to 10.194.51.41:3128 (10.194.51.41:3128)
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
root@om-gta02:/usr/sbin# 

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"

this

"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)

thakoman


[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 http://freesim.o2.co.uk/ which never worked in my Freerunner before now seems to be working fine. Great work!

Tom

--

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!

-Jacob




Hello!

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.

Boštjan

Personal tools

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
Bootloader: 

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 :

root@om-gta02:~# opkg install http://people.openmoko.org/joerg/calypso_moko_FW/fluid_0.0+svn20070817-r2_armv4t_eabi.ipk
Downloading http://people.openmoko.org/joerg/calypso_moko_FW/fluid_0.0+svn20070817-r2_armv4t_eabi.ipk
Installing fluid (0.0+svn20070817-r2) to root...
Configuring fluid
root@om-gta02:~# opkg install http://people.openmoko.org/joerg/calypso_moko_FW/s3c24xx-gpio_1.0+svnr4130-r2.1_armv4t.ipk
Downloading http://people.openmoko.org/joerg/calypso_moko_FW/s3c24xx-gpio_1.0+svnr4130-r2.1_armv4t.ipk
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 http://people.openmoko.org/joerg/calypso_moko_FW/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-moko10.m0
Connecting to 10.194.51.41:3128 (10.194.51.41:3128)
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
root@om-gta02:/usr/sbin# 

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"

this

"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)

thakoman


[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 http://freesim.o2.co.uk/ which never worked in my Freerunner before now seems to be working fine. Great work!

Tom

--

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!

-Jacob




Hello!

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.

Boštjan