| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* configure.in: Add bspopts.h.
* include/.cvsignore: Add bspopts.h*, stamp-h*.
* include/Makefile.am: Use *_HEADERS instead of *H_FILES.
* include/bsp.h: Include bspopts.h.
|
|
|
|
| |
* configure.in: Remove CONSOLE_USE_POLLED, HAS_RTC.
|
|
|
|
|
|
|
| |
* configure.in: Add bspopts.h.
* include/.cvsignore: Add bspopts.h*, stamp-h*.
* include/Makefile.am: Use *_HEADERS instead of *H_FILES.
* include/bsp.h: Include bspopts.h.
|
|
|
|
|
|
|
| |
* configure.in: Add bspopts.h, fix PACKAGE.
* include/.cvsignore: Add bspopts.h*, stamp-h*.
* include/Makefile.am: Use *_HEADERS instead of *H_FILES.
* include/bsp.h: Include bspopts.h.
|
|
|
|
|
|
|
| |
* configure.in: Add bspopts.h.
* include/.cvsignore: Add bspopts.h*, stamp-h*, coverhd.h.
* include/Makefile.am: Use *_HEADERS instead of *H_FILES.
* include/bsp.h: Include bspopts.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mpc8xx/console-generic/console-generic.c:
The printk/printf did not work when loaded by EPPCBUG. They did
work when loaded with the BDM debugger. I suspected EPPBUG
made some nasty things like patching Communication processor
microcode... Anyway, the attached patch:
1) Enables to have printk nearly immediately after boot,
2) Make printf work automagically (I do not know why except I make a
different initialization for printk that should be overwritten by
console init later ?)
I let the default to be using EPPCBUG embedded firmware to boot and
using this printk early enabler code (LOADED_BY_EPPCBUG and
EARLY_CONSOLE) are on.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* console/console.c, include/commproc.h, startup/start.S:
The printk/printf did not work when loaded by EPPCBUG. They did
work when loaded with the BDM debugger. I suspected EPPBUG
made some nasty things like patching Communication processor
microcode... Anyway, the attached patch:
1) Enables to have printk nearly immediately after boot,
2) Make printf work automagically (I do not know why except I make a
different initialization for printk that should be overwritten by
console init later ?)
I let the default to be using EPPCBUG embedded firmware to boot and
using this printk early enabler code (LOADED_BY_EPPCBUG and
EARLY_CONSOLE) are on.
|
|
|
|
|
|
|
| |
* clock/Makefile.am, console/Makefile.am, spurious/Makefile.am,
start/Makefile.am, startup/Makefile.am, timer/Makefile.am,
wrapup/Makefile.am: Modified to include compile.am.
* startup/bspstart.c: Removed include of <libcsupport.h>
|
|
|
|
|
|
|
| |
* configure.in: Add bspopts.h.
* include/bsp.h: Include bspopts.h.
* include/.cvsignore: Add bspopts.h*, coverhd.h, stamp-h*.
* include/Makefile.am: Use *_HEADERS instead of *H_FILES.
|
|
|
|
|
|
|
|
|
| |
* include/Makefile.am: Use *_HEADERS instead of *H_FILES, add
bspopts.h.
* include/.cvsignore: Add bspopts.h.
* include/bsp.h: Add bspopts.h.
* console/Makefile.am: Use *_HEADERS instead of H_FILES.
* configure.in: Add bspopts.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* New MRM332 BSP for the Mini RoboMind board based
on the 68332 microcontroller designed and build by Mark
Castelluccio. For details on the MRM see http://www.robominds.com.
* .cvsignore, ChangeLog Makefile.am, README, bsp_specs,
clock/.cvsignore, clock/Makefile.am, clock/ckinit.c, configure.in,
console/.cvsignore, console/Makefile.am, console/console.c,
include/.cvsignore, include/Makefile.am, include/bsp.h,
include/mrm332.h, misc/dotests, misc/gdbinit68, misc/interr.c,
spurious/.cvsignore, spurious/Makefile.am, spurious/spinit.c,
start/.cvsignore, start/Makefile.am, start/start.c, startup/.cvsignore,
startup/Makefile.am, startup/bspclean.c, startup/bspstart.c,
startup/except_vect_332_ROM.S, startup/linkcmds, startup/linkcmds_ROM,
timer/.cvsignore, timer/Makefile.am, timer/timer.c, times,
wrapup/.cvsignore, wrapup/Makefile.am: Initial files.
|
|
|
|
|
|
| |
* libc/base_fs.c: Deleted chmod() now that IMFS creates the
root node with the desired permissions. chmod() is also not
supported by the miniIMFS so this is not allowable.
|
|
|
|
|
| |
* include/rtems/libio_.h: Added login name, uid, gid, euid, and egid
so they can be part of the private environment.
|
|
|
|
|
|
|
| |
* libc/ttyname.c (ttyname_r): Removed duplicate call to closedir().
* libc/getpwent.c: Create a more robust /etc/passwd and /etc/group.
* libc/base_fs.c: Change permissions of files and directories. Now uses
octal constants.
|
|
|
|
|
|
|
|
|
| |
* start/start.S: Increased BAT0 mapping of RAM from 64 meg to
256 meg to allow operation on boards with larger RAM sizes.
* vectors/vectors_init.c: Modified to call 'generic' powerpc
vector function (mpc60x_vector_is_valid) instead of MPC750
specific function to allow operation on boards with CPUs other
than the MPC750.
|
|
|
|
|
|
| |
* mpc6xx/timer/timer.c: Added include of bsp.h and removed
external declaration of BSP_Convert_decrementer() to
correct unresolved reference to this routine.
|
|
|
|
|
|
| |
* mpc8xx/console-generic/console-generic.c: Bug found by Yacine
<elkolli@crf.canon.fr> where the initialization or irq data structure
was incomplete in case a SMC channel was used first and later a SCC one.
|
|
|
|
|
|
|
| |
* configure.in: Add bspopts.h.
* include/bsp.h: Include bspopts.h.
* include/.cvsignore: Add bspopts.h*, coverhd.h, stamp-h*.
* include/Makefile.am: Use *_HEADERS instead of *H_FILES.
|
|
|
|
|
|
|
| |
* configure.in: Add bspopts.h.
* include/bsp.h: Include bspopts.h.
* include/.cvsignore: Add bspopts.h*, coverhd.h, stamp-h*.
* include/Makefile.am: Use *_HEADERS instead of *H_FILES.
|
|
|
|
|
|
|
|
|
| |
* configure.in: Add bspopts.h.
* include/bsp.h: Include bspopts.h.
* include/.cvsignore: Add bspopts.h*, stamp-h*.
* include/Makefile.am: Use *_HEADERS instead of *H_FILES.
* start/Makefile.am: Dito.
* network/Makefile.am: Dito.
|
|
|
|
|
|
|
| |
* configure.in: Add bspopts.h.
* include/.cvsignore: Add bspopts.h*, coverhd.h, stamp-h*.
* include/Makefile.am: Use *_HEADERS instead of *H_FILES.
* include/bsp.h: Include bspopts.h.
|
|
|
|
| |
* comm/Makefile.am: Use *_HEADERS instead of *H_FILES.
|
|
|
|
| |
* configure.in: remove shared/io/Makefile.
|
|
|
|
|
|
|
|
|
| |
* configure.in: Add include/bspopts.h.
* console/Makefile.am: Use *_HEADERS instead of *H_FILES.
* irq/Makefile.am: Use *_HEADER instead of *H_FILES.
* include/.cvsignore: Add bspopts.h*, coverhd.h, stamp-h*
* include/Makefile.am: Add bspopts.h, Use *_HEADER instead of *H_FILES.
* include/bsp.h: Add bspopts.h.
|
|
|
|
|
|
|
|
|
| |
* configure.in: Add bspopts.h, AC_DEFINE CONSOLE_USE_INTERRUPTS,
CONSOLE_USE_POLLED, HAS_RTC.
* include/.cvsignore: Add bspopts.h*, stamp-h*, coverhd.h, tod.h.
* include/Makefile.am: Use *_HEADERS instead of *H_FILES, New
treatment of tod.h, coverhd.h.
* include/bsp.h: Add include bspopts.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/vectorisrs.c,
r46xx/vectorisrs/vectorisrs.c, tx39/vectorisrs/vectorisrs.c,
tx39/include/tx3904.h: All exceptions were given low numbers and thus
can be now be installed and processed in a uniform manner just like interrupts.
Variances between various MIPS ISA levels are not accounted for at this time.
* mongoosev/vectorisrs/Makefile.am, mongoosev/vectorisrs/maxvectors.c,
r46xx/vectorisrs/Makefile.am, r46xx/vectorisrs/maxvectors.c,
tx39/vectorisrs/Makefile.am, tx39/vectorisrs/maxvectors.c,
shared/interrupts/maxvectors.c, shared/interrupts/Makefile.am: Split the
shared maxvectors.c into a variety of CPU model specific versions to simplify
the build process and reduce depdencies. Deleted shared/interrupts/maxvectors.c
and created various CPU model versions.
|
|
|
|
| |
* clock/clock.S: Move placement of nop.
|
|
|
|
|
|
| |
* Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>.
* start/regs.S, start/start.S: Now works on Mongoose-V. Missed
in previous patch.
|
|
|
|
|
|
|
|
|
|
| |
* Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>.
* mongoosev/duart/mg5uart.c, mongoosev/duart/mg5uart.h,
mongoosev/include/mongoose-v.h, mongoosev/vectorisrs/vectorisrs.c,
shared/interrupts/maxvectors.c: Now works. Significant rework
of exceptions and interrupt vectoring to clean things up.
* shared/interrupts/vectorexceptions.c: Removed.
* shared/interrupts/Makefile.am: Reflects above.
|
|
|
|
|
|
|
|
|
| |
* Assisted in design and debug by Joel Sherrill <joel@OARcorp.com>.
* clock/clockdrv.c, console/conscfg.c: Corrected.
* include/bsp.h: Support for tm27 and addition of CPU_CLOCK_RATE.
* startup/bspstart.c: Properly set initial status register and
pending interrupts.
* timer/timer.c: Works now.
|
|
|
|
|
|
|
|
| |
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]), adapt
bspopts.h handling to other sh-BSPs.
* include/.cvsignore: Add stamp-h*, bspopts.h*.
* include/Makefile.am: Use include_HEADERS instead of H_FILES.
* startup/bspstart.c: Reworked, based on the amos BSP.
|
|
|
|
|
|
|
|
|
| |
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]), add
bspopts.h.
* include/.cvsignore: Add stamp-h*, bspopts.h*.
* include/Makefile.am: Use include_HEADERS instead of H_FILES.
* include/bsp.h: Add bspopts.h.
* startup/bspstart.c: Replace HZ w/ CPU_CLOCK_RATE_HZ.
|
|
|
|
|
|
|
|
| |
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]),
add bspopts.h.
* include/.cvsignore: Add stamp-h*, bspopts.h*.
* include/Makefile.am: Use include_HEADERS instead of H_FILES.
* include/bsp.h: Add bspopts.h.
|
|
|
|
| |
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
|
|
|
|
| |
* configure.in: Use RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm]).
|
|
|
|
|
| |
* tools/runtest: Add functionality to avoid letting simulator
run too long.
|
|
|
|
|
| |
* libc/write.c: Change type of rc to match return type from
underlying function per report from Eric Norum.
|
|
|
|
|
|
|
|
|
| |
* scitab/.cvsignore: Add.
* configure.in: Add --enable-console, CPU_CLOCK_RATE_HZ, autoheader
bspopt.h.
* include/bsp.h: Complete rewrite based on the AMOS-BSP.
* README: Update.
* bsp_specs: copy from gensh1
|
|
|
|
| |
* ne2000/ne2000.c: Remove #define __INSIDE_RTEMS_BSD_TCPIP_STACK__.
|
|
|
|
| |
* configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
|
|
|
|
|
|
| |
* shared/interrupts/vectorexceptions.c: New file to decode
exception code and vector appropriate NON-interrupt exception.
* shared/interrupts/Makefile.am: Modified to reflect above.
|
|
|
|
|
| |
* console/conscfg.c: Added an entry for the second
serial port.
|
|
|
|
|
|
|
|
|
| |
* libc/libio.c (rtems_libio_allocate): Make sure size and offset
fields are cleared on each file open. Before this field was cleared,
this resulted in the value from the last time that IOP was used
being still in place. Discovered by Andrew Bythell
<abythell@nortelnetworks.com>.
* libc/open.c: Remove redundant setting of iop->offset.
|
|
|
|
|
|
| |
* start.S: Modificatins to preserve the current CWP and adjust the
WIM accordingly. This improves compatibility with the remote
debugger and the mkprom prom-builder.
|
|
|
|
| |
* console/debugputs.c: Switched to unsigned characters.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/rtems/libio_.h, libc/chroot.c, libc/privateenv.c:
Private environment and chroot() enhancements and fixes. Comments:
+ privateenv has been modified to let at chroot() to be more
POSIX like Sergei Organov recommended.
+ A task owner lets that rtems_set_private_env() will be
called twice or more times.
+ chroot() can be called without a previous
rtems_set_private_env(); (transpanrently)
+ The second call of rtems_set_private_env() makes a internal
chroot("/") into global imfs_root.
+ chroot() runs like chdir() without a previous chdir("/") with
the global root.
+ The current directory can be in a wrong place like Linux and
many other Unices.
|
|
|
|
|
| |
* include/bsp.h: Added include of <bsp/vectors.h>
* vectors/vectors.h: Corrected typos.
|
|
|
|
|
|
|
|
|
|
| |
* mongoosev/duart/mg5uart.c (mg5uart_enable_interrupts): Honor
the other bits set in the Peripheral Function Interrupt Mask
Register when modifying those enabled for the DUART.
* mongoosev/include/mongoose-v.h (MONGOOSEV_ATOMIC_MASK,
MONGOOSEV_PFICR, MONGOOSEV_PFIMR, mongoosev_set_in_pficr,
mongoosev_clear_in_pficr, mongoosev_set_in_pfimr,
mongoosev_clear_in_pfimr, MONGOOSEV_UART_ALL_IRQ_BITS): New macros.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/bsp.h (Clear_tm27_intr): Stop the timer and disable
the interrupt. This was not quite right before and we were
getting uncontrolled interrupt nesting in tm27.
* timer/timer.c (Timer_Initialize): Added an extra reset and
changed the ITMR register so we will never get an interrupt.
(Read_timer): Fixed so the timer actually stops before it
is read. Before some times reported were outraguously high.
* start/start.S: Major clean including using stack in linkcmds,
deleting unused code, and zeroing the BSS using the linkcmds
information.
* startup/linkcmds: Put heap in lower memory than workspace
and move _clear_end so both are zeroed.
|
|
|
|
|
| |
* clock/clockdrv.c: Account for the fact that ClockRate is
in cycles not megahertz.
|