source: libbsdport/INSTALL @ b012571

Last change on this file since b012571 was 2fa8677, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 20, 2009 at 9:32:18 PM

2009-02-20 Joel Sherrill <joel.sherrill@…>

  • INSTALL: Attempt to update.
  • Property mode set to 100644
File size: 3.0 KB
Line 
1#
2#  $Id$
3#
4
5These notes are sketchy at best and reflect Joel's working
6knowledge.
7
8ASSUME: Building from 4.10 CVS head. Absolutely required!!! for
9        use on i386.
10
11+ check out from CVS (you have done that)
12+ bootstrap using bootstrap from RTEMS source
13+ Build and install RTEMS BSPs of interest
14+ Build libbsdport
15mkdir build
16cd build
17../libbsdport/configure \
18  --with-rtems-top=/home/joel/rtems-4.10-work/bsp-install/ \
19  --prefix=/home/joel/rtems-4.10-work/bsp-install/ >c.log 2>&1 && \
20  make >b.log 2>&1 && \
21  make install  >i.log 2>&1
22echo $?
23
24+ Build network demos for using the networkconfig-qemu.h in this
25  directory as your networkconfig.h.  If you are not targeting a pc,
26  you probably will have to drop off the ISA drivers in the configuration.
27
28  Also the IP is hard-coded as 10.0.2.5 in the above network config.
29
30+ Running on qemu:
31
32qemu -no-reboot -m 128 -boot a -serial stdio \
33  -net nic,macaddr=00:80:7F:22:61:77,model=rtl8139 \
34  -net tap,vlan=0,script=/etc/qemu-ifup  \
35  -fda ~joel/qemu/pc386_fda -hda fat:/home/joel/qemu/hd
36
37I have an fda image in ftp under rtems/people/joel/qemu which autoboots
38test.exe from hda.  Use that. 
39
40The "NIC model" can be i82559er, rtl8139 or pcnet. 
41
42+ On real hardware, do whatever it is you do.  Boot from floppy or net.
43  Fix your configuration and report back.
44
45--joel
46
47=========== ORIGINAL FROM Till =========================
48HOW TO BUILD THE SSRL RTEMS-APPLICATIONS
49
50$Id$
51
52Till Straumann, 2008/10/3
53
54***************************************************
55THIS FILE HAS NOT BEEN WRITTEN YET, SORRY!
56
57Some useful information regarding 'configure' options
58can be found in cexp/INSTALL.
59
60Basic instructions:
61
62 - make sure PATH contains toolchain directory
63 - mkdir build
64 - chdir build
65 - ../configure --with-rtems-top=/afs/slac/package/rtems/<version> \
66                --prefix=/afs/slac/package/rtems/<version>
67 - make
68 - make install
69
70This builds ssrlApps for all architectures/BSPs which are installed
71under --with-rtems-top. The list of BSPs can be explicitly defined
72using --with-rtemsbsp='bsp1 bsp2 bsp3 ...'.
73
74The default installation path for binaries, libraries and includes is
75
76 <prefix>/target/ssrlApps/<cpu>-rtems/<bsp>/bin
77 <prefix>/target/ssrlApps/<cpu>-rtems/<bsp>/lib
78 <prefix>/target/ssrlApps/<cpu>-rtems/<bsp>/include
79
80but can be modified using the standard --exec-prefix, --libdir, --includedir
81options (see 'configure' documentation and cexp/INSTALL).
82
83Other useful options:
84
85    --enable-std-rtems-installdirs
86            Install directly into the RTEMS installation directories;
87                        by default a location *outside* of the standard location
88                        is used. If you don't use this option you can also fine-tune
89                        the installation using the usual --prefix, --exec-prefix,
90                        --libdir, --includedir etc. options. If you use this
91                        option '--prefix' & friends are effectively overridden.
92
93        --with-hostbindir=<path>
94                        Where tools, i.e., programs that execute on the development
95                        platform are to be installed. Defaults to
96
97                           PREFIX/host/${build_alias}/bin
98
99
100***************************************************
Note: See TracBrowser for help on using the repository browser.