| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This was broken by conversion of console driver to libchip style.
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1762/cpukit
* Makefile.am, preinstall.am, console/console.c, console/keyboard.c,
console/keyboard.h, console/pc_keyb.c, console/ps2_mouse.c,
console/vgainit.c: Made mouse parser engine generic. Now use generic
serial mouse driver. Moved many externs from C to .h.
* console/kbd_parser.c, console/serial_mouse_config.c: New files.
* console/mouse_parser.c, console/mouse_parser.h,
console/serial_mouse.c, console/serial_mouse.h: Removed.
|
|
|
|
|
|
|
| |
* clock/rtc.c, console/console.c, console/inch.c, console/outch.c,
include/bsp.h, include/crt.h, ne2000/ne2000.c, startup/bspcmdline.c,
startup/bspstart.c, startup/ldsegs.S, timer/timer.c,
timer/timerisr.S: Fix typo where license said found in found in.
|
|
|
|
| |
* console/console.c: Fix the baudrate command line support.
|
|
|
|
|
| |
* console/console.c: Add baudrate support to the --console command
line option. You can now do '--console=com1,115200'.
|
| |
|
| |
|
|
|
|
| |
* console/console.c: Fixed compiler warning.
|
|
|
|
|
|
|
|
|
| |
* start/start.S, console/console.c: Separated code
that switched console and printk port based on info
gathered from the commandline and/or a BSP provided
routine into new BSP_console_select() which is called
from 'start.S' so that early messages make it to the
redirected printk port.
|
|
|
|
|
| |
* include/bsp.h, console/console.c: Provide weak-alias
hook so that the application may choose the console.
|
|
|
|
|
|
| |
* console/console.c, console/serial_mouse.c: Reflect
termios_baud_to_number having been renamed to
rtems_termios_baud_to_number.
|
|
|
|
| |
* console/console.c, console/inch.c, ide/ide.c: Fixed warnings.
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am: Add bspcmdline.c.
* include/bsp.h: Add boot command line interfaces.
* start/start.c: Save the multiboot command line. Pass the command
line to boot_card.
* start/start.S: Update for boot_card command line change.
* startup/bspstart.c: Initialise the command line.
* startup/bspcmdline.c: New.
* console/console.c, ide/idecfg.c: Add boot command line support.
|
|
|
|
|
| |
PR 1332: call BSP_uart_termios_set()/BSP_uart_intr_ctrl()
only from 'firstOpen' and only if this is a serial console.
|
| |
|
|
|
|
|
|
|
| |
* console/console.c, console/serial_mouse.c: Eliminate copies of
switches to convert termios Bxxx constants to xxx as an integer. Use
the shared termios_baud_to_number() routine to do the same
conversion.
|
|
|
|
|
| |
PR 1244/bsps
* console/console.c: Remove definition of __assert.
|
|
|
|
|
|
| |
* configure.ac, console/console.c: Add USE_COM1_AS_CONSOLE BSP option.
This makes it easy to build the pc386 BSP in a configuration that
corresponds to qemu with COM1 redirected to stdio.
|
|
|
|
|
|
|
| |
* 3c509/3c509.c, clock/ckinit.c, console/console.c, console/fb_vga.c,
console/inch.c, console/ps2_mouse.c, console/serial_mouse.c,
ne2000/ne2000.c, timer/timer.c, wd8003/wd8003.c: Moved irq.h to bsp
subdirectory.
|
|
|
|
|
|
|
| |
* 3c509/3c509.c, ne2000/ne2000.c: Modified parameters to
remove warnings.
* console/console.c, wd8003/wd8003.c: Added support for
addition of parameter in ISRs.
|
|
|
|
|
| |
* clock/ckinit.c, console/console.c, console/ps2_mouse.c,
console/serial_mouse.c, timer/timer.c: Added parameter to irq handler
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* clock/ckinit.c, clock/rtc.c, console/console.c, console/inch.c,
console/outch.c, ide/ide.c, include/bsp.h, include/crt.h,
ne2000/ne2000.c, start/start.S, startup/bspstart.c, startup/exit.c,
startup/ldsegs.S, startup/linkcmds, timer/timer.c, timer/timerisr.S:
URL for license changed.
|
|
|
|
| |
* console/console.c: Correct typo.
|
|
|
|
|
|
| |
* console/console.c: Others on the rtems-users list have expressed
concern about this run-time selection, so I've enclosed the changes
in a #ifdef RTEMS_RUNTIME_CONSOLE_SELECT conditional.
|
|
|
|
|
| |
* pc386/console/console.c, pc386/console/serial_mouse.c,
pc386/console/vgainit.c, shared/comm/tty_drv.c: Remove warnings.
|
|
|
|
|
|
| |
* console/console.c, console/serial_mouse.c, include/bsp.h:
Add the ability to set parity, number of data bits and
number of stop bits to the existing i386 serial drivers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Major rework of the "/dev/console" driver.
* Added termios support for stdin ( keyboard ).
* Added ioctls() to support modes similar to Linux( XLATE,
RAW, MEDIUMRAW ).
* Added Keyboard mapping and handling of the keyboard's leds.
* Added Micro FrameBuffer driver ( "/dev/fb0" ) for bare VGA
controller ( 16 colors ).
* Added PS/2 and Serial mouse support for PC386 BSP.
* console/defkeymap.c: New file.
* console/fb_vga.c: New file.
* console/fb_vga.h: New file.
* console/i386kbd.h: New file.
* console/kd.h: New file.
* console/keyboard.c: New file.
* console/keyboard.h: New file.
* console/mouse_parser.c: New file.
* console/mouse_parser.h: New file.
* console/pc_keyb.c: New file.
* console/ps2_drv.h: New file.
* console/ps2_mouse.c: New file.
* console/ps2_mouse.h: New file.
* console/serial_mouse.c: New file.
* console/serial_mouse.h: New file.
* console/vgainit.c: New file.
* console/vt.c: New file.
* console/Makefile.am: Reflect new files.
* console/console.c, console/inch.c, console/outch.c: Console
functionality modifications.
* startup/Makefile.am: Pick up tty_drv.c and gdb_glue.c
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
increase ease of application configuration of the pc386 BSP. This
patch allows switching the printk console to a serial port and
overriding bsp_start by making it a weak alias.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
moves pieces of the pc386 bsp up to a shared level for all i386 BSPs
and modifies the i386ex BSP to use those shared pieces. Serial remote
debugging is included for both targets. Erik's notes:
There are several workarounds in it:
1) #define NEXT_GAS is hardcoded in pc386/start/start.s
2) #define NEXT_GAS is hardcoded in i386ex/start/start.s
3) #define NEW_GAS is hardcoded in pc386/start16.s
4) #undef __assert and redeclare _assert hardcoded in console.c for
both pc386 and i386ex due to my egcs1.1b ~ newlib problem. Should have
modified t-rtems.cfg ( no time )
I've tested pc386 with both video and serial consoles and GDB remote.
All work fine, except that GDB acts weird. ( re: other posting)
I hope this will work for you. It took quite some time to locate the
autoconf error. The remainder was just grunt work.
Unfortunately, I think I've unwound the removal of the IBMPCInitVideo
stuff. Sorry. I REALLY can't spend more time... I've been at this
conversion to 4.0 locally and updating the release since Sept. 8th, and
have yet to compile my network driver.... This is as much as I can do
right now.
I look forward to the next patch to really test i368ex. I did make sure
that the sample tests worked for pc386.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
1. Finally fixes raw interrupts for pc386
2. Makes some minor cleanup in console and startup
3. Makes rtems_termios_dequeue_characters() to return count of
outstanding chars - it allows to simplify console isrs a little
bit.
4. pc386 uart modified to be friendlier to termios parameter changes,
to have minor performance improvement and to take advantage of
of above termios modification.
|
|
|
|
|
| |
Compiled and booted without problem. However console was set on COM2.
At least for 4.0 it should be video :-)
|
|
|
|
|
|
|
|
|
|
|
|
| |
in a previous patch. Comments from Eric:
patch_com2 was before your own fixes of raw IDT vector management
routine.
It mainly use human readable constants for the serial line driver code
+ the patch you gave me for com2 write routine.
I applied your patch for raw IDT mngt on top of that. Then made minor
cleaning in patch_idt_mngt. I hope this helps.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Eric> NB : there is still a bug on PC386 serial line : exit does not
Eric> flush the remaining output queue. As this is not a bug in the
Eric> driver itself but somewhere in PC386 initialization/termios
Eric> relationship it will be part of another patch.
Eric> NB2 : As Emmanuel excerced the exception hanlder code, while
Eric> porting the SMC driver to the new BSD stack, we found a bug
Eric> in the exception handler : it shall not delete the current
Eric> thread in case we are running at interrupt level. This will
Eric> be part of another patch...
So here is the patch. This patch fixes the two problems mentionned above
+ it use vpath mechanism intead of copying the irq related files in
the right directory. This avoid to compile them each time and is
more homogenous with other Makefiles.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Here is a brief description of the attached patch :
1) There was a bug in the code for the COM2 serial line driver. Aleksey
gave me a fix that fixes the driver code itself. I would like to thank
him again publicly,
2) I introduced constants in the serial driver code because I had a hard
time reading the meanning of hexadecimal values in the NS data book :)
3)You can now mix printk and printf on serial line (tested on COM2).
There is a #ifdef PRINTK_ON_SERIAL in console.c that enables to have
printk on console while printf on serial line,
4) Removed call to displayCpuInfo because anyway if was at the wrong
place for serial line console (too early). It can anyway be called at
application level,
5) The original printk was unable to display negative integer values
and was also recursive. It now works corectly,
All the modifications have been tested here on the COM2 port from
a PC running RTEMS to a PC running linux,
NB : there is still a bug on PC386 serial line : exit does not flush the
remaining output queue. As this is not a bug in the driver itself but
somewhere in PC386 initialization/termios relationship it will be part
of another patch.
NB2 : As Emmanuel excerced the exception hanlder code, while porting the
SMC driver to the new BSD stack, we found a bug in the exception
handler : it shall not delete the current thread in case we are running
at interrupt level. This will be part of another patch...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Celso Labinaz <labinaz@tin.it> pointed to me thatthe console on serial
line was not working. After spending quite a time to find the right
cable and software, I confirm this.
I'm going to debug this in the next days because I want to use the
serial line for debugging. In the meantime, in order to be sure that
this was a driver initialization/bug, I made printk work on the serial
line in order to be sure the receiver part and configuration was OK.
Here is the for printk on serial line. BTW, does anyone else use the
serial line facilities for PC? printf seems to output nothing (hello.exe
output everything that has a printk but application printf seems to be
broken).
|
|
|
|
|
|
| |
It fixes netboot build problem, KA9Q configuration
for pc386, some compiler wardning, it also removed some stuff
ifdef'ed with '#if 0'.
|
|
|
|
| |
inline with the new IRQ structure.
|
|
|
|
| |
Enabled on the pc386.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Here is a enhanced version of my previous patch. This patch enables
to potentially share the new interrupt management code for all Intel targets
(pc386, go32 and force386) bsp.
Note : this patch is complete only for pc386. It still needs to
be completed for go32 and force386. I carrefully checked
that anything needed is in for force386 (only some function
name changes for IDT manipulation and GDT segment
manipulation). But anyway I will not be able to test any
of theses targets...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
c/src/lib/libbsp/i386/pc386/console/console.c
__assert() modified so it prints on selected console instead of
PC console
c/src/lib/libbsp/i386/pc386/console/inch.c
inch_sleep() modified, so it does not depend upon tmacros.h
c/src/lib/libbsp/i386/pc386/pc386dev/GDB.HOWTO
description updated
c/src/lib/libbsp/i386/pc386/startup/exit.c
last output before call to exit() will be printed properly on
serial console
c/src/lib/libbsp/i386/pc386/startup/irq.c
re-submitted bug fix for problem in irqs over 7.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
<qqi@world.std.com>). Unfortunately after merging these,
the pc386 will not boot using grub for for. It still does not
work using netboot for me. Here is his summary of changes:
rtems/c/src/lib/libbsp/i386/pc386/Makefile.in
Added support for new sub-directory
rtems/c/src/lib/libbsp/i386/pc386/bsp_specs
Made possible to build COFF image
rtems/c/src/lib/libbsp/i386/pc386/console/console.c
Added support for serial consoles, selectable by patching
binary image, added __assert(), use _IBMPC_inch_sleep()
instaed of _IMBPC_inch()
rtems/c/src/lib/libbsp/i386/pc386/console/inch.c
Added _IMBPC_inch_sleep()
rtems/c/src/lib/libbsp/i386/pc386/console/outch.c
Oops - just formatting
rtems/c/src/lib/libbsp/i386/pc386/include/Makefile.in
Added support for new files
rtems/c/src/lib/libbsp/i386/pc386/include/bsp.h
Added support for new features
rtems/c/src/lib/libbsp/i386/pc386/include/pc386uart.h
New file: definitions for serial ports
rtems/c/src/lib/libbsp/i386/pc386/include/pcibios.h
New file: definitions for PCI BIOS
rtems/c/src/lib/libbsp/i386/pc386/pc386dev/Makefile.in
New file: makefile in new directory
rtems/c/src/lib/libbsp/i386/pc386/pc386dev/i386-stub-glue.c
New file: i386-stub interface
rtems/c/src/lib/libbsp/i386/pc386/pc386dev/i386-stub.c
New file: i386-stub itself
rtems/c/src/lib/libbsp/i386/pc386/pc386dev/pc386uart.c
New file: serial ports
rtems/c/src/lib/libbsp/i386/pc386/pc386dev/pcibios.c
New file: PCI BIOS support
rtems/c/src/lib/libbsp/i386/pc386/start/start.s
Commented out DEBUG_EARLY stuff, everything is working fine
rtems/c/src/lib/libbsp/i386/pc386/start/start16.s
Cleaned up
rtems/c/src/lib/libbsp/i386/pc386/startup/bspstart.c
Added call to console_resereve_resources
rtems/c/src/lib/libbsp/i386/pc386/startup/exit.c
Added support for serial console
rtems/c/src/lib/libbsp/i386/pc386/startup/ldsegs.s
Fixed typo in comments
rtems/c/src/lib/libbsp/i386/pc386/tools/Makefile.in
Changed to reflect cnages in code
rtems/c/src/lib/libbsp/i386/pc386/tools/bin2boot.c
Trivialized, problem - I do not know how to make patch
remove obsolete files - there are a lot of them there
rtems/c/src/lib/libbsp/i386/pc386/tools/binpatch.c
New file: utility to do binary patches
rtems/c/src/lib/libbsp/i386/pc386/wrapup/Makefile.in
Added support for new directory
rtems/make/custom/pc386.cfg
Add COFF image building
|