Annotation of wikisrc/users/ryoon/how_to_install_netbsd_emips_current_to_microsoft_giano.mdwn, revision 1.8
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:
1.7 ryoon 24: Recently the ISO image is named as NetBSD-7.99.25-emips.iso or so.
1.8 ! ryoon 25: Be sure to rename it to emipscd.iso.
1.1 wiki 26:
27: ### How to get and select PuTTY
28: Download *putty.exe* from [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html](http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html).
29: Old PuTTY does not support serial connection.
30: Please use latest version.
31:
32: If you want to use Japanese locale, please use "PuTTY Gottani-ban 0.60", for example.
33: You can download it from [http://yebisuya.dip.jp/Software/PuTTY/](http://yebisuya.dip.jp/Software/PuTTY/).
34:
35:
36: ## Preparing
37: ### Installing Giano
38: Follow installer's instruction.
39: You can install Giano under *C:\Program Files*.
40:
41:
42: ### Preparing space for emulated machine
43: Make c:\emul\NetBSD-emips-current directory.
44:
45: #### Copying files to c:\emul\NetBSD-emips-current directory
46: There is following 3 files in c:\Program Files\Microsoft Research\Microsoft Giano\tests\eMIPS directory.
47:
48: * boot.emips
49: * Ml40x_2ace.plx
50: * Ml40x_bram.bin.
51:
52: Please copy them to c:\emul\NetBSD-emips-current.
53:
54: And downloaded *emipscd.iso* file should be copied to c:\emul\NetBSD-emips-current.
1.7 ryoon 55: Latest boot.emips is included in *emipscd.iso*. If you can, please use it.
1.1 wiki 56:
57: #### Creating target disk image
58: If you have installed cygwin or UnxUtils.
59: You can simply use dd command.
60:
61: Alternatively if you have large files (for example emipscd.iso),
1.6 wiki 62: You can make target disk image from them.
1.1 wiki 63:
64: I do not know target image file should be started by boot.emips or not.
65:
66: Name of the target disk image is *emips3.img*.
67:
68: > cd /d c:\emul\NetBSD-emips-current
69: > copy /bin boot.emips + \somewhere\somethins.img emips3.img
70:
71:
72: ### Setting up PuTTY
73: Select *Connection Type* as *Serial*.
1.4 wiki 74: Input *Serial line* to *\\\\.\pipe\usart0*
1.1 wiki 75: Save this setting to "Saved Sessions".
76:
77:
78: ## Start emulator machine
79: ### Start Giano
80: > cd /d c:\emul\NetBSD-emips-current
81: > "c:\Program Files\Microsoft Research\Microsoft Giano\bin\giano.exe" -Platform Ml40x_2ace.plx
1.5 wiki 82: If you see "Access to a non-existent memory" dialog box here. You can simply "Ignore" it.
1.1 wiki 83:
84:
85: ### Start PuTTY
1.4 wiki 86: Start PuTTY and connect to **\\\\.\pipe\usart0**.
1.1 wiki 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:
1.7 ryoon 110: This process consumes your time.
1.1 wiki 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
1.3 wiki 129: * This document does not contain instruction about acceleration.
1.7 ryoon 130: * Fix boot.
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb