Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: pavel on July 02, 2015, 10:24:10 PM

Title: how to virtualbox and other things ?
Post by: pavel on July 02, 2015, 10:24:10 PM
dont have permissions to use /media/sf_(X)_DRIVE. in virtualbox shared folders enabled etc, even googled and followed the top guidelines with no success. windows host.

second one - you have http://www.rockbox.org/wiki/DevelopmentGuide and text file on ubuntu desktop - those 2 needs some sync.

Title: Re: how to virtualbox and other things ?
Post by: PaulF on July 03, 2015, 04:01:18 PM
I don't know about virtual box, but the cygwin login name has to match the windows login name to have access to windows drives. I think I have to log onto windows with a password, too, but not sure about that.
Title: Re: how to virtualbox and other things ?
Post by: pavel on July 03, 2015, 08:00:04 PM
found the solution:

mkdir share
sudo mount -t vboxsf foldernameonhost ~/share/

https://serverfault.com/questions/674974/how-to-mount-a-virtualbox-shared-folder
Title: Re: how to virtualbox and other things ?
Post by: PaulF on July 03, 2015, 09:34:47 PM
/media/ is the debian/ubuntu  mount point for drives, not shares. I was confused.
Title: Re: how to virtualbox and add patch?
Post by: pavel on July 04, 2015, 07:27:45 PM
i want to add patch http://www.rockbox.org/tracker/9305 (http://www.rockbox.org/tracker/9305) but it gives me error about /apps/action.c
patch file is in /rockbox and terminal command is also run from there. also there is said something about hunks which i have no idea what that could be.
is there some way to use this patch with current rockbox ?
Title: Re: how to virtualbox and other things ?
Post by: saratoga on July 04, 2015, 11:50:32 PM
That means that the patch is out of sync. You will have to merge code by hand, at least for the chunks that failed.
Title: Re: how to virtualbox and other things ?
Post by: pavel on July 05, 2015, 07:58:36 PM
is there a chance to get the original rockbox 3.13 source (from 2013) somehow?
as im not familiar with programming, i hope that comparing files from working version would help to resolve current issues.
Title: Re: how to virtualbox and other things ?
Post by: saratoga on July 05, 2015, 08:04:16 PM
is there a chance to get the original rockbox 3.13 source (from 2013) somehow?

Yes, you can get any version you want using the git checkout command.  See here:

http://stackoverflow.com/questions/2007662/rollback-to-an-old-commit-using-git
Title: Re: how to virtualbox and other things ?
Post by: pavel on July 05, 2015, 08:55:26 PM
thanks but this is too complicated