Thursday, 24 April 2014

Mac OS X 10.9 Mavericks virtualization (VMware 10) in Linux Ubuntu 14.04 (HP probook 450 G0)

At this moment 10.9 Mavericks is the last OS from Mac, the only reason for me to virtualized this in ubuntu 14.04 lts is Xcode IDE. As a mobile developer a need Xcode for iphone / ipad developing, but i don`t need separated OS for booting, i just need Xcode. There is only one way to run Xcode under linix / windows pc: virtualization :)
Required to run 10.9 Maverisk
  • Hardware Virtualization Technology (VT) enabled processor
    Note: if you have intel i3, i5, i7 - you have it, other way check manifacturer site if your processor support VT
  • Pre installed image of OS X Mavericks
    Note: check in thepiratebay com for "OS X Mavericks vmware"
  • VMware workstation 10
    Note: check in thepiratebay com for "vmware 10 linux"


My hardware: HP 450 Probook
  • CPU intel Core i5-3230M (1 core for Mac OS)
  • RAM 4GB DDR3 1600Mhz (1 GB for Mac OS)
  • VGA Ivybridge Mobile x86/MMX/SSE2
  • HDD 1TB Sata2 (20 GB for Mac OS)
  • AUDIO HDA Intel PCH 92HD91BXX Analog

Create your Mac OS X Mavericks guest os
  • Install VMware 10 and extract Maverick image.
  • We need to use an unlocker patch to make VMware workstation to support Mac guest. The patch is located inside OS X Mavericks image folder. You can use terminal to navigate and run this files.
    Note: terminal commands, all files have to be on your main drive (or you wouldn't have privileges)
    cd OS X Mavericks 10.9 Retail VMware Image/VMware Unlocker - Mac OS X Guest/VMware 8.x + 9.x + 10.x Series/VMware Workstation Unlocker - Linux
    sudo ./Unlocker.Linux32
    sudo ./install.sh
  • Now import .vmx file into VMware (File > Open > pick .vmx file)
  • Start image and install the Mavericks OS

What work on this configuration
  • audio - OK (select sound card in image preferences)
  • network - OK
  • screen resolution - OK (different resolution in image preferences)
  • camera - not tested
  • microphone -not tested
  • sleep - OK
  • all Mavericks software
  • and finaly: Xcode - OK

Wednesday, 15 January 2014

Connect/Run Arduino uno r3 whit ATMEGA8A-PU from ebay.com (doflye.net) version

After 2 days i finally have successfully run this uno r3 whit old atmega8 chip, just follow this guide:

1. Get an Arduino board and USB cable
2. Download the Arduino environment
- (windows) from www.arduino.cc
- (linux ubuntu) in Software Center or from www.arduino.cc
3. Connect the board
4. Install drivers for UNO, you can find more info on google or arduino web site
- (linux ubuntu 12.10+)
sudo apt-get update && sudo apt-get install arduino arduino-core
- (windows) arduino web site

5.1 Open file /boards.txt
- (windows) C:/Program Files/arduino/hardware/arduino/boards.txt
- (linux) usr/share/arduino/hardware/arduino/boards.txt
- - (ubuntu) use "gksudo nautilus" or "gksudo gedit" in terminal to open protected file
5.2 Insert code below AT THE END of /boards.txt and save it.
6. Launch the Arduino application
7. Select your board "Arduino Optiboot8"
- (Tools>Board>Arduino Optiboot8)
8. Select your serial port. If there is no USB option on serial port or serial port is not available, you have problem whit your board driver.
- (Tools>Serial Port>USB)
9. Upload the program

Tested on Windows 7 and Ubuntu 13.10. This code was found in http://www.doflye.net forum whit the BIG help of translate.google.com :)
##############################################################
# Custom board "Arduino Optiboot8"
# Arduino uno r3 ATMEGA8A-PU

opti8.name = Arduino Optiboot8

opti8.upload.protocol = Arduino
opti8.upload.maximum_size = 7680
opti8.upload.speed = 115200

opti8.bootloader.low_fuses = 0xBF
opti8.bootloader.high_fuses = 0xcc
opti8.bootloader.path = optiboot
opti8.bootloader.file = optiboot_atmega8.hex
opti8.bootloader.unlock_bits = 0x3F
opti8.bootloader.lock_bits = 0x0F

opti8.build.mcu = atmega8
opti8.build.f_cpu = 16000000L
opti8.build.core = arduino
opti8.build.variant = standard