Commit graph

47 commits

Author SHA1 Message Date
Eric W. Biederman
2beb0a1bcc - Updates for the supermicro p4dc6 motherboard
- Code to initialize sdram from C on the l440gx
- cache as ram code fro the p6 it works except conflict misses occur
  with addresses that are not cached so writing to ram does not work.
  Which makes it to brittle to count on.
- Initial implementation of a fallback booting scheme where we can
  have two copies of linuxbios in rom at once.
- Movement of 32 bit entry code from entry16.inc to entry32.inc
- Update of all config files so they now also include entry32.inc
- Fix for start_stop.c & entry16.inc so I can fairly arbitrarily relocate
  the 16bit entry code in SMP.
- A small number of fixes for warnings
2001-11-27 19:29:59 +00:00
Ronald G. Minnich
0ddd8a6f16 Fixup work in the video subr. 2001-11-25 21:22:16 +00:00
Ronald G. Minnich
0222d47c61 Changed
option SERIAL_CONSOLE
to
option SERIAL_CONSOLE=1
2001-11-08 02:06:37 +00:00
Eric W. Biederman
a8151ba2cd Initial checkin for supermicro p4dc6
This also includes a bunch of my pending work including
- Updated serial code so we can compile in different serial port speeds
- Updates to the build system so that:
  - Makefile.settings holds all of the settings of the config variables
  - ldoptions and cpuflags are generated automatically with perl scripts
  - src/config/Config holds all of the architecture neutral make file settings
- Initial work on the P4 including how to use cache as ram
- Update to the ioapic code for the P4 because it delivers irqs on the system
  bus instead of an out of band bus
- Updated version of printf that doesn't need an intermediate buffer
  - logbuf_subr now handles the case when we want to use a log buffer
- video_subr handles the preliminary code for writing to a video device.
- Pending changes for the L440GX are merged in as well (hopefully I haven't
  messed then up since they were written).
2001-11-03 02:11:49 +00:00
Ronald G. Minnich
71022a5661 added debug option for get_byte to dump every byte.
Fix for technoland config
Added new anal-retentive DoC code for those who want it to docmil_fill_inbuf
added .h files for new DoC code.
2001-10-24 16:13:42 +00:00
Ronald G. Minnich
ce6c4c7195 Minor SMP fixes. Fix to linuxpci to catch buggy chipsets 2001-10-15 18:19:40 +00:00
Ronald G. Minnich
cffb97e763 Fix small bug in raminit for 440gx. If you have ecc ram you need to set
0x18 into reg 0x50.w

More helpful error messages when elfboot fails.
2001-09-20 17:31:08 +00:00
Ronald G. Minnich
ce4630e8d0 comment for why log_buf should NOT be static 2001-08-29 16:23:51 +00:00
Ronald G. Minnich
5d0eea342e Make log_buf global so I know where it is and can watch it with the arium.
Fix m754lmr/Config so it works with DoC
2001-08-29 16:22:50 +00:00
Eric W. Biederman
ed8c9d7e0d Code changes from my work and the AMD760MP chipset.
The primary changes is the way in which printk works.
But there are many other assorted code cleanups.
Just look and see :)
2001-08-08 02:45:10 +00:00
Eric W. Biederman
228148aa23 Start of merge from work on the AMD760MP platform.
This is the safe part just additions to files, and comment changes
2001-08-07 19:46:37 +00:00
Li-Ta Lo
dcd75bd928 better Flash/DoC intergration 2001-07-19 03:10:50 +00:00
Ronald G. Minnich
b49438f67e Patches for flash and TFTP support 2001-06-24 03:40:52 +00:00
Ronald G. Minnich
c910d07651 Simple null-terminate patch on command line 2001-06-24 03:36:31 +00:00
Ronald G. Minnich
9ea31ee45a Support for etherboot. 2001-06-23 21:04:48 +00:00
Ronald G. Minnich
61cf86c18e Added doxygen targets and support files.
made remaining changes for new superio support.
2001-06-18 04:04:42 +00:00
Eric W. Biederman
39b133810a Minor fixes
- Add IMB to the palcode in start.inc
- Reduce the heap to only 128K in alpha/ldscript.base
- In elfboot add checks to make certain we don't overwrite linuxBIOS...
2001-04-13 22:04:26 +00:00
Ronald G. Minnich
b1e09fa054 Chances for the new superio setup. pci.h has new structs.
newpci.c has some new functions. asus config is fixed for i386 stuff.
NLBconfig has a new command (nsuperio) and will take arch, mainboard, or
target as the first command. sis 950 superio has changes for the new
superio model
2001-04-11 21:38:46 +00:00
Ronald G. Minnich
dd99e41d73 Trying to resync with Eric's changes
First, grow heap size in src/arch/i386/config/ldscript.base for DoC
Minor include fixes
Fixes to cua -- but it's now broken, won't find IDE
Minor fix to util/config/NLBConfig.py: for docipl, use CFLAGS

