Commit graph

359 commits

Author SHA1 Message Date
Ronald G. Minnich
3d44366025 Patches for 2.4.13 on l440gx, includes one debug dump but won't hurt anything. 2002-01-09 17:46:15 +00:00
Eric W. Biederman
9cda94e6d2 Updates to produce a linuxBIOS table. Modeled on the earlier
uniform_boot work, but relocated.  You need the new mkelfImage to
use the elf boot format.

Previous tables were updated so I could find both the start and
the end of where they were written in memory.

Minor p4dc6 updates, to disable some debugging code.

The mkelfImage-1.9 is checked in as util/mkelfImage
2002-01-08 07:04:35 +00:00
Li-Ta Lo
15fbb207ba fixed some bugs Eric made when transfer to stream interface
also remove the NEW_DOC stuff
2002-01-07 02:51:33 +00:00
Li-Ta Lo
8aa141fada added opject command for timer.c 2002-01-04 07:00:26 +00:00
Li-Ta Lo
908f42a219 fixed some compilation error 2002-01-04 06:59:41 +00:00
Li-Ta Lo
46c64c2bd8 added PCI IDs for SiS900 2002-01-03 04:02:06 +00:00
Li-Ta Lo
f9af00c4ba minor clean up in PCI access routine 2002-01-03 04:01:37 +00:00
Li-Ta Lo
3135f8e83f use P5 TSC for timer function 2002-01-03 03:53:22 +00:00
Li-Ta Lo
3112b98021 add SiS 735 ID 2002-01-02 06:10:56 +00:00
Li-Ta Lo
c2ea9c4b37 use SHIFT free version of flash_addrress for all cases 2001-12-28 06:25:34 +00:00
Ronald G. Minnich
b3e1022eb2 This now works with two banks 2001-12-21 23:54:13 +00:00
Ronald G. Minnich
04f27d4746 Change to move to writes instead of reads for configuring DRAM 2001-12-21 22:47:50 +00:00
Eric W. Biederman
cb232f1e04 Lots and Lots of changes. Mainly bugfixes for the supermicro p4dc6,
and a bunch of generic changes.
- Started playing with automatic scanning memory for LinuxBIOS tables.
- Converted the fill_inbuf drivers to stream drivers.  This allows
  for pure data copying operations to be faster, and it allows skipping
  of unneeded data on platforms that support it.
- Added a section .rodata.streams for the stream driver control structures.
  This is preparation for building a bootloader that shares source code
  with LinuxBIOS.
- Added a driver command to NLBConfig.py for objects that should
  always be linked into LinuxBIOS if they are compiled at all.
- Moved the boot_successful logic down into the guts of the
  bootloaders.
- Modified the ip style checksum logic so it isn't specific to uniform
  boot headers...
- Added a function ndelay that uses the RTC (this is i786 specific for now).
- Added a function to delay in seconds for the braindead harddrive
  spinup logic.
- Added a floppy stream driver.
- Added a ide stream driver.
- Broke out the ram initialization for the p4dc6 into multiple c files.
- Stupidly adapted linuxbiosmain and do_inflate to the new stream
  interface.  get_byte is now a slow function call so it might be able
  to use some optimization.
- Updated the ELF bootloader to the new stream interface and adding a
  ELF header scanning function so we can boot off of harddrives and
  not smash their partition tables.
- Removed some bogus unlook ahead code from inflate.c
- Fixed a problem where we did not enable I/O resources on VGA
  compatible chips.  This caused a trident card to lock up the system
  when it's memory mapped resources were enabled.
- Correctly set up nested pci busses.  Before this a pci bus behind a
  pci bus would not get enabled.
- Config changes to the p4dc6
- Added more interrupt sources to the p4dc6 interrupt table
- Converted all of the inbuf drivers to stream drivers.
  All have good conversions except the doc_millenium.
2001-12-20 04:04:42 +00:00
Ronald G. Minnich
b5516dc586 new file to dump northbridge so you can see what's going on. 2001-12-19 18:31:48 +00:00
Ronald G. Minnich
523a37fb8f smartcore p5 support. 2001-12-18 23:53:52 +00:00
Ronald G. Minnich
402332c59c Added PIRQ tables stuff 2001-12-15 00:09:06 +00:00
Ronald G. Minnich
006fd07930 irq_tables for this stupid motherboard 2001-12-15 00:07:26 +00:00
Ronald G. Minnich
23337bf8bf Added the 'payload' command.
Changed script from vmlinux.* to payload.*

linux command now calls payload
2001-12-14 00:05:52 +00:00
Ronald G. Minnich
ff0423c085 add newline to end of dll.inc
fix unused variables and put #ifdef around redo: label in
docmil_fill_inbuf
Fix #elseif type in ipl.S to #elif (why did CPP not have sane elseif?)
2001-12-09 17:19:24 +00:00
Ronald G. Minnich
7902765050 Fix typo 2001-12-06 18:13:13 +00:00
Ronald G. Minnich
cda99b4425 missing newline at end of file.
bad syntax for else defined in ipl.S

