MyMPx.org

MyMPx.org (http://mympx.org/forum/)
-   General Discussion (http://mympx.org/forum/general-discussion/)
-   -   Hooray!!! Rockchip SDK! (http://mympx.org/forum/general-discussion/43348-hooray-rockchip-sdk.html)

WIZARD 10th Mar 2011 12:15 pm

Quote:

Originally Posted by DJ_Patron (Post 287955)
Ok, problem been solved, I install Visual Studio.
May anyone tell me, where are sysconfig.h, I need it, because LCD of my player have 400x272 resolution.

Check the folder with sources more carefully.
Or, if you don't have it, check the downloads on this page:
http://mympx.org/forum/general-discu...ip-sdk-28.html

DJ_Patron 11th Mar 2011 3:42 am

Ohh
 
Quote:

Originally Posted by WIZARD (Post 288008)
Check the folder with sources more carefully.
Or, if you don't have it, check the downloads on this page:
http://mympx.org/forum/general-discu...ip-sdk-28.html

Ok, I find it. I change lcd size, but I can't compile it, compiler gave to me error 1381... ЗАЕБАЛО!

flasher86 11th Mar 2011 3:52 am

I can send you SDK for 400x240 screen size resolution, which Knob and I were working on. It's buggy, it's not complete, but it compiles with no problems. I will put it here later in the evening or tomorrow when I have time.

DJ_Patron 11th Mar 2011 3:58 am

Quote:

Originally Posted by flasher86 (Post 288011)
I can send you SDK for 400x240 screen size resolution, which Knob and I were working on. It's buggy, it's not complete, but it compiles with no problems. I will put it here later in the evening or tomorrow when I have time.

Thank you very much! But my player have 480 x 272 screen size...

WIZARD 11th Mar 2011 9:47 am

Quote:

Originally Posted by DJ_Patron (Post 288012)
Thank you very much! But my player have 400 x 272 screen size...

So, you need to replace 400x240 with 400x272,
and maybe stretch some images to fill the screen.
I hope you succeed :rolleyes:

DJ_Patron 11th Mar 2011 9:59 am

Quote:

Originally Posted by WIZARD (Post 288015)
So, you need to replace 400x240 with 400x272,
and maybe stretch some images to fill the screen.
I hope you succeed :rolleyes:

When I'm try to compile any source of this emu, I have fail.:oops:
Compile please... With 480x272, I have a lot of errors, because I'm never have any task in VC++ and over programming before(sorry for bad English, I'm Russian:o)

DJ_Patron 11th Mar 2011 10:08 am

I need this emu, because I'm interesting in firmware graphics modding and language packs translating, but I don't want to lost my player)

DJ_Patron 18th Mar 2011 6:47 am

Quote:

Originally Posted by flasher86 (Post 288011)
I can send you SDK for 400x240 screen size resolution, which Knob and I were working on. It's buggy, it's not complete, but it compiles with no problems. I will put it here later in the evening or tomorrow when I have time.

Please, Flasher! I need it! 480x272 resolution. I'm wait for it);)

knob 31st Mar 2011 12:12 pm

Fixed the SDK Audio bug!
 
Had a play around with the SDK for Rk27xx
With a bit of help from the RK2705 datasheet and a very small change to
the Rockcodec the audio is now fine.
In HW_rockcodec.h
Quote:

//CGR
#define GAIN_INDEPENDENT (0x00<<6)//updated knob
#define GAIN_BYLEFT (0x02<<6)
#define GAIN_BYRIGHT (0x01<<6)
in HW_Rockcodec.c
Quote:

CodecCommandSet(CGR8, vol_out | GAIN_INDEPENDENT); // updated knob
CodecCommandSet(CGR1, (vol_in << 4) | vol_in); // set DAC input volume GODL and GODR
CodecCommandSet(CGR2, (vol_in + 4) | GAIN_BYLEFT); // set line1 input volume GOBL1 and GOBR1, CGR3 = CGR2
CodecCommandSet(CGR4, (vol_in + 4) | GAIN_BYLEFT); // set line2 input volume GOBL2 and GOBR2 CGR5 = CGR4
I was able to configure all my buttons if I choose the RK2700 chip configuration.

Hope this might help anyone still playing around with RK27xx players and the SDK.:mrgreen:

bromfun 31st Mar 2011 9:25 pm

SDK on RK2706b 480x272
 
I able to compile SDK with ADS but firmware dont start withou errors, but with warnings. Debug start normal but then use func FlashgetChip it go in neverending cycle like this

loop b loop., this funcion in fs_arm_lib.lib. And there is flash.c ?- this function in it....

I hear click on speaker, and white screen. can you help me to solve this in SDK. Reset not work, poweron key not work. Then connect USB i can see system partition... I cant understand there is problem,

player is Ramos T8 clone - Texet T-900 (V40T china model), touch screen 480x272, RK2706b

Sorry for my English, i am frm Russia

knob 20th Apr 2011 9:04 am

Mini_SDK
 
Here's a reduced size Rk27xx SDK for testing and stuff.
MEGAUPLOAD - The leading online storage and file delivery service

BMP0.BIN is only 3.2 meg
BASE.RKW is only 405k! :)

