Home Forums Gallery FAQs Downloads
 
 

Go Back   Meizu Me > miniPlayer M6 / SL > Community Development > Rockbox

Register Today!  

Rockbox Project (M6)

This is a discussion on Rockbox Project (M6) within the Rockbox forums, part of the Community Development category; Originally Posted by markun kgb2008: thanks man, I added the registeres to the page. Are you planning on creating an ...


Reply
 
Thread Tools Display Modes
Old 03-10-2008   #101
Freshman
 
Join Date: Jan 2008
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Originally Posted by markun View Post
kgb2008: thanks man, I added the registeres to the page. Are you planning on creating an account for the rockbox wiki or will you keep posting your info here?
I prefer to stay here for a while. Some new findings:
1) 0x3CE00000 is the ADC block, where we get the touch panel reading.
2) 0x3CF00000 is the GPIO block, we can config the I/O pins and get the state of buttons from here.
3) 0x38200000 is the MIU(Memory Interface Unit), it's used for remapping the SRAM and SDRAM, set the refresh timing......
4) 0x39C00000 is the ICU(Interupt Control Unit) which controls the mask/priority/pend bit of various interupt sources.
5) 0x3C800000 is the watchdog, it's been disabled by write a 0x00A5 value!
6) 0x3C700000 should be the TIMER registers block.
7) 0x3C200000 is the NAND Flash Controller.

In the last quarter of the firmware image, there're a lot of data tables and codes which will be copy into the SRAM segment(0x22000000) for the CalmADM DSP to run and do the decode job, I wonder if we should notice this for the ARM940T is not strong enough to work alone.
kgb2008 nincs online   Reply With Quote
Old 03-10-2008   #102
vcf
Member
 
vcf's Avatar
 
Join Date: Apr 2007
Posts: 120
Thanks: 0
Thanked 0 Times in 0 Posts
kgb2008 good work! hm i dont know about if the ARM940T is not strong enough to work alone....
vcf nincs online   Reply With Quote
Old 03-10-2008   #103
Junior Member
 
markun's Avatar
 
Join Date: Mar 2008
Location: Netherlands
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
200MHz ARM940T is more than enough for a decent audio player (the ipods up till 5.5g ipod video have a dual core 80MHz ARM7), but the CalmADM DSP is more optimized for audio and video decoding.

I thought that maybe the I2S was only available to the DSP (like it is for the TI TMS320DM320) but it looks like it's directly available at 0x3CA00000. kgb2008, can you confirm this?
markun nincs online   Reply With Quote
Old 03-10-2008   #104
Freshman
 
Join Date: Jan 2008
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Originally Posted by markun View Post
200MHz ARM940T is more than enough for a decent audio player (the ipods up till 5.5g ipod video have a dual core 80MHz ARM7), but the CalmADM DSP is more optimized for audio and video decoding.

I thought that maybe the I2S was only available to the DSP (like it is for the TI TMS320DM320) but it looks like it's directly available at 0x3CA00000. kgb2008, can you confirm this?
Yes, you're right, If no need to concern about the battery life, and use the device as a pure music player, the arm core can get the job done.

0x3CA00000 is an I2S unit, but I don't know if it's double way or just for input only.
kgb2008 nincs online   Reply With Quote
Old 03-10-2008   #105
Stalker
 
Join Date: Mar 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
I want to say about the screen display.
Did anybody try to play a 240x320 video on M6? It will play more smoothly by this resolution than play a 320x240 video. Because M6 uses a mobile phone screen and it's physical resolution is 240x320.
In Chinese forum some users mentioned that the firmware makes coordinate transform when displaying. But if you play a 240x320 video, the transform step will be skiped.

Last edited by sotux; 03-11-2008 at 01:04 AM.
sotux nincs online   Reply With Quote
Old 03-10-2008   #106
Senior Member
 
Join Date: Jan 2008
Posts: 349
Thanks: 0
Thanked 0 Times in 0 Posts
My Meizu
yes, we know this, thats wy batman and other converters automatically rotate the image 90degrees by default,
but i fail to see what this has got to do with rockbox for m6....
roelandb nincs online   Reply With Quote
Old 03-10-2008   #107
Member
 
Join Date: Oct 2007
Location: Finland
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
My Meizu
I think he meant power consumption. Or posted in the wrong forum/thread.
parena nincs online   Reply With Quote
Old 03-11-2008   #108
Junior Member
 
markun's Avatar
 
Join Date: Mar 2008
Location: Netherlands
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
sotux: thanks, I didn't know that the screen was in fact a 240x320 screen (like the Gigabeats we support). Does anyone have more info on the LCD modules? I would like to know which LCD driver IC's are used.

kgb2008: on the Gigabeat, the screen is initialised over SPI, do you know how it's done in the Meizu firmware? Do you know at which address the SPI block is located?
markun nincs online   Reply With Quote
Old 03-11-2008   #109
Passing By
 
Join Date: Jan 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
This would be very nice if this all would work. I would love to try rockbox on my M6
Cryonic90 nincs online   Reply With Quote
Old 03-11-2008   #110
Senior Member
 
Join Date: Jan 2008
Posts: 349
Thanks: 0
Thanked 0 Times in 0 Posts
My Meizu
i think rockbox will have a lot of meizu fans soon, since a lot of us seem to be interested to have their original firmware exchanged by rockbox, or if possible the best parts of both (video playback in rockbox is not as good i think)
roelandb nincs online   Reply With Quote
Old 03-11-2008   #111
Freshman
 
Join Date: Jan 2008
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
markun: The SPI registers of Samsung S5 family should be mapped to the address 0x3CD00000, but i don't think that SPI port is employed by M6, since the S5L8700 must have an embedded LCD controller for true color TFT, just write to the registers at page 0x39200000 to initialize the screen, bound an address range as frame buffer, and let the controller fetch the frame data thru DMA and generate the control signals.

Search "0x39200000" at the firmware disassembly lines for details.
kgb2008 nincs online   Reply With Quote
Old 03-11-2008   #112
Junior Member
 
markun's Avatar
 
Join Date: Mar 2008
Location: Netherlands
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
The S3C2440 inside the Gigabeat also has an LCD controller, and moves the frames from SDRAM to the LCD by DMA, but still the LCD panel needs to be initialized over SPI on startup. But maybe you are right and we don't need to do it here.
markun nincs online   Reply With Quote
Old 03-12-2008   #113
Freshman
 
Join Date: Jan 2008
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
More info revealed:
0x38600000 - USB 1.1 Host Controller
0x38800000 - USB 2.0 Function
0x39000000 - CalmADM
0x3C900000 - IIC
0x3D100000 - Chip ID
0x3D200000 - RTC

It must be well known that 0x24000000 is the base address of the 8MBit NOR flash on chip, but it's not stated on the wiki yet.
kgb2008 nincs online   Reply With Quote
Old 03-12-2008   #114
Junior Member
 
markun's Avatar
 
Join Date: Mar 2008
Location: Netherlands
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Great job man! I've updated the wiki. I think it's also useful if we start to make make a list of the GPIO pins like we did for other ports:

GigabeatPortPins < Main < TWiki

What do you think?

btw, another Samsung SoC with USB 1.1 host and USB 2.0 device is the S3C2443X. It would be nice if the datasheet matches the USB part of our Blues SoC.

Last edited by markun; 03-12-2008 at 12:58 PM.
markun nincs online   Reply With Quote
Old 03-13-2008   #115
Freshman
 
Join Date: Jan 2008
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Without official document with the pin assignment information, it's hard to draft a list for SA58700/S5L8700 like before. But obviously, our blues soc talk to other chips with 4 wire interface(SPI) by bit-bangled method on some GPIO pins of P0, P1, P3 and P7 ports, there're other pins on these ports used for charger detect and power management...... The NAND flash is connect to P2,P4 and P6, I guess.
kgb2008 nincs online   Reply With Quote
Old 03-13-2008   #116
Administrator
 
BobbyQ's Avatar
 
Join Date: May 2007
Posts: 3,056
Thanks: 13
Thanked 19 Times in 19 Posts
Meizu should have been hiring you guys instead of their own dudes.
Good luck with your task, I hope you will make it !
BobbyQ nincs online   Reply With Quote
Old 03-13-2008   #117
Junior Member
 
markun's Avatar
 
Join Date: Mar 2008
Location: Netherlands
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
kgb2008: yes, it's going to be difficult. Can we talk a bit in real-time? I'm usually in the rockbox IRC channel which you can also access through a webclient: CGI:IRC Login

Some other good news: another rockbox dev has decided to buy a Meizu M6. He's currently working on the rockbox USB stack, which we would really need for the Meizu port since it does USB in software (unlike many of our other players)

Last edited by markun; 03-13-2008 at 02:42 PM.
markun nincs online   Reply With Quote
Old 03-13-2008   #118
vcf
Member
 
vcf's Avatar
 
Join Date: Apr 2007
Posts: 120
Thanks: 0
Thanked 0 Times in 0 Posts
markun great news!is it mcuelenaere?
vcf nincs online   Reply With Quote
Old 03-14-2008   #119
Freshman
 
Join Date: Jan 2008
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
I'm rarely on line and cannot chat with u all in real time. I'll post my findings inside the firmware disassembly here sometimes.

GPIO pins usage (model: M6SP)
----------------------------
1) Touch Slider (QT411)
P0.0 SS
P0.1 SCLK
P0.3 SDO
P0.4 DETECT
P1.5 DRDY
P1.6 SDI

2) FM Tuner (LV24000)
P1.0 DATA
P1.1 NR_W
P1.2 CLOCK

3) LCD Driver (S6D0129/139?)
P3.2 MISO SDO
P3.6 MOSI SDI
P3.7 SCLK SCL
P7.1 CE CS

Last edited by kgb2008; 03-14-2008 at 05:28 PM.
kgb2008 nincs online   Reply With Quote
Old 03-14-2008   #120
vcf
Member
 
vcf's Avatar
 
Join Date: Apr 2007
Posts: 120
Thanks: 0
Thanked 0 Times in 0 Posts
great work! lets wait what markun will say
vcf nincs online   Reply With Quote

   
 
Meizu Me is an independent resource for all things Meizu. All rights reserved. Powered by vBulletin. Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. Meizu M8, miniPlayer and all related names are properties of MEIZU Electronic Technology, Inc. Copyright 2009 Meizu Me.