Changes between Version 1 and Version 2 of Developer/VirtualMachines/VMWareSetup


Ignore:
Timestamp:
10/24/08 10:16:39 (16 years ago)
Author:
Robert
Comment:

added screen shots

Legend:

Unmodified
Added
Removed
Modified
  • Developer/VirtualMachines/VMWareSetup

    v1 v2  
    22
    33
    4 This page describes Windows development environment setup with MinGW, Grub2 and VMWare.
     4This page describes Windows development environment setup with MinGW, Grub2 and VMWare.  Hopefully these tried-out steps could be helpful to you.
    55= Build RTEMS Using MinGW =
     6= Brief BSP Build Steps =
    67
    78Please refer to [wiki:TBR/UserManual/MinGW_Tools_for_Windows MinGW Tools for Windows] for details of how to setup MinGW to build RTEMS on Windows. The following are brief steps to build a pc686 BSP:
     
    4445to
    4546    cp -pr "$srcdir/$ac_source" "$ac_file"
    46 = mkisofs and genisoimage =
     47= Install mktemp =
     48
     49
     50If you don't have mktemp installed yet, download it from http://downloads.sourceforge.net/mingw/mktemp-1.5-MSYS.tar.bz2. Extract mktemp.exe and put it into your /usr/bin (e.g., C:\msys\1.0\bin).
     51= Install mkisofs and genisoimage =
    4752
    48531) Download all executables from http://fy.chalmers.se/~appro/linux/DVD+RW/tools/win32/
     
    115120 > grub-mkrescue --overlay=/usr/local/src/rtems/i386_install/i386-rtems4.9/pc686/lib/rtems-4.9 \
    116121 >               --overlay=/usr/local/src/rtems/i386_install/grub_cfg  /vm/pc686_rtems4.9.0.iso
    117  > (You can output the iso file in your chosen directory. I have a /vm mapping in my fstab.)= Simulate in VMWare Using ISO Image =
     122 
     123 You can output the iso file in your chosen directory. I have a /vm mapping in my fstab. The 1st overlay specifies executables to be included, and the 2nd one allows you to add your custom grub.cfg. More overlay can be specified.
     124 = Simulate in VMWare Using ISO Image =
     125
     126= Download and Install Free VMware Server =
    118127
    119128
    120129Download free VMware Server 2 (mine is VMware-server-2.0.0-116503.exe) from http://www.vmware.com/freedownload/login.php?product=server20.
    121130
    122 There is no need to actually burn ISO image into CD. When configuring CD/DVD drive in Create Virtual Machine wizard, select ISO image option to use the ISO image created in the above steps. This makes updating and testing RTEMS ISO image very convenient.
    123 
    124 I tried out the hello, cdtest, cxx_iostream and capture examples in VMWare, and they worked.
     131One nice feature is that there is no need to actually burn ISO image into CD. When configuring CD/DVD drive in Create Virtual Machine wizard, select ISO image option to use the ISO image created in the above steps. This makes updating and testing RTEMS ISO image very convenient.
     132= Hints =
     133
     134
     1351) Use your Windows credential to logon to VMWare.
     136
     1372) Make sure ''Net Logon'' service is up and running.
     138
     1393) Make sure all VMWare services except VMware VSS Writer Service are up and running.
     140
     1414) Make sure you have wired or wirelss network connection before powering up a virtual machine via VMware Infrastructure Web Access, otherwise VMWare might not work correctly.
     142= Create, Boot and Test RTEMS Virtual Machine =
     143
     144
     145I tried out the hello, cdtest, cxx_iostream and capture examples in VMWare, and they worked. The following illustrates a minimum setup of a RTEMS virtual machine using Create Virtual Machine wizard, and you can adjust it to fit your needs.
     146
     147To start, click on ''Create Virtual Machine'' under Commands panel, and select name and location for the new VM.
     148
     149[[BR]]<center>
     150[[Image(MiniVM_Name.jpg)]]
     151</center>[[BR]]
     152
     153On Guest Operating System page, specify ''Other operating systems'' with version of ''Other (32-bit)''.
     154
     155[[BR]]<center>
     156[[Image(MiniVM_GuestOS.jpg)]]
     157</center>[[BR]]
     158
     159On Memory and Processors page, accept the default.
     160
     161[[BR]]<center>
     162[[Image(MiniVM_MemCPU.jpg)]]
     163</center>[[BR]]
     164
     165On the next 2 pages, select ''Don't Add a Hard Disk'' and ''Don't Add a Network Adaptor'' for the minimum setup.
     166
     167[[BR]]<center>
     168[[Image(MiniVM_NoHD.jpg)]]
     169</center>[[BR]]
     170
     171[[BR]]<center>
     172[[Image(MiniVM_NoNIC.jpg)]]
     173</center>[[BR]]
     174
     175For CD/DVD Drive, select ''Use an ISO Image'' and iso file generated above as the image file. Later when testing your code or configuration change, there is no need to create another VM, just update the iso file, and then power the vm up. So the ISO image option is very convenient in iterative development cycles.
     176
     177[[BR]]<center>
     178[[Image(MiniVM_isoCD.jpg)]]
     179</center>[[BR]]
     180
     181[[BR]]<center>
     182[[Image(MiniVM_isoImg.jpg)]]
     183</center>[[BR]]
     184
     185Select ''Don't Add a Floppy Drive'' and ''Don't Add a USB Controller'' for the minimum setup.
     186
     187[[BR]]<center>
     188[[Image(MiniVM_NoFloppy.jpg)]]
     189</center>[[BR]]
     190
     191[[BR]]<center>
     192[[Image(MiniVM_No_USB.jpg)]]
     193</center>[[BR]]
     194
     195It's ready for the minimum setup.
     196
     197[[BR]]<center>
     198[[Image(MiniVM_Ready.jpg)]]
     199</center>[[BR]]
     200
     201Finally you can boot it up and test it in VMWare.
     202
     203[[BR]]<center>
     204[[Image(MiniVM_Boot.jpg)]]
     205</center>[[BR]]
     206
     207[[BR]]<center>
     208[[Image(MiniVM_Test.jpg)]]
     209</center>[[BR]]