Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Meizu M6 "miniplayer"
« previous next »
  • Print
Pages: 1 ... 6 7 [8] 9 10

Author Topic: Meizu M6 "miniplayer"  (Read 164986 times)

Offline gevaerts

  • Developer
  • Member
  • *
  • Posts: 1076
Re: Meizu M6 "miniplayer"
« Reply #105 on: November 19, 2008, 12:34:41 PM »
I got 0x0154 out of my m6sl a while ago. Since then a lot of clock-related things have changed though, so timings are probably totally wrong
Logged

Offline jensu

  • Member
  • *
  • Posts: 10
Re: Meizu M6 "miniplayer"
« Reply #106 on: November 19, 2008, 02:12:36 PM »
yes, i've seen this and tried to fix it. but i'm not used to read such datasheets.
thanks for the info gevaerts, i'll keep on trying to get the id too :)
Logged

Offline zorgblaubaer

  • Member
  • *
  • Posts: 2
Re: Meizu M6 "miniplayer"
« Reply #107 on: November 19, 2008, 08:22:44 PM »
how do i get out data like that out of my m6sl anyway? i am clueless... ;(

i only worked with atmel chipsets untill now and those are documented, which isnt true for the meizu (for obvious reasons).. but i would really like to contribute.. maybe someone of you can give me some hints where to go for learning stuff like that ;)
Logged

Offline AlexP

  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Meizu M6 "miniplayer"
« Reply #108 on: January 18, 2009, 03:04:05 PM »
I've just removed a few asking for updates posts.  Please people, do not post asking for updates.  If and when there is anything to say, it will be posted here.
« Last Edit: January 21, 2009, 08:56:48 AM by BigBambi »
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

paul356

  • Guest
Re: Meizu M6 "miniplayer"
« Reply #109 on: February 16, 2009, 08:17:14 AM »
Hey, guys. I own a M6SL. The official firmware from Meizu company sometimes is annoying. So I fully support porting rockbox onto Meizu players. Though I don't know much about arm, I have some C/C++ programming experience. If you need any help, please let me know.

EDIT: I can't get the through the dfu process. I am always got stuck at the get_cpu operation after "Wait a sec (literally)..." :(. Anybody can give me a hint?
« Last Edit: February 23, 2009, 02:36:14 AM by paul356 »
Logged

Offline saab_rider

  • Member
  • *
  • Posts: 43
Re: Meizu M6 "miniplayer"
« Reply #110 on: March 01, 2009, 09:48:44 PM »
Quote from: BigBambi on May 10, 2008, 12:40:28 PM
saab_rider:

A bit of a cheeky request - any chance you/your friend could PM the original poster and explain that Rockbox is written by volunteers in their spare time, and it would need a chinese speaking volunteer to invest a very large amount of time to keep a translation up to date.

Just wanted to let other Meizu M6 users know...  I as BigBambi suggested a while back and contacted the Chinese guy who posted in this thread in Chinese (my translation is right below it).

This is his response:
Quote
謝謝你!
我是個學生,我倒是知道中文,但是我英文一般
我挺了解中國mp3市場的,我也有N多mp3
雖然在語言方面我沒有辦法幫RB
但是如果叫我找mp3或是查某mp3的資料
我會盡力幫忙的!

Translation:
Thank you!
I'm a student, and my English is weak.
I'm very familiar with China's MP3 market (I assume he means DAP market), and I have many MP3s (again I assume he means MP3 players).
Although I can't help RB due to the language barrier, however if anyone needs me to find a specific MP3 player or even a specific MP3 player's specs. I'll try my best to help!


So there you have it :) You can either contact the guy directly, or send me instead...
Thank

Logged

Offline yijie

  • Member
  • *
  • Posts: 2
Re: Meizu M6 "miniplayer"
« Reply #111 on: March 23, 2009, 10:58:36 AM »
Quote from: paul356 on February 16, 2009, 08:17:14 AM
EDIT: I can't get the through the dfu process. I am always got stuck at the get_cpu operation after "Wait a sec (literally)..." :(. Anybody can give me a hint?

I also got stuck here, can anyone help?
Here is what i got using command: meizu_dfu m6sl rockboot.ebn rockboot.ebn
Quote
Reading rockboot.ebn...OK
Reading rockboot.ebn...OK
USB initialization... Device found.
GET CPU, got: S5L8700 Rev.2
GET CPU, got: S5L8700 Rev.2
Sending rockboot.ebn... ####### OK
Wait a sec (literally)... OK
Releasing interface... OK
USB initialization... Device found.
GET CPU
Error trying to get CPU model, exiting.
« Last Edit: March 23, 2009, 11:03:39 AM by yijie »
Logged

Offline wpyh

  • Member
  • *
  • Posts: 10
Re: Meizu M6 "miniplayer"
« Reply #112 on: April 18, 2009, 10:06:18 PM »
To those who got stuck at the DFU process: You have to hold down the M and Play buttons during the whole process. Please try again and see if it works now.
Logged

paul356

  • Guest
Re: Meizu M6 "miniplayer"
« Reply #113 on: May 25, 2009, 11:22:17 PM »
To those who can successfully run the DFU process on the M6SL:
          I have been stuck in the DFU process for a long time and have the same problem as yijie. Could any explain the DFU process on the M6SL more precisely? So we can find where the problem is. There are some people like me who are willing to help this project but can't run test code on M6SL because of the DFU problem. If we can run code on our player, I think more people can really help this project.
« Last Edit: May 25, 2009, 11:24:37 PM by paul356 »
Logged

Offline l4

  • Member
  • *
  • Posts: 2
Re: Meizu M6 "miniplayer"
« Reply #114 on: May 28, 2009, 06:56:26 AM »
As there is few posts here about getting stuck at the GET CPU I have decided to dig into this.
During this process there is the part where you need to hold the buttons. To know you are holding them right (as wpyh suggests we are not :)), you can see in the lsusb --verbose (a linux command) the device is seen as 2 Blues USB DFU Device and also the DFU tool does not show the No device found.

If you look into the meizu_dfu source you'll notice there are duplicate lines of get_cpu(device) which was suspicious to me. Markun said he commented one of them out and the dfu tool works on his FreeBSD. I don't know if before modification it did not work for him but it did not solve my get_cpu() problem. I am not an experienced programmer but I will try to find out whats going wrong.

Guys who know their C and the sauce around, don't whine about not being to help cause of little difficulty and take a closer look at the get_cpu()  function of the dfu tool. I will try and will update this post in case I find some usefull hints or even solve the problem. (I own the M6SL version, please state your miniplayer version just in case ;))
« Last Edit: June 01, 2009, 09:40:18 AM by l4 »
Logged

Offline gevaerts

  • Developer
  • Member
  • *
  • Posts: 1076
Re: Meizu M6 "miniplayer"
« Reply #115 on: May 28, 2009, 07:24:40 AM »
OK, there seems to be a lot of confusion about the meizu_dfu tool, so maybe I should mention some facts:

get_cpu() is executed twice to match the behaviour of the original windows dfu tool that's mentioned on the meizume forums.

meizu_dfu is designed to upload a firmware file, wait for it to start running and start its own dfu mode, and upload another file. This is because that's what you need to do to install the OF.
For running the rockbox test code, you only need one, and it doesn't speak dfu itself, so the second set of get_cpu() and upload fails.
Of course, some changes to the meizu_dfu code to have a mode where it only tries upload a single file (maybe by looking at how many files it's given on the command line) would be welcome

Logged

Offline l4

  • Member
  • *
  • Posts: 2
Re: Meizu M6 "miniplayer"
« Reply #116 on: May 29, 2009, 05:31:57 AM »
I am glad gevaerts pointed out these facts. I have debugged and resolved my get_cpu issue which opposed to yijie's was in failing to get_cpu even before the first image was sent. Now what is happening is after sending the first image, the USB connection is reset to be reestablished with the upload code that has been sent in the first image. I got 'No Device Found' on the atempt to reestablish the connection. This is due to the player not being rediscovered during the 'Wait a sec (literally)..." message. This can be avoided by changing the waiting interval to 2 seconds.
If you encounter this issue just go to the rockbox/utils/meizu_df/meizu_dfu.c and change the sleep(1) to sleep(2) (in the code that is used for your version of player!). Now recompile the dfu tool and try again.
My status is now hanging on sending the second image. I assume the update code is not accepting it (most likely my fault) but I know its running as it is returning the CPU model S5L8700 Rev.2-BE  070831
(If anyone has a feeling that random thoughts of two minds is better than just one, visit the IRC, you can catch me with /msg l403 on freenode)
« Last Edit: May 29, 2009, 07:01:31 AM by l4 »
Logged

Offline yijie

  • Member
  • *
  • Posts: 2
Re: Meizu M6 "miniplayer"
« Reply #117 on: May 29, 2009, 11:45:15 PM »
Thanks everyone! Finally I get response. :)

To wpyh: I tried to hold two buttons down all the time, but failed again.  And if I press only M button, the command meizu_dfu updateNAND_BE_070831.dfu M6SL.ebn works.

Seems like after the first image updateNAND_BE_070831.dfu was uploaded, it begins to run. So, what is the address does it run from? Can we make rockboot.ebn run on this address and discard the second satge?

« Last Edit: May 29, 2009, 11:51:29 PM by yijie »
Logged

Offline gevaerts

  • Developer
  • Member
  • *
  • Posts: 1076
Re: Meizu M6 "miniplayer"
« Reply #118 on: May 30, 2009, 07:39:46 AM »
Quote from: yijie on May 29, 2009, 11:45:15 PM
Seems like after the first image updateNAND_BE_070831.dfu was uploaded, it begins to run. So, what is the address does it run from? Can we make rockboot.ebn run on this address and discard the second satge?

We can, and that's why we do that.
Logged

Offline bertrik

  • Developer
  • Member
  • *
  • Posts: 171
    • Homepage Bertrik Sikken
Re: Meizu M6 "miniplayer"
« Reply #119 on: June 26, 2009, 07:12:36 PM »
Hi all,
gevaerts lent me his Meizu M3 and I'm working on getting more stuff to work on it. So far we've been able to control the backlight brightness by doing interrupt-driven PWM, getting the i2c bus to work so we can talk to the codec and the real-time-clock chip. Hopefully we'll soon be able to communicate with the radio chip too.
Logged
Meizu M6SP, Samsung YP-S3, iPod nano 1g, Sansa c200, Sansa e200, Sansa Clip, Sansa Clip+, Sansa Clip Zip
 

  • Print
Pages: 1 ... 6 7 [8] 9 10
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  Meizu M6 "miniplayer"
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.194 seconds with 21 queries.