Re: Flashing GSM firmware (was Re: Recommended SIM for Italy ?)

2009-02-24 Thread Peter Klassen
2009/2/23 Steve 'dillo Okay :
> r...@om-gta02:/usr/sbin# echo 0 >/sys/bus/platform/devices/neo1973-pm-
> gsm.0/power_on
> r...@om-gta02:/usr/sbin# echo 1 >/sys/bus/platform/devices/neo1973-pm-
> gsm.0/power_on
> r...@om-gta02:/usr/sbin# echo "a...@poff" >/dev/ttySAC0
> r...@om-gta02:/usr/sbin# FLUID_PORT=/dev/ttySAC0 fluid.exe -oo -b
> 115200 -f /home/root/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)
>
> Help ?
> How long should I wait for the Bootloader to respond to the "s3c24xx-
> gpio b7=1" command ?

Hi Steve,
after you see Bootloader: (reset target)
you have to do
r...@om-gta02:~# s3c24xx-gpio b7=1
in the second session. This worked for me with moko11-b1 :)

Best
Peter

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Flashing GSM firmware (was Re: Recommended SIM for Italy ?)

2009-02-23 Thread Steve 'dillo Okay
>
> From: Paul Fertser 
> Date: February 23, 2009 2:09:45 AM GMT+01:00
> To: community@lists.openmoko.org
> Subject: Re: Recommended SIM for Italy ?
> Reply-To: List for Openmoko community discussion  
> 
>
>
> "GNUtoo"  writes:
>> it's a bug in the GSM modem's firmware...it can be updated but I  
>> advise
>> you against doing it because there is some command to type and if you
>> makes a typo it can brick your gsm modem
>
> That's a lie.
>
> You can't brick your modem at all, as it has a ROM bootloader.
>
> Dedicated person can damage calibration data and that'd be a
> practically irrecoverable action (CMU-2000 and special soft are needed
> for calibration). BUT it's not as simple as making a typo.
>
> Damaging one's modem by typo is practically impossible, moreover, the
> new moko11 firmware contains quite an important fixes related to
> hardware flow control and resuming from call/sms. As it also fixes all
> known issues with any sim cards, it's worth updating.

Thanks Paul,
I'm trying to flash my GSM firmware and running into a problem.
I get to the point where I run the fluid command line and it just  
sits there.

Here are the steps I'm taking for doing the flashing. I'm following  
the docs on the wiki
at:
http://wiki.openmoko.org/wiki/GSM/Flashing.

After I get the
Bootloader: (reset target)
message, I run "s3c24xx-gpio b7=1" in another xterm, ssh'ed into the FR.

and the main window just sits there.

Here's the output of what I'm typing in the main window:
r...@om-gta02:/usr/sbin# echo 0 >/sys/bus/platform/devices/neo1973-pm- 
gsm.0/power_on
r...@om-gta02:/usr/sbin# echo 1 >/sys/bus/platform/devices/neo1973-pm- 
gsm.0/power_on
r...@om-gta02:/usr/sbin# s3c24xx-gpio b7=0
r...@om-gta02:/usr/sbin# echo "a...@poff" >/dev/ttySAC0
r...@om-gta02:/usr/sbin# FLUID_PORT=/dev/ttySAC0 FLUID_FLOWCONTROL=h  
fluid.exe \
-oO -b 115200\
  -f /home/root/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)
r...@om-gta02:/usr/sbin# echo 0 >/sys/bus/platform/devices/neo1973-pm- 
gsm.0/power_on
r...@om-gta02:/usr/sbin# echo 1 >/sys/bus/platform/devices/neo1973-pm- 
gsm.0/power_on
r...@om-gta02:/usr/sbin# s3c24xx-gpio b7=0
r...@om-gta02:/usr/sbin# echo "a...@poff" >/dev/ttySAC0
r...@om-gta02:/usr/sbin# FLUID_PORT=/dev/ttySAC0 FLUID_FLOWCONTROL=h  
fluid.exe -oo -b 57600 -f /home/root/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)
r...@om-gta02:/usr/sbin# echo 0 >/sys/bus/platform/devices/neo1973-pm- 
gsm.0/power_on
r...@om-gta02:/usr/sbin# echo 1 >/sys/bus/platform/devices/neo1973-pm- 
gsm.0/power_on
r...@om-gta02:/usr/sbin# echo "a...@poff" >/dev/ttySAC0
r...@om-gta02:/usr/sbin# FLUID_PORT=/dev/ttySAC0 fluid.exe -oo -b  
115200 -f /home/root/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)

Help ?
How long should I wait for the Bootloader to respond to the "s3c24xx- 
gpio b7=1" command ?
The documentation makes it sound like it should happen right away.

Thanks,
-Steve

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community