OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc1/] [libgloss/] [pa/] [README] - Diff between revs 207 and 345

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 207 Rev 345
                                 Misc
                                 Misc
                                 ....
                                 ....
Naming Conventions
Naming Conventions
------------------
------------------
    The basic naming convention for Unix machines is that
    The basic naming convention for Unix machines is that
    hppa1.1-hp-proelf- is prepended to the front of each tool
    hppa1.1-hp-proelf- is prepended to the front of each tool
    name. For DOS machines, the names are truncated to just the base
    name. For DOS machines, the names are truncated to just the base
    tool name, like GCC.
    tool name, like GCC.
Installation
Installation
------------
------------
    For this beta release, there are three tar files on the tape. A
    For this beta release, there are three tar files on the tape. A
    simple "tar xvf [device name]" will work. One of the tarfiles is
    simple "tar xvf [device name]" will work. One of the tarfiles is
    all the sources, the others are binaries. One set is for a HP-UX
    all the sources, the others are binaries. One set is for a HP-UX
    host, and the other set is for a sun4 host.
    host, and the other set is for a sun4 host.
    First, make a directory called /usr/cygnus/beta-941019. Cd into
    First, make a directory called /usr/cygnus/beta-941019. Cd into
    this directory and type the tar command to extract the three tar
    this directory and type the tar command to extract the three tar
    files. Once the tar files are off the tape, you can uncompress
    files. Once the tar files are off the tape, you can uncompress
    and extract them. Typically, once they are installed, it's common
    and extract them. Typically, once they are installed, it's common
    practice to make a symbolic link so the path
    practice to make a symbolic link so the path
    /usr/cygnus/beta-941019 works regardless which host. The actual
    /usr/cygnus/beta-941019 works regardless which host. The actual
    binaries are in /usr/cygnus/beta-941019/$host/bin, where host is
    binaries are in /usr/cygnus/beta-941019/$host/bin, where host is
    the configuration string for this machine.
    the configuration string for this machine.
                          WinBond W89k board
                          WinBond W89k board
                          ..................
                          ..................
Downloading
Downloading
-----------
-----------
    To download type the "U" command to the ROM monitor. This will
    To download type the "U" command to the ROM monitor. This will
    load to the address as specified in the srecord. This address is
    load to the address as specified in the srecord. This address is
    0x100000.
    0x100000.
To compile
To compile
----------
----------
    Use these arguments on the command line for either the linker or
    Use these arguments on the command line for either the linker or
    the compiler:
    the compiler:
        -Tw89k.ld -Ttext 100000
        -Tw89k.ld -Ttext 100000
To execute
To execute
----------
----------
    Type a "g = 100000" at thr ROM monitor after downloading to the
    Type a "g = 100000" at thr ROM monitor after downloading to the
    target. After downloading, PC will be set to the correct address,
    target. After downloading, PC will be set to the correct address,
    but this command will *always* restart the execution from the
    but this command will *always* restart the execution from the
    beginning.
    beginning.
To debug
To debug
--------
--------
    To connect GDB to the target, use the "target w89k [devicename]".
    To connect GDB to the target, use the "target w89k [devicename]".
                           Oki OP50N board
                           Oki OP50N board
                           ...............
                           ...............
Downloading
Downloading
-----------
-----------
    To download, type "r 0" to the ROM monitor. The 0 is cause the
    To download, type "r 0" to the ROM monitor. The 0 is cause the
    monitor wants to offset the address in the srecord to 0x40000. The
    monitor wants to offset the address in the srecord to 0x40000. The
    problem is that it doesn't relocate data right. So, we set the
    problem is that it doesn't relocate data right. So, we set the
    address for .text and .data to 0x40000, and we don't want any
    address for .text and .data to 0x40000, and we don't want any
    offset.
    offset.
To compile
To compile
----------
----------
    Use these arguments on the command line for either the linker or
    Use these arguments on the command line for either the linker or
    the compiler:
    the compiler:
        -Top50n.ld -Ttext 40000
        -Top50n.ld -Ttext 40000
 To execute
 To execute
----------
----------
    Type a "g 40000" at thr ROM monitor after downloading to the
    Type a "g 40000" at thr ROM monitor after downloading to the
    target. After downloading, PC will be set to the correct address,
    target. After downloading, PC will be set to the correct address,
    but this command will *always* restart the execution from the
    but this command will *always* restart the execution from the
    beginning
    beginning
To debug
To debug
--------
--------
    To connect GDB to the target, use the "target op50n [devicename]".
    To connect GDB to the target, use the "target op50n [devicename]".
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.