Annotation of wikisrc/users/ryoon/how_to_install_netbsd_emips_current_to_microsoft_giano.mdwn, revision 1.5
1.1 wiki 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:
1.2 wiki 5: [Japanese version](http://ryo-on.users.sourceforge.net/distrib/20110205-NetBSD-emips-on-giano.txt)
6:
1.1 wiki 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*.
1.4 wiki 72: Input *Serial line* to *\\\\.\pipe\usart0*
1.1 wiki 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
1.5 ! wiki 80: If you see "Access to a non-existent memory" dialog box here. You can simply "Ignore" it.
1.1 wiki 81:
82:
83: ### Start PuTTY
1.4 wiki 84: Start PuTTY and connect to **\\\\.\pipe\usart0**.
1.1 wiki 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
1.3 wiki 127: * This document does not contain instruction about acceleration.
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb