+ Reply to Thread
Results 201 to 220 of 421
Rockbox Project (M6)
This is a discussion on Rockbox Project (M6) within the Rockbox forums, part of the Community Development category; Besides the S6D0139/S6D0129, M6SL also use LCM with S6D0154 in new product batchs, you should take account of this and ...
-
03-27-2008 #201Freshman
- Join Date
- Jan 2008
- Posts
- 46
- Thanks
- 0
Thanked 0 Times in 0 PostsBesides the S6D0139/S6D0129, M6SL also use LCM with S6D0154 in new product batchs, you should take account of this and read R0 for the driver ID at first.
The backlight is controled by Timer C PWM, so it's quite simple. But seems the engineer of Meizu didn't touch the bootloader provided by samsung to hold down the level of TCout, so the screen will flash when the device is reset.Last edited by kgb2008; 03-27-2008 at 03:44 AM.
-
03-30-2008 #202
markun, could you often update the to do list? Because there are many people coming especially on the rockbox forums and i dont know what is already done and what is not.just mark things which are dne with ''done''. Because you work with guys like bagder geavarts A-4. So you knw better
-
04-03-2008 #203Passing By
- Join Date
- Mar 2008
- Location
- Sweden
- Posts
- 3
- Thanks
- 0
Thanked 0 Times in 0 PostsThe TODO list should rather be put in the Rockbox wiki so that all interested people can edit it!
Rockbox hacker
-
04-03-2008 #204Senior Member
- Join Date
- Jan 2008
- Posts
- 349
- Thanks
- 0
Thanked 0 Times in 0 Postswhat is the latest news on the rockbox project, i read somwhere a few weeks ago that it cuold be finished within the week, but i guess that was wrong, so now i am interested to know if there have been made any advancements these last days?
-
04-03-2008 #205
Yes, I wanted to do that already but had other things to do this week. I'll do it right now.
Roeland: Wow, where did you read that we could do it in a week? In theory maybe something like this is possible with enough time, people, skill and information, but in practice a port can take quite some time.
EDIT: ok, I added a todo to the wiki. What do you guys think? You can create a wiki account yourself to modify it if you want:
MeizuM6Port < Main < TWikiLast edited by markun; 04-03-2008 at 03:52 PM.
-
04-03-2008 #206Passing By
- Join Date
- Feb 2008
- Location
- United Kingdom
- Posts
- 14
- Thanks
- 0
Thanked 0 Times in 0 PostsVolunteer Rockbox Tester
Hi there,
I have recently received my new Meizu M6 SL.
I have been following this thread with great interest and would like to help out with this project.
I am not a developer, but I am very computer literate and a keen music fan.
So if you are looking for someone to test out code periodically I am willing to offer my time to help.
Regards,
Paul.
-
04-05-2008 #207Stalker
- Join Date
- Sep 2007
- Posts
- 1
- Thanks
- 0
Thanked 0 Times in 0 PostsThanks to Samsung, I have got datasheet of S6D0154. Here it is: RapidShare: 1-Click Webhosting
-
04-05-2008 #208Senior Member
- Join Date
- Jan 2008
- Posts
- 349
- Thanks
- 0
Thanked 0 Times in 0 Postsnice find, i hope with this datasheet the progress on rockbox for meizu will be a step closer.
-
04-17-2008 #209Passing By
- Join Date
- Jun 2007
- Posts
- 8
- Thanks
- 0
Thanked 0 Times in 0 Postshi every one!

