Changeset f655979 in network-demos


Ignore:
Timestamp:
Jul 11, 2007, 7:14:39 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master, network-demos-4-10-branch, network-demos-4-8-branch, network-demos-4-9-branch
Children:
d51420e
Parents:
7f14725
Message:

2007-07-11 Joel Sherrill <joel.sherrill@…>

  • Makefile: Make slightly smarter on LD arguments. Do not pick up CVS files in tarball.
  • init.c: Turn off tracing on GoAhead?. More debug.
  • rootfs/etc/hosts: Match OAR setup for EP5200.
  • rootfs/index.html: Cleanup and use RTEMS Logo.
  • rootfs/rtems_logo.jpg: New files.
  • rootfs/web/index.html: Removed.
Location:
http
Files:
2 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • http/ChangeLog

    r7f14725 rf655979  
     12007-07-11      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * Makefile: Make slightly smarter on LD arguments.  Do not pick
     4        up CVS files in tarball.
     5        * init.c: Turn off tracing on GoAhead.  More debug.
     6        * rootfs/etc/hosts: Match OAR setup for EP5200.
     7        * rootfs/index.html: Cleanup and use RTEMS Logo.
     8        * rootfs/rtems_logo.jpg: New files.
     9        * rootfs/web/index.html: Removed.
     10
    1112007-06-22      Joel Sherrill <joel.sherrill@OARcorp.com>
    212
  • http/Makefile

    r7f14725 rf655979  
    66PGM=${ARCH}/$(SAMPLE).exe
    77
    8 MANAGERS=io event semaphore timer rate_monotonic
     8MANAGERS=all
    99
    1010# C source names, if any, go here -- minus the .c
     
    3535DEFINES  +=
    3636CPPFLAGS +=
    37 CFLAGS   +=
     37CFLAGS   += -DWEBS -DUEMF
    3838CFLAGS_LD += -Wl,--defsym -Wl,HeapSize=0xC0000
    3939CFLAGS_OPTIMIZE_V   +=
     
    5656CLOBBER_ADDITIONS +=
    5757
     58# strip out flags gcc knows but LD doesn't like -- add as needed
     59LD_CPU_CFLAGS=$(CPU_CFLAGS:-mstrict-align:)
     60
    5861all:    ${ARCH} $(SRCS) $(PGM)
    5962
     
    6366
    6467${PGM}: $(OBJS) obj_format $(LINK_FILES)
    65         cd rootfs ; tar cf ../$(ARCH)/tarfile web etc
     68        cd rootfs ; tar cf ../$(ARCH)/tarfile --exclude CVS .
    6669        cp $(ARCH)/tarfile .
    6770        $(OBJCOPY) -I binary -O `cat obj_format` tarfile $(ARCH)/tarfile.o
    68         $(LD) $(CPU_CFLAGS) -r -o $(ARCH)/temp.o \
     71        $(LD) $(LD_CPU_CFLAGS) -r -o $(ARCH)/temp.o \
    6972            $(ARCH)/init.o $(ARCH)/tarfile.o
    7073        $(MV) $(ARCH)/temp.o  $(ARCH)/init.o
  • http/init.c

    r7f14725 rf655979  
    3232
    3333#include "system.h"
     34#include <bsp.h>
    3435
    3536#include <errno.h>
     
    7980};
    8081#endif
     82
     83/* GoAhead Trace Handler */
     84#include <goahead/uemf.h>
     85void quietTraceHandler(int level, char *buf)
     86{
     87  /* do nothing */
     88}
     89
    8190rtems_task Init(
    8291  rtems_task_argument argument
     
    95104
    96105#if defined(USE_HTTPD)
    97   rtems_initialize_webserver();
     106  if ( rtems_initialize_webserver() )
     107    printf( "ERROR -- failed to initialize webserver\n" );
     108
     109  traceSetHandler( quietTraceHandler );
    98110#endif
    99111
  • http/rootfs/etc/hosts

    r7f14725 rf655979  
    11127.0.0.0        localhost
    2 192.168.1.2      rtems          # ip address of webserver
     2192.168.1.244    rtems          # ip address of webserver
Note: See TracChangeset for help on using the changeset viewer.