Re: Hooray!!! Rockchip SDK!
Good! I'll try this out, had no luck so far with ADS. :(
|
Re: Hooray!!! Rockchip SDK!
First of all, you need to copy project from RK225 folder,
then delete all files but leave the target. http://img408.imageshack.us/img408/2398/targetk.jpg Now I'll try to add the Snake source files... |
Re: Hooray!!! Rockchip SDK!
I've added Snake source code files to the project:
http://img155.imageshack.us/img155/6011/target.jpg But it failed to compile! Can't open two C source files... Log: http://encodable.com/uploaddemo/file...ip/Startup.lst EDIT: Tried with ADS v1.2. Added these 6 source code files, and get a lot of errors when compiling. http://img527.imageshack.us/img527/6011/target.jpg (There are some black lines because of several printscreens) Any ideas how to fix? :idea: |
The problem is just only with Startup.c , the compiler can't open or find the file, there is not much in the Startup.c could be worth trying to recreate it..
Compiled Startup.c ok.. now have Startup.obj. Quote:
btw removed the readonly attribute on all the cource files, I think it was causing the file not open problem! |
Re: Hooray!!! Rockchip SDK!
Quote:
I don't know much about Rockchip at all, but I'm very sure it uses ARM core, not 8051. The 8051 and Keil is for ALi M566x systems. |
Re: Hooray!!! Rockchip SDK!
yes, I think you are right Lolita, We are trying to cross-compile for the wrong target device, we need LSI zsp400.
I think Keil just happens to use 8051 by default. @WIZARD To make the correct resulting code work we must to add LSI zsp400 as the target device, otherwise the code will not run on a Rockchip device. OR we need to find a compiler that supports zsp400 as target device. However...rooman at wasm.ru Quote:
|
Found the string of code that unveils the Hidden Partition
Quote:
Referrers to Quote:
Was hoping to find an alternative method of unveiling it but it seems there isn't :( And I suppose there isn't a way to change the UsbTageFileName either :( Btw what it does it it changed the USBDiskMask setting in the config from 0x0007 to 0x0017 making the hidden partition mounted except of normal partition when connecting usb Doing this with this piece of code Quote:
|
Re: Hooray!!! Rockchip SDK!
Please look at the rooman's new post:
http://wasm.ru/forum/viewtopic.php?id=27246&p=5 Maybe we should try to ask Texet company (which is producing Rockchip-based players) if they can give us a compiled SDK. Also we can try to ask the Chinese developers how to compile their SDK. :mrgreen: Or... First of all, find out how to compile Snake, then RK225 (it's not a SDK, but a firmware for Ramos), and finally compile a Rockchip SDK! :P |
This should be able to compile snake!
http://www.ghs.com/news/220219l.html but it is not available to us.. Firmware would be more difficult to compile, for that we would need the Rockchip SDK. |
Re: Hooray!!! Rockchip SDK!
If we want to do something,
then we must have the clear plan! :idea: 1) Rockchip SDK - we need Visual Studio. It's too heavy to upload, so please go here: http://thepiratebay.org/torrent/3907...Edition-ZWTiSO I'll try to compile and tell you the results! 2) Rockchip firmware for Ramos & Snake. We need good ( :!: ) compiler to do it. Also we need to know is it ZSP or Actel (8051). Torrent for RealView v2.2: http://encodable.com/cgi-bin/filechu.../&file=123.zip Tried to find Green Hills without any luck! |
Re: Hooray!!! Rockchip SDK!
Quote:
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:
Update:- No they are not missing, just found them, just VC++ can't find them. :) cheers knob |
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! |
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?). |
Don't worry, I've PM'ed to him.
|
Re: Hooray!!! Rockchip SDK!
Quote:
I've already told that SDK's target is OS, firmware's - Rockchip, Snake's - Rockchip too. |
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 |
Re: Hooray!!! Rockchip SDK!
Sorry... :oops: :oops: :oops:
|
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++ :? |
Re: Hooray!!! Rockchip SDK!
which version of codewarrior did you use?!
|
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 |
Are you sure that name should be "rk27_baord.mcp"?
Maybe it should be "rk27_board.mcp". However, developers could not know English very well. So, there's a possibility that renaming it to board will destroy some links. |
Re: Hooray!!! Rockchip SDK!
Warning ! :shock: Do not fall from the chair !
I've cheated the Chinese developers ! :P Don't ask how ! :twisted: Now I have one of the most important parts of SDK - GDK for creating games ! 8) And a source code for "Russian Diamond" and even a "HowTo" presentation ! :P Screenshot: http://img111.imageshack.us/img111/4...eenshotnmb.jpg And here's an interesting video about compiling the SDK . . . :mrgreen: :arrow: http://www.mediafire.com/download.php?ddr2hjjnuno Now we must get or compile other parts of SDK. Such as FWTools, ImageConvert, RockchipEmulator, etc. I've noticed that at the one of presentation's picture there's a FWTools v2.6.1.0 Title. I've Googled and found something interesting: http://www.newman-cti.com.cn/bbs2/di...208033&page=20 But can't download, even after registration ! I've send a letter to this guy, hope he'll give it to us. |
Re: Hooray!!! Rockchip SDK!
:shock:
you are a WIZARD, I don't know how you manage to find this stuff, I've been looking for YEARS! thanks WIZARD I'm downloading it now. :wink: p.s. yes I DID fall off my chair!! update yes it works on the included tetris resources and the compiled tetris.out file. All we need to do is use a compiler to create the *.out file from the C sources and the GDK will do the rest and make a *.Rkp for us. |
Re: Hooray!!! Rockchip SDK!
Just found the Rockchip SDK for 26xx players :shock:
yaay!! download here:- http://www.mediafire.com/download.php?mwgonmnwmuz :) |
Re: Hooray!!! Rockchip SDK!
Please delete this extra post... :oops: :oops: :oops:
|
i tried to compile the rk270x_dll which seems to be an emulator but failed!
i tried it with Dev-c++ but it didnt work! some errors in source code and missing *.o files! (resolved the missing *.o files by just copying and renaming all the *.c files to *.o! will try it today again! |
Re: Hooray!!! Rockchip SDK!
WOW! :shock:
AWESOME! :shock: Thanks, Knob ! :P |
Спасибо! rooman!
|
Re: Hooray!!! Rockchip SDK!
Спасибо, Rooman ! :wink: I've included SDK_LIC into the archive.
:!: UPDATE: New SDK archive - now it has Rockchip Documents included ! I'll change the link right now. If you've already downloaded the older version and have Rockchip Documents, then you don't need the newest version. @Benjy You're doing the great work ! Yes, now we can develop applications, but with Rockchip Emulator we'll be able to do it faster ! I know that a huge number of Plug/Unplug cycles for checking the compiled file can damage your player and/or USB cable. |
Re: Hooray!!! Rockchip SDK!
We now have all the tools we need for 26xx series players. my dreams have come true!
I have compiled the snake game with the FWTools, produced snake.out and created a .rkp with the Rock GDK. We now have all we need to make Rockchip games and applications. :) Need to now create a working Rockchip firmware for 26xx player. :wink: |
Re: Hooray!!! Rockchip SDK!
Please don't spend too much time for creating the new games :!:
Our mission is to create some great applications, such as PDF-Reader, Multimedia-Player (I hate converting), etc. :P Remember that a SegaEmulator will allow us to launch a thousands of already created games, so it's more logical to create the console emulator instead of new games. :idea: |
Re: Hooray!!! Rockchip SDK!
I Compiled the snake game and it worked fine on my player!
The play area is too small (128x160), my version of snake was 176x220. My screen size is 320x220. I will now make a snake version 320x220 to run full screen on my player. Then I will use it as a template for other games. Snake is good to use because it has all the features of most games. :wink: |
is it possible to 'unpack' a firmware of a player and get the source files from it?!
|
Re: Hooray!!! Rockchip SDK!
I'm not sure. We don't have the FULL sdk, must get other parts.
Have any luck with Emulator? It's very important tool, which will help us to make the development process faster, without any risk, and without plugging/unplugging cycles (which could damage the USB cable) |
Quote:
|
just slightly off topic but relevant to programming operating systems on mp4 players
there are currently several projects on the go for adaspting linux to run on ingenics based players with some success, there is a vid on a vx747 booting linux up and another project to get linux on the vx777 i know this is about rockchip but to me this is a very difficult task but the ingenics based players are easier to deal with and once a full os is up and running the possibilities are endless anyway just thought i would throw this in for any of you programmers that may be interested some info and more links here http://www.mp4nation.net/forum/viewt...hp?f=6&t=10828 |
Remade the snake game for 320x240 screens and included a game icon. A lot better when it fills the full screen.
download here:- http://www.megaupload.com/?d=VNKPIJ1M @makd Quote:
I am mostly interested in the .rkp format 'cos you don't need to worry so much about screen/hardware compatability and I still got one of these players that works! of course you are limited by what you can do with a rk2608 player. |
Maybe you're right, and we should train on games
before creating applications or porting Linux for Rockchip. From easy to hard! :P Also we need Emulator. :roll: Thanks for the big snake and source code! :wink: It's working! I'll try to rotate the screen, change the resolution and increase the field. |
Re: Hooray!!! Rockchip SDK!
Hey guys!
I've done some research about one rk2607 player I have (link). It's indeed an dual core solution - ARM7EJ-S main processor (according to firmware sources - up to 270MHz, but it's not a limit for hacking) and a ZSP400 architecture DSP. What I've found that in /appdata folder in hidden partition there is a file named "base.rkw", which contains ARM code. If I delete that file, the player doesn't boot up. So it definitely contains a program that gets executed right after boot up (player doesn't do any initializations of any devices (for example, screen) without that file).The only information which is needed for hacking, where and how exactly does base.rkw run. The beginning of disassemble of base.rkw looks like a interrupt vector table, therefore it's possible that it's just loaded to the beginning of RAM and all interrupts are headed there. Anyway, it's not a hard task to place a custom bootloader that configures processor in our way instead of base.rkw. So I think it's green light to port ucLinux into rk2607 as all device drivers are already written in the code that came with SDK. P.S. Other rk2607 (un)features that should be mentioned: no MMU (only ucLinux can be ran, definitely no X11) USB host no RTC |
Re: Hooray!!! Rockchip SDK!
hi exec
I had a look at base.rkw on 2706 players too. I found that even if you do a small change to base.rkw the player doesn't boot up, even if you only change a text string. base.rkw is checked or signed somewhere by the system. But now we have the SDK we should be able to make changes to base.rkw to change functionality if we want. @WIZARD I have compiled the 2606 firmware and it boots up on my 2" rockchip player, the screen is flickering, but it works. Noticed that there are lots of extra sources for screen types to test out, so I'm thinking about creating a special diagnostic firmware, because most Rockchip problems are screen problems :wink: |
| 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