From fb50f7ba6a9b780ae8424b630536a7a75223ef5f Mon Sep 17 00:00:00 2001 From: cvs2git Date: Sun, 7 Mar 2010 17:11:30 +0000 Subject: This commit was manufactured by cvs2svn to create branch 'libbsdport-4-10-branch'. Sprout from base 2009-04-23 00:37:07 UTC Till Straumann ' - importing original version I had sent Joel on 20090214' Cherrypick from master 2010-03-07 17:11:23 UTC Till Straumann '2010-03-07 Till Straumann ': .cvsignore ChangeLog INSTALL bsd_eth_drivers/.cvsignore bsd_eth_drivers/ChangeLog bsd_eth_drivers/Makefile.am bsd_eth_drivers/if_bge/.cvsignore bsd_eth_drivers/if_bge/Makefile.am bsd_eth_drivers/if_bge/if_bge.c bsd_eth_drivers/if_bge/if_bgereg.h bsd_eth_drivers/if_em/.cvsignore bsd_eth_drivers/if_em/Makefile.am bsd_eth_drivers/if_em/e1000_manage.c bsd_eth_drivers/if_em/e1000_manage.h bsd_eth_drivers/if_em/e1000_osdep.h bsd_eth_drivers/if_em/if_em.c bsd_eth_drivers/if_fxp/.cvsignore bsd_eth_drivers/if_fxp/Makefile.am bsd_eth_drivers/if_fxp/if_fxp.c bsd_eth_drivers/if_fxp/if_fxpvar.h bsd_eth_drivers/if_le/.cvsignore bsd_eth_drivers/if_pcn/.cvsignore bsd_eth_drivers/if_pcn/if_pcn.c bsd_eth_drivers/if_re/.cvsignore bsd_eth_drivers/if_re/Makefile.am bsd_eth_drivers/if_re/if_re.c bsd_eth_drivers/if_re/if_rl.c bsd_eth_drivers/if_re/if_rlreg.h bsd_eth_drivers/libbsdport/.cvsignore bsd_eth_drivers/libbsdport/Makefile.am bsd_eth_drivers/libbsdport/alldrv.c bsd_eth_drivers/libbsdport/bus.h bsd_eth_drivers/libbsdport/callout.h bsd_eth_drivers/libbsdport/devicet.c bsd_eth_drivers/libbsdport/ifmedia.c bsd_eth_drivers/libbsdport/libbsdport.h bsd_eth_drivers/libbsdport/libbsdport_api.h bsd_eth_drivers/libbsdport/libbsdport_post.h bsd_eth_drivers/libbsdport/miistuff.c bsd_eth_drivers/libbsdport/misc.c bsd_eth_drivers/libbsdport/mutex.h bsd_eth_drivers/libbsdport/rtems_callout.c bsd_eth_drivers/libbsdport/sysbus.c bsd_eth_drivers/libbsdport/taskqueue.h bsd_eth_drivers/links.am configure.ac m4/rtems-fixup-prefix.m4 networkconfig-qemu.h rtems-pre.am Cherrypick from freebsd_orig 2009-04-23 04:52:05 UTC Till Straumann ' - importing original 'releng_7_1' version of FXP driver from FreeBSD.': bsd_eth_drivers/if_fxp/if_fxpreg.h bsd_eth_drivers/if_fxp/rcvbundl.h Delete: Makefile.in aclocal.m4 bsd_eth_drivers/Makefile.in bsd_eth_drivers/if_em/Makefile.in bsd_eth_drivers/if_le/Makefile.in bsd_eth_drivers/if_pcn/Makefile.in bsd_eth_drivers/libbsdport/Makefile.in config.guess config.h.in config.sub configure depcomp install-sh makefile.top.am makefile.top.in missing --- INSTALL | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 38c11f6..7281739 100644 --- a/INSTALL +++ b/INSTALL @@ -1,3 +1,50 @@ +# +# $Id$ +# + +These notes are sketchy at best and reflect Joel's working +knowledge. + +ASSUME: Building from 4.10 CVS head. Absolutely required!!! for + use on i386. + ++ check out from CVS (you have done that) ++ bootstrap using bootstrap from RTEMS source ++ Build and install RTEMS BSPs of interest ++ Build libbsdport +mkdir build +cd build +../libbsdport/configure \ + --with-rtems-top=/home/joel/rtems-4.10-work/bsp-install/ \ + --prefix=/home/joel/rtems-4.10-work/bsp-install/ >c.log 2>&1 && \ + make >b.log 2>&1 && \ + make install >i.log 2>&1 +echo $? + ++ Build network demos for using the networkconfig-qemu.h in this + directory as your networkconfig.h. If you are not targeting a pc, + you probably will have to drop off the ISA drivers in the configuration. + + Also the IP is hard-coded as 10.0.2.5 in the above network config. + ++ Running on qemu: + +qemu -no-reboot -m 128 -boot a -serial stdio \ + -net nic,macaddr=00:80:7F:22:61:77,model=rtl8139 \ + -net tap,vlan=0,script=/etc/qemu-ifup \ + -fda ~joel/qemu/pc386_fda -hda fat:/home/joel/qemu/hd + +I have an fda image in ftp under rtems/people/joel/qemu which autoboots +test.exe from hda. Use that. + +The "NIC model" can be i82559er, rtl8139 or pcnet. + ++ On real hardware, do whatever it is you do. Boot from floppy or net. + Fix your configuration and report back. + +--joel + +=========== ORIGINAL FROM Till ========================= HOW TO BUILD THE SSRL RTEMS-APPLICATIONS $Id$ -- cgit v1.2.3