myMPX
Advertisement



Hooray!!! Rockchip SDK!
Like Tree1Likes
Reply
Post New Thread
 
LinkBack Thread Tools
  #41 (permalink)  
Old 28th Feb 2009, 11:44 am
knob's Avatar
Senior Member
Valued Member
 
Join Date: May 2007
Posts: 1,285
Default Re: Hooray!!! Rockchip SDK!


Good! I'll try this out, had no luck so far with ADS.
Reply With Quote
  #42 (permalink)  
Old 28th Feb 2009, 1:38 pm
WIZARD's Avatar
Senior Member
MPx Junkie
 
Join Date: Mar 2008
Posts: 300
Default 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...
__________________
Heroes of Might and Magic V - The Best Game In The World !
Try to play !
Reply With Quote
  #43 (permalink)  
Old 28th Feb 2009, 2:13 pm
WIZARD's Avatar
Senior Member
MPx Junkie
 
Join Date: Mar 2008
Posts: 300
Default 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:
__________________
Heroes of Might and Magic V - The Best Game In The World !
Try to play !
Reply With Quote
  #44 (permalink)  
Old 28th Feb 2009, 2:48 pm
knob's Avatar
Senior Member
Valued Member
 
Join Date: May 2007
Posts: 1,285
Default

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:
C51 COMPILER V8.12 STARTUP 02/28/2009 23:01:30 PAGE 1


C51 COMPILER V8.12, COMPILATION OF MODULE STARTUP
OBJECT MODULE PLACED IN Startup.obj
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE Game\Startup.c BROWSE DEBUG OBJECTEXTEND PRINT(.\Startup.lst) OBJECT(Startu
-p.obj)

line level source

1 /************************************************** *************************
2 File Name:
3 Startup.c
4 Description:
5 Snake game start up display
6 Author:
7 Kevin
8 Date:
9 2006-11-22
10 ************************************************** *************************/
11


MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = ---- ----
CONSTANT SIZE = ---- ----
XDATA SIZE = ---- ----
PDATA SIZE = ---- ----
DATA SIZE = ---- ----
IDATA SIZE = ---- ----
BIT SIZE = ---- ----
END OF MODULE INFORMATION.


C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)
Now Snake.c has lots of syntax errors, need to check the code in Snake.c
btw removed the readonly attribute on all the cource files, I think it was causing the file not open problem!
__________________
-----------------------------------------------------------------------------------------------------------
Reply With Quote
  #45 (permalink)  
Old 28th Feb 2009, 11:33 pm
Senior Member
Valued Member
 
Join Date: Aug 2007
Posts: 1,240
Default Re: Hooray!!! Rockchip SDK!

Quote:
Originally Posted by WIZARD";p=&quot View Post
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...
NO! You're doing it wrong!

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.
__________________
I am no longer affiliated with Actions Semiconductor Co. Ltd. Do not ask me for firmware.
Reply With Quote
  #46 (permalink)  
Old 1st Mar 2009, 12:04 am
knob's Avatar
Senior Member
Valued Member
 
Join Date: May 2007
Posts: 1,285
Default 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:
compiler requires it c51
Play Rockchip_Prj.Uv2 have lines
Code:
Options 1,0,0 / / Target 'RockChip'
Device (Core8051)
Vendor (Actel)

This points to the fact that the processor-based Actel (I хз it), the program has a base Keil uVision percent. And apparently Keil uVision determines which compiler to use.
Reply With Quote
  #47 (permalink)  
Old 1st Mar 2009, 11:17 am
Hit Hit is offline
Member
I love my MPx player
 
Join Date: Sep 2006
Posts: 86
Default

Found the string of code that unveils the Hidden Partition

Quote:
void UsbPowonInit(void)
{
MY_FILE *usbTagFile;

//071213,HUANGSL,CHECK OPEN C:,BEFORE UsbBlkInitialize
usbTagFile = FSFileOpen(gpSysConfig->UsbTageFileName , "rb");
if (usbTagFile != NULL)
{
gpSysConfig->UsbDiskMask |= (0x0001 << 1);
FSFileClose(usbTagFile);
}

UsbConnected = 0;
Intr_RegISR(INTC_UDC, UDC_ISR);
UsbBlkInitialize();

USB_PHY_RST();
SOFT_CONNECT();
//UsbVbusIsr();

}
"gpSysConfig->UsbTageFileName"
Referrers to
Quote:
"D:\\Rkusb.Tag", //3UsbTageFileName
Apparently "D:\\Rkusb.Tag" is changed in my player, therefor I can't unlock hidden partition
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:
if (gpSysConfig->UsbDiskMask & (0x0001 << 2))
{
gUsbMscDevice[ii].IoCtrl = FlashUserIoCtrl;
gUsbMscDevice[ii].ReadData = FlashUserReadSector;
gUsbMscDevice[ii].WriteData = FlashUserWriteSector;
ii++;
}
Reply With Quote
Sponsored Links
  #48 (permalink)  
Old 1st Mar 2009, 12:16 pm
WIZARD's Avatar
Senior Member
MPx Junkie
 
Join Date: Mar 2008
Posts: 300
Default 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
__________________
Heroes of Might and Magic V - The Best Game In The World !
Try to play !
Reply With Quote
  #49 (permalink)  
Old 1st Mar 2009, 12:29 pm
knob's Avatar
Senior Member
Valued Member
 
Join Date: May 2007
Posts: 1,285
Default

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.
__________________
-----------------------------------------------------------------------------------------------------------
Reply With Quote
  #50 (permalink)  
Old 2nd Mar 2009, 5:45 am
WIZARD's Avatar
Senior Member
MPx Junkie
 
Join Date: Mar 2008
Posts: 300
Default 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!
__________________
Heroes of Might and Magic V - The Best Game In The World !
Try to play !
Reply With Quote
Reply

Sponsored Links

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
NEW rockchip player (Rockchip RK27xx series) availability knob General Discussion 38 12th Nov 2008 10:47 am
Rockchip Editor: for Rockchip 27xx ALP1987 Support and How To 6 17th Oct 2008 5:25 pm


All times are GMT -7. The time now is 4:18 pm.


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

Designed by indiqo.media