M8 Wlan/SGOLD2 initialization

by r3wDy » Mon, 18 Jan 2010 16:03:02 GMT

Sponsored Links
 Hi folks.
the m8 guy is back an needs some help on linx/driver development.
We got android running on m8 with 2.6.27 kernel (even dualboot woth
windows ce :P). But alle the hardware stuff isnt running, because we
are ran against a wall.
The wlan chip is connected through spi and we have problems geting a
real spi busmater to run. The 6410 has real spi ports so no bitbang is
used (i think).
Has anybody got the spi ports running on this SoC? Any helps/tips
would be appriciated.

Further the m8 has a SGOLD2 baseband.
i tried just opening com1 on linux, sending AT to it but it didnt
answered. I used minicom.
We could retrieve from the windows ce registry that com1 is used (at
least under windows).
So is anybody here who has done an initialization for this baseband
already? Are there any gpios to be set befor i can use it? Its more
important to know if anybody can say that there are some gpios to be
set or not, i dont suspect that anybody knows which :)
Or any informations on how this is done normaly on other basebands
would be nice too.

We could rip this out of the mux0710 dll from the wce firmware
Its the ResetRadio function i think which does the magic i think. Will
the modem answer before i set AT+IPR??

<init comstate struct>
EscapeCommFunction 5 (Sends the DTR (data-terminal-ready) signal.)
SetCommMask E1 (1110 0001) EV_ERR | EV_BREAK | EV_RLSD | EV_RXCHAR

Call ResetRadio (function)

sprintf AT+IPR=230400
EscapeCommFunction 4 (Clears the RTS (request-to-send) signal.)
sleep 0x64
EscapeCommFunction 3 (Sends the RTS (request-to-send) signal)
WriteFile (At command -> com)

Sleep 0x2bc
(mov r3 38400) seems baudrate setting
Sleep 0x3E8

sprintf AT+XPOW=4,200,0
EscapeCommFunction 4 (Clears the RTS (request-to-send) signal.)
sleep 0x64
EscapeCommFunction 3 (Sends the RTS (request-to-send) signal)
WriteFile (AT->com)

To be honest i have no clue about this nor i have done anything
similar :( And just andriod without even the basic telephone functions
is worthless.
Any help would be appriciated !

M8 Wlan/SGOLD2 initialization

by tommy tommy » Mon, 18 Jan 2010 16:09:07 GMT

 check git linux-2.6-samsung
2010/1/18 r3wDy <derrd...@gmail.com>

> website: 

Sponsored Links

Other Threads

1. OpenGL Problems


I am trying to get some of the Android-GL (http://code.google.com/p/
android-gl/) examples to work in m5 by breaking them out into separate
Android projects then updating the code.  I thought I had fixed all
the errors in the first tutorial but when I try to run the application
Android does not seem to run it and goes right into the default
Android startup screen instead of showing me a blank window.

Here is the code


//some package

import android.app.Activity;
import android.os.Bundle;

public class OpenGLAUActivity extends Activity {

         private GLSurfaceView mGLSurfaceView;

    /** Called when the activity is first created. */
    public void onCreate(Bundle icicle) {
        // Create our Preview view and set it as the content of our
        // Activity
        mGLSurfaceView = new GLSurfaceView(this);

    protected void onResume() {
        // Ideally a game should implement onResume() and onPause()
        // to take appropriate action when the activity looses focus

    protected void onPause() {
        // Ideally a game should implement onResume() and onPause()
        // to take appropriate action when the activity looses focus



some package

import android.content.Context;
import android.graphics.OpenGLContext;
import android.graphics.Canvas;
import android.view.View;

import javax.microedition.khronos.opengles.GL10;

public class GLSurfaceView extends View {
        private OpenGLContext glContext;

        public GLSurfaceView(Context c) {
                glContext = new OpenGLContext(0);
                GL10 gl = (GL10)glContext.getGL();
                // set the color for the window to black
                gl.glClearColor(0.0f, 0.0f, 0.0f, 0.0f);

        protected void onDraw(Canvas canvas) {
                GL10 gl = (GL10)glContext.getGL();

                // clear the color buffer

Any help would be greatly appreciated.



2. content providers for reading and displaying images

Hi, just stumbled upon this a while ago:

content://media/images is the URI string that would return a list of
all images on the device.

You acn read more in contentproviders.html in the api docs. Hope this
is what youre looking for.


3. emulating multiple activities

4. Announcing AndBook - Learning Android From Scratch! - Searching Helpers

5. Emulator Crashes when using -netdelay

6. Announcing AndBook - Learning Android From Scratch!

7. Popup Window problem