Hi fellows.
I'm having troubles running osmocom on neo freerunner:
When I execure fluid flasher it works just fine, here is part of strace captured while it was waiting for me to power cycle modem:
gettimeofday({1298877354, 793367}, NULL) = 0 gettimeofday({1298877354, 794341}, NULL) = 0 select(5, [4], NULL, NULL, {0, 12026}) = 0 (Timeout) ioctl(4, TCFLSH, 0) = 0 write(4, "<i\0", 3) = 3 gettimeofday({1298877354, 813368}, NULL) = 0 gettimeofday({1298877354, 814343}, NULL) = 0 select(5, [4], NULL, NULL, {0, 12025}) = 0 (Timeout) ioctl(4, TCFLSH, 0) = 0 write(4, "<i\0", 3) = 3
When I run osmocon - it waits endlessly completely ignoring power cycle:
gettimeofday({1298875477, 254494}, NULL) = 0 gettimeofday({1298875477, 255514}, NULL) = 0 select(6, [3 4 5], [], [], {0, 48980}) = 0 (Timeout) gettimeofday({1298875477, 310972}, NULL) = 0 write(1, "Sending Calypso romloader beacon"..., 36) = 36 write(3, "<i", 2) = 2 gettimeofday({1298875477, 314494}, NULL) = 0 gettimeofday({1298875477, 315513}, NULL) = 0 select(6, [3 4 5], [], [], {0, 48981}) = 0 (Timeout) gettimeofday({1298875477, 370973}, NULL) = 0 write(1, "Sending Calypso romloader beacon"..., 36) = 36 write(3, "<i", 2) = 2
Can you help me to figure out what's wrong?
Somebody succeeded in executing osmocon on moko?
thanks, Max.
Hi,
On 03/03/2011 18:19, suraev@stud.ntnu.no wrote:
I'm having troubles running osmocom on neo freerunner:
make sure you check this page: http://bb.osmocom.org/trac/wiki/CalypsoRomloader
When I run osmocon - it waits endlessly completely ignoring power cycle:
In my case I found that it was enough to use two separate terminals, and then: 1. # echo 0 >/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on 1. # osmocon -p /dev/ttySAC0 -m romload firmware.bin 2. # echo 1 >/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on
(actually you can even adapt this to use only one terminal with some shell trickery)
anyway, with this done, in my case the modem was catching up the magic sequence and downloading code as required.
Here, I've been using the internal serial connectivity to the Freerunner; it works through the headphones port the same way if you prefer.
HTH,
03.03.2011 20:02, Pierre Pronchery пишет:
make sure you check this page: http://bb.osmocom.org/trac/wiki/CalypsoRomloader
I did.
In my case I found that it was enough to use two separate terminals, and then:
- # echo 0 >/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on
- # osmocon -p /dev/ttySAC0 -m romload firmware.bin
- # echo 1 >/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on
Is this exact command you're executing? Where did you got firmware.bin from? I use ./osmocon -m romload -p /dev/ttySAC0 hello_world.highram.bin (binary and osmocon are placed into the same directory).
(actually you can even adapt this to use only one terminal with some shell trickery)
I connect via ssh so I can have as many terminals as I please :)
anyway, with this done, in my case the modem was catching up the magic sequence and downloading code as required.
can you prepent osmocon with "strace -o /tmp/osmocon.log" so we can compare execution traces?
thanks, Max.
On 2011-03-03 19:19, suraev@stud.ntnu.no wrote:
Somebody succeeded in executing osmocon on moko?
I've found that the gta02 calypso chip was more timing-sensitive[1]. You can try a "-i 13" argument to osmocon -- possibly try other delay values if that doesn't work.
Cheers, Alex
[1] http://lists.osmocom.org/pipermail/baseband-devel/2010-November/000772.html
06.03.2011 11:08, Alex Badea пишет:
I've found that the gta02 calypso chip was more timing-sensitive[1]. You can try a "-i 13" argument to osmocon -- possibly try other delay values if that doesn't work.
Awesome! Just the thing I was missing - works like a charm now :)
Thanks a lot, Max.
baseband-devel@lists.osmocom.org