myMPX
Advertisement


Go Back MyMPx.org > MyMPx.org Forum > General Discussion

Hooray!!! Rockchip SDK!
Like Tree1Likes
Reply
Post New Thread
 
LinkBack Thread Tools
  #411 (permalink)  
Old 17th Oct 2009, 7:45 am
New Member
 
Join Date: May 2009
Posts: 16
Default


Quote:
Originally Posted by AleMaxx View Post
To my knowledge there is no MMU (and Im pretty sure). There is a remapping-feature that allows switching between boot ROM and SRAM and you can mark parts of the memory-map to be non-cacheable but this surely has nothing to do with the features a MMU provides.
Concerning TV out on rk2705, the chip has an RGB interface (RGB+Sync signals) which is primarily intended for LCDs but you could of course hook up a DAC or PAL/NTSC encoder to this and get a TV signal. Btw, here is a spec-sheet for the rk2705: http://www.szxizhuo.com/UploadFiles/...8105248185.pdf.
That's the data sheet I was looking at.

W.r.t. the MMU, I hoped the rk2705, being newer than the rk2706, would support virtual memory. But still a superscalar (4-issue) DSP with 8-stage pipeline and general-purpose 32-bit instructions is slightly intriguing (assuming it hasn't been lobotomized by Rockchip and can function on its own).

If someone familiar with rk2705 firmware can suggest a small piece of DSP code, I'll try to find some ZSP G2 instructions, perhaps hack a simple (open source) disassembler because there doesn't seem to be one.
Reply With Quote
  #412 (permalink)  
Old 17th Oct 2009, 2:32 pm
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

Have you looked at DSPLoader.c? There are references to a few files e.x. C:\SYSTEM\jpg.bfw

Knob, I didn't check precisely whether we have the same original FW, but I made a backup. But I am pretty sure we have the same, this is non-brand player, noone cares about FW for our player.

BTW. I've been digging through the code all day today. I successfully identified at least 20 functions e.x. I2C_Init, IOMUX_SetI2CType and many others.

I noticed very few differences between original FW and the one from SDK but they exist. Especially with function IOMUX_SetI2CType.

I have problems with understanding the structure of the original function. It's weird because I don't know where the function really starts. In the original IOMUX_SetI2CType function it has some extra code at the beginning, but other functions call it not to it's beginning address but to somewhere in the middle.

Although I haven't been able to fix this audio yet, I am really glad because I have a chance to learn ASM ) After some time it's not so creepy language.
Reply With Quote
  #413 (permalink)  
Old 17th Oct 2009, 11:00 pm
Junior Member
 
Join Date: Sep 2009
Posts: 20
Default

Quote:
Originally Posted by nlite View Post
That's the data sheet I was looking at.

W.r.t. the MMU, I hoped the rk2705, being newer than the rk2706, would support virtual memory. But still a superscalar (4-issue) DSP with 8-stage pipeline and general-purpose 32-bit instructions is slightly intriguing (assuming it hasn't been lobotomized by Rockchip and can function on its own).

If someone familiar with rk2705 firmware can suggest a small piece of DSP code, I'll try to find some ZSP G2 instructions, perhaps hack a simple (open source) disassembler because there doesn't seem to be one.
I was looking at this which has references to mmu_ctrl mmu_addr etc.

MEGAUPLOAD - The leading online storage and file delivery service
Reply With Quote
  #414 (permalink)  
Old 18th Oct 2009, 3:39 am
sid6581's Avatar
Member
Keen on MPx players
 
Join Date: Sep 2009
Posts: 54
Default

Quote:
Originally Posted by tp11 View Post
I was looking at this which has references to mmu_ctrl mmu_addr etc.

MEGAUPLOAD - The leading online storage and file delivery service
I haven't looked but that would be surprising. An ARM7E is not supposed to have MMU (?) Now, RK28xx that's an other story
About the DSP, i still think it is ZSP500 with those G2 instructions for which we don't have the opcodes, vs ZSP400 for RK26xx.

I have RK2705 too, and 240 MHz for ARM7E and 176 MHz for ZSP500 is actually pretty impressive.
__________________
Rockchip Powah !
Reply With Quote
  #415 (permalink)  
Old 18th Oct 2009, 6:59 am
Member
Keen on MPx players
 
Join Date: Sep 2007
Posts: 68
Default

These mmu_ctrl and mmu_addr registers seem to belong to the SD/MMC controller, possibly related to DMA transfers. I dont know what MMU stands for here, but this has got nothing to do with a MMU in the usual case (in my opinion).
Reply With Quote
  #416 (permalink)  
Old 18th Oct 2009, 7:21 am
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

Quote:
Originally Posted by AleMaxx View Post
These mmu_ctrl and mmu_addr registers seem to belong to the SD/MMC controller, possibly related to DMA transfers. I dont know what MMU stands for here, but this has got nothing to do with a MMU in the usual case (in my opinion).
I think that too, I read somewhere that this CPU doesn't support MMU, but there are some wicked MMU-like features for better handling SD Card. I am not sure where I read it, but it was some site with comparision of ARM7 and ARM9 which is the main CPU of WIZ game console.

BTW. Does any one know what are the functions in IOMUX for? I am trying to fix the audio problem in my RK2705 player. And all my clues go to this function. But I don't want to waste time if that has nothing to do with audio.

The audio has kind of weak signal, it doesn't work properly if there isn't any addition amplifier connected to the player. Maybe someone know which functions in the SDK are resposible for headphone amplifier?

Knob, and Sid6581 I uploaded IDA project (BASE ORIGINAL.rar) for our original FW. There is huge load of functions in NAME window. If you wish to play a little with IDA Disassembler it will definitely help you.

Last edited by flasher86; 19th Oct 2009 at 10:53 am.
Reply With Quote
  #417 (permalink)  
Old 18th Oct 2009, 10:46 am
sid6581's Avatar
Member
Keen on MPx players
 
Join Date: Sep 2009
Posts: 54
Default

Quote:
Originally Posted by flasher86 View Post
BTW. Does any one know what are the functions in IOMUX for? I am trying to fix the audio problem in my RK2705 player. And all my clues go to this function. But I don't want to waste time if that has nothing to do with audio.
Many pins in the RK27xx chip can have several usages.
IOMUX functions selects the particular usage for a pin.
They multiplex pins to reduce the number of pins for the chip, which is supposed to reduce cost.

Have a look at system/drivers/hwapi_iomux.h and look at the datasheet for pinout.

For example,
pin #30 is GPIO A1 or LCD data bit 16 or UART0 rxd
pin #31 is GPIO A2 or LCD data bit 17 or UART0 txd

So, if you want to use UART0 to have a nice debug console on your PC, you simply have to do:
IOMUX_SetUart0Port(UART0_UART_TYPE);
and then configure UART0.

You would have to solder TX, RX and GROUND to a board that translates UART <-> RS232 or UART <-> USB.
I would advise this Future Technology Devices Intl - FT2232H Modules
You will have a regular com port appearing on your PC and can use your favorite terminal...
__________________
Rockchip Powah !
Reply With Quote
Sponsored Links
  #418 (permalink)  
Old 18th Oct 2009, 10:48 am
WIZARD's Avatar
Senior Member
MPx Junkie
 
Join Date: Mar 2008
Posts: 300
Exclamation

Quote:
Originally Posted by flasher86 View Post
Knob, and Sid6581 I uploaded IDA project (http://www.speedyshare.com/990269526.html) for our original FW.
The link is broken!
__________________
Heroes of Might and Magic V - The Best Game In The World !
Try to play !
Reply With Quote
  #419 (permalink)  
Old 18th Oct 2009, 10:49 am
sid6581's Avatar
Member
Keen on MPx players
 
Join Date: Sep 2009
Posts: 54
Default

Quote:
Originally Posted by sid6581 View Post
By the way, this is a super useful module.
From your PC, you can control devices via UART, SPI, I2C ... the most common protocols out there, and have a bunch of GPIO.
__________________
Rockchip Powah !
Reply With Quote
  #420 (permalink)  
Old 18th Oct 2009, 10:55 am
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

Hmm speedyshare server seems to be broken now.

Here is another download: Download BASE ORIGINAL.rar from Sendspace.com - send big files the easy way

So Sid, Tell me, is it possible that IOMUX can be responsible for bad audio? Because I am lost. I digged through ASM code of our FW, and found some additional functions in Main(). GPIO_PowerOnInit is completely removed and replaced by something else. Can a set of GPIO pins do something with our problem?
Reply With Quote
Reply

Sponsored Links



Similar Threads
Thread Thread Starter Forum Replies Last Post
NEW rockchip player (Rockchip RK27xx series) availability knob General Discussion 38 12th Nov 2008 10:47 am
Rockchip Editor: for Rockchip 27xx ALP1987 Support and How To 6 17th Oct 2008 5:25 pm


All times are GMT -7. The time now is 4:25 pm.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 RC 2
Back to Top

Designed by indiqo.media