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)

Barracuda72 14th Aug 2010 3:25 am

Hm... In my case, sound is normal, but not so loud as in original firmware (about 50%) and with "hr-hr-hr" instead of Basses. And if I try to play *.ogg file, it plays, but then screen is off (by timeout), player hangs up and does not response on keypress or touch, only reset helps.:(
Maybe we can patch file browser to associate, for example, *.pdf with reader? (again, it's not my idea, it's already implemented for siemens). Single elf (daemon) will handle such associations.
I think we don't need special library for pictures (pnglib) and patch for writing strings that elfloader on Siemens has, but at my opinion would be nice if we will have icons in toolbar. By default, in toolbar only clock and battery, and most place is empty

Barracuda72 14th Aug 2010 3:31 am

flasher86, I'm slow :) You guessed that I want to suggest :)

ludovic 14th Aug 2010 3:02 pm

Hey,

I have a archos 43vision

This player - clone of Ramos T8 - has the following characteristics:
Screen

10.1 cm 4.3 inch, TFT, Touch Screen, 16:9, WQVGA screen
Chip

RK2706 chip
Resolution

480 × 272 pixels
Memory

8 GB flash + micro SD card slot
Music

MP3, FLAC, WMA, APE, WAV s
Videos

RM / RMVB, FLV, AVI s
Photos

JPG, BMP, PNG
Other

Text Files
Batteriey

1500mAh Li-ion y
Autonomy

15 Hours
Connectivity

USB2.0/Sortie TV (cable not included)

His chip RK2706 you will - if the mood takes you - to modify the interface of your player!

firmware I have is this one:

http://translate.google.fr/translate...s-43-vision%2F

there are a lot of bug: stop the aircraft in full viewing, listening to music etc. ...

it is an img file that you can decompress with sudo mount-o loop ~ / Bureau/Archos43.img ~ / Desktop / iso

I wonder if I use another firmware than my mp3/mp4 is what will work.

and I would like to know how to do to create its firmware (more precisely, have the doc's most comprehensive study of RK2706B for source code) because I want to get into programming.

Thanks

Barracuda72 15th Aug 2010 1:20 am

If you want your own firmware, you can compile rk27sdk. Try to find in this theme link to Deposit's folder that contains all documents and sources. You can download my package, there is working touchpad, but I think you need to disassemble you firmware and find function HWGetPixelPoint

ludovic 15th Aug 2010 12:52 pm

where find all documents and sources of RK2706B?

Thanks

Barracuda72 15th Aug 2010 1:10 pm

Deposit Files
Download ALL.
Not only for 2706B, for all rk26 and rk27

flasher86 28th Aug 2010 6:10 am

Hey Baracuda, how is the progress?

ludovic 30th Aug 2010 12:12 pm

I found a OS that fits on a floppy and programmed in assembler: http://www.menuetos.net/,
I thought that since the 2706 Rockchip uses the assembler. MenuetOS changing, we could use it to mpx player

AleMaxx 30th Aug 2010 1:36 pm

Hi ludovic, the big problem is that assembler language isn't portable. As the rk26xx uses an 8051+dsp combo ucos/freertos may be an alternative.

ludovic 2nd Sep 2010 12:08 pm

in the folder Rockchip games_apps there are games and applications how to integrate them for the RK2706?

and how disassemble my firmware

because i have a file Archos43.img and in the file .img I have 4 folders APPDATA, RESOURCE.SYSTEM ,SYSTEM00 and 3 files RK27BOOT.BIN, RK28IMG.CHK, VERSION.BIN

flasher86 2nd Sep 2010 12:13 pm

To disassemble your firmware use IDA DISASSEMBLER PRO

How to integrate games and apps? I think this whole topic is all about that - no resolved yet.

ludovic 2nd Sep 2010 1:32 pm

is what the free version of IDA Pro Disassembler is valid for the RK2706 or is there another program?

Barracuda72 3rd Sep 2010 3:53 am

flasher86, I have no time now:( University, mother, girlfriend, troubles with apartment's (maybe "habitation"? Don't know english well)... Will try next month, maybe. I'm very sad about:(

ludovic 3rd Sep 2010 10:51 am

system information for my Archos 43 vision

manufacturer: ARCHOS
Product name:Archos43
Major version : ID 1.10
Hardware ID : 081101
Local memory:
Memory card:

flasher86 3rd Sep 2010 11:33 am

use crack and get over those legal bullshit - regarding IDA Disassembler Pro. Legal ways are perhaps necessary for public projects, but if you want to do something in your home to your player, just do it. There is no better disassembler than IDA, it's author was genius!

Barracuda, I understand. I also have very limited time. Currently I am working on an assigned software development project, so I have to put maximum effort on it.

ludovic 4th Sep 2010 6:22 am

when I extracted the file Archos43.img. I got 4 folders: appdata, resource, system, system00, and 3 files: rk27boot.bin, rk28img.chk, version.bin.

Then with rk27uieditor2.exe I looked at my file bmp0.bin. And I saw that there were images of games, icons and SMS, NES, GB, which corresponds to 3 emulators.

my firmware is here: http://www.archos.com/support/downlo...0/Archos43.img

I would like to know how to disassemble for changing my firmware.

ludovic 4th Sep 2010 12:13 pm

AleMaxx, my mp4 have a RK2706 chipset but not a rk26xx uses an 8051+dsp.

AleMaxx 5th Sep 2010 1:55 am

I see, Ive myself got a rk2706 player. This .img file you linked to in your post is a FAT image, if you mount it you should see something like this:
Code:

/:
appdata  resource  rk27boot.bin  rk28img.chk  system  system00  version.bin

/appdata:
pytable.bin

/resource:
bid  font  language  sid

/resource/bid:
bmp0.bin

/resource/font:
ft12.bin  ft16.bin  ft24.bin  ft32.bin

/resource/language:
chinese  codepage  english

/resource/language/chinese:
gbk2u.bin  ouft12.bin  ouft16.bin  ouft24.bin  ouft32.bin  ouft36.bin  u2gb.bin

/resource/language/codepage:
cp1250.bin  cp1253.bin  cp1256.bin  cp863.bin  cp932.bin  cp950.bin
cp1251.bin  cp1254.bin  cp1257.bin  cp865.bin  cp936.bin
cp1252.bin  cp1255.bin  cp437.bin  cp874.bin  cp949.bin

/language/english:
cwidth12.bin  cwidth24.bin  ouft12.bin  ouft24.bin  ouft36.bin
cwidth16.bin  cwidth32.bin  ouft16.bin  ouft32.bin

/resource/sid:
stringid.bin

/system:
base.rkw      jpgenc.bfw    rk_h263.bin  rk_mpeg2.out  rock_flv.bin  zzzz.rkz
div3_tab.bin  realobj.bin  rk_mjpg.out  rk_mpeg4.out  save.bin
dvenc.bfw    register.dat  rk_mp4v.bin  rk_wmv2.bin  wmv2_tab.bin
jpg.bfw      rk_divx3.out  rk_mpeg0.out  rk_wmv3.bin  wmv3_tab.bin

/system00:
base.rkw      realobj.bin  rk_mjpg.out  rk_wmv2.bin  wmv3_tab.bin
div3_tab.bin  regcmm.dat    rk_mp4v.bin  rk_wmv3.bin  zzzz.rkz
dvenc.bfw    register.dat  rk_mpeg0.out  rock_flv.bin
jpg.bfw      rk_divx3.out  rk_mpeg2.out  Save.bin
jpgenc.bfw    rk_h263.bin  rk_mpeg4.out  wmv2_tab.bin

where "system/base.rkw" is the firmware. I've heard somewhere that this "new-style" firmware cannot be modded but I haven't tried this myself.
Also somebody mentioned to me that the free version of IDA doesn't contain ARM support (rk2706 main processor is an ARM, the DSP is a zsp500) but the demo version should work (Hex-Rays IDA Page : Interactive Disassembler download page). To load the base.rkw into ida, open the file, choose ARM as the processor type
http://i52.tinypic.com/29p6vd1.png
and 0x5fffffd4" as the loading address.
http://i55.tinypic.com/29qfatf.png
then goto address 0x60000000 and hit "c". For further info you may read this: "http://alemaxx.al.funpic.de./rk27/rkwfwpatch.html

Good luck

Barracuda72 6th Sep 2010 8:10 pm

I suggest processor type arm710 - because rk27 has arm7.
In my archive uploaded below is fully disassembled firmware from my player. Try it, if you want. But it is in Ida 4.9 format, I dislike Ida 5. And on Internet, you can easy find cracked Ida Pro 4.9 ~50 Mb.

Barracuda72 24th Oct 2010 6:55 am

Elfpack creator's released new version 3.0 - with support for dynamic libraries (as *.dll in Mustdie or *.so in *nix). Yet in alpha stage, but very interesting...
Time! Where are you?..:(

flasher86 24th Oct 2010 8:49 am

Well, I am here, but dont know how to create stuff for my rk27 player with this.

BTW. Does anyone know if battery for RK27 are replaceable?

Barracuda72 26th Oct 2010 6:17 am

What don't know? How to create what?
Battery is easily replaceable =)

flasher86 26th Oct 2010 8:28 am

I assumed you called for ppl to get interested in ELF thing you've been working on. Or I misunderstood everything.

Regarding battery, each rk27 has the same battery type( size etc)? Voltage should be the same, but dont know where to look for replacement. My current battery works for an hour tops - and this is with turned the screen off. If the screen is turned on, then my battery holds for about 10 minutes after a night of charging :/ Damn chinese tiny-deal company.

BTW STAY AWAY FROM TINY DEAL SHOP, IT'S SCAM, UNLESS YOU'RE LUCKY ENOUGH TO GET WHAT YOU ORDERED.

dde2 27th Oct 2010 6:41 am

I have purchased from Tiny Deal 8 - 10 times and gotten what I ordered every time, Never gotten hacked memory or any virus software. The only problem I ever had was one of the MP4 players I bought used the Nokia phone battery and it died after a month (the battery, not the player), Tiny Deal wouldn't replace it, but they are so cheap on Ebay that it wasn't really a big deal to me.

I am curious, what problems have you had with them?

dde2 27th Oct 2010 6:49 am

BTW, I am not endorsing tiny deal, just stating my experience with them. And it has been close to a year since I have purchased from them, was thinking about buying a player from them for one of my kids and wondering if they (td) have gone downhill

Barracuda72 27th Oct 2010 11:00 am

On my rk2705 (ritmix 8900) accumulator connected via simple 2-pin connector, so I can connect everything - maybe, simply 2x AA or AAA batteries =). Player does not check type of power source. But if you replace accumulator, you will need to patch your firmware - player determines state of battery (100%/50%/0%/empty) by comparing battery output voltage with hard-coded values. I spend a few hours trying to find why SDK's firmware thing that my battery is empty - I can't guess that firmware uses so stupid algorithm...
This was "Scream of soul" (I don't know if this words is exist in English, but in Russian it exists), I want to see Elf on player, but have no time for this =( I will buy netbook at this weekend and hope I will spend some time for elfloader... Maybe. Maybe not =(

AmirNapster 10th Dec 2010 1:16 pm

rockchip app
 
Hello
(Sorry for poor English!)
I'm new here and at rockchip programming.
I want to learn it but there are many information. So I don't know what to do.
I want to create an application that shows a JPG picture and start playing a MP3 music on it and when user tapped on right of screen it read next file for example read 1.mp3 then 2.mp3
Is there any sample or topic that i can follow it? Or is there anybody help me?
Thanks

flasher86 12th Dec 2010 3:26 am

Unfortunately rockchip development is not that simple.

First of all, what kind of Rockchip player do you have? RK260x (the one that you have to convert movies in order to play them on the player), or RK270x (the one that reads RMVB and AVI without convertion)?

If it is RK260x then you can create RKP app but forget about mp3 playing (PCM WAVE only).

If it is RK270x then you must compile your own firmware for that, which may not work for your player.

AmirNapster 12th Dec 2010 8:01 am

Quote:

Originally Posted by flasher86 (Post 287616)
Unfortunately rockchip development is not that simple.

First of all, what kind of Rockchip player do you have? RK260x (the one that you have to convert movies in order to play them on the player), or RK270x (the one that reads RMVB and AVI without convertion)?

If it is RK260x then you can create RKP app but forget about mp3 playing (PCM WAVE only).

If it is RK270x then you must compile your own firmware for that, which may not work for your player.

Thank for your answer

How about showing JPG images?
What do you suggest for starting?(To make that appication at last)
Is there any simple samples?

flasher86 12th Dec 2010 11:38 am

First of all, how good are you at programming? You will have to create your own JPEG decoder because SDK doesnt provide anything, so you have to start from scratch.

Another issue will be reading files - currently you can read external files only from SDCard (look through previous pages where I uploaded my beta file support), if you have experience in programming you will make it useful.

If not... then I suggest you to drop the project before you waste time on something beyond your capabilities (though if you are quick learner you may give it a shot).

I can upload necessary files to start from (though they are already in this topic), but I won't write anything for you. I still regret I dropped my rockchip projects due to lack of time.

It was even more fun to create stuff for rockchip than for any other platform I had experience with.

EDIT:

http://www.mediafire.com/file/0efizw...chip%20SDK.rar

AmirNapster 15th Dec 2010 2:20 am

I'm windows application developer and i think i can do it. I am using C# ,so I know C++ syntax.
Thanks for that SDK.
I didn't buy a player yet. Is there any difference between programming of RK27xx and RK26xx?
Is is possible to edit firmware to open my app on start up? and shut down device when my app closed?

WIZARD 15th Dec 2010 9:05 am

Hello, AmirNapster! Welcome to our forum :)

The two main differences between RK26xx and RK27xx CPU-based players:

1) RK27xx supports a lot of video formats natively, while for RK26xx you need to convert a video before playing it on your player.
I am a RK26xx owner and this is not a problem for me.

