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

Status
Not open for further replies.
Search This thread

jack_frost

Senior Member
Mar 15, 2011
55
8
Since the AT commands return error..will using service commands help using the *#197328640# menu ?
screenshot attached for battry info.
 

Attachments

  • 20110405181105.jpg
    20110405181105.jpg
    43.9 KB · Views: 197
  • Like
Reactions: oleg_k

mijoma

Retired Recognized Developer
Feb 5, 2011
249
393
Warsaw
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?

In the attachment you can find C representation of what I read from the BL (rewritten from asm to C).
Hope this helps.

Best Regards,
mijoma
 

Attachments

  • LCD_sources.txt
    5.5 KB · Views: 87
  • Like
Reactions: adfree

dewage

Senior Member
Apr 5, 2011
112
4
colombo
Hi All.
It's my thread - port Android on Wave S8500(also S8530).
Wellcome developers and designers.

Last state of my project - now lcd not working, need research in finding LCD_RST pin for AMOLED screen. At the weekend I'll post the bootloader with kernel log of loading android.

3/04/2011 Updated.
I tried the versions 2.6.32 and 2.6.35 from git://github.com/atinm/android_kernel_samsung.git.
I post sbl+boot+param.lfs,kernel log and config file for kernel making.

4/04/2011 Memory allocation is correct!

Thanks for your effort... go ahead..
 

oleg_k

Retired Recognized Developer
Dec 19, 2005
183
620
Moscow
In the attachment you can find C representation of what I read from the BL (rewritten from asm to C).
Hope this helps.

Best Regards,
mijoma
Mijoma,
thank you.

Is HWREV calculated the same?

#define GPIO_HWREV_MODE0 S5PV210_GPJ0(2)
#define GPIO_HWREV_MODE1 S5PV210_GPJ0(3)
#define GPIO_HWREV_MODE2 S5PV210_GPJ0(4)
#define GPIO_HWREV_MODE3 S5PV210_GPJ0(7)


s3c_gpio_cfgpin(GPIO_HWREV_MODE0, S3C_GPIO_INPUT);
s3c_gpio_setpull( GPIO_HWREV_MODE0, S3C_GPIO_PULL_NONE);
s3c_gpio_cfgpin(GPIO_HWREV_MODE1, S3C_GPIO_INPUT);
s3c_gpio_setpull( GPIO_HWREV_MODE1, S3C_GPIO_PULL_NONE);
s3c_gpio_cfgpin(GPIO_HWREV_MODE2, S3C_GPIO_INPUT);
s3c_gpio_setpull( GPIO_HWREV_MODE2, S3C_GPIO_PULL_NONE);
s3c_gpio_cfgpin(GPIO_HWREV_MODE3, S3C_GPIO_INPUT);
s3c_gpio_setpull( GPIO_HWREV_MODE3, S3C_GPIO_PULL_NONE);
HWREV = gpio_get_value(GPIO_HWREV_MODE0);
HWREV = HWREV | (gpio_get_value(GPIO_HWREV_MODE1) <<1);
HWREV = HWREV | (gpio_get_value(GPIO_HWREV_MODE2) <<2);
HWREV = HWREV | (gpio_get_value(GPIO_HWREV_MODE3) <<3);
printk("HWREV is 0x%x\n", HWREV);

Kenel output on my s8500 is - "HWREV is 0xF"
 
Last edited:

herandy

Senior Member
Sep 6, 2010
184
64
Scottsdale
there was something in *#197328640#>Version Information>HW_VER, Rf_Cal_date:
Read HW VER:HW VERSION:MP 2,000
Read FTA HW VER:FTA HW VERSION:REV1.3
Read CAL DATE:RF CAL DATE:2010.08.27
Hope it helps!
 

srg.mstr

Senior Member
Jan 5, 2010
61
116
Minsk
AT+CBC return battery charge percent:
if Settings->SysInfo->Battery = 20%
AT+CBC
+CBC: 0,15
OK

if Settings->SysInfo->Battery = 65%
AT+CBC
+CBC: 0,60
OK
 
  • Like
Reactions: badelemental

oleg_k

Retired Recognized Developer
Dec 19, 2005
183
620
Moscow
In the attachment you can find C representation of what I read from the BL (rewritten from asm to C).
Hope this helps.

Best Regards,
mijoma
About LCD pinout:
S5PV210_GPF0(0) //GPIO_DISPLAY_HSYNC
S5PV210_GPF0(1) //GPIO_DISPLAY_VSYNC
S5PV210_GPF0(2) //GPIO_DISPLAY_DE
S5PV210_GPF0(3) //GPIO_DISPLAY_PCLK

S5PV210_MP04(1) //GPIO_LCD_SCLK
S5PV210_MP04(3) //GPIO_LCD_SDI
S5PV210_MP05(5) //GPIO_MLCD_RST
and same pinout i used in kernel setting.

what is GPIO for MLCD_CS 0x9A or 0xB6;
I can't calculate GPIO for this(
 

mijoma

Retired Recognized Developer
Feb 5, 2011
249
393
Warsaw
what is GPIO for MLCD_CS 0x9A or 0xB6;
I can't calculate GPIO for this(

0x9A -> MP0_1_1
0xB6 -> MP0_5_1

About the hwrev, I'm not sure at the first glance, maybe the bit operations are unwound. I made a quick fota mod for the users to check the hwrev and report back. This way we'll see if there are different values in different units.

Best Regards,
mijoma
 

Attachments

  • bplib_S8500OpEuro_XXJL2_mijoma_modrev.zip
    528.5 KB · Views: 26
  • Like
Reactions: adfree

mijoma

Retired Recognized Developer
Feb 5, 2011
249
393
Warsaw
sorry - my mistake
That's hwrev address in the RAM. Update in a minute.

mijoma

-----
Edit: Done. Try again with the file ...modrev2 from the attachment
 

Attachments

  • bplib_S8500OpEuro_XXJL2_mijoma_modrev2.zip
    528.5 KB · Views: 17
Last edited:
  • Like
Reactions: adfree

francipanzer

Member
Sep 11, 2009
11
4
Hi mijoma, this last file you attached runs in a wave 8530? And what That had to do to use this file and it will erase some data on my phone?
Thank you very much for your efforts.
Greetings.
 
Status
Not open for further replies.

Top Liked Posts