URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [pa/] [README] - Rev 816
Compare with Previous | Blame | View Log
Misc....Naming Conventions------------------The basic naming convention for Unix machines is thathppa1.1-hp-proelf- is prepended to the front of each toolname. For DOS machines, the names are truncated to just the basetool name, like GCC.Installation------------For this beta release, there are three tar files on the tape. Asimple "tar xvf [device name]" will work. One of the tarfiles isall the sources, the others are binaries. One set is for a HP-UXhost, and the other set is for a sun4 host.First, make a directory called /usr/cygnus/beta-941019. Cd intothis directory and type the tar command to extract the three tarfiles. Once the tar files are off the tape, you can uncompressand extract them. Typically, once they are installed, it's commonpractice to make a symbolic link so the path/usr/cygnus/beta-941019 works regardless which host. The actualbinaries are in /usr/cygnus/beta-941019/$host/bin, where host isthe configuration string for this machine.WinBond W89k board..................Downloading-----------To download type the "U" command to the ROM monitor. This willload to the address as specified in the srecord. This address is0x100000.To compile----------Use these arguments on the command line for either the linker orthe compiler:-Tw89k.ld -Ttext 100000To execute----------Type a "g = 100000" at thr ROM monitor after downloading to thetarget. After downloading, PC will be set to the correct address,but this command will *always* restart the execution from thebeginning.To debug--------To connect GDB to the target, use the "target w89k [devicename]".Oki OP50N board...............Downloading-----------To download, type "r 0" to the ROM monitor. The 0 is cause themonitor wants to offset the address in the srecord to 0x40000. Theproblem is that it doesn't relocate data right. So, we set theaddress for .text and .data to 0x40000, and we don't want anyoffset.To compile----------Use these arguments on the command line for either the linker orthe compiler:-Top50n.ld -Ttext 40000To execute----------Type a "g 40000" at thr ROM monitor after downloading to thetarget. After downloading, PC will be set to the correct address,but this command will *always* restart the execution from thebeginningTo debug--------To connect GDB to the target, use the "target op50n [devicename]".
