Flashing GSM firmware

Paul Fertser fercerpav at gmail.com
Thu Mar 5 08:25:40 CET 2009


Steve 'dillo Okay <armadilo at roadknightlabs.com> writes:
> 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.

Basically the idea is that in one terminal you run fluid with right
parameters, and in the other you powercycle the modem. Sometimes
powercycling is needed more than once (while fluid still stays at
(reset target)). And make sure no app accesses GSM. Also i'd recommend
to use the latest stable or any recent andy-tracking kernel, but it's
not strictly necessary.

> Here's the output of what I'm typing in the main window:
> root at om-gta02:/usr/sbin# echo 0 >/sys/bus/platform/devices/neo1973-pm- 
> gsm.0/power_on
> root at om-gta02:/usr/sbin# echo 1 >/sys/bus/platform/devices/neo1973-pm- 
> gsm.0/power_on
> root at om-gta02:/usr/sbin# s3c24xx-gpio b7=0
> root at om-gta02:/usr/sbin# echo "AT at POFF" >/dev/ttySAC0
> root at 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

All this steps except starting fluid.exe are not strictly necessary
and i'd recommend to start fluid like that: 

FLUID_PORT=/dev/ttySAC0 fluid.exe -oo -od13,13 -f <path_to_moko11_bin>

Notice i use ROM bootloader and moko11 firmware.

In the other terminal something like this should be enough:
> root at om-gta02:/usr/sbin# echo 0 >/sys/bus/platform/devices/neo1973-pm- 
> gsm.0/power_on
> root at om-gta02:/usr/sbin# echo 1 >/sys/bus/platform/devices/neo1973-pm- 
> gsm.0/power_on
> root at om-gta02:/usr/sbin# s3c24xx-gpio b7=0

If fluid doesn't pass the (reset target) state, repeat this
steps. Basically it's like i described.

Alternatively, try Joerg's uSD automated image:
http://people.openmoko.org/joerg/calypso_moko_FW/moko11/flash-moko11_uSD-image.tar.gz

It works and reliably flashes the firmware for you.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercerpav at gmail.com




More information about the community mailing list