Hello,
I checkout the prom/loader AND prom/loader-crc part and merged it (perhaps I use git wrong way)
When I run the loader with "osmcon -m c123xor" the loader starts but says "Failed to initialize flash".
I tried to "romload" it with "-m romload" there only beacons but no valid response from phone.
Sending beacon...
Sending beacon...
got 1 bytes from modem, data looks like: ff
got 1 bytes from modem, data looks like: 00
got 1 bytes from modem, data looks like: ff
Sending beacon...
Sending beacon...
Sending beacon...
Sending beacon...
1. Why the flash initialization fails?
2. Is it (currently) possible to run programs (ex. L1test from flash)?
I (think I)read all this rom/ram/bootloader stuff.
------------------------- Marco Rust
FOKUS - Fraunhofer Institute for Open Communication Systems
Kaiserin-Augusta-Allee 31, 10589 Berlin
marco.rust@fokus.fraunhofer.de
The goal is to simple measure gsm rssi values of several channels very quickly.
Therefore I need a independent solution that not has to be "ramloaded" every time when booting.
------------------------- Marco Rust
FOKUS - Fraunhofer Institute for Open Communication Systems Kaiserin-Augusta-Allee 31, 10589 Berlin
marco.rust@fokus.fraunhofer.de ------------------------
-----Ursprüngliche Nachricht----- Von: baseband-devel-bounces@lists.osmocom.org [mailto:baseband-devel-bounces@lists.osmocom.org] Im Auftrag von Holger Freyther Gesendet: Montag, 3. Mai 2010 15:24 An: baseband-devel@lists.osmocom.org Betreff: Re: Osmoloader stored in Flash?
On 05/03/2010 09:10 PM, Rust, Marco wrote:
Hello,
Hi Marco,
what is your goal, or better which guide did you follow? What was your goal in merging these two branches?
regards holger
Additional, I merged the shared directory to from "loader-crc" in "loader" branch because it was not able to successful compile the newer "loader" branch.
------------------------- Marco Rust
FOKUS - Fraunhofer Institute for Open Communication Systems Kaiserin-Augusta-Allee 31, 10589 Berlin
marco.rust@fokus.fraunhofer.de ------------------------
-----Ursprüngliche Nachricht----- Von: baseband-devel-bounces@lists.osmocom.org [mailto:baseband-devel-bounces@lists.osmocom.org] Im Auftrag von Rust, Marco Gesendet: Montag, 3. Mai 2010 15:31 An: baseband-devel@lists.osmocom.org Betreff: AW: Osmoloader stored in Flash?
The goal is to simple measure gsm rssi values of several channels very quickly.
Therefore I need a independent solution that not has to be "ramloaded" every time when booting.
------------------------- Marco Rust
FOKUS - Fraunhofer Institute for Open Communication Systems Kaiserin-Augusta-Allee 31, 10589 Berlin
marco.rust@fokus.fraunhofer.de ------------------------
-----Ursprüngliche Nachricht----- Von: baseband-devel-bounces@lists.osmocom.org [mailto:baseband-devel-bounces@lists.osmocom.org] Im Auftrag von Holger Freyther Gesendet: Montag, 3. Mai 2010 15:24 An: baseband-devel@lists.osmocom.org Betreff: Re: Osmoloader stored in Flash?
On 05/03/2010 09:10 PM, Rust, Marco wrote:
Hello,
Hi Marco,
what is your goal, or better which guide did you follow? What was your goal in merging these two branches?
regards holger
Hi,
well, at first: the "-m romload"-switch is only intended for phones which use the TI Romloader (which the Compal phones don't, and is called "Romloader" because its stored in the maskrom of the Calypso).
Rust, Marco wrote:
When I run the loader with "osmcon --m c123xor" the loader starts but says "Failed to initialize flash".
This is basically the right approach, but the support for running applications from flash is still under development. Ingo had it already working as far as I know, but it still needs some work to be usable for the public.
Did you use the flash unlock command first, before trying to write to it?
Regards, Steve
well, at first: the "-m romload"-switch is only intended for phones which use the TI Romloader (which the Compal phones don't, and is called "Romloader" because its stored in the maskrom of the Calypso).
I thought both modes are supported.
When I run the loader with "osmcon --m c123xor" the loader starts but says "Failed to initialize flash".
This is basically the right approach, but the support for running applications from flash is still under development. Ingo had it already working as far as I know, but it still needs some work to be usable for the public.
Did you use the flash unlock command first, before trying to write to it?
The message is shown at start of osmoload.
it looks like the "cfi_algo enumeration" makes trouble at line 518 in cfi-flash.c
if(qry.p_id != CFI_ALGO_INTEL_3) { /* we only support algo 3 */ return -ENOTSUP; }
I am not sure but I commented out everything in flash_init() function and finally remove the comments again one after another. At line 518 the result is'nt 0 anymore. Is that flash not supported? It is hard to debug further because no printf() or puts() are possible in cfi-flash.c
Regards, Marco
Hi Marco,
On Mon, May 03, 2010 at 07:17:59PM +0200, Rust, Marco wrote:
well, at first: the "-m romload"-switch is only intended for phones which use the TI Romloader (which the Compal phones don't, and is called "Romloader" because its stored in the maskrom of the Calypso).
I thought both modes are supported.
The calypso always supports booting from rom _BUT_ the nIBOOT pin determines whether it boots from external NOR flash or from internal mask-rom.
Since that pin is hard-wired on the circuit board, you will only be able to activate the calypso romloader on our supported motorola/compal phones if you unsolder the Calypso BGA package, do some re-work and re-solder it ;)
Generally speaking: As far as I know, only prom (the original author) has been using/testing the flash support so far. Only he would be able to know what is supposed to work right now and what isn't.
baseband-devel@lists.osmocom.org