Rockbox Development > New Ports
Meizu M6 "miniplayer"
PMP:
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
paul356:
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.
saratoga:
--- 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.
--- End quote ---
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.
paul356:
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: ---RAM:22008578 LDR R1, =0xFFF
RAM:2200857C AND R1, PC, R1
RAM:22008580 ADD PC, R0, R1
--- End code ---
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?
saratoga:
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.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version