Ouch that thing is trickier than expected...
The rk27dll.dll is compiled with the ROCK_FS define, by default.
Rockchip guys are probably testing their filesystem on the PC-side.
Maybe a disk image representing the NAND flash is created (?)
The problem is, the pc-side implementation of the file-system is masked to us and is pre-compiled in Library\PC\fs_vc_lib.lib that we statically link to rk27dll.dll
So, I have no idea where and what kind of disk image it wants to read, how to generate that image and so on.
It might be described in the docs, but it is all in chinese, and it does not seem they talk about this anyways.
So, I have removed the ROCK_FS preprocessor definition from the vc++ config.
I had a few errors related to audio that i simply commented in the code, so I can still generate my rk27dll.dll
I have spent a bunch of time looking at the whole code about FS, and i see that if ROCK_FS is not used, the PC-side code will use normal disk functions to open a disk, read/write files.
I went to the resource folder and started getResourc.bat, which generate a bunch of stuff in the Output directory.
I copied the Outout\Resource to C:\Resource and now the OS does not complain about anything anymore and it seems it has read the whole stuff.....
So ...... I am ready to finally try and display what's going on on the virtual LCD ...............
__________________
Rockchip Powah !
|