FORUMS
Remove All Ads from XDA

[DEV] The project to port Android(froyo) on S8500 (8530)

183 posts
Thanks Meter: 624
 
By oleg_k, Retired Recognized Developer on 29th March 2011, 04:26 AM
Thread Closed Email Thread
4th April 2011, 10:06 PM |#91  
OP Retired Recognized Developer
Flag Moscow
Thanks Meter: 624
 
Donate to Me
More
http://www.globenewswire.com/newsroo....html?d=213619
about max8997.Cool device!
 
 
4th April 2011, 10:52 PM |#92  
qcn85's Avatar
Junior Member
Thanks Meter: 2
 
More
I found this code:
h t t p :// w w w . oschina.net/code/explore/linux-2.6.36/drivers/mfd/max8998.c
But dunno what it does... it's distributed under GNU License.
Hope it may be useful.

EDIT: h t t p :// w w w .spinics.net/lists/mm-commits/msg79905.h tml
EDIT 2: h t t p s :// groups.google.com/group/fa.linux.kernel/browse_thread/thread/c87cad2a88f53409?hl=ja
4th April 2011, 11:13 PM |#93  
Senior Member
Thanks Meter: 57
 
More
Quote:
Originally Posted by qcn85

I found this code:
h t t p :// w w w . oschina.net/code/explore/linux-2.6.36/drivers/mfd/max8998.c
But dunno what it does... it's distributed under GNU License.
Hope it may be useful.

EDIT: h t t p :// w w w .spinics.net/lists/mm-commits/msg79905.h tml
EDIT 2: h t t p s :// groups.google.com/group/fa.linux.kernel/browse_thread/thread/c87cad2a88f53409?hl=ja

I think that second link might be useful for oleg_k seems like it contents IRQ conf
5th April 2011, 12:26 AM |#94  
Senior Member
Thanks Meter: 4,369
 
More
About S8500 RAM, please check Bootloader ELF... you can find more adresses for SDRAM...

I found this:
Quote:

SDRAM_PHYSICAL_LEN 0x28000000

0x28000000 HEX Value converted in Decimal =
671.088.640 Bytes

Found in BL2_1_univ_evt0.elf

Best Regards
5th April 2011, 01:08 AM |#95  
Junior Member
Thanks Meter: 0
 
More
about gauge fuel
Hi everyone,

This is my first post in this forum, but I'm very interested in this project.

I've found some information that may be useful...

In the website h t t p s : / / patchwork . kernel . org / patch / 615331 / they are talking about the MAX8997 (I know it's not MAX 8998 but maybe they have smthg in common). They say "The fuel gauge is not supported by this mfd driver and is supported by a separated driver of MAX17042 Fuel Gauge (yes, the fuel gauge part is compatible with MAX17042)."

Here some information about MAX17402 gauge fuel:
h t t p : / / lwn . net / Articles / 423118 /

Hope this help
5th April 2011, 09:03 AM |#96  
OP Retired Recognized Developer
Flag Moscow
Thanks Meter: 624
 
Donate to Me
More
Colleagues, we now have the same problems that as the project JetDroid.
It's a fuel gauge. Without the correct information from accum, the kernel does not start correctly and does not power on LCD.
must be in original bootloader some functions about fuel gauge.
mijoma and adfree, need help

and other idea - download the native modem s8500 and get the battery capacity via AT commands.
Need to check what AT commands are responsible for guel gauge.
The Following User Says Thank You to oleg_k For This Useful Post: [ View ] Gift oleg_k Ad-Free
5th April 2011, 09:33 AM |#97  
Senior Member
Thanks Meter: 4,369
 
More
Quote:

mijoma and adfree, need help

We could try to research deeper in ELF files:
http://forum.xda-developers.com/show...51&postcount=3

Best Regards
5th April 2011, 10:11 AM |#98  
Retired Recognized Developer
Flag Warsaw
Thanks Meter: 393
 
More
I don't know whether this is what you need, but LDI_TL2796_Power_On and LDI_PortInit (used by FIMD_Drv_INITIALIZE) use LCD_ldo_control(1).

LCD_ldo_control looks like this:
void LCD_ldo_control (onoff)
if (onoff == 0)
{
Set_MAX8998_PM_REG(0x67, 0); //0x67 is ELDO7
Set_MAX8998_PM_REG(0x71, 0); //0x71 is ELDO17

}
else
{
Set_MAX8998_PM_REG(0x67, 1); //0x67 is ELDO7
Set_MAX8998_PM_OUTPUT_Voltage(0x91, 0x2F); // 0x91 is LDO17, 0x2F is VCC_3p200
Set_MAX8998_PM_REG(0x71, 1); //0x71 is ELDO17
}

Is that a good lead?
The Following User Says Thank You to mijoma For This Useful Post: [ View ] Gift mijoma Ad-Free
5th April 2011, 11:56 AM |#99  
OP Retired Recognized Developer
Flag Moscow
Thanks Meter: 624
 
Donate to Me
More
Quote:
Originally Posted by mijoma

I don't know whether this is what you need, but LDI_TL2796_Power_On and LDI_PortInit (used by FIMD_Drv_INITIALIZE) use LCD_ldo_control(1).

LCD_ldo_control looks like this:
void LCD_ldo_control (onoff)
if (onoff == 0)
{
Set_MAX8998_PM_REG(0x67, 0); //0x67 is ELDO7
Set_MAX8998_PM_REG(0x71, 0); //0x71 is ELDO17

}
else
{
Set_MAX8998_PM_REG(0x67, 1); //0x67 is ELDO7
Set_MAX8998_PM_OUTPUT_Voltage(0x91, 0x2F); // 0x91 is LDO17, 0x2F is VCC_3p200
Set_MAX8998_PM_REG(0x71, 1); //0x71 is ELDO17
}

Is that a good lead?

Yes, it's a function to power on(off) display.
LDO7 and LDO17.
Power supply in S8500 and S9000 the same.
Maybe in LDI_PortInit initialize GPIO for LCD and LCD_RST?
The Following User Says Thank You to oleg_k For This Useful Post: [ View ] Gift oleg_k Ad-Free
5th April 2011, 12:14 PM |#100  
OP Retired Recognized Developer
Flag Moscow
Thanks Meter: 624
 
Donate to Me
More
i found in amss(modem) QmochaBattery_fuel_gauge.c and i2c routines.
who have a working S8500 with bada? Test please this AT command:
AT+BATTTEST
AT+FUELGAIC
AT+CALIDATE
AT+TEMPTEST
AT+MAXPOWER
The Following User Says Thank You to oleg_k For This Useful Post: [ View ] Gift oleg_k Ad-Free
5th April 2011, 12:55 PM |#101  
Senior Member
Thanks Meter: 4,369
 
More
Code:
AT+BATTTEST?
AT+FUELGAIC?
AT+CALIDATE?
AT+TEMPTEST?
AT+MAXPOWER?
Try to add ?

Calibration date should be the NV item related stuff RF blabla...
Here more AT Commands:
http://forum.xda-developers.com/showthread.php?t=912791

I'll try later and then report...

Best Regards
Thread Closed Subscribe to Thread

Tags
wave s8500 android
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes