Commit graph

362 commits

Author SHA1 Message Date
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
94f0b3d4c6 Working chipset_init.inc
Sampel config file
2001-09-17 23:09:17 +00:00
Ronald G. Minnich
46c05701c1 changes to try to get this working again. 2001-09-16 05:09:05 +00:00
Ronald G. Minnich
962dff1205 Comment out most of chipset_init.inc. It's causing trouble.
ron
2001-09-16 04:46:15 +00:00
Ronald G. Minnich
2b75b524d3 Fixed Config for this mainboard.
Remove crt0.S it is no longer used.
2001-09-16 04:34:39 +00:00
Ronald G. Minnich
da3c11f6ac Entry into crt0.S is now in 16-bit mode, change Config to reflect this. 2001-09-14 17:56:29 +00:00
Ronald G. Minnich
272217d28a ipl.h for asus cua 2001-09-14 17:25:59 +00:00
Ronald G. Minnich
359a95ff2b ipl for the cua
config.DoC sample
2001-09-12 22:40:47 +00:00
Ronald G. Minnich
8eb557da83 Remove code that AMD feels is not releasable. 2001-09-07 18:17:23 +00:00
Ronald G. Minnich
24e46ba9f3 Update the README so it agrees with reality. 2001-08-31 22:25:35 +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
Ronald G. Minnich
f327db9118 update the howto 2001-08-25 22:14:06 +00:00
Ronald G. Minnich
9179fe2014 config for 2.4.7 for sis 630 and 730 2001-08-25 22:12:15 +00:00
Ronald G. Minnich
bfa9200c03 Fixed the raminit.inc so they don't need a working %esp.
Removed set of %esp from entry16.inc
2001-08-24 16:47:35 +00:00
Ronald G. Minnich
68221584cc One-line change to set the ESP to a sane value before starting crt0.S.
Some of the .inc files require a sane stack value. This is not a full stack init
as found in crt0.S but just a quick set to make sure call/return works.
2001-08-23 19:58:31 +00:00
Eric W. Biederman
505f52a404 Fix typon in GCC_INC_DIR setting in alpha make.base oops 2001-08-22 18:45:38 +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
Li-Ta Lo
ed79fb980d added SPD dump utility 2001-08-21 06:43:55 +00:00
Eric W. Biederman
62edf8e35e Minor glitch fix for reset16 from last checkin. 2001-08-21 04:50:37 +00:00
Eric W. Biederman
dc97310a17 Don't make crt0.s depend on the now defunct start32.inc 2001-08-21 03:01:45 +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
Li-Ta Lo
4653e0366a fixed a typo in HAVE_PIRQ_TABLE 2001-08-16 09:49:25 +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
94b5887f47 Add missing semicolon in smp/atomic.h 2001-08-09 19:48:33 +00:00
Eric W. Biederman
064f2b32fd Fix the pirq routing stuff. 2001-08-08 20:35:11 +00:00
Ronald G. Minnich
aedca3d806 fixed #endif for picky cpp 2001-08-08 03:51:17 +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
ebccffe3d0 pci_ids.h --- Added new ids.
boot.c  -- Modified to compile even with -fPIC
generic_sdram.inc -- split out generic_sdram_enable.inc -- Some chipsets
    don't need that enable logic.
Added serial_fill_inbuf.c
Removed unused 440gx/param.h sis/630/param.h
Modified: make.base crt0.base ldscript.base mainboard/Config and NLBConfig.py

In NLBConfig.py added the directive mainboardinit (a variant of raminit.inc)
  This allows us to remove hardcodes in crt0.S updated every mainboard/Config to
  reflect the current state of the hardcodes, and the split of generic_sdram.inc
  In crt0.S we should have the bare minimum code in assembly needed to get to C code.

mkrom is no longer needed.
2001-08-07 23:41:49 +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
Ronald G. Minnich
ad44ad6bc8 added README 2001-08-06 15:11:40 +00:00
Ronald G. Minnich
3715ec2eaa web config tool 2001-08-06 15:09:27 +00:00
Ronald G. Minnich
8b8b2fe3fb Support for tnt-2 based motherboards. 2001-08-04 22:39:44 +00:00
Li-Ta Lo
e19dec0057 add 2.4.7 kernel patch with SiS 730 UDAT 100 auto_dma 2001-07-27 07:56:14 +00:00
Li-Ta Lo
0bcc0e1851 add comments on CPU pipeline issue 2001-07-27 05:59:50 +00:00
Li-Ta Lo
1bd080a435 updated 2.4.6 patch 2001-07-23 06:18:08 +00:00
Ronald G. Minnich
5f65249f05 diffs for 2.4.6 2001-07-19 23:48:35 +00:00
Li-Ta Lo
dcd75bd928 better Flash/DoC intergration 2001-07-19 03:10:50 +00:00
Ronald G. Minnich
adfa49add4 Fully configure-ized version of an SMC superio 2001-07-18 15:00:53 +00:00
Ronald G. Minnich
d8582a896b update HOWTO fos sis.
ipl for 3com905 on dell 350

Working on new superio
2001-07-18 14:18:30 +00:00
Ronald G. Minnich
688d211896 Updates to this code. 2001-07-07 19:35:19 +00:00
Ronald G. Minnich
a91933103e initial cut at stuff for the dell 350 superio 2001-07-06 23:50:04 +00:00
Ronald G. Minnich
bd557f33aa New files for dlel 350 2001-07-06 23:13:48 +00:00
Ronald G. Minnich
49b1718724 Needed now for config. 2001-07-05 03:28:57 +00:00
Ronald G. Minnich
422a9a71ec fill inbuf over tftp, courtesy steve james at linuxlabs.com 2001-07-02 04:18:15 +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
518541e0aa mkflashimage to build flash images. 2001-06-23 22:11:44 +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