OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [libgloss/] [pa/] [README] - Blame information for rev 365

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
                                 Misc
2
                                 ....
3
 
4
Naming Conventions
5
------------------
6
    The basic naming convention for Unix machines is that
7
    hppa1.1-hp-proelf- is prepended to the front of each tool
8
    name. For DOS machines, the names are truncated to just the base
9
    tool name, like GCC.
10
 
11
Installation
12
------------
13
    For this beta release, there are three tar files on the tape. A
14
    simple "tar xvf [device name]" will work. One of the tarfiles is
15
    all the sources, the others are binaries. One set is for a HP-UX
16
    host, and the other set is for a sun4 host.
17
 
18
    First, make a directory called /usr/cygnus/beta-941019. Cd into
19
    this directory and type the tar command to extract the three tar
20
    files. Once the tar files are off the tape, you can uncompress
21
    and extract them. Typically, once they are installed, it's common
22
    practice to make a symbolic link so the path
23
    /usr/cygnus/beta-941019 works regardless which host. The actual
24
    binaries are in /usr/cygnus/beta-941019/$host/bin, where host is
25
    the configuration string for this machine.
26
 
27
 
28
                          WinBond W89k board
29
                          ..................
30
Downloading
31
-----------
32
    To download type the "U" command to the ROM monitor. This will
33
    load to the address as specified in the srecord. This address is
34
    0x100000.
35
 
36
To compile
37
----------
38
    Use these arguments on the command line for either the linker or
39
    the compiler:
40
 
41
        -Tw89k.ld -Ttext 100000
42
 
43
To execute
44
----------
45
    Type a "g = 100000" at thr ROM monitor after downloading to the
46
    target. After downloading, PC will be set to the correct address,
47
    but this command will *always* restart the execution from the
48
    beginning.
49
 
50
To debug
51
--------
52
    To connect GDB to the target, use the "target w89k [devicename]".
53
 
54
                           Oki OP50N board
55
                           ...............
56
 
57
Downloading
58
-----------
59
    To download, type "r 0" to the ROM monitor. The 0 is cause the
60
    monitor wants to offset the address in the srecord to 0x40000. The
61
    problem is that it doesn't relocate data right. So, we set the
62
    address for .text and .data to 0x40000, and we don't want any
63
    offset.
64
 
65
To compile
66
----------
67
    Use these arguments on the command line for either the linker or
68
    the compiler:
69
 
70
        -Top50n.ld -Ttext 40000
71
 
72
 To execute
73
----------
74
    Type a "g 40000" at thr ROM monitor after downloading to the
75
    target. After downloading, PC will be set to the correct address,
76
    but this command will *always* restart the execution from the
77
    beginning
78
 
79
To debug
80
--------
81
    To connect GDB to the target, use the "target op50n [devicename]".
82
 

powered by: WebSVN 2.1.0

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