Commit graph

96 commits

Author SHA1 Message Date
Andrew Ip
c890b0e8ee reverted back. It breaks build with SERIAL_POST enabled. Have to investiaget more about Kevin's patch 2003-02-12 08:08:14 +00:00
Steven James
574433a13f More checkins for Tyan Guinnes, normal_boot no longer reletive to ZKERNEL_START 2002-12-19 22:45:43 +00:00
Ronald G. Minnich
14342bf376 more current params
IDE support for primary and secondary channels.

video support.

improved floppy and ide support.
2002-12-16 17:57:49 +00:00
Ronald G. Minnich
d96a3f75b8 more gcc fixes. 2002-12-09 23:38:11 +00:00
Ronald G. Minnich
1a036302c7 Fix for gcc issues.
updated pci_ids.h
2002-12-09 02:44:31 +00:00
Ronald G. Minnich
5691f23e61 pirq_routing.h: fixed for gcc 3.x
printk.c: added hexdump function, conditionally compiled with CONFIG_HEXDUMP
mptable.c: added mp table debug functions, conditionally compiled with
          CONFIG_DEBUG_MPTABLE. These use hexdump.
2002-12-03 16:12:16 +00:00
Andrew Ip
8f2569e441 added verify_copy_pirq_routing_table 2002-11-14 03:42:24 +00:00
Andrew Ip
527f8a5516 fixed postcode to serial by Kevin Hester 2002-11-10 06:25:48 +00:00
Andrew Ip
0e9e6dd5cc fixed smp including extra line 2002-10-28 07:41:54 +00:00
Eric W. Biederman
d82ec7bd7b - New but missing files 2002-10-25 22:59:04 +00:00
Eric W. Biederman
a3c4d998ee - One more code sync up, change the startup code. 2002-10-25 22:57:21 +00:00
Eric W. Biederman
1e50d15b57 - New secondary.S
- Merge supermicro mainboard directories
2002-10-25 20:39:20 +00:00
Ronald G. Minnich
68da117ea5 PPC support 2002-10-21 02:55:04 +00:00
Ronald G. Minnich
31accf273f More problems, not quite there. 2002-10-17 23:07:48 +00:00
Ronald G. Minnich
7377b062c9 Basic syntax errors and other compilation errors fixed. Now to shoot for
link-time errors (e.g. udelay etc.)
2002-10-17 21:09:15 +00:00
Eric W. Biederman
b708444232 src/arch/i386/boot/boot.c
- Tone down the severity of error messages
src/arch/i386/lib/console.inc
- Preserve morre registers in __CONSOLE_INLINE_TX_HEX8
src/arch/i386/lib/hardwaremain.c
- Fixup the cmos option to handle multiple cpus
- Move pci setup before ramsize initialization
- Renable keyboard_on
src/arch/i386/smp/Config
Add secondary.S
src/arch/i386/smp/secondary.S
- add
src/arch/i386/smp/secondary.inc
- remove
src/arch/i386/smp/start_stop.c
- Remove unused variables
src/config/Config
- Cleanup the cross compiling options
- Rename cmos.conf cmos.layout as the previous name was too confusing
src/cpu/p6/mtrr.c
- Create subroutines to enable/disable caching
- Call them in all of the appropriate places
- Add an extra argument to range_to_mtrr to allow for
  future optimizations
2002-10-10 19:02:37 +00:00
Ronald G. Minnich
6fa605c210 Smartcore commit. IDE fixup for cs5530.
Enable debug prints to try to find etherboot problems Smartcore fixes.
2002-09-10 14:57:40 +00:00
Ronald G. Minnich
490c64dee2 Support now works for the digital logic smartcore p3 SE 2002-08-21 21:02:55 +00:00
Ronald G. Minnich
e9c806ea37 take out mistaken change. 2002-07-30 20:24:40 +00:00
Ronald G. Minnich
3dfb12a37a initial post of 0x01 for motherboard timing issues.
count=1 on the dd for the payload so it won't grow without bound.
2002-07-29 17:19:31 +00:00
Eric W. Biederman
e34319b59a Fix ldscript.base to work around linker bugs.
In particular symbols inside of NOALLOC sections were being allocated
at the start of the section.
2002-07-25 20:50:52 +00:00
Ronald G. Minnich
8b73dcc250 Nits with the compiler. 2002-07-19 21:06:24 +00:00
Eric W. Biederman
36eda040d4 Update the ldscript, to declare pci_drivers && epci_drivers 2002-07-19 15:35:28 +00:00
Eric W. Biederman
58bbe2161c Add alpha version of bitops.h 2002-07-18 22:26:45 +00:00
Eric W. Biederman
e8dacb6ba8 - Update the code in bitops.h so it will compile. 2002-07-18 21:58:33 +00:00
Ronald G. Minnich
4dc3c174db fixes for alpha.
Note the beginning of moving linuxbios_table.c to src/lib
2002-07-18 21:08:09 +00:00
Eric W. Biederman
f11b412d37 - Refix the protoptype for jmp_to_elf_entry, including fixing alpha code
- Updated to new pci code
2002-07-18 20:30:20 +00:00
Ronald G. Minnich
166e7df814 trying to get alpha back. 2002-07-16 23:16:31 +00:00
Eric W. Biederman
66bfde10d1 Add missing includes, Change #ifdef SMP to #if SMP == 1 2002-07-16 23:02:53 +00:00
Eric W. Biederman
4961c2dceb Move elfboot out of linuxbiosmain.
In hardwaremain call linuxbiosmain with it's traditional parameters,
but only call it if we aren't using elf_boot.
2002-07-11 13:31:59 +00:00
Eric W. Biederman
e803bc7bd4 - Support for a LinuxBIOS version number (start at 1.0.0)
- Support for remember our compile time environment
- Simple and always correct version of compute_ip_checksum
- Improve message strings in crt0.base
- Initial support for > 2G ram.
  - Sizeram now returns a list of valid ranges of ram
  - pci resource allocation now starts at 0xC0000000
