Rockbox Development > Starting Development and Compiling
Simulator does not run under vmware, please help
dip:
I found the solution. The problem was that I was logged in with su root and it seems that display is not usable for the root user. I exit su and then it worked.
Thanks for all your help.
SansaFan:
Hello,
I am attempting to get the Simulator running following the instructions for VMware.
Download the Rockbox VMware image (~ 217 MB) from one of these URLs:
* http://mikachu.rockbox.org/Debian-4.7z
# Double click on "rockbox.vmx".
# Press "Power On" button
# Answer YES or OK on the popups questions.
# Login with username "user" and password "rockbox".
# Then, right click in the rockbox window and select Xshells, and Eterms
Compiling
svn co svn://svn.rockbox.org/rockbox/trunk rockbox
cd rockbox
mkdir sim
cd sim
../tools/configure
( I selected item #50, the Sansa e200 version)
( I selected option "S"imulator)
make
make fullinstall
Afterwards I check the 'simdisk' folder using:
cd simdisk
dir
There is nothing in the simdisk folder. What gives??
According to the instructions I've read and followed they suggest I should find something after the compiling and make routines in folder 'simdisk'.
Building the Simulator
If you are fed up with creating your WPS's, loading them onto your machine, unplugging machine, running wps file, checking them, plugging machine back in, editing them on your computer, and round and round and on and on..... (You know what I mean), or even if you just want to test the patches without actually loading them onto your machine, then you will find the simulator a godsend!
Compiling
* Create a new folder called sim (type mkdir sim) and move into it (type cd sim).
* Now you are in the sim directory. Create the make file as usual using configure but select (S)imulator build instead of (N)ormal build.
* Now type make and wait for it to compile
* Then type make fullinstall. It will tell you that it is installing a full setup in your simdisk directory.
Setting up the simulator
* Have a look in sim/simdisk. You should see the .rockbox folder there full of all the usual rockbox stuff.
* The sim/simdisk folder acts in exactly the same way as the folder in the root of your player, so fill it with all the stuff you would usually have there!
* Now, run the simulator by typing ./rockboxui.exe
Issuing command ./rockboxui.exe in the sim folder does nothing.
thanks in advance....
perrikwp:
You can download pre-built windows simulators from here: http://rasher.dk/rockbox/simulator/
They are not the most up-to-date, but I don't think there has been any changes for the WPS code since they were built. Download the simulator for your respective target.
SansaFan:
Thanks for the quick response.
I have downloaded several simulators before just to test their functionality and thought it would be interesting if I could take it one step further and actually compile a simulator using VMware and the Rockbox linux development file (rockbox.vmx).
From the directions to using Rockbox.vmx (see the prior post), it didn't seem too difficult, but once all of the instructions were followed, there is nothing in the 'simdisk' folder to be found.
Is there a missing direction or does Rockbox.vmx contain all of the necessary support files to accomplish this task?
Thanks..
bluebrother:
--- Quote from: SansaFan on March 21, 2009, 06:08:25 AM --- From the directions to using Rockbox.vmx (see the prior post), it didn't seem too difficult, but once all of the instructions were followed, there is nothing in the 'simdisk' folder to be found.
--- End quote ---
There is no missing instruction and there *is* data in that folder -- namely the folder .rockbox. Linux hides files starting with a dot -- but why are you looking into that folder anyway? If you want to run the simulator you need to run the rockboxui binary that's above that folder. Try it, it will work.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version