Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / week_2005_01_16.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
4 <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6    <meta name="generator" content="Movable Type 5.2.3" />
7
8    <link rel="stylesheet" href="http://defaria.com/blogs/Status/styles-site.css" type="text/css" />
9    <link rel="alternate" type="application/atom+xml" title="Atom" href="http://defaria.com/blogs/Status/atom.xml" />
10    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://defaria.com/blogs/Status/index.xml"$>" />
11
12    <title>Status for Andrew DeFaria: January 16, 2005 - January 22, 2005 Archives</title>
13
14    <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15    <link rel="prev" href="http://defaria.com/blogs/Status/archives/week_2005_01_09.html" title="January  9, 2005 - January 15, 2005" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/week_2005_01_23.html" title="January 23, 2005 - January 29, 2005" />
17 </head>
18 <body class="layout-one-column">
19    <div id="container">
20       <div id="container-inner" class="pkg">
21
22          <div id="banner">
23             <div id="banner-inner" class="pkg">
24                <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
25                <h2 id="banner-description">Searchable status reports and work log</h2>
26             </div>
27          </div>
28
29          <div id="pagebody">
30             <div id="pagebody-inner" class="pkg">
31                <div id="alpha">
32                   <div id="alpha-inner" class="pkg">
33                      
34                      <p class="content-nav">
35                         <a href="http://defaria.com/blogs/Status/archives/week_2005_01_09.html">&laquo; January  9, 2005 - January 15, 2005</a> |
36                         <a href="http://defaria.com/blogs/Status/">Main</a>
37                         | <a href="http://defaria.com/blogs/Status/archives/week_2005_01_23.html">January 23, 2005 - January 29, 2005 &raquo;</a>
38                      </p>
39                      
40                      
41                      
42
43                      <h2 class="date-header">January 21, 2005</h2>
44                      <a id="a000285"></a>
45                      <div class="entry" id="entry-285">
46                         <h3 class="entry-header">Redoing PPC build</h3>
47                         <div class="entry-content">
48                            <div class="entry-body">
49                               <ul>
50   <li>Recreated LynxOS on PPC machine from scratch</li>
51
52   <li>Rebuilding toolchain</li>
53 </ul>
54                               
55                               <p>The LynxOS I put on t-mcpn765-1 was suspect as I had untarred a couple of different X/Motifs onto the root file system and the toolchain build was failing anyway. This was a good opportunity to redo this and make sure my documentation was correct.</p>
56
57 <p><b>Note:</b> For this building of the toolchain I used the 20210.xfree.tar.gz for the first time</p>
58
59 <p>To build the toolchain I did the following (note that I had already got a copy of the toolchain src and unpacked it onto the k partition):</p>
60
61 <div class="code"><pre>
62 # . SETUP.bash
63
64   Setup : ENV_PREFIX is an environment variable that points to
65         : the root of the build/release directory.  The ENVIRONMENT
66         : file is found as $ENV_PREFIX/ENVIRONMENT.
67         : Set ENV_PREFIX to /?  [y]
68
69   Target : Please specify the target
70           (ppc, x86, arm or mips) : ppc
71
72   Setup : Complete!
73
74 # ulimit -s 1000000 -d 1000000
75 # mount /dev/sdncr.0k /mnt
76 # cd /mnt/toolchain/3.2.2/010405/
77 # ls
78 Makefile                fixup.sh*               src/
79 build-powerpc/          install.log             stamp-configure-powerpc
80 # make clobber
81 rm -rf {build,install,stamp-*}-powerpc
82 # ./fixup.sh
83 + cd src
84 + touch texinfo/intl/plural.c
85 + touch libgui/library/tclIndex
86 + find . -name aclocal.m4 -exec touch '{}' ';'
87 + find . '(' -name config.in -o -name config.h.in ')' -exec touch '{}' ';'
88 + find . '(' -name Makefile.in -o -name stamp-h.in ')' -exec touch '{}' ';'
89 + find . -name configure -exec touch '{}' ';'
90 # make install > install.log 2>&1 &
91 </pre></div>
92                               
93                               <p class="entry-footer">
94                                  <span class="post-footers">Posted by  at 10:14 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000285.html">Permalink</a>
95                                  
96                                  
97                               </p>
98                            </div>
99                         </div>
100                      </div>
101                      
102                      
103
104                      <h2 class="date-header">January 20, 2005</h2>
105                      <a id="a000284"></a>
106                      <div class="entry" id="entry-284">
107                         <h3 class="entry-header">Building Native PPC Toolchain</h3>
108                         <div class="entry-content">
109                            <div class="entry-body">
110                               <p>Thu helped me recover from the makeboot -r 0,48 preboot. This LynxOS 5.0.0 has not networking so I booted back up to the b partition (LynxOS 4.0.0) and mounted the c partition. Next I got X/Motif from t3:/export/dev_archive/lynxos/xmotif/032504 (note that this tarball was named 20010.xfree86.tar.gz) and unpacked it onto the c partition. It is important that XFree is unpacked into the partition and root diretory where LynxOS is.</p>
111
112 <p>I had already copied toolchain-src.tar.gz over to the k partition and unpacked under toolchain/3.2.2/010405</p>
113
114 <p>Next boot up back to the 5 partition and mount the k partition. SETUP.bash for "/" then go to toolchain/3.2.2/010405 and make install...</p>
115                               
116                               <p class="entry-footer">
117                                  <span class="post-footers">Posted by  at 11:52 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000284.html">Permalink</a>
118                                  
119                                  
120                               </p>
121                            </div>
122                         </div>
123                      </div>
124                      
125                      
126
127                      <h2 class="date-header">January 19, 2005</h2>
128                      <a id="a000283"></a>
129                      <div class="entry" id="entry-283">
130                         <h3 class="entry-header">Loading LynxOS Manually</h3>
131                         <div class="entry-content">
132                            <div class="entry-body">
133                               <p>Attempting to learn and document how to load the LynxOS manually. Normally the int_tools handles this process but occasionally we need to do this by hand.</p>
134
135 <p>Messed up by not following all the required steps. Had to get a CD from Hardev in order to get past a preboot problem. Managed to do that.</p>
136
137 <p>The instructions I was given to follow for manually loading LynxOS were x86 based. I am expected to translate that to PPC. In any event, the makeboot -r 0,48 preboot is wrong for this PPC machine. This has caused me to have an unbootable system once again. How does one know what numbers to use for a given system?</p>
138                               
139                               <p class="entry-footer">
140                                  <span class="post-footers">Posted by  at  6:00 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000283.html">Permalink</a>
141                                  
142                                  
143                               </p>
144                            </div>
145                         </div>
146                      </div>
147                      
148                      
149
150                      
151                      <a id="a000282"></a>
152                      <div class="entry" id="entry-282">
153                         <h3 class="entry-header">Documentation Review</h3>
154                         <div class="entry-content">
155                            <div class="entry-body">
156                               <p>Reviewed documentation I've written so far, mostly just Cross LynxOS build. Several suggestions were made and being implemented.</p>
157                               
158                               <p class="entry-footer">
159                                  <span class="post-footers">Posted by  at  5:56 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000282.html">Permalink</a>
160                                  
161                                  
162                               </p>
163                            </div>
164                         </div>
165                      </div>
166                      
167                      
168
169                      <h2 class="date-header">January 18, 2005</h2>
170                      <a id="a000281"></a>
171                      <div class="entry" id="entry-281">
172                         <h3 class="entry-header">Continuing Native PPC toolchain build</h3>
173                         <div class="entry-content">
174                            <div class="entry-body">
175                               <ul>
176   <li>Performed rsync process to get cross built PPC LynxOS over to T3's archive</li>
177  
178   <li>Attempting to "load the 5.0.0 TOT build" onto t-mcpn765-1</li>
179
180   <li>Started documenting the <a href="http://saturn.lynx.com/build/manual_load.php">Manual OS Load</a> process</li>.
181 </ul>
182                               
183                               <p>Thu's notes simply said "/dev/sdncr.0c -> load the 5.00. tot build". I was not sure how to do this. I did notice that I had never rynced my last PPC LynxOS build over to the T3 area so I did that. Still I'mnot sure how to "load the 5.0.0 tot build" onto a machine. My guess is:</p>
184
185 <ul>
186   <li>Perform rsync process to sync up the build from dopey:/usr/lynx/dopey/LYNXOS_500/archive/lynxos/120406-C -> t3:/export/dev_archive/lynxos/archive-5.0.0/120604-C</li>
187
188   <li>rcp 20000.devos.tar.gz (?) and 20029.bsp_mcpn765.tar.gz (others?) from  t3:/export/dev_archive/lynxos/archive-5.0.0/120604-C/media/ppc to  t-mcpn765-1:/ (which is currently /dev/sdncr.0c)</li>
189
190   <li>Unpack those tarballs into /</li>
191
192   <li>Reboot</li>
193 </ul>
194
195 <p>My fear is that the devos will not fix and/or I need other tarballs than just 20029.bsp_mcpn765.tar.gz. Also, just laying this on top of root seems wrong, what happens to the old 4.0.0 stuff?</p>
196
197 <p>The above is not really true. The process of manually loading and OS is more complex. It is codified into various expect script and detailed in "install logs" which appear under int_tools/INSTALL_LOG. Worked on documenting this manual OS load.</p>
198
199                               
200                               <p class="entry-footer">
201                                  <span class="post-footers">Posted by  at  2:22 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000281.html">Permalink</a>
202                                  
203                                  
204                               </p>
205                            </div>
206                         </div>
207                      </div>
208                      
209                   </div>
210                </div>
211             </div>
212          </div>
213       </div>
214    </div>
215 </body>
216 </html>