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
Search



Donate

Rockbox Technical Forums


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

Welcome to the Rockbox Technical Forums!

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

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

Offline tonghuren

  • Member
  • *
  • Posts: 3
Re: Meizu M6 "miniplayer"
« Reply #120 on: June 27, 2009, 06:33:33 AM »
I have got the source files, but i don't have the complier on my PC.So, can somebody tell me where I can download the rockboot.ebn?If you have already got one,can you send it to me?I'm using M6SP.
Logged

Offline bertrik

  • Developer
  • Member
  • *
  • Posts: 171
    • Homepage Bertrik Sikken
Re: Meizu M6 "miniplayer"
« Reply #121 on: June 27, 2009, 12:52:50 PM »
The rockboot.ebn file is created when compiling the meizu bootloader. I can't really explain the entire building/compiling process here, but please have a look at the rockbox wiki pages on development, for example http://www.rockbox.org/twiki/bin/view/Main/DevelopmentGuide
Logged
Meizu M6SP, Samsung YP-S3, iPod nano 1g, Sansa c200, Sansa e200, Sansa Clip, Sansa Clip+, Sansa Clip Zip
 

Offline bertrik

  • Developer
  • Member
  • *
  • Posts: 171
    • Homepage Bertrik Sikken
Re: Meizu M6 "miniplayer"
« Reply #122 on: July 07, 2009, 06:23:13 PM »
Update on the Meizu M3:
We have audio out working with DMA-driven PCM. We can't access the NAND flash yet, so the first sound was done by compiling a 2-second audio clip directly into the bootloader. The uda1380 audio codec driver could be re-used from the iriver Hxxx port, but this driver will need some modification to properly work with the meizus (there are some differences in use of the MCLK clock signal for example).
FM radio can now also be controlled, again from the bootloader only for now.
The PCM can be easily enabled for the M6's too, the fm radio can be enabled for the M6SL only (the M6SP has a different FM chip).

The clean parts of this have been committed to SVN. To actually hear audio or control the fm radio on the M3, some hacks are needed that are not in a committable state yet. If people want to play with this, just let me know and I can make a patch that includes these hacks.
« Last Edit: July 07, 2009, 06:29:09 PM by bertrik »
Logged
Meizu M6SP, Samsung YP-S3, iPod nano 1g, Sansa c200, Sansa e200, Sansa Clip, Sansa Clip+, Sansa Clip Zip
 

paul356

  • Guest
Re: Meizu M6 "miniplayer"
« Reply #123 on: October 30, 2009, 01:32:31 AM »
Hey, guys. It seems that this post haven't been updated for a long time. I hope people won't give hope for rockbox port on m6 series.
I request somebody who can run test code on m6sl to share your rockboot.ebn file with me. I really don't know why I can't run the test code on my m6sl, because I should be able to toggle the backlight if the code is run. I couldn't help to doubt that my cross-complier is not correctly built.

PS: I assume that the test code is run by replacing the firmware updating code. And the firmware update code is the first image file sent by the DFU tool during the normal DFU process. So our test code should be run just after the player accepting the first rockboot.ebn file. Do I need to reset the my player after that? Do I miss some thing?
Logged

Offline bertrik

  • Developer
  • Member
  • *
  • Posts: 171
    • Homepage Bertrik Sikken
Re: Meizu M6 "miniplayer"
« Reply #124 on: November 01, 2009, 07:42:11 AM »
Last weekend I was able to display a rockbox logo on my Meizu M6 SP. Unfortunately there is a spurious yellow line at the bottom of the screen (looks like part of the logo) and the player hangs after displaying the image. Probably the next thing will be enabling the SDRAM on the M6SP.

In principe it should be possible to run things directly from RAM in DFU mode, but I haven't been able to make that work on the SP yet (it did work on the Samsung YP-S3 which has the same SoC, using the M6SL DFU method). So I'm still running all test code from NOR flash now.
Logged
Meizu M6SP, Samsung YP-S3, iPod nano 1g, Sansa c200, Sansa e200, Sansa Clip, Sansa Clip+, Sansa Clip Zip
 

Offline MartyLK

  • Member
  • *
  • Posts: 31
Re: Meizu M6 "miniplayer"
« Reply #125 on: November 06, 2009, 11:10:17 AM »
Does anybody have a link to the latest M6SL firmware? I can't find it on the official site and the forum doesn't even show M6 anymore.
Logged

Offline bertrik

  • Developer
  • Member
  • *
  • Posts: 171
    • Homepage Bertrik Sikken
Re: Meizu M6 "miniplayer"
« Reply #126 on: November 06, 2009, 11:36:14 AM »
Small status update: I am now able to access the DRAM on the M6SP, I'll commit the change this weekend.
The hang after displaying the rockbox logo still puzzles me, the player seems to hang right after configuring the PCON_ASRAM register that controls the function of the pins used to interface with the LCD.

I think Meizu firmwares can still be found on the meizume forums.
Logged
Meizu M6SP, Samsung YP-S3, iPod nano 1g, Sansa c200, Sansa e200, Sansa Clip, Sansa Clip+, Sansa Clip Zip
 

Offline Ray Wong

  • Member
  • *
  • Posts: 1
Re: Meizu M6 "miniplayer"
« Reply #127 on: November 06, 2009, 07:34:41 PM »
Quote from: MartyLK on November 06, 2009, 11:10:17 AM
Does anybody have a link to the latest M6SL firmware? I can't find it on the official site and the forum doesn't even show M6 anymore.
http://www.meizu.com/MeizuMp3LiveUpdate/Firmware/M6/2_0_0_4/M6_SL2.004.6.rar

here it is.
meizu  m6 is replaced by meizu m8 phone ..
Logged

Offline PMP

  • Member
  • *
  • Posts: 7
Re: Meizu M6 "miniplayer"
« Reply #128 on: November 15, 2009, 04:28:29 AM »
 :D

here is TP 2.004.6


http://rapidshare.com/files/307287039/meiau_mptp_fwt200046.zip.html

http://rapidshare.com/files/307287039/meiau_mptp_fwt200046.zip.html?killcode=419665503292886340

SP   s2.004.6

http://rapidshare.com/files/307292769/meiau_mpsp_fws200046.zip.html

http://rapidshare.com/files/307292769/meiau_mpsp_fws200046.zip.html?killcode=5786242892350135964

Music Card T2.004.6

http://www.meizu.com/MeizuMp3LiveUpdate/Firmware/M3/2_0_0_4/M3_T2004.6.rar


I hope you won‘t give up  MEIZU   M3

« Last Edit: November 15, 2009, 05:40:27 AM by PMP »
Logged

Offline bertrik

  • Developer
  • Member
  • *
  • Posts: 171
    • Homepage Bertrik Sikken
Re: Meizu M6 "miniplayer"
« Reply #129 on: November 15, 2009, 04:49:36 PM »
SDRAM now seems to work on the Meizu M3 too (haven't tested it extensively though).

Also, I got some more insight on how the DFU mode works on the M3 and M6SP: the image that is sent in DFU mode is not a full RAM executable, but a kind of flash-loader plugin, with a couple of basic flash functions, like flash identification, device erase, block erase and flash write. There is a possibility that this mode can be exploited to write a kind of RAM-loader (as opposed to a flash loader), that can be used to bootload the main rockbox executable.
Logged
Meizu M6SP, Samsung YP-S3, iPod nano 1g, Sansa c200, Sansa e200, Sansa Clip, Sansa Clip+, Sansa Clip Zip
 

Offline PMP

  • Member
  • *
  • Posts: 7
Re: Meizu M6 "miniplayer"
« Reply #130 on: November 17, 2009, 03:29:33 AM »


hope those thing can hlpe


we are a bunch of meizu m6 [tp, sp sl,ts] ,m3[sp,se] woners,
we are looking forward to use ROCKBOX firmware for ages.
By any chance, if we can help to test firmware, we wounld be very glad


http://pmp.5d6d.com/thread-329-1-3.html

http://pmp.5d6d.com/thread-330-1-3.html
* meizu_m6sp.c (2.94 kB - downloaded 302 times.)
« Last Edit: November 25, 2009, 02:39:05 AM by PMP »
Logged

paul356

  • Guest
Re: Meizu M6 "miniplayer"
« Reply #131 on: November 18, 2009, 07:45:54 AM »
Hi guys. Finally I can toggle the back-light of m6sl using the bootloader generated by the rockbox project. This is achieved by modifying boot.lds and crt0.S in folder $ROCKBOX_HOME/firmware/target/arm/s5l8700. It seems that .text section and .rodata is mapped onto flash. During DFU process the flash is not accessible so we need to modify the boot.lds. I don't know modifying crt0.S is necessary or not, because I haven't test this new boot.lds with the current crt0.S file. I hope this will help guys want to get some reaction from the m6sl, though this task is so simple for these experienced developers.

PS: .txt is added to the two file name because this forum doesn't support uploading .S and .lds files.
* boot.lds.txt (1.49 kB - downloaded 324 times.)
* crt0.S.txt (3.51 kB - downloaded 372 times.)
« Last Edit: November 18, 2009, 07:49:01 AM by paul356 »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Meizu M6 "miniplayer"
« Reply #132 on: November 18, 2009, 09:26:50 AM »
Quote from: paul356 on November 18, 2009, 07:45:54 AM
PS: .txt is added to the two file name because this forum doesn't support uploading .S and .lds files.

Thats a subtle way of reminding you not to post code to this thread, and instead submit patches to the tracker where they won't get lost. 
Logged

paul356

  • Guest
Re: Meizu M6 "miniplayer"
« Reply #133 on: December 11, 2009, 11:21:53 PM »
Hello, guys. Now I am trying to understand the disassembled code. Because I am a newbie for embeded systems, I have diffcult to understand following code located in M6SL.ebn, offset 0x8578:
Code: [Select]
RAM:22008578                 LDR     R1, =0xFFF
RAM:2200857C                 AND     R1, PC, R1
RAM:22008580                 ADD     PC, R0, R1
It seems that the arm code should be aligned to 4 bytes. But after executing these code the arm processer PC will have an odd address of 0x**009583. So I am puzzled. Is this code meant to incur some sort of exception?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Meizu M6 "miniplayer"
« Reply #134 on: December 12, 2009, 12:32:07 AM »
I'm not much good at arm, but it looks to me like that code just jumps ahead to the nearest 4KB boundary (address that ends in 1+0xFFF), so its probably just trying to align a code block with a page boundary.
Logged

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

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.102 seconds with 15 queries.