" /> Status for Andrew DeFaria: January 16, 2005 - January 22, 2005 Archives

« January 9, 2005 - January 15, 2005 | Main | January 23, 2005 - January 29, 2005 »

January 21, 2005

Redoing PPC build

  • Recreated LynxOS on PPC machine from scratch
  • Rebuilding toolchain

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.

Note: For this building of the toolchain I used the 20210.xfree.tar.gz for the first time

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):

# . SETUP.bash

  Setup : ENV_PREFIX is an environment variable that points to
        : the root of the build/release directory.  The ENVIRONMENT
        : file is found as $ENV_PREFIX/ENVIRONMENT.
        : Set ENV_PREFIX to /?  [y]

  Target : Please specify the target
          (ppc, x86, arm or mips) : ppc

  Setup : Complete!

# ulimit -s 1000000 -d 1000000
# mount /dev/sdncr.0k /mnt
# cd /mnt/toolchain/3.2.2/010405/
# ls
Makefile                fixup.sh*               src/
build-powerpc/          install.log             stamp-configure-powerpc
# make clobber
rm -rf {build,install,stamp-*}-powerpc
# ./fixup.sh
+ cd src
+ touch texinfo/intl/plural.c
+ touch libgui/library/tclIndex
+ find . -name aclocal.m4 -exec touch '{}' ';'
+ find . '(' -name config.in -o -name config.h.in ')' -exec touch '{}' ';'
+ find . '(' -name Makefile.in -o -name stamp-h.in ')' -exec touch '{}' ';'
+ find . -name configure -exec touch '{}' ';'
# make install > install.log 2>&1 &

January 20, 2005

Building Native PPC Toolchain

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.

I had already copied toolchain-src.tar.gz over to the k partition and unpacked under toolchain/3.2.2/010405

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...

January 19, 2005

Loading LynxOS Manually

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.

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.

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?

Documentation Review

Reviewed documentation I've written so far, mostly just Cross LynxOS build. Several suggestions were made and being implemented.

January 18, 2005

Continuing Native PPC toolchain build

  • Performed rsync process to get cross built PPC LynxOS over to T3's archive
  • Attempting to "load the 5.0.0 TOT build" onto t-mcpn765-1
  • Started documenting the Manual OS Load process
  • .

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:

  • 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
  • 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)
  • Unpack those tarballs into /
  • Reboot

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?

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.