File:  [NetBSD Developer Wiki] / wikisrc / users / ryoon / how_to_install_netbsd_emips_current_to_microsoft_giano.mdwn
Revision 1.1: download - view: text, annotated - select for diffs
Tue Mar 29 13:07:36 2011 UTC (11 years, 3 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by ryoon

    1: # How to install NetBSD/emips-current to Microsoft Giano
    2: 
    3: See: [http://www.netbsd.org/ports/emips/NetBsd_excerpt.htm](http://www.netbsd.org/ports/emips/NetBsd_excerpt.htm)
    4: 
    5: ## Requirements
    6: * Microsoft Windows XP SP3 Home (32 bit) (for example)
    7: * some hard drive space
    8: 
    9: ## How to get softwares
   10: ### Microsoft Giano
   11: At 2011-02-04, Microsoft Giano Version 3.1 is latest.
   12: Download *giano.msi* file from [http://research.microsoft.com/en-us/downloads/02e2edbf-c76c-47d5-b9c0-2c9915c63e98/default.aspx](http://research.microsoft.com/en-us/downloads/02e2edbf-c76c-47d5-b9c0-2c9915c63e98/default.aspx)
   13: or [http://research.microsoft.com/en-us/downloads](http://research.microsoft.com/en-us/downloads).
   14: 
   15: 
   16: ### How to get iso image file
   17: Download *emipscd.iso* from [http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/](http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/)
   18: or [http://ftp.jaist.ac.jp/pub/NetBSD-daily/HEAD/](http://ftp.jaist.ac.jp/pub/NetBSD-daily/HEAD/)
   19: 
   20: ftp.jaist.ac.jp is suitable for people in Japan
   21: 
   22: 
   23: ### How to get and select PuTTY
   24: Download *putty.exe* from [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html](http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html).
   25: Old PuTTY does not support serial connection.
   26: Please use latest version.
   27: 
   28: If you want to use Japanese locale, please use "PuTTY Gottani-ban 0.60", for example.
   29: You can download it from [http://yebisuya.dip.jp/Software/PuTTY/](http://yebisuya.dip.jp/Software/PuTTY/).
   30: 
   31: 
   32: ## Preparing
   33: ### Installing Giano
   34: Follow installer's instruction.
   35: You can install Giano under *C:\Program Files*.
   36: 
   37: 
   38: ### Preparing space for emulated machine
   39: Make c:\emul\NetBSD-emips-current directory.
   40: 
   41: #### Copying files to c:\emul\NetBSD-emips-current directory
   42: There is following 3 files in c:\Program Files\Microsoft Research\Microsoft Giano\tests\eMIPS directory.
   43: 
   44: * boot.emips
   45: * Ml40x_2ace.plx
   46: * Ml40x_bram.bin.
   47: 
   48: Please copy them to c:\emul\NetBSD-emips-current.
   49: 
   50: And downloaded *emipscd.iso* file should be copied to c:\emul\NetBSD-emips-current.
   51: 
   52: 
   53: #### Creating target disk image
   54: If you have installed cygwin or UnxUtils.
   55: You can simply use dd command.
   56: 
   57: Alternatively if you have large files (for example emipscd.iso),
   58: You can target disk image from them.
   59: 
   60: I do not know target image file should be started by boot.emips or not.
   61: 
   62: Name of the target disk image is *emips3.img*.
   63: 
   64: 	> cd /d c:\emul\NetBSD-emips-current
   65: 	> copy /bin boot.emips + \somewhere\somethins.img emips3.img
   66: 
   67: 
   68: ### Setting up PuTTY
   69: Select *Connection Type* as *Serial*.
   70: Input *Serial line* to *\\.\pipe\usart0*
   71: Save this setting to "Saved Sessions".
   72: 
   73: 
   74: ## Start emulator machine
   75: ### Start Giano
   76: 	> cd /d c:\emul\NetBSD-emips-current
   77: 	> "c:\Program Files\Microsoft Research\Microsoft Giano\bin\giano.exe" -Platform Ml40x_2ace.plx
   78: Some people see "Access to a non-existent memory" dialog box here.
   79: 
   80: If so, please set "c:\Program Files\Microsoft Research\Microsoft Giano\bin" prior to "c:\Program Files\Microsoft Research\Microsoft Giano\bin64" in PATH environmental variable.
   81: 
   82: 
   83: ### Start PuTTY
   84: Start PuTTY and connect to **\\.\pipe\usart0**.
   85: And click *Retry* in the dialog box.
   86: 
   87: 
   88: ### Boot from NetBSD/emips iso image
   89: If you see
   90: 
   91: 	NetBSD/emips 5.99.45
   92: 	Default: 0/ace(0,0)/netbsd
   93: 	boot: 
   94: 
   95: then input
   96: 
   97: 	boot: 0/ace(1,0)/netbsd
   98: 	      ~~~~~~~~~~~~~~~~~
   99: 
  100: Please select vt110 as terminal type.
  101: And sysinst is started.
  102: 
  103: 
  104: ### Installing NetBSD/emips
  105: Please install NetBSD.
  106: See [http://www.netbsd.org/docs/guide/en/index.html](http://www.netbsd.org/docs/guide/en/index.html).
  107: 
  108: This process consume your time.
  109: 
  110: 
  111: ## Supplementary
  112: ### Networking
  113: Network device is identified as enic0
  114: 
  115: 	# ifconfig enic0 inet 192.168.0.200 netmask 0xffffff00
  116: 
  117: 
  118: ### single user mode
  119: 	boot: 0/ace(1,0)/netbsd -s
  120: 	      ~~~~~~~~~~~~~~~~~~~~
  121: 
  122: ### Clock
  123: It seems that RTC_OFFSET in kernel config file is not needed.
  124: RTC is not accurate.
  125: 
  126: ## homework
  127: * This document does not contains instruction about acceleration.

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb