rtc I2C datasheet of gdium

8 views
Skip to first unread message

yajin zhou

unread,
Apr 30, 2009, 4:40:02 AM4/30/09
to loongson-dev, gd...@googlegroups.com
Hi all,

Who knows the model number of rtc chip of gdium, whose i2c slave address is 0xd0 and where can I get the datasheet of it?

Following is the current qemu-loongson serial output:

debian:/home/yajin/develop/gdium/qemu-loongson/mips64el-softmmu# ./qemu-system-mips64el -M gdium -pflash gzrom.bin.g -nographic 
Register sst39vf040  size 80000  at offset 08800000 addr 1fc00000 'pflash0' 80
devfn 70
new_sm502_mm_io 7000000 pci_mem _base 10000000
 
PMON2000 MIPS Initializing. Standby...
 PRID=00006302
 
enable register space of MEMORY
DDR2 config begin_whd
DIMM read
0000008000000008read DIMM number of rows
read number of cols
module data width
DIMM SIZE=20000000
cols rows:
04030940DDR2 config end
DDR2 DLL locked
00000004
disable register space of MEMORY
jlliu : rom speed reg : 0x00000f8c
Init SDRAM Done!
Sizing caches...
Init caches...
godson2 caches found
Init caches done, cfg = 00030932
 
Copy PMON to execute location...
 
copy text section done.
Copy PMON to execute location done.
sp=80ffc000...............
cmd 7
mmio 6000000
can not find dev address 0xd0    <- This is the qemu compling that 0xd0 i2c can not find. So I need to emulate it!

----------------------------------

yajin

http://vm-kernel.org

yajin zhou

unread,
Apr 30, 2009, 5:28:09 AM4/30/09
to loongson-dev, gd...@googlegroups.com
Hi,

I have found the rtc chip model, it is ST M41T80. The datasheet is available here.
http://www.datasheetcatalog.com/datasheets_pdf/M/4/1/T/M41T80.shtml

yajin

http://vm-kernel.org

Philippe Vachon

unread,
Apr 30, 2009, 7:05:29 AM4/30/09
to gd...@googlegroups.com, loongson-dev
Hi,

A few months ago I put an archive of a few of the key datasheets up.
This can be found at:

http://lebesgue.cowpig.ca/~philippe/gdium/gdium-manuals.tar.bz2

HTH.

Cheers,
Phil

Frederic Muller

unread,
May 3, 2009, 11:20:02 PM5/3/09
to gd...@googlegroups.com, loongson-dev
Hi!

Could we add a link to this location to the wiki (or is it there
already?). Without having to read the whole datasheet the info are indeed:

0xd0 is the i2c slave address of M41T83.And it is on the write mode.
I2C address:
M41T83 0x1101000x(0:Write mode;1:read mode)
RAM:0x1010001x
VGA:1010000x
STDS75M2F:1001000x
Clock generator:1101001x

Hope that helps too.

Fred

Thierry Garot

unread,
May 4, 2009, 4:44:07 AM5/4/09
to gd...@googlegroups.com
你好 ni

Thierry

Envoyé depuis mon iPhone.

Le 4 mai 09 à 05:20, Frederic Muller <frederi...@dexxon.cn> a
écrit :
Reply all
Reply to author
Forward
0 new messages