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)

knob 2nd Mar 2009 11:58 am

Re: Hooray!!! Rockchip SDK!
 
Quote:

Originally Posted by benny said";p=&quot (Post 58412)
Hi @all
After 2 Weeks of playing with the RKP-Game-Disassembler i had now
enough information to made my first RKP-Assembler (BETA-Version).
Includes a Documentation and a sample-program (Data-Viewer) and
some RKP-Game-Files. Actually it's all Assembler (LSI ZSP400 Instruc-
tions). My next steps: C64-Emulator, Calculator, Basic-Compiler,
PDF-Viewer, Database
http://www.file-upload.net/download-...r_v01.zip.html
Enjoy
Regards
Benny

yes it is ZSP400 instructions, you are right the emulator for RK2706 chips needs compiling with Visual c++. I have Visual C++ 6.0 so I will try to compile the emulator for RK27xx chips too, But I don't think this will help us with rK2608 players, we need a cross compiler for ZSP400 to do anything with the source code. :(

btw WIZARD, don't bother posting any more t*rrent links, most members know where to look, better to PM a link if anyone asks, if you know what I mean. :wink:

This is what I get when I try to compile the emulator in VC++
Quote:

--------------------Configuration: RockEmu - Win32 Debug--------------------
Compiling...
allCGlobals.c
h:\rockchip developer package\rk27sdk_0722\ide\rk27dll\src\allcglobals.c (37) : fatal error C1083: Cannot open include file: '..\..\system\sysGlobal.c': No such file or directory
allCSource.c
H:\Rockchip Developer Package\RK27SDK_0722\Ide\Rk27Dll\src\allCSource.c( 37) : fatal error C1083: Cannot open include file: 'include.h': No such file or directory
armReg.c
H:\Rockchip Developer Package\RK27SDK_0722\Ide\Rk27Dll\src\Lib\Register\ armReg.c(5) : fatal error C1083: Cannot open include file: 'include.h': No such file or directory
iGlobals.c
H:\Rockchip Developer Package\RK27SDK_0722\Ide\Rk27Dll\src\iGlobals.c(4) : fatal error C1083: Cannot open include file: 'bool.h': No such file or directory
iSource.c
H:\Rockchip Developer Package\RK27SDK_0722\Ide\Rk27Dll\src\iSource.c(6) : fatal error C1083: Cannot open include file: 'bool.h': No such file or directory
pcCore.cpp
h:\rockchip developer package\rk27sdk_0722\ide\rk27dll\src\pccore\pccore .cpp(7) : fatal error C1083: Cannot open include file: 'bool.h': No such file or directory
pcdata.c
H:\Rockchip Developer Package\RK27SDK_0722\Ide\Rk27Dll\src\Lib\periphera l\pcdata.c(6) : fatal error C1083: Cannot open include file: 'include.h': No such file or directory
pcgpio.c
H:\Rockchip Developer Package\RK27SDK_0722\Ide\Rk27Dll\src\Lib\periphera l\pcgpio.c(6) : fatal error C1083: Cannot open include file: 'include.h': No such file or directory
pcinterrupt.c
H:\Rockchip Developer Package\RK27SDK_0722\Ide\Rk27Dll\src\Lib\periphera l\pcinterrupt.c(7) : fatal error C1083: Cannot open include file: 'include.h': No such file or directory
pckey.c
H:\Rockchip Developer Package\RK27SDK_0722\Ide\Rk27Dll\src\Lib\periphera l\pckey.c(6) : fatal error C1083: Cannot open include file: 'include.h': No such file or directory
pclcd.c
H:\Rockchip Developer Package\RK27SDK_0722\Ide\Rk27Dll\src\Lib\periphera l\pclcd.c(6) : fatal error C1083: Cannot open include file: 'include.h': No such file or directory
pctimer.c
H:\Rockchip Developer Package\RK27SDK_0722\Ide\Rk27Dll\src\Lib\periphera l\pctimer.c(6) : fatal error C1083: Cannot open include file: 'include.h': No such file or directory
pctouch.c
H:\Rockchip Developer Package\RK27SDK_0722\Ide\Rk27Dll\src\Lib\periphera l\pctouch.c(11) : fatal error C1083: Cannot open include file: 'include.h': No such file or directory
readsector.cpp
h:\rockchip developer package\rk27sdk_0722\ide\rk27dll\src\pccore\readse ctor.cpp(120) : error C2146: syntax error : missing ';' before identifier 'FlashUFatCache'
h:\rockchip developer package\rk27sdk_0722\ide\rk27dll\src\pccore\readse ctor.cpp(120) : fatal error C1004: unexpected end of file found
rk27dll.cpp
h:\rockchip developer package\rk27sdk_0722\ide\rk27dll\rk27dll.cpp(5) : fatal error C1083: Cannot open include file: 'include.h': No such file or directory
sound.cpp
c:\program files\microsoft visual studio\vc98\include\mmsystem.h(113) : error C2146: syntax error : missing ';' before identifier 'MMVERSION'
c:\program files\microsoft visual studio\vc98\include\mmsystem.h(113) : fatal error C1004: unexpected end of file found
zspReg.c
h:\rockchip developer package\rk27sdk_0722\ide\rk27dll\src\lib\register\ zspreg.c(5) : fatal error C1083: Cannot open include file: '..\stdafx.h': No such file or directory
Error executing cl.exe.

RockEmu.exe - 19 error(s), 0 warning(s)
Seems like some source files are missing. :(
Update:-
No they are not missing, just found them, just VC++ can't find them. :)

cheers knob

WIZARD 2nd Mar 2009 12:26 pm

Re: Hooray!!! Rockchip SDK!
 
We have a lot of Rockchip Documents,
and some of them including the information
how to compile something like Rockchip Emulator
(I've posted a printscreen earlier, to demonstrate.)

Please wait, I'm downloading Visual right now.

P.S. Most of links you can get with ease.
But some of them (like links to developer's tools or other unpopular thing) very hard to get! Googling for 1-2 hours...

But at the moment we have all compilers that we need.
So, no more torrents!

AleMaxx 2nd Mar 2009 1:14 pm

Hi folks, thats indeed great news. I downloaded the SDK and it seems to me like the RK225_Dict is indeed for the RK260x (since there is 8051 asm in it or maybe sth else but definetley not arm asm). Im currently trying to compile the RK27SDK folder under linux with "arm-elf-gcc" toolchain and its really annoying since the include files are spelled sometimes lower sometimes partly with uppercase letters which is not acceptable under linux (and of course backslashes instead of slashes). I also have VC Express 200X installed but currently I dont see where the emu is. If you have the emu up and running be sure to post it here plz.

Regards Ale

Btw, do you have Codewarrior installed or how do you compile the Emulator? Or do you have VC++ project files for it? I only have VC++ project files for the rk27.dll and the Codewarrior project file .mcp for the rk27_board (probably the emulator?).

WIZARD 3rd Mar 2009 5:43 am

Don't worry, I've PM'ed to him.

WIZARD 3rd Mar 2009 5:47 am

Re: Hooray!!! Rockchip SDK!
 
Quote:

Originally Posted by knob";p=&quot (Post 58421)
yes it is ZSP400 instructions, you are right the emulator for RK2706 chips needs compiling with Visual c++. I have Visual C++ 6.0 so I will try to compile the emulator for RK27xx chips too, But I don't think this will help us with rK2608 players, we need a cross compiler for ZSP400 to do anything with the source code. :(

In that case compilation target is OS.
I've already told that SDK's target is OS,
firmware's - Rockchip, Snake's - Rockchip too.

WIZARD 3rd Mar 2009 8:03 am

Re: Hooray!!! Rockchip SDK!
 
I've found out something interesting... :P
Compare:
1) Picture from the Rockchip Document:
http://img217.imageshack.us/img217/7370/example1.jpg
2) Printscreen from the file:
http://img164.imageshack.us/img164/7941/example2.jpg
That means that don't want to compile
only because some files are empty.
We must add these strings manually. 8)

P.S. Please don't just silently try to compile,
without sharing your experience.
It's a big work not for one man.
Let's do it together! :P

WIZARD 3rd Mar 2009 8:14 am

Re: Hooray!!! Rockchip SDK!
 
Sorry... :oops: :oops: :oops:

knob 3rd Mar 2009 12:49 pm

Re: Hooray!!! Rockchip SDK!
 
I got it to compile with Code Warrior, :) loaded the "rk27_baord.mcp" project file. was lots of errors, and had to recreate a missing debug.c debug.h (just used empty text files). and commented out all the error lines in the source, but now it compiles a new RK27xx firmware, produced BASE.RKW and RK27SDK.RKW without the bmps.

Was loads of warnings though, and the bmps not being loaded in, but it did compile, so we have a method of creating Rk27xx firmware, just needs a lot more work. :x

e.g. wrong path to bmps, should be "C:\RK27SDK__NEW\Resource\input\bmp\RK2701" + some chinese folder names referenced in file "rk$$27_TF0088.txt" need editing.

btw removed references to TR (for translation) and ASSERT(for debugging) in the source code, to get it to compile.

So "rk27_baord.mcp" project file is for creating a new RK27xx firmware.

Not able to compile the emulator yet, think it needs vc++ :?

Benjy 4th Mar 2009 7:05 am

Re: Hooray!!! Rockchip SDK!
 
which version of codewarrior did you use?!

knob 4th Mar 2009 10:59 am

Re: Hooray!!! Rockchip SDK!
 
It was version 1.2, it's quite old the date on the about box is 2001! :shock:

I suspect if you were to use a newer version you would have better results.

I am going to try to get the bmps compiled into the firmware, but the folders need renaming from chinese.

Also if you try to compile the compiler expects the folder path and
naming to look like this:- C:\RK27SDK_NEW\Resource\input\bmp\RK2701

note the main folder needs to be renamed to RK27SDK_NEW


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