osmorphyus 30th Apr 2011 7:10 pm

will this firmware play back video files?

jasonmanchu 13th May 2011 10:39 pm

How do i use this sdk? is there a beginners guide somewhere? i would like to edit the functions of my mp4

jasonmanchu 15th May 2011 4:00 am

oh
 
I guess i'm not expecting much as responses have died out
for info i have a soaiy "I&I" Chinese mp3 SA-863 with rockchip 2705.

knob 15th May 2011 9:46 am

Quote:

Originally Posted by jasonmanchu (Post 288212)
How do i use this sdk? is there a beginners guide somewhere? i would like to edit the functions of my mp4

Hi Jason

First make a backup of your firmware using rkusb.tag and keep it safe.

Then download the UI editor here:-
Download

The file to edit and mod the UI pictures is BMP0.BIN
Good Luck!

jasonmanchu 22nd May 2011 1:52 am

Oh yeah i've already got that and stuff, the two editors, imagesearcher and RK27UIeditor and experimented with it. i'm talking about the SDK that i downloaded. http://www.megaupload.com/?d=0RT8XMBZ
How do u start using it or compiling or experimenting with it?

knob 22nd May 2011 10:56 am

You need to unpack it your C: drive and compile project rk27_baord.mcp with ADS v1.2
you might need to modify the screen driver for your player and the button arrangement.
What screen size is your player?

Arseniuss 22nd May 2011 4:30 pm

Hi everyone!

I last year bought MP3 player and now as a programmer want to reprogramm it. I see that youre creating a SDK for it. I have question which answers I cannot find there.

1. How do you access a mp3 player and rewrite its source code?
I havent learnt a microchip programming with USB but I know very well x86 assembly, C, C++, FPascal that why Im interested in reprogramming my player.

2. As I see youre using C code, do you have some compilers for MPx platform?

3. Are you using Windows or Linux?
For example Im usinng Linux as OS developer.


Also I have MP4 player with touchscreen and Rockchip 26xx.
Thanks a lot!

knob 25th May 2011 11:39 am

Hi Arseniuss

The SDK wasn't developed by us, but is modified leaked code.

For 26xx series rockchips you need FWtools 2.6.1.0:-
http://mympxplayer.org/pafiledb/imag...Screenshot.png

sorry it's windowsXP only
download here:-
Download

All rockchip working links:-
http://mympx.org/forum/general-discu...ing-links.html

Arseniuss 25th May 2011 12:50 pm

Thanks a lot!
I'll use Wine, Crossover or VirtualBox with Winxp to run that programms.

jasonmanchu 31st May 2011 4:38 pm

Quote:

Originally Posted by knob (Post 288249)
You need to unpack it your C: drive and compile project rk27_baord.mcp with ADS v1.2
you might need to modify the screen driver for your player and the button arrangement.
What screen size is your player?

320 x 240 , SA-863 mp4 with rockchip
website: soaiymp3.com

how do u get ADS v1.2

did some research, your response wasn't clear at all
ads is actually Arm Development Suite, which is now obslete!
Should i get RealView Development Suite (RVDS) which succeeded ARM Development Suite?

lonacen 2nd Jun 2011 4:48 am

Good day. Does anyone have this file RK2608_4G_DEMO Rockchip Micro firmware source code, the version, add text, pictures, aut SCM www.pudn.com Could you, please, upload it on any share?

jasonmanchu 8th Jun 2011 5:37 pm

i still have no better idea how to compile this sdk as i can't get ads

harmika 20th Oct 2011 8:02 am

Hi, everyone!
There was a question about disassembling the whole firmware for RK26, I need such a help.
I read a big junk of this topic...but I still do not have any information about extracting/disassembling the RFW. I want to repair (or mod) my player and it might be a good practice for me.
I own an Explay T7 (RK2608A) with touhpad (5 virtual buttons), sensor works very buggy and almost completely died (and also it annoying me). It has its own specific MCU with no datasheet (rather there is datasheet for a similar model with some information about the interface).
I have an idea to completely replace the touchpad interface by simple electrical switces with new MCU, so I need to understand how the touchpad works (for short, I want to specify codes which are accepted by RK2608A as buttons). Can anyone help me? Thanks and sorry if my question does not exactly match the topic :)

knob 4th Nov 2011 12:26 pm

Further Developments!
 
If anyone still has one of these rk27xx players and is still interested there is some more development with rk27xx players here:-

·*³öÄãµÄMP4,Ëý¾ÍÊÇÒ»¿ª·¢°å,Ò»ÆðRock°É!ÀûÓÃKeil MDK¿ª·¢Rockchip RK2706. Öйúµç×Ó¿ª·¢Íø(www.ourdev.cn)

:D
http://cache.ourdev.cn/bbs_upload546...5960CFZWIF.jpg

http://cache.ourdev.cn/bbs_upload546...5959IQ0HLA.jpg

http://cache.ourdev.cn/bbs_upload546...5953FJ9YCQ.jpg

http://cache.ourdev.cn/bbs_upload546...5963DNGOFV.jpg

pretty awesome stuff eh! I'll download and try some of this out myself when I get time. :roll:

Barracuda72 22nd Dec 2011 3:56 am

As soon as I know, there is an active development of porting Rockbox to rockchip:
Rockchip27xxPort < Main < Wiki
I've testet it on Ritmix RF-8800 (Russian clone of Ramos RM-970) and Ritmix RF-8900 (Russian clone of Hott MU763), and it works fairly well, but still some features not implemented

knob 24th Jan 2012 11:35 am

Песочница → Rockbox для всех --Rockbox for all! :)
 
http://kildekode.ru/sandbox/6440/Rockbox-dlya-vsekh.htm :)

Nice Barracuda, :) was the screen driver for the LCD touch screen the same?

Barracuda72 25th Jan 2012 11:53 pm

Quote:

Originally Posted by knob (Post 288957)
Rockbox :)

Nice Barracuda, :) was the screen driver for the LCD touch screen the same?

What exactly did you mean? :) If you are speaking about touchscreen driver, then I can't say anything - I broke touch on my 8900 and throw it away. If about Lcd driver - then yes, it's mostly the same, differences are in power-on command sequence and screen size. It seems to be very similar to ili9230, but has some extended commands

Barracuda72 15th Mar 2012 1:35 am

Quote:

Originally Posted by knob (Post 288074)
Had a play around with the SDK for Rk27xx
With a bit of help from the RK2705 datasheet and a very small change to
the Rockcodec the audio is now fine.
In HW_rockcodec.h

in HW_Rockcodec.c


I was able to configure all my buttons if I choose the RK2700 chip configuration.

Hope this might help anyone still playing around with RK27xx players and the SDK.:mrgreen:

Thank you for you effort =)
I've tried this, it works! But... The sound is MONO, not STEREO. And, OF uses vol_out | GAIN_BYLEFT, so it's is misconfiguration in other piece of code.
I'm working on this because for now it's only one problem that preserves me from using Rockbox on RK27XX - i've got FM, RTC, ADC buttons, etc working, but playback quality is low, and problem seems to be very similar - it exists on both my players (RF-8800 and RF-8900) and in both Rockbox and SDK builds. I've even tried to take some parts of code from newer TEXET T-900 SDK, but with no luck.

knob 24th Mar 2012 10:13 am

You are right, it is playing in mono! I don't use the old SDK anymore, Rockbox is
much easier to work with, the audio on my player is really perfect with Rockbox!

I now use Rockbox all the time. if you want to make themes I suggest building the Rockbox simulator
it works well and is easy to do.

I have another rk2706 player, from hacking the OF seems to be ILI9320 screen type, it's a touch screen clone of teclast M33.
http://mp4nation.net/blog/wp-content...0/dscn0047.jpg
I have put in all the screen setting but sadly the display does not work.

