You can set the partition size with the upgrade tool, try and increase the size of the firmware partition a little, that will force the main partition to be recreated.
You will need to use the RK27DM tool first to get into rockusb mode then use the upgrade tool to set the partition size and reload your firmware. If you are successful I would do a photo as they suggest and ask for the $10 dollars or so refund price difference. http://mympxplayer.org/rk27dm-repair...706-df947.html http://mympxplayer.org/rockchip-rk27...v25-df881.html Quote:
|
Thanks for help with this memory hack, I will try to experiment with this.
Quote:
|
I tried the early RAmos firmware on another nokia type RK27xx player I have, but the RM970 screen size is 2.8" (320x240) and the screen was messed up.
|
I ask because I havent stopped searching the code to find out what's wrong with the audio.
I found one major issue in I2S_PowerOnInit, I think connected with Scu_ClockEnable function. Here is the code from the compiled SDK: Code:
ROM:60009AD0 I2S_PowerOnInit ; CODE XREF: Audio_Init+8pBut in the FW with well working audio it look like this: Code:
ROM:60009858 I2S_PowerOnInit ; CODE XREF: Audio_Init+8pCode:
ROM:600E28BC _I2S_EnableClock ; CODE XREF: sub_600022B8+2Cp |
Hi, glad you guys returned from that kinda off-topic discussion :-).
I would translate the above to: Code:
#define APB0_SCU_BASE 0x1801C000 // declared in hw_memmap.h |
Flasher, isn't that function that you're looking for Scu_ClockEnable, in system\driver\clock\hwapi_scu.h? Note the ".h" extension, as it's an inline function. Your disassembly is identical in my original (good) firmware, and the firmware with the audio bug (but that may be a different bug, as it's a different player), and =0x1801C000 is SCU_CPU0_CODEBASE. Here it is, from the SDK, or am I misunderstanding?
/ Code:
**************************************************************************Code:
for (i = 100; i = 0; i--)Code:
for (i = 100; i == 0; i--) |
Incidently, in comparing my original FW with the broken audio FW, I've found a difference in IOMUX_PowerOnInit:
My original FW: Code:
ROM:6002AC60 IOMUX_PowerOnInit Code:
ROM:6002AC60 IOMUX_PowerOnInit I'm trying to get the buttons to work in the SDK. That audio bug hasn't hit me yet, as I've been unable to detect any buttons or the touchscreen, although the compiled FW seems to run without any horrible issues. It just starts, I see the bouncing headphone sphere, and the screen goes dark as it times out. I have to hit reset to turn it off, or plug in the USB, which works normally. I've tried a bunch of things, and so far, no joy. |
Quote:
For our player, we use the internal RK27xx CODEC. I2C is set-up to I2C_Internal (2) I2S is set-up INTERNAL_CODEC (0) |
The only difference I found is that different values get written to RegIoMuxB register (SDRAM address pin 12 or GPIO pin on port F (bit 18)). Seems to be quite audio-unrelated but you might want to check that yourself.
|
Well, it might be anything. My observations tell me that headphone amplifier is just turned off, so the audio has a weak signal and it works properly only with external amplifier, which also may suggests why speaker doesn't work at all. So it's maybe only a matter of one pin set to high.
As far as I noticed this audio issue happens mostly on RK2705, while on RK2706 the same code runs ok. Perhaps the first one needs a special external power sent to the headphones. Please note that the audio problem occurs only with simple headphones WITHOUT amplifier. I plugged it into pc speakers and it works fine. And someone else here plugged it into wireless headphones (with amplifier) and it also worked ok. |
| All times are GMT -7. The time now is 8:38 pm. |
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 RC 2