i have one qestion , how long we must wait for rockbox on meizu m6 sp ?
-
04-17-2008 #210
its difficult to say. depends on time that we have for the porting and on luck ofcourse
-
04-17-2008 #211
As we haven't heard much of you guys in the last weeks I'd be interested in how far you are, what you are doing right now and what there is to do. Is the ToDo list precise enough to tell that?
-
04-17-2008 #212
I've been a bit busy. I still need to get my source tree in such a shape that I can commit it so other rockbox devs can continue to work on the port. I'll let you know when I've made some progress.
-
04-23-2008 #213Administrator
- Join Date
- Mar 2007
- Location
- Budapest, Hungary
- Posts
- 4,485
- Thanks
- 237
Thanked 1,024 Times in 375 PostsAny news from the developers?
-
04-28-2008 #214
I had injured my right hand last week (bicycle accident) and could hardly type, but yesterday I continued work on the port again. I wrote some test code and got the rockbox build code to output a almost valid .ebn file. When I've fixed that and the testcode works I'll post it here.
What it should do is toggle the backlight (on and off) every time the PLAY button is pressed. If my assumptions are correct it should work on the M6SP, M6SL and M3. I Don't know about the M6TP.
kgb2008: do all models load the flashed code into SDRAM and remap it to 0x0 or do some load (parts of) it into SRAM and remap? I assume that that the first 8 instructions are the normal interrupt vector table, correct?
EDIT: From looking at the DFUManager docs I see that the flashed image (M1) will be loaded to SDRAM and then executed, and from looking at addresses in the various images it will be mapped to 0x0.Last edited by markun; 04-28-2008 at 02:31 PM.
-
04-28-2008 #215
-
04-28-2008 #216
Well, the actual code is quite easy (let me know if you spot any mistake I made)
but I'll post the binary here when it worksCode:bool backlight_on = true; //Set backlight pin to output and enable int oldval = PCON0; PCON0 = ((oldval & ~(3 << 4)) | (1 << 4)); PDAT0 |= (1 << 2); //Set PLAY to input oldval = PCON1; PCON1 = ((oldval & ~(0xf << 16)) | (0 << 16)); //toggle backlight on PLAY while(true) { // Wait for play to be pressed while(!(PDAT1 & (1 << 4))) { } if (backlight_on) PDAT0 &= ~(1 << 2); else PDAT0 |= (1 << 2); backlight_on = !backlight_on; // Wait for play to be released while(PDAT1 & (1 << 4)) { } }
-
04-29-2008 #217Passing By
- Join Date
- May 2007
- Posts
- 4
- Thanks
- 0
Thanked 0 Times in 0 PostsHey guys, let's offer sympathy about that hand injured in a bike accident.
Hope it heals well and thanks for your efforts, Markun!
-
04-29-2008 #218
@markun: Your code looks like C#.
If the firmware is written with C# I could help a bit.
-
04-29-2008 #219
-
04-29-2008 #220Passing By
- Join Date
- Feb 2007
- Posts
- 12
- Thanks
- 0
Thanked 0 Times in 0 PostsHello markun,
Thanks for letting us look at a little bit of source. As for input, I don't know whether or not your mapping is correct, but based on what you've done, I believe you could replace:
with an exclusive-OR to toggle the bit on and off, ie:Code:if (backlight_on) PDAT0 &= ~(1 << 2); else PDAT0 |= (1 << 2);
PDAT0 ^= (1 << 2);
You could also replace all complements followed by AND, with an exclusive-OR, ie:
replace this (& ~) with this (^).
That should produce equivalent code, a bit more succintly. Also, I don't think you strictly need to have a seperate 'backlight_on' variable, unless you'd prefer one, of course.
- I'm Speechless.
Similar Threads
-
Rockbox! - CLOSED
By Sammy in forum RockboxReplies: 5Last Post: 02-29-2008, 02:55 PM -
Rockbox - CLOSED
By Ourkim in forum RockboxReplies: 51Last Post: 02-29-2008, 02:54 PM -
Rockbox für Meizu M6
By mojooo in forum GermanReplies: 2Last Post: 01-30-2008, 01:17 PM -
Rockbox on meizu m3???
By Exekias in forum TechnicalReplies: 1Last Post: 12-07-2007, 05:22 AM -
[Project] German FAQ-Page for M6
By ExilWessi in forum General Meizu M6Replies: 2Last Post: 03-30-2007, 10:37 AM



Reply With Quote

