Commit graph

27 commits

Author SHA1 Message Date
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
Eric W. Biederman
6032f86410 make.base
Add rule for ldscript.ld
printk.h
      Fix typo it should be printk_alert not printk_alart...
NLBConfig.py
      - Removed some dead code
      - Modified mainboardinit and ldscript to act like my recently modified
        object command and take as a suffix a config option that must be
        set to one for them to work.
      - No longer generate ldscript.ld instead generate ldoptions and
        the variable LDSUBSCRIPTS-1.
2001-08-22 01:07:18 +00:00
Eric W. Biederman
e1b09246c2 Compile fixes from linuxBIOS hopefully it works for everyone again.
crt0.base
     - SMP compile fixes
     - No longer unconditionally include cpu/p5/start32.inc
         (it's been renamed  cpu/i386/entry16.inc)
ldscript.base
     - Simplfied, and moved some content into reset16.lds and entry16.lds
stddef.h
     - Use C style comments for #endif /* I386_STDDEF_H */
pirq_routing.h
     - The define is HAVE_PIRQ_TABLE not HAVE_PIRQ_ROUTING_TABLE
mtrr.c
     - Remove the need for defining INTEL_PPRO_MTRR
mainboard/xxx/Config
     - start32.inc is no longer automatically included include
       entry16.inc and reset16.inc where appropriate
       In particular if we are using a docipl we don't want
       reset16.inc or reset16.lds
tyan/guiness/mptable.c
     - Removed spurious define USE_ALL_CPUS
northbridge/intel/440gx/
     - Updated to compile with the factored generic memory code.
nortsouthbridge/sis/xxx/
     - Remove includes of northsouthbridge/sis/630/param.h did I add them?
       The file is gone now so including it is just bad...
NLBConfig.py
      - Allow relative filename arguments
      - Add directive ldscript to add an include file into
        our linker script
      - Fixed docipl to use strings when calling set_option
      - Allow target the target directive to use relative paths
      - Add extra dependencies to ldscript.lds
2001-08-21 02:37:35 +00:00
Eric W. Biederman
71be41d193 make.base(i386 & alpha)
make.base -- renamed OBJECTS to OBJECTS-1 to allow conditional compilation of objects
ldscript.base -- realized that assignemnts to the location counter inside of sections
           are relative to their start so simplfied the code
pirq_routing.h -- includeded types.h so we don't have suprises
hardwaremain.c -- unconditionally included arch/smp/mpsec.h
arch/i386/smp/Config introduced conitional on the compilation objects into
                  the compilation process
         ioapic.c -- removed (now) unneeded ifdef around this file
         mpsec.c -- removed (now) unneeded ifdef around this file

cpu/cpufixup.h -- Fix typo in the case when no cpufixup is needed.
parts/framebuffer.h -- Added a missing semicolon.
smp/atomic.h -- renamed second atmoic_inc to atomic_dec oops.

tyan/guinnes/Config -- reordered the options so they are grouped a little
                better and said mptable.o is dependent on HAVE_MP_TABLE
tyan/guiness/mainboard.c -- small change for clarity.

northsouthbridge/sis/630/northbridge.c
northsouthbridge/sis/630/southbridge.c
           -- Remove unused include of the now dead param.h

NLBConfig.py
          -- Only include numeric options in the linker script
          -- Update to handle adding a condition for when to build
             objects
2001-08-15 21:30:08 +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
Ronald G. Minnich
492c2068c6 fix stupid typo in NGLConfig.py
sample files for tftp
2001-06-23 22:09:54 +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
Ronald G. Minnich
463dafc4a7 Added etags rule 2001-06-06 05:22:30 +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
b8bbc234a6 Simple changes to get ASUS all memory working 2001-03-30 21:20:15 +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
Ronald G. Minnich
227ca052f7 Changes from Eric for Alpha and other support 2001-03-13 04:22:19 +00:00
Ronald G. Minnich
914a8ba741 took out noisy debug 2001-01-19 17:07:41 +00:00
Ronald G. Minnich
b56912ec3a Fixes for CMD_LINE, and other fixes to set up ga-6bxc.
mtrr.c, remove redundant define
string.h bug with 0 in strlen
2001-01-18 23:11:26 +00:00
Ronald G. Minnich
c3b0e127ed Fixes to problems with the config tool. 2001-01-11 04:03:42 +00:00
Ronald G. Minnich
a9d58e2759 Now builds working via too 2000-12-19 03:12:51 +00:00
Ronald G. Minnich
fe00453885 This now works ... 2000-12-18 04:50:13 +00:00
Ronald G. Minnich
cddbea070f Last parameterized piece. 2000-12-18 03:59:28 +00:00
Ronald G. Minnich
179c2c738d Now the 'base file' works for both the makefile and ldscript. 2000-12-15 04:31:24 +00:00
Ronald G. Minnich
f17e1ad791 removed embedded baserules 2000-12-14 15:00:14 +00:00
Ronald G. Minnich
e33f51168c This actually works! 2000-12-14 05:03:52 +00:00
Ronald G. Minnich
a9d24e25e8 Getting there, but not right. 2000-12-14 04:42:38 +00:00
Ronald G. Minnich
bec75e23b1 Adding features on request ... 2000-12-14 03:54:19 +00:00
Ronald G. Minnich
b4413ece8b Fooling around with ways to add our own makerules. 2000-12-13 04:31:02 +00:00
Ronald G. Minnich
2c706e40eb Newer config tool 2000-12-13 04:02:15 +00:00