The data_transform setting I am not sure about.
The dump from OF is
ROM:6003D488 sub_6003D488 ; CODE XREF: sub_6003D4AC+4p
ROM:6003D488 ; sub_6003D4C0+4p
ROM:6003D488 AND R1, R0, #0x3F000
ROM:6003D48C MOV R1, R1,LSR#2
ROM:6003D490 AND R2, R0, #0xFC0
ROM:6003D494 MOV R2, R2,LSR#4
ROM:6003D498 MOV R0, R0,LSL#26
ROM:6003D49C MOV R0, R0,LSR#24 (shift left 2?)
ROM:6003D4A0 ADD R1, R1, R2
ROM:6003D4A4 ADD R0, R0, R1,LSL#8
ROM:6003D4A8 BX LR
ROM:6003D4A8 ; End of function sub_6003D488


Which I have translated in lcdif-rk27xx.c as

unsigned int lcd_data_transform(unsigned int data)
{
unsigned int r, g, b;

#if defined(M33)
/* 16 bit interface */
r = (data & 0x0003f000) >> 2;
g = (data & 0x00000fc0) >> 4;
b = (data & 0x0000001f) << 2;
#else
#error "Unknown target"
#endif
return (r | g | b);
}

This could be wrong I am not sure.

Barracuda72 26th Mar 2012 3:16 am

Quote:

Originally Posted by knob (Post 289042)
You are right, it is playing in mono! I don't use the old SDK anymore, Rockbox is
much easier to work with, the audio on my player is really perfect with Rockbox!

I now use Rockbox all the time. if you want to make themes I suggest building the Rockbox simulator
it works well and is easy to do.

I have another rk2706 player, from hacking the OF seems to be ILI9320 screen type, it's a touch screen clone of teclast M33.
http://mp4nation.net/blog/wp-content...0/dscn0047.jpg
I have put in all the screen setting but sadly the display does not work.

The data_transform setting I am not sure about.
The dump from OF is
ROM:6003D488 sub_6003D488 ; CODE XREF: sub_6003D4AC+4p
ROM:6003D488 ; sub_6003D4C0+4p
ROM:6003D488 AND R1, R0, #0x3F000
ROM:6003D48C MOV R1, R1,LSR#2
ROM:6003D490 AND R2, R0, #0xFC0
ROM:6003D494 MOV R2, R2,LSR#4
ROM:6003D498 MOV R0, R0,LSL#26
ROM:6003D49C MOV R0, R0,LSR#24 (shift left 2?)
ROM:6003D4A0 ADD R1, R1, R2
ROM:6003D4A4 ADD R0, R0, R1,LSL#8
ROM:6003D4A8 BX LR
ROM:6003D4A8 ; End of function sub_6003D488


Which I have translated in lcdif-rk27xx.c as

unsigned int lcd_data_transform(unsigned int data)
{
unsigned int r, g, b;

#if defined(M33)
/* 16 bit interface */
r = (data & 0x0003f000) >> 2;
g = (data & 0x00000fc0) >> 4;
b = (data & 0x0000001f) << 2;
#else
#error "Unknown target"
#endif
return (r | g | b);
}

This could be wrong I am not sure.

I've got ili9320 working (my one is 320x240), but i can't get normal audio =) It's mono in Rockbox on either rf-8800 and rf-8900, so I'm very disappointed... I've even implemented FM radio and RTC, but can't figure out why audio is still mono... Code seems to be step-by-step identical with OF and recommendations from RK27xx datasheet, but it's still mono, not stereo. I don't like mono =)

knob 26th Mar 2012 11:36 am

Quote:

I've got ili9320 working (my one is 320x240), but i can't get normal audio =) It's mono in Rockbox on either rf-8800 and rf-8900, so I'm very disappointed.
Strange, audio sounds fine for me using Rockbox, but I can't get audio to sound right using the SDK.

I can't get ili9320 LCD display working at all, my second player is 320x240 too,would you please you post your ili9320 changes to compare:?:

gvdgvdgvd 16th Apr 2012 7:34 am

flasher86 what you did with creating this FM radio is AMAZING! Please contonue the great work!
I hope you will make more cool stuff for your and ours Rockchips :)
Greetings from "G V D" :)

tp11 8th May 2012 3:16 am

Is there any guide on how to install Rockbox on rk27xx players? I can compile it but the installation process is still unclear to me.

bender73 31st Jul 2013 12:03 am

MAYDAY.
I need a file RK2606A_SDK_1.08_Release


All times are GMT -7. The time now is 7:34 am.

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