Added files so that CUA works with config tool.
2001-03-26 21:49:23 +00:00
Eric W. Biederman
0785f9f233 Final updates for my code cleanup and alpha code merge. 2001-03-23 22:56:05 +00:00
Eric W. Biederman
24fe8d03aa Next in my series of cleanups form the alpha port nothing should break yet... 2001-03-23 21:03:13 +00:00
Ronald G. Minnich
227ca052f7 Changes from Eric for Alpha and other support 2001-03-13 04:22:19 +00:00
Ronald G. Minnich
e94eeb3d9d Patches for tyson that do the following:
Added set_initrd() to params.h and params.c.

Added PRINTK macro and KERN_SPEW to printk.h.

Changed fill_inbuf.c to accept zkernel_start and zknernel_mask as
variables that can be set by linuxbiosmain().

Changed linuxbiosmain() to allow custom code to modify some parameters
such as where the kernel image is located in ROM, the initrd parameters
and the command line.

Change most of the DBG's in newpci.c to PRINTK(KERN_SPEW...  This was
the worst offender when DEBUG was defined.  Some of it was changed to
KERN_DEBUG.

There are no new files this time, however,
freebios-010214.orig/src/superio/SMC/fdc37n769/superio.inc
remains and needs to be deleted and then 'cvs rm'.

None of these changes should break any other code.  The same
ZKERNEL_START, ZKERNEL_MASK and CMD_LINE defines are still used, but
are now all used in linuxbiosmain() and used to initialize variables
that can later be changed rather than used directly.

These changes allow me to choose between two kernel images, optionally
use an initrd image, load the initrd image and set the kernel command
line as needed.
2001-02-15 15:23:06 +00:00
Ronald G. Minnich
af5eaf5b29 Changes to support 440BX 2001-02-08 16:17:38 +00:00
Li-Ta Lo
7c4b9e606a prepare for SiS 730 support, let's wait and see 2000-12-20 09:08:40 +00:00
Li-Ta Lo
54e665686e more clean up for printk messages 2000-12-06 11:02:36 +00:00
Li-Ta Lo
7f6e048fc0 a smarter Late MTRR implementation 2000-12-05 07:25:32 +00:00
Li-Ta Lo
3b59c6fbbd reformat with ident -kr -i8 2000-12-04 01:47:52 +00:00
Li-Ta Lo
d3e4c27442 use TSC to minotoring the performance of LinuxBIOS 2000-12-02 05:48:29 +00:00
Li-Ta Lo
69f93c224c add more
#ifndef lint
static char rcsid[] = "$Id:$";
#endif

to *.c source
2000-12-02 03:51:28 +00:00
Li-Ta Lo
f0ea4a2bc0 Debug message is disabled by default now. If you want to show the message,
please add "option DEBUG" in the config file or in the C source

#define DEBUG
#include <printk.h>
2000-12-01 08:59:47 +00:00
Li-Ta Lo
75571b0227 some performance boost for reading DoC 2000-12-01 03:33:59 +00:00
Li-Ta Lo
075e8642af add cvs identification string
#ifndef lint
static char rcsid[] = "$Id:$";
#endif
2000-12-01 01:43:51 +00:00
Ronald G. Minnich
96bc60d84f Added support for 64-bit base address registers. 2000-11-30 22:06:43 +00:00
Li-Ta Lo
bd2c5afc45 clean up for old dead PCI code 2000-11-30 10:23:40 +00:00
Ronald G. Minnich
f6e3094a96 support for SERIAL_POST (i.e. post to serial port as well as post port) 2000-11-30 04:50:27 +00:00
Ronald G. Minnich
52f9abfbfe Commented out POST of 0xee in the error function. 2000-11-28 05:54:04 +00:00
Ronald G. Minnich
f2a42b6145 Missing file 2000-11-28 04:44:10 +00:00
Ronald G. Minnich
9256f0f6f9 deleted any remaining references to the old PCI code. 2000-11-28 03:44:45 +00:00
Ronald G. Minnich
8d7c3938b0 Fixed to no longer used old chip/intel/serial_subr.c
added serial_subr.c to lib
setup_serial.inc is for sis
2000-10-24 21:53:12 +00:00
Ronald G. Minnich
5b237f3832 less debuggin 2000-10-19 23:12:13 +00:00
Ronald G. Minnich
787deb4ae4 Fixes so we don't use any of the standard include paths 2000-10-17 22:58:51 +00:00
Ronald G. Minnich
ef20fb22dc reorg, and recovery from my mistake. 2000-10-17 20:49:18 +00:00
Ronald G. Minnich
d0d1e8dea2 reorg 2000-10-17 03:24:23 +00:00
Ronald G. Minnich
fe28715943 reorg 2000-10-16 23:59:01 +00:00
Ronald G. Minnich
69e023b385 Code reorg 2000-10-16 23:47:28 +00:00
Ronald G. Minnich
96fa389618 Building the new src tree 2000-10-16 03:03:03 +00:00