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 12th Nov 2009 4:11 am

Answers
 
Quote:

Originally Posted by photon40 (Post 284057)
1) I have a player with 2608a chip, can I develop for it?

Yes.
Quote:

Originally Posted by photon40 (Post 284057)
2) I am more into modifying the firmware (at least the main menu) as well as developing new applications/games. Is that possible?

Yes.
Quote:

Originally Posted by photon40 (Post 284057)
3) What compiler should I use? Can GCC for ARM do it?

I'm not sure if you can do it with GCC.
Quote:

Originally Posted by photon40 (Post 284057)
4) In what page, in this thread, should I start reading (47 pages are too much to follow)

Chapter I: "Looking for the SDK" - 1-6 pages
Chapter II: "First steps" - 7-17 pages
Read chapters I & II only if you're really interested in how we got those awesome tools and figure out how to use them.
Chapter III: "We're developers" 18-48 pages
Yes, it's long, but contains a lot of useful information.
I think it will not take more than 20 minutes to run through it.
Quote:

Originally Posted by photon40 (Post 284057)
5) Any instructions on how to compile and build games?

First of all, read the "Introduction of developing game for Rockchips 260X series" (it's inside the Rockchip SDK archive)
Write the source code using a C compilator, like Microsoft Visual Studio 2008 (use torrents)
Then install the FWTools v2.6.10 (ReadMe.txt) and generate some output files.
Install the Rockchip GDK, choose the settings and select your generated files from the previous step,
and hit the "Link" button to create the .rkp file.
Quote:

Originally Posted by photon40 (Post 284057)
6) Any instructions on how to compile/build the firmware? I know there is a custom firmware around , where can I get it.

Read the Chapter III.

If you have more questions or need a more detailed explanation, I'd be glad to help.

Good luck. :rolleyes:

photon40 12th Nov 2009 12:05 pm

Thanks for the help.

I still have doubts before go ahead and write something to test on my player:

1) My player does not have a game menu. How can I run .rkp files? The player is based on rk2608a
2) How can I backup my player firmware? I tried the rkusb.tag trick but it did not work for me. Any help?
3) Where can I get the community firmware (binary and source)? Will it work for my player?

flasher86 12th Nov 2009 1:59 pm

rkusb.tag is a trick only for Rockchip 27xx, not for 26xx. If you don't have a backup FW you may kill your player forever. There is a risk that compiled SDK source won't work on your player and you'll be in trouble. Most often there are incompatibilities with screen driver but this can be easily repaired. But some players have very unique keyboard chips or touchpads and it will be hard. I have RK2606 player with touchpad, and after many trails I ran SDK on this player, but touchpad was dead and I still have no driver for it, though I have a working backup so I was able to experiment and return into my original FW.

As far as I know, there is no way to backup your current FW from the player, so if you bought a noname RK2608 player with no FW included, I have bad news for you.

The best I can recommend you is to search through the internet and find whether there is a company which sales exactly the same player as yours (I mean clone), and there are pretty good chance that the FW they provide will work for you as a backup. Nevertheless there is still a huge risk.

BTW. If you don't have game menu, you wont run any RKP files, they requires a new Firmware. Sorry.

photon40 13th Nov 2009 9:52 am

Thanks AleMaxx.

Is the only problem of using the community FW the LCD configuration? I can try all the configurations the matches my 2.8" LCD. I believe one will work.

TopoX84 18th Nov 2009 8:53 am

hi guys,

did anyone compiled the SDK with VB yet?

when i try do to so i get this error:

c:\rk27sdk_new\system\os\timer\slist.h(36) : error C2011: '_SINGLE_LIST_ENTRY' : 'struct' type redefinition
1> c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h(857) : see declaration of '_SINGLE_LIST_ENTRY'

I still dont understand the reason why is giving me that...
can anyone let me know :)

Thank you,

ps - great progress guys... took me 2 days to read all the thread replies lol

WIZARD 18th Nov 2009 10:29 am

Please read this topic:

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

There are a lot of download links for you. :rolleyes:

knob 18th Nov 2009 11:27 am

Quote:

Originally Posted by TopoX84 (Post 284122)
hi guys,

did anyone compiled the SDK with VB yet?

I still dont understand the reason why is giving me that...
can anyone let me know :)

The code is in c++. You will need ADS to compile it, you can't compile it with VB.
There is a download for ADS somewhere, might taken another 2 days to find it! lol

TopoX84 18th Nov 2009 12:31 pm

Quote:

Originally Posted by knob (Post 284125)
The code is in c++. You will need ADS to compile it, you can't compile it with VB.
There is a download for ADS somewhere, might taken another 2 days to find it! lol


well this is what i have as of now :)
http://img257.imageshack.us/img257/5807/sdktools.jpg

thank you, i was a little confused on how to compile the code...

knob 18th Nov 2009 12:51 pm

Good you already have ADS1.2
Install ADS.

Go to C:\rk27sdk_new\Ide\Rk27_board and load rk27_baord.mcp into ADS.
Then hit Project\Make to build it. you will find some errors at first.

Here is my build which should compile fully :- http://www.sendspace.com/file/fjfwpa

TopoX84 18th Nov 2009 5:38 pm

Quote:

Originally Posted by knob (Post 284127)
Good you already have ADS1.2
Install ADS.

Go to C:\rk27sdk_new\Ide\Rk27_board and load rk27_baord.mcp into ADS.
Then hit Project\Make to build it. you will find some errors at first.

Here is my build which should compile fully :- Download rk27sdk_new.rar from Sendspace.com - send big files the easy way


any idea on how to get rid of the errors ?


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