2) A lot of (but not all) RK26xx players can launch .rkp applications, while most of RK27xx have only one built-in game "Tetris".
There were some attempts to replace this built-in crap with a games/apps Launch Menu (from RK26xx).
If I remember correctly, somebody has implemented the .rkp support to his RK27xx firmware,
but there are a lot of different players and firmwares,
and every player works only with it's firmware and don't work with other.

So, if you want to create the applications for your player, choose RK26xx.

For example, you have found a seller who has a nice player.
How to check if the player is RK26xx-based and can launch applications, before the purchase:
1) It supports RKP games (read the description)
2) It has the Games Menu
3) It has buttons, but hasn't a touchscreen
4) It has a big (at least 2.4 inches) screen
5) It should have a MiniSD or MicroSD slot (because, at the moment, rkp applications can't read files from the flash memory)

It might be hard to check all these things. If you aren't sure,
provide a link to the seller's website, and I will try to help you.

My player (RK26xx):
Soundbreeze Mp-401 - MyMPx

There are a lot of cool applications for RK26xx:
Chess, port of Wolfenstein 3D game:o, Timer, SD-Card BMP image opener, FM-Radio, Music-44KHz, Calculator, BigSnake, Xonix, etc.
And all these apps were created by the members of this forum! :rolleyes:

Applications, useful files and other SDK-related things:
http://mympx.org/forum/general-discu...ing-links.html

Quote:

Originally Posted by AmirNapster (Post 287607)
I want to create an application that shows a JPG picture and start playing a MP3 music on it and when user tapped on right of screen it read next file for example read 1.mp3 then 2.mp3

About JPEG decoder:
You can use BMP images, since they are natively supported by SDK! :rolleyes:

About file browser:
That is not easy to write from the scratch.
But you can use the sources of SD-Card BMP image opener as a basis! :rolleyes:

About MP3 decoder:
Rockchip SDK supports C language (with some strange extensions).
While there are a lot of C/C++ sources of MP3 decoder available (just Google),
you will need to edit them somehow to compile them.

AmirNapster 15th Dec 2010 9:18 am

Thanks for your complete answer
Quote:

3) It has buttons, but hasn't a touchscreen
As i understand i can't use touchscreen in my applicaion! If it's correct can you suggest a cheap platform like Rockchip but support touchscreen?