ipl.S won't assemble on redhat 7.2, looks like YARB (Yet Another Redhat Bug)
2001-12-06 18:09:29 +00:00
Ronald G. Minnich
2360367365 Some simple typos. 2001-12-05 18:53:22 +00:00
Ronald G. Minnich
69ee1d44e0 Bharat fixes and updates 2001-12-04 22:47:44 +00:00
Ronald G. Minnich
591f62f4f3 Fix simple typo 2001-12-03 23:43:21 +00:00
Ronald G. Minnich
8249225409 add superio info for the smartcore-p5 2001-12-03 23:40:42 +00:00
Ronald G. Minnich
a2cd78fb18 Add support for fdc37c67x 2001-12-03 23:39:01 +00:00
Li-Ta Lo
2ccf7ef5a3 added console init 2001-12-03 02:21:20 +00:00
Li-Ta Lo
c065013976 added doc and std flash reading code 2001-12-03 02:19:54 +00:00
Li-Ta Lo
134a85d26d seperate out doc mil and std flash code from ipl.S 2001-12-03 02:18:11 +00:00
Ronald G. Minnich
84912b0c25 Fixed error in Config for ms7308e 2001-12-02 20:29:39 +00:00
Ronald G. Minnich
6ef9c4675d More changes from bharat for the 430 2001-11-30 22:39:09 +00:00
Li-Ta Lo
69a4cb8cbc fixed few typo about printk 2001-11-30 09:50:07 +00:00
Eric W. Biederman
d10731d0ca Commit a version of cacheramtest.c that works on mutliple boards 2001-11-29 22:37:58 +00:00
Ronald G. Minnich
aecde3ac92 Mods from bharat 2001-11-28 22:15:50 +00:00
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
075460ab26 Really simple fix for redhat 7.2! 2001-11-25 18:19:43 +00:00
Ronald G. Minnich
1fa1ce67a8 this might be close to right. 2001-11-24 06:33:58 +00:00
Ronald G. Minnich
557849b0a0 changes for 430tx from Bharat 2001-11-23 17:20:30 +00:00
Ronald G. Minnich
37d823e81f T32, other stuff. 2001-11-22 06:22:05 +00:00
Ronald G. Minnich
6f65f07fdf 430tx support (beginnings of) 2001-11-21 03:53:17 +00:00
Ronald G. Minnich
d8905a7d35 Digital logic smartcore-p5 2001-11-19 21:41:15 +00:00
Li-Ta Lo
ff2025e3d1 support non-smp and no serial console cases 2001-11-13 06:31:17 +00:00
Li-Ta Lo
64e3a29930 modification to fit with Eric's older update 2001-11-13 05:08:11 +00:00
Eric W. Biederman
d96aab9e06 - Delayed commit of code for the ASUS A7M motherboard
- VIA 686 cleanups from the A7M code (it now works in a different pci slot).
- Update of assembly printing routines to use the debug levels:
  TTYS0_TX_CHAR now becomes CONSOLE_<LEVEL>_TX_CHAR.
  It's more verbose but now the controls are the same as with the C code.
- Break off of loglevel.h from printk.h.  loglevel.h is safe for both
  the assembly routines and the C code to include.
- Next round of commits for the supermicro p4dc6
- SMP setup updates (Rons board is broken)
  I now allow the other SMP processors to report their existence.
  I really need to add a minimum time to run but that hasn't happened yet.
- SMP per motherboard table of apicids, as the assumption that they
  would always be 0 & 1 with only two cpus fails.
- RDRAM setup updates.  The code isn't done but it now works on more
  than one board at a time.
- More cacheram work.  Minor bug fixes and some macros to use it from C.
- Entry point changes so we no longer have to jump over our gdt.
- Added/Audited the cpufixup for the i786
- IDE intialization for the 82801 ich2 chip.
2001-11-13 03:43:37 +00:00
Li-Ta Lo
7ca28e1b0f modify option HAVE_PIRQ_TABLE to option HAVE_PIRQ_TABLE=1
delete P6 mtrr for P5 mainboards
2001-11-13 03:21:28 +00:00
Ronald G. Minnich
0222d47c61 Changed
option SERIAL_CONSOLE
to
option SERIAL_CONSOLE=1
2001-11-08 02:06:37 +00:00
Li-Ta Lo
45c7f99fe8 added 2.4.12 patch for SiS chipets 2001-11-06 05:38:26 +00:00
Li-Ta Lo
d4788245de add code to disable internal devices 2001-11-06 04:32:05 +00:00
Li-Ta Lo
4eb28ca342 enable VGA palette snoop and legacy VGA IO port 2001-11-06 04:29:38 +00:00