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??

[CODE]
CreateFile
GetCommState
<init comstate struct>
SetCommState
EscapeCommFunction 5 (Sends the DTR (data-terminal-ready) signal.)
SetCommMask E1 (1110 0001) EV_ERR | EV_BREAK | EV_RLSD | EV_RXCHAR
memset
SetCommTimeouts

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)
strlen
WriteFile (At command -> com)

Sleep 0x2bc
GetCommState
(mov r3 38400) seems baudrate setting
SetCommState
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)
strlen
WriteFile (AT->com)
[/code]

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 !
regards
Rudi



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. Why does my EditText hint have different font spacing?

Hi,
my activity screen has 3 EditText's for changing the password.
Somehow the hint on the "oldPassword" has different font spacing then
the other two.

I have not changed any properties of the EditText in the Activity
code.

I'm sure it's something obvious, I just don't see it.

Thanks.

Here is the layout:

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/changePasswordTextScroller"
android:layout_width="fill_parent"
        android:layout_height="fill_parent" android:fillViewport="true">
        <LinearLayout android:layout_width="fill_parent"
                android:layout_height="fill_parent" 
android:orientation="vertical"
                android:padding="10dip">
                <TextView android:id="@+id/changePasswordText"
                        android:layout_width="wrap_content"
android:layout_height="wrap_content"
                        android:text="@string/changePasswordText" 
android:textSize="20sp"
                        android:textColor="?android:attr/textColorSecondary"
                        android:lineSpacingMultiplier="0.92"
                        android:paddingBottom="10dip" />

                <EditText android:id="@+id/oldPassword"
                    android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:singleLine="true"
            android:password="true"
            android:layout_marginBottom="20dip"
            android:hint="@string/oldPassword" />

                <ca.heraconsulting.android.secretbox.NewPassword
                        android:id="@+id/newPassword" 
android:layout_width="fill_parent"
                        android:layout_height="wrap_content" />

                <LinearLayout android:layout_width="fill_parent"
                        android:layout_height="wrap_content"
android:orientation="horizontal"
                        android:layout_marginTop="20dip">
                        <Button android:id="@+id/changePasswordOk" 
android:enabled="false"
                                android:text="@android:string/ok"
android:layout_width="fill_parent"
                                android:layout_height="wrap_content" 
android:layout_weight="1" />
                        <Button android:id="@+id/changePasswordCancel"
android:text="@android:string/cancel"
                                android:layout_width="fill_parent"
android:layout_height="wrap_content"
                                android:layout_weight="1" />
                </LinearLayout>
        </LinearLayout>
</ScrollView>

--~--~---------~--~----~------------~-------~--~----~

2. Setting internal storage in the AVD

Does anyone know how to set internal storage in the AVD to something
other than the default 92M?

I have tried setting hw.ramSize in the AVD's .config file, but no
change and also tried setting it when creating a AVD with the "android
create" command. Same net resut.

I'm on Windows XP.

Thanks in advance for any help!

--~--~---------~--~----~------------~-------~--~----~

3. Getting "failed to copy 'content' to '/sdcard/content': Read only file system on donut compilation.

4. GLSurfaceView does not invoke OnKeyDown(...)

5. Don't receive intent

6. Get GPS time/date

7. start browser via intent and pass cookie to it