WIZARD 15th Dec 2010 9:28 am

Quote:

Originally Posted by AmirNapster (Post 287633)
Thanks for your complete answer

As i understand i can't use touchscreen in my application! If it's correct can you suggest a cheap platform like Rockchip but support touchscreen?

I don't know any RK26xx with touchscreen.
But there are a lot of RK27xx with touchscreens (but without .rkp support), similar to this player:
http://img21.imageshack.us/img21/9837/rockchip27xx.jpg

Touchscreen = no .rkp support

That is why I don't advice to buy a Rockchip-based player with touchscreen,
if you want to create applications and use them.

Also, buttons are better than the touchscreen,
because most of cheap players with touchscreen have a bad sensivity,
so it's quite annoying to use them! :rolleyes:

WIZARD 15th Dec 2010 9:38 am

And I don't know any cheap touchscreen platforms suited for development.

flasher86 15th Dec 2010 3:19 pm

there is support for touchscreen in SDK for RK27xx chip. But this is totally different from RKP platform, and there is not clear solution for running external executables on this player. We have to manually redirect code to our code or recompile whole firmware SDK.

As I said, there is a lot of libraries but most of them wont even fit into RK26 rkp platform memory reserved. Besides, PCM driver issue has not been solved yet. I tried to write some sort of brainwave generator in RKP format, but for some reason I couldnt initialize mixer hardware, so PCM stream wasnt heard anyway... Though mic was working...

BTW. There is no native support for BMP format. This is a misunderstanding. Natively the player support 16bit pixel by pixel stream of binary (R5G6B5). BMP structure works the opposite way - starting line is the last line at the bottom. JPEG decoder will be a challenge in this buggy platform but I can't wait to see the results:cool:

lgxb 11th Feb 2011 7:11 pm

I have a 7" player with RK2729 chip. So what's the difference between 2706 and 2729?

Thanks

WIZARD 17th Feb 2011 9:01 am

Quote:

Originally Posted by lgxb (Post 287918)
I have a 7" player with RK2729 chip. So what's the difference between 2706 and 2729?

Thanks

http://www.rock-chips.com/product.ph...830&height=500
http://www.rock-chips.com/product.ph...830&height=500

DJ_Patron 20th Feb 2011 6:43 am

Hi all, do anyone fixed bug with starting of RockChip Emulator? Don't works...
Already have Framework 3.5 (and sp1 for it)
"Application failed to start, reinstalling may to solve problem."
(I'm Russian, error message been translated)
Thanks.

DJ_Patron 20th Feb 2011 11:44 pm

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.


All times are GMT -7. The time now is 8:38 pm.

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