- Update sizeram for every northbridge
- Misc cleanups.
2002-07-02 07:13:12 +00:00
Eric W. Biederman
9e334b9ec3 Massive resync of my tree and freebios-cvs including.
- Motherboard identification in the linuxbios table.
- Better SMP startup code.
- Support for the tyan s2462, the supermicro p4dc6, the supermicro p4dc6+, and the beginnings of supermicro p4dpr support
- Remove of no longer needed USE_AMD_NDA option
2002-06-20 00:11:56 +00:00
Li-Ta Lo
ab024f146d minor reformating 2002-05-25 05:51:03 +00:00
Ronald G. Minnich
02528bc28f Fix for $PIR! 2002-04-24 17:27:59 +00:00
Ronald G. Minnich
c6501e2b5d mods for the PCM 9574. Support for the 39sf020 2002-04-10 16:01:38 +00:00
Ronald G. Minnich
495ae152e9 Works, needs more support 2002-04-08 17:13:26 +00:00
Ronald G. Minnich
5a86682eec Fixes since we now need to know the interrupt type of every single
one. sigh.
2002-04-08 02:53:47 +00:00
Ronald G. Minnich
d779b72dec more fixes. Matrox cards work OK now. 2002-03-31 06:25:56 +00:00
Ronald G. Minnich
05f6a6ad79 Support for calling VGA bios. 2002-03-29 23:11:13 +00:00
Ronald G. Minnich
b3a92efb13 A few fixes to the idt code.
Stub to call into linuxbios is now very small.
2002-03-29 05:56:37 +00:00
Ronald G. Minnich
ac7042a2f3 More changes for stupid VGA bioses. 2002-03-29 04:32:20 +00:00
Ronald G. Minnich
70fa314d22 vgabios support 2002-03-29 03:57:56 +00:00
Ronald G. Minnich
f69b932ac6 Primitive no-op idt code. call to idt code in hardware main (via #ifdef)
Conditional idt code usage in Config.
Make m1631 memory to 0xf0000
2002-03-28 17:42:19 +00:00
Ronald G. Minnich
c50f85267b stupid old pc. Have to add idt for vga bios. 2002-03-27 21:25:27 +00:00
Ronald G. Minnich
4355f389e2 First cut at running vgabios code. 2002-03-27 04:14:40 +00:00
Ronald G. Minnich
c4233508f4 skeletal structure for vgabios.c 2002-03-27 00:33:06 +00:00
Ronald G. Minnich
e44595d970 K7SEM is fixed. The problem was that you need
option USE_DOC_MIL=1
now, not just
option USE_DOC_MIL

The latter usage led to empty streams struct.

This is a real problem, though: you can no streams for reading and the linker
will happily create an empty streams structure. Which sucks, since you don't know
why your system won't boot.
2002-02-05 00:06:20 +00:00
Ronald G. Minnich
46f6e4b164 fixed some silly bugs. 2002-01-30 21:24:35 +00:00
Ronald G. Minnich
e2358a2fee Fixes for potential divide-by-zero in setup_com in some superios.
Not really needed, but in the BIOS paranoia is a healthy frame of mind.

Added some debug prints to newpci.c

Fixed sbc710 Config to ensure that com1 and com2 are enabled
   (input still does not work)

Changed
extern struct ... *all_superio in hardwaremain.c to
extern struct ... all_superio[] to avoid gcc dereferencing the pointer
   (when did THIS C behavior change go in?)
2002-01-30 20:52:43 +00:00
Eric W. Biederman
031d2a1ffd - Support for CMOS options
- Workaround cmos tables overlapping the traditional bios data segment
- Fixes to the p4dc6 examples to be syntactically correct
- Fixes to NLBConfig to fix the previos syntax error ``option foo bar'' is invalid
- Update docmil_fil_inbuf to only be compiled when the appropriate options are set
- Updates NLBConfig.py to export the variables MAINBOARD && TARGET_DIR
  as well as correct specify the generated files
2002-01-29 20:28:24 +00:00