File:  [NetBSD Developer Wiki] / wikisrc / users / ryoon / how_to_install_netbsd_emips_current_to_microsoft_giano.mdwn
Revision 1.3: download - view: text, annotated - select for diffs
Sun May 29 12:05:54 2011 UTC (9 years, 6 months ago) by wiki
Branches: MAIN
CVS tags: HEAD
web commit by ryoon: fix typo

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

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