RSS
 
 

Archive for the ‘OS X’ Category

VMware fusion, shared folders fail to work after Linux upgrade

19 Jan

Another handy tip:
When working with VMware Fusion + Linux for Arm cross compilation work, you may add something like this To your environment variables:
export ARCH=arm
export CROSS_COMPILE=/opt/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-
export PATH=/opt/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin:$PATH

Be aware that if there is a Kernel upgrade to your linux environment, when the ‘vm-tools’ try to re-complie for the emulator they will fail (because your system is X86 not ‘ARM’).
The same applies if you try and install/re-install VM-tools into a development machine and the above environment variables are set to target a non X86 machine.

 

OS X Handy Tips for development

19 Jan

I like to develop on OS X, but sometimes I get forced over to linux to develop for the Linux kernel, especially if GIT is involved (hopefully not much longer once XCode 4 is released).
To save on disk clutter I use VMware fusion, this allows me to have a single development build but then swap in and swap out images for different development boards.

Generally I have a compressed Case-sensitive and space disk image for each environment, this ‘drop in’ image gets mounted under linux as a shared device.

One annoyance is that OSX does not generally ‘index’ mounted images (for obvious reasons), so if you want to search for text strings you need to build the index file by turning on Spotlight.

Fastest way to do this :
sudo mdutil -i on /Volumes/the_volume

.DS_Store
The Next really annoying issue with OSX is the continual crap it leaves all over the place (hay Jobs… pls stop leaving your droppings all over the place -have you ANY idea how annoying this is when building kernel disk images-).
find /Volumes/the_volume -type .DS_Store f -exec rm {} \;

Unfortunately you have to issue this command every time you need to remove the damned ‘.DS_store’ files

 
No Comments

Posted in OS X

 

Freescale iMX51_R92_Android OS X build

10 Jan

It is confirmed that the Freescale iMX51_R92_Android_source_code package can be unpacked and installed for development under OS X 10.6.5 & 10.6.6 this includes the capability to correctly patch the local Kernel/Android and boot-loader GIT repositories.
However downloading must be accomplished using Firefox, the use of SAFARI corrupts the down-loaded file(This may actually be an issue with the Freescale host).

Secondly: It is CRITICAL that the packages be processed on OS X inside a disk image that has been configured with the format set as:Mac OS Extended (Case-sensitive, Journaled)
The space allocated to the image will need to be about 8Gb (a 13Gb sparse disk image appears to work correctly)

Thirdly: The various utilities including GIT must obviously be installed beforehand.

Join us here Forums