coreboot.git
17 years agoUse __PAYLOAD__ instead of PAYLOAD as replacement template for abuild.
Uwe Hermann [Sun, 22 Apr 2007 19:03:34 +0000 (19:03 +0000)]
Use __PAYLOAD__ instead of PAYLOAD as replacement template for abuild.

Comment out code which currently doesn't compile. Needs fixing later.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2614 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoUpdate URL for the PCI IRQ Routing Table Specification (trivial).
Uwe Hermann [Sun, 22 Apr 2007 01:17:36 +0000 (01:17 +0000)]
Update URL for the PCI IRQ Routing Table Specification (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2613 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoMake the output of getpir look a bit less crappy (trivial).
Uwe Hermann [Sat, 21 Apr 2007 18:17:50 +0000 (18:17 +0000)]
Make the output of getpir look a bit less crappy (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2612 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis patch makes a some elf debugging information available at log level
Stefan Reinauer [Sat, 14 Apr 2007 16:34:32 +0000 (16:34 +0000)]
This patch makes a some elf debugging information available at log level
debug instead of spew. (trivial)

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2611 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoExit on return code of read_layout and print error message to stderr
Stefan Reinauer [Sat, 14 Apr 2007 16:32:59 +0000 (16:32 +0000)]
Exit on return code of read_layout and print error message to stderr
instead of stdout (trivial)

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2610 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoOn behalf of AMD:
Yinghai Lu [Thu, 12 Apr 2007 01:23:12 +0000 (01:23 +0000)]
On behalf of AMD:

Drop AMD prototype mainboards that were for internal testing &
validation use only.

Note: These boards could never be purchased. No reasons to worry.
Questions welcome via private mail.

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2609 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoadd uses CONFIG_COMPRESSED_PAYLOAD_* to allow building the board in
Stefan Reinauer [Thu, 12 Apr 2007 00:47:22 +0000 (00:47 +0000)]
add uses CONFIG_COMPRESSED_PAYLOAD_* to allow building the board in
abuild with a payload. Trivial

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2608 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoFix two boards broken by the large patches of late.
Peter Stuge [Thu, 12 Apr 2007 00:28:32 +0000 (00:28 +0000)]
Fix two boards broken by the large patches of late.

artecgroup/dbe61
Add CONFIG_COMPRESSED_PAYLOAD_NRV2B to Options.lb since it's used in
Config.lb.
Change default for CONFIG_PCI_ROM_RUN to 1 so VGA ROM can run.

technologic/ts5300
Removed CONFIG_CONSOLE_VGA, the embedded board has no VGA without the
development addon card anyways.
Changes to target Config.lb so it actually builds.

Signed-off-by: Peter Stuge <peter@stuge.se>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2607 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoVendor specific patch, thus self-acked.
Stefan Reinauer [Thu, 12 Apr 2007 00:12:41 +0000 (00:12 +0000)]
Vendor specific patch, thus self-acked.

* going back to old board specific dsdt for agami aruma.
  This is hopefully dropped again some day, but until then
  here's a working solution.
* Some minor Agami specific changes.
* drop obsolete bringup workaround hyperclocking.diff
* increase image size again, x86emu wants it.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2606 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoConfig file update for Agami Aruma board.
Stefan Reinauer [Wed, 11 Apr 2007 23:38:50 +0000 (23:38 +0000)]
Config file update for Agami Aruma board.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2605 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoTrivial patch: Make buildrom a little bit more verbose.
Stefan Reinauer [Wed, 11 Apr 2007 23:36:02 +0000 (23:36 +0000)]
Trivial patch: Make buildrom a little bit more verbose.
It shows the remaining space in an image now.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2604 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoRename flash_rom.c to flashrom.c. The tool is called 'flashrom' after
Uwe Hermann [Wed, 11 Apr 2007 23:31:45 +0000 (23:31 +0000)]
Rename flash_rom.c to flashrom.c. The tool is called 'flashrom' after
all.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2603 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoJeremy Jackson wrote:
Jeremy Jackson [Wed, 11 Apr 2007 18:44:42 +0000 (18:44 +0000)]
Jeremy Jackson wrote:
I'm guessing nobody has tried compiling it with 64bit userspace?

Patch makes it compile cleanly and stops a "SEGV instead of working"
issue.

I also added a few checks for errors on system calls.

Signed-off-by: Jeremy Jackson <jerj@coplanar.net>
Reworked and
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2602 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoflashrom: Add VIA CX700 to the list of supported southbridges (trivial).
Uwe Hermann [Mon, 9 Apr 2007 22:59:22 +0000 (22:59 +0000)]
flashrom: Add VIA CX700 to the list of supported southbridges (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2601 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis patch corrects r2587. It makes sure that the VGA is initialized
Roman Kononov [Mon, 9 Apr 2007 22:50:12 +0000 (22:50 +0000)]
This patch corrects r2587. It makes sure that the VGA is initialized
when CONFIG_CONSOLE_VGA==0 and CONFIG_PCI_ROM_RUN==1

Signed-off-by: Roman Kononov <kononov@dls.net>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2600 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoadd support for CX700 builtin southbridge
Randall Philipson [Mon, 9 Apr 2007 22:27:45 +0000 (22:27 +0000)]
add support for CX700 builtin southbridge
Signed-off-by: Randall Philipson <rtphilipson@cox.net>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2599 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoincrease image size for abuild (trivial)
Stefan Reinauer [Sat, 7 Apr 2007 13:27:14 +0000 (13:27 +0000)]
increase image size for abuild (trivial)

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2598 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoFix epia-m build after u8/u16/u32 changes in Yh Lu's patch.
Peter Stuge [Sat, 7 Apr 2007 09:17:00 +0000 (09:17 +0000)]
Fix epia-m build after u8/u16/u32 changes in Yh Lu's patch.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2597 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoYhLu's patch from January 18th.
Yinghai Lu [Fri, 6 Apr 2007 21:06:44 +0000 (21:06 +0000)]
YhLu's patch from January 18th.

hypertransport specific updates

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Ed Swierk <eswierk@arastra.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ward Vandewege <ward@gnu.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2596 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis commit is part of YhLu's patch from January 18th.
Yinghai Lu [Fri, 6 Apr 2007 20:59:54 +0000 (20:59 +0000)]
This commit is part of YhLu's patch from January 18th.

Drop a lot of debugging code from northbridge.c

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Ed Swierk <eswierk@arastra.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ward Vandewege <ward@gnu.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2595 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoYhLu's patch from January 18th. This part is mostly cleaning up
Yinghai Lu [Fri, 6 Apr 2007 20:58:37 +0000 (20:58 +0000)]
YhLu's patch from January 18th. This part is mostly cleaning up
dead code and adding a few fixmes.

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Ed Swierk <eswierk@arastra.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ward Vandewege <ward@gnu.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2594 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agonext part of YhLu's large patch. I am not sure whether the tables.c
Yinghai Lu [Fri, 6 Apr 2007 20:27:40 +0000 (20:27 +0000)]
next part of YhLu's large patch. I am not sure whether the tables.c
changes are correct. If someone could look into this, thank you.

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Ed Swierk <eswierk@arastra.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ward Vandewege <ward@gnu.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2593 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoDisable USB console on the m57sli for now.
Ed Swierk [Fri, 6 Apr 2007 20:01:44 +0000 (20:01 +0000)]
Disable USB console on the m57sli for now.

Signed-off-by: Ed Swierk <eswierk@arastra.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2592 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoPart IV
Yinghai Lu [Fri, 6 Apr 2007 19:59:11 +0000 (19:59 +0000)]
Part IV

Signed-off-by: Yinghai Lu <yinghai.lu at amd.com>
Signed-off-by: Ed Swierk <eswierk at arastra.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ward Vandewege <ward at gnu.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2591 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoPart III of YhLu's patch from January 18th
Yinghai Lu [Fri, 6 Apr 2007 19:57:42 +0000 (19:57 +0000)]
Part III of YhLu's patch from January 18th

Signed-off-by: Yinghai Lu <yinghai.lu at amd.com>
Signed-off-by: Ed Swierk <eswierk at arastra.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ward Vandewege <ward at gnu.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2590 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agotwo more directories from YhLu's mcp55 megapatch.
Yinghai Lu [Fri, 6 Apr 2007 19:51:02 +0000 (19:51 +0000)]
two more directories from YhLu's mcp55 megapatch.

Signed-off-by: Yinghai Lu <yinghai.lu at amd.com>
Signed-off-by: Ed Swierk <eswierk at arastra.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ward Vandewege <ward at gnu.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2589 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis is part of the outstanding mcp55 commit from January 18th. It will
Yinghai Lu [Fri, 6 Apr 2007 19:49:05 +0000 (19:49 +0000)]
This is part of the outstanding mcp55 commit from January 18th. It will
likely break the build, since it is only a small part, but it needs to
go in at some point and doing it directory by directory makes things
easier.

Signed-off-by: Yinghai Lu <yinghai.lu at amd.com>
Signed-off-by: Ed Swierk <eswierk at arastra.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ward Vandewege <ward at gnu.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2588 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis patch makes sure that VGA is initialized before it is used. Without
Roman Kononov [Fri, 6 Apr 2007 18:34:39 +0000 (18:34 +0000)]
This patch makes sure that VGA is initialized before it is used. Without
this fix, LinuxBIOS crashes if the CONSOLE_LOG_LEVEL is high enough.

Additionally, The VGA option rom will be executed if either
CONFIG_PCI_ROM_RUN=1 or CONFIG_CONSOLE_VGA=1.

Signed-off-by: Roman Kononov <kononov195-lbl@yahoo.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2587 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoTrivial patch:
Stefan Reinauer [Fri, 6 Apr 2007 12:14:51 +0000 (12:14 +0000)]
Trivial patch:

* Drop empty file (0 bytes) northbridge/amd/amdk8/cpu_rev.c
  and references to it.
* move config option decision to preprocessor instead of code
  since config options can not change during runtime
* slightly more verbose output in built_opt_tbl.c

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2586 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoTrivial (cosmetic) cleanup:
Stefan Reinauer [Fri, 6 Apr 2007 11:58:03 +0000 (11:58 +0000)]
Trivial (cosmetic) cleanup:
* Only open /dev/mem once and do it early.
* Drop extern for function prototypes.
* Minimize ts5300 impact in probe_flash()

This cleanup will making ICH7 SPI support quite some easier.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2585 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoFix typo, add datasheet info, minor cosmetic fixes (trivial).
Uwe Hermann [Thu, 5 Apr 2007 19:58:29 +0000 (19:58 +0000)]
Fix typo, add datasheet info, minor cosmetic fixes (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2584 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoCoding style and cosmetics (trivial).
Uwe Hermann [Thu, 5 Apr 2007 18:53:37 +0000 (18:53 +0000)]
Coding style and cosmetics (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2583 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd early serial support for the Fintek F81705F Super I/O.
Corey Osgood [Thu, 5 Apr 2007 18:48:21 +0000 (18:48 +0000)]
Add early serial support for the Fintek F81705F Super I/O.

Signed-off-by: Corey Osgood <corey_osgood@verizon.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2582 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoflashrom: split flash_enable.c into chipset_enable.c and board_enable.c
Luc Verhaegen [Wed, 4 Apr 2007 22:45:58 +0000 (22:45 +0000)]
flashrom: split flash_enable.c into chipset_enable.c and board_enable.c

This splits up the ROM Write enable code into chipset specific and
board specific parts. This of course means that a lot of code is
plainly moved about.

* Allows for linuxbios name matching and pci-subsystem id matching.
  The latter uses a double set to properly distuinguish boards despite
  of some known vendors being lax about it.
* Fixes GPIO15 being raised on every VT8235 southbridge, regardless of what
  that line actually controls; rom on EPIA-M, backlight on mitac 8999 laptop.
* Adds flashrom support for Asus A7V400-MX (KM400 + VT8235)
* Island aruma was renamed agami aruma, the board specific code now got
  adjusted. A set of pci-ids was retrieved from source code.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2581 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd initial framework for the Tyan S1846.
Uwe Hermann [Tue, 3 Apr 2007 10:45:53 +0000 (10:45 +0000)]
Add initial framework for the Tyan S1846.

It's not fully working, among other things because the Intel
440BX northbridge isn't working, yet.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2580 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThe *_early_serial.c pre-RAM code should do just that -- enable the serial
Uwe Hermann [Mon, 2 Apr 2007 16:57:32 +0000 (16:57 +0000)]
The *_early_serial.c pre-RAM code should do just that -- enable the serial
port(s), and nothing else. The code in superio.c will initialize the
rest when RAM is available...

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2579 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoDrop useless and partly even incorrect comments (trivial).
Uwe Hermann [Sun, 1 Apr 2007 20:00:32 +0000 (20:00 +0000)]
Drop useless and partly even incorrect comments (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2578 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoCoding style fixes (trivial).
Uwe Hermann [Sun, 1 Apr 2007 19:44:21 +0000 (19:44 +0000)]
Coding style fixes (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2577 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoInitial Intel 440BX RAM initialization framework.
Uwe Hermann [Sun, 1 Apr 2007 17:24:03 +0000 (17:24 +0000)]
Initial Intel 440BX RAM initialization framework.

This does _not_ fully work, yet. You will _not_ be able to boot any
payload with this code, yet.

Add missing license headers.

Base the northbridge.c file on the Intel 855PM version, that comes
closer to what we want.

The raminit.c file is written from scratch and hardcodes several
values for now. This needs to be fixed later by reading the
correct values via SPD.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2576 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoFlashrom: Add support for the ICH7-DH southbridge (untested).
Uwe Hermann [Sat, 31 Mar 2007 19:48:38 +0000 (19:48 +0000)]
Flashrom: Add support for the ICH7-DH southbridge (untested).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2575 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd support for the NSC PC87309 Super I/O.
Uwe Hermann [Sat, 31 Mar 2007 19:45:24 +0000 (19:45 +0000)]
Add support for the NSC PC87309 Super I/O.

Pre-RAM serial output on COM1 and COM2 has been tested. The rest is not
yet tested on real hardware.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2574 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis is a trivial cosmetic fix. Without it, the error message might look like:
Stefan Reinauer [Thu, 22 Mar 2007 14:51:45 +0000 (14:51 +0000)]
This is a trivial cosmetic fix. Without it, the error message might look like:
Image size doesnt match: Success

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2573 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agofix a stupid cut and paste error.
Stefan Reinauer [Tue, 20 Mar 2007 13:43:50 +0000 (13:43 +0000)]
fix a stupid cut and paste error.

This is pretty trivial, as it was correct in the original non-CAR code.
Suddently, CAR works nicely.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2572 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd initial pre-RAM serial output support for the VIA VT82C686(A/B)
Corey Osgood [Sat, 17 Mar 2007 14:00:23 +0000 (14:00 +0000)]
Add initial pre-RAM serial output support for the VIA VT82C686(A/B)
southbridge (with integrated Super-I/O).

Signed-off-by: Corey Osgood <corey_osgood@verizon.net>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Corey Osgood <corey_osgood@verizon.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2571 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThe attached patch adds additional PCI IDs for MCP55 LPC devices to
Ed Swierk [Tue, 6 Mar 2007 23:49:49 +0000 (23:49 +0000)]
The attached patch adds additional PCI IDs for MCP55 LPC devices to
flashrom. 0x0360 is needed to support the DFI LANParty NF590SLI, and I
am deducing the others based on pci_ids.h in the Linux kernel.

Signed-off-by: Ed Swierk <eswierk@arastra.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2570 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoDocument POST codes emitted by LinuxBIOSv2.
Uwe Hermann [Sat, 3 Mar 2007 15:01:29 +0000 (15:01 +0000)]
Document POST codes emitted by LinuxBIOSv2.

The list was created by Richard Smith <smithbone@gmail.com>, see
http://tracker.linuxbios.org/trac/LinuxBIOS/ticket/74.

It is probably not complete, yet.

(Closes #74)

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2569 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoflashrom: Fix wrong VT8235 flash enable failed warning.
Luc Verhaegen [Fri, 2 Mar 2007 22:16:38 +0000 (22:16 +0000)]
flashrom: Fix wrong VT8235 flash enable failed warning.

* Fix harmless but worrying warning where the return value of
  pci_write_byte is misinterpreted.
* Hash together VT8231 and VT8235 code into VT823x. VT8231 is the better
  implementation, but lacked the write protect disable code that's
  apparently needed for VT8235.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2568 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis patch splits console.c into 3 different files to get a better
Carl-Daniel Hailfinger [Fri, 2 Mar 2007 14:21:09 +0000 (14:21 +0000)]
This patch splits console.c into 3 different files to get a better
overview of the code, facilitate future cleanups and reduce the
diff to Yinghai's tree at the same time.
No functional changes, only moving lines between files.
Copyright headers will be added later. Right now we benefit from
keeping the diff as small as possible.

Most of the work was done by Yinghai Lu.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2567 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd missing it8716f_early_init.c file, which got lost in the commit of
Uwe Hermann [Fri, 2 Mar 2007 12:29:40 +0000 (12:29 +0000)]
Add missing it8716f_early_init.c file, which got lost in the commit of
http://www.openbios.org/pipermail/linuxbios/2007-February/018330.html
in revision 2559.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2566 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd Winbond W39V080A support to Flashrom.
David Hendricks [Fri, 2 Mar 2007 02:25:36 +0000 (02:25 +0000)]
Add Winbond W39V080A support to Flashrom.

Signed-off-by: David Hendricks <david.hendricks@gmail.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2565 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd support for the Gigabyte m57sli-s4 board to flashrom.
Ward Vandewege [Wed, 28 Feb 2007 21:50:15 +0000 (21:50 +0000)]
Add support for the Gigabyte m57sli-s4 board to flashrom.

Signed-off-by: Ward Vandewege <ward@gnu.org>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2564 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis is (most of) the usb2 debug console code ripped out of
Yinghai Lu [Wed, 28 Feb 2007 11:17:02 +0000 (11:17 +0000)]
This is (most of) the usb2 debug console code ripped out of
Uwe's version of yh_rest_of_patch.patch (13.02.07 - [PATCH]
Rest of huge MCP55 patch).

I dropped a lot of stuff, like broken indenting, removed copyright messages,
and this printk_ram_* stuff (what the heck is this supposed to be)

This codebase is really a mess. Further tarball contributions without a
_CLEANED UP_ patch will be denied, especially if they are not from an up to
date svn tree.

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2563 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd a note that the resulting LinuxBIOS images are licensed under the
Uwe Hermann [Tue, 27 Feb 2007 22:21:59 +0000 (22:21 +0000)]
Add a note that the resulting LinuxBIOS images are licensed under the
terms of the GPL, version 2 (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2562 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis is another fixup round for Yinghai Lu's great patch.
Stefan Reinauer [Tue, 27 Feb 2007 14:11:18 +0000 (14:11 +0000)]
This is another fixup round for Yinghai Lu's great patch.

It does the ROM_STREAM -> PAYLOAD rename that afaik was done after
Yinghai sent his work to legal, so it is required to get that code
building.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2561 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoList more possible payloads in the README (trivial).
Uwe Hermann [Mon, 26 Feb 2007 13:52:42 +0000 (13:52 +0000)]
List more possible payloads in the README (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2560 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoImprove ITE IT8716F support.
Yinghai Lu [Sat, 24 Feb 2007 17:39:11 +0000 (17:39 +0000)]
Improve ITE IT8716F support.

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Signed-off-by: Ed Swierk <eswierk@arastra.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2559 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoRemove unused defines.
Uwe Hermann [Sat, 24 Feb 2007 15:18:22 +0000 (15:18 +0000)]
Remove unused defines.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2558 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoFix some CHIP_NAME() entries to use canonical names.
Uwe Hermann [Mon, 19 Feb 2007 19:11:20 +0000 (19:11 +0000)]
Fix some CHIP_NAME() entries to use canonical names.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2557 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoFix typo (trivial).
Uwe Hermann [Sat, 17 Feb 2007 17:08:13 +0000 (17:08 +0000)]
Fix typo (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2556 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoMove HOWTO/ into documentation/ where it belongs (trivial).
Uwe Hermann [Sat, 17 Feb 2007 16:24:41 +0000 (16:24 +0000)]
Move HOWTO/ into documentation/ where it belongs (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2555 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoInitial support for the following new mainboards:
Yinghai Lu [Sat, 17 Feb 2007 14:28:11 +0000 (14:28 +0000)]
Initial support for the following new mainboards:

* Nvidia l1_2pvv
* Gigabyte m57sli
* Supermicro h8dmr
* Tyan s2912 -- with HTX

The boards will currently _not_ compile, two further patches
from Yinghai Lu are still missing. Please be patient :)

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2554 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoCurrently the flashrom Makefile tries to detect whether pciutils-devel
Ed Swierk [Fri, 16 Feb 2007 14:36:12 +0000 (14:36 +0000)]
Currently the flashrom Makefile tries to detect whether pciutils-devel
is installed, but the test also fails if zlib-devel is missing. This
patch changes the error message accordingly.

Signed-off-by: Ed Swierk <eswierk@arastra.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2553 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd support for the MSI K9ND Master Series (ms9282) board.
Bingxun Shi [Fri, 9 Feb 2007 00:26:10 +0000 (00:26 +0000)]
Add support for the MSI K9ND Master Series (ms9282) board.

Signed-off-by: Bingxun Shi <bingxunshi@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2552 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoInclude src/include/boot/linuxbios_tables.h in the flashrom source
Uwe Hermann [Tue, 6 Feb 2007 19:53:51 +0000 (19:53 +0000)]
Include src/include/boot/linuxbios_tables.h in the flashrom source
tree to make it compilable independant of the LinuxBIOS source code.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2551 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis patch is a rework of Adam Kaufman's Solaris patch.
Adam Kaufman [Tue, 6 Feb 2007 19:47:50 +0000 (19:47 +0000)]
This patch is a rework of Adam Kaufman's Solaris patch.

* flash.h:
  - add a license header
  - add system definitions
* flash_enable.c:
  - put io priviledge access in one single place
  - add includes required for Solaris.
* lbtable.c, flash_rom.c, 82802ab.c:
  - use MEM_DEV so it works on Solaris
* sst49lfxxxc.c, sharplhf00l04.c, sst_fwhub.c, 82802ab.c
  - drop unneeded include to sys/io.h
* Makefile
  - adapt to Solaris specifics.

Signed-off-by: Adam Kaufman <adam.kaufman@pinnacle.com>
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Adam Kaufman <adam.kaufman@pinnacle.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2550 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd support for the Winbond W83627EHG Super I/O.
Yinghai Lu [Sat, 3 Feb 2007 15:28:20 +0000 (15:28 +0000)]
Add support for the Winbond W83627EHG Super I/O.

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Bingxun Shi <bingxunshi@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2549 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoNvidia MCP55 uses CMD to send/receive bytes instead of DAT0,
bxshi [Sat, 3 Feb 2007 15:23:34 +0000 (15:23 +0000)]
Nvidia MCP55 uses CMD to send/receive bytes instead of DAT0,
that's the same as broadcom/bcm5785.

Signed-off-by: bxshi <bingxunshi@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2548 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis eliminates an illegal and annoying warning.
Roman Kononov [Sat, 3 Feb 2007 10:43:48 +0000 (10:43 +0000)]
This eliminates an illegal and annoying warning.

'rom' is the current read pointer.
'rom_end' points to last valid byte of the stream.

Signed-off-by: Roman Kononov <kononov195-lbl@yahoo.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2547 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoI have Sun Ultra40 workstation. Southbridge is nVidia CrushK8-04/nforce
Roman Kononov [Fri, 2 Feb 2007 22:40:10 +0000 (22:40 +0000)]
I have Sun Ultra40 workstation. Southbridge is nVidia CrushK8-04/nforce
2200 (too many names, sounds like a criminal).

1) Linuxbios loads kernel A; kernel A loads kernel B. Everything works
fine.

2) Then I push the reset button.

3) Linuxbios loads kernel A; kernel A loads kernel B. Kernel B complains
about wrong checksum of the mptable and crushes later.

An investigation showed that in 3), short after kernel A (v2.6.19.2)
sets
the Bus Master Enable bit of the nVidia's USB1 controller
(pci_set_master()),
the mptable gets two bytes at physical address 0x80 damaged.

Nothing is plugged to the USB ports. Other two Sun workstations had the
same
behavior. This does not make sense to me unless the controller has a HW
bug.

I believe, this should better be fixed in the kernel USB driver.

For now this patch offers a possibility for linuxbios to reset the USB
controller by setting HostControllerReset bit in HcCommandStatus
Register.
It is enablead by using 'register "usb1_hc_reset"="1"' in 'chip
southbridge/nvidia/ck804' section of the mainboard's Config.lb.

Signed-off-by: Roman Kononov <kononov195-lbl@yahoo.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2546 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoRemove hardcoded gcc versions otherwise the build will break for
Uwe Hermann [Fri, 2 Feb 2007 17:08:04 +0000 (17:08 +0000)]
Remove hardcoded gcc versions otherwise the build will break for
most people.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2545 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoFix typo which breaks the build ('defalut' should be 'default').
Ed Swierk [Thu, 1 Feb 2007 22:43:27 +0000 (22:43 +0000)]
Fix typo which breaks the build ('defalut' should be 'default').

Signed-off-by: Ed Swierk <eswierk@arastra.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2544 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis patch adds the MCP55 PCI IDs (without which the southbridge code
Ed Swierk [Thu, 1 Feb 2007 01:53:55 +0000 (01:53 +0000)]
This patch adds the MCP55 PCI IDs (without which the southbridge code
won't compile), and breaks an unnecessary dependency on the usbdebug
code.

Signed-off-by: Ed Swierk <eswierk@arastra.com>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2543 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agogreat check-in message:
Roman Kononov [Thu, 1 Feb 2007 00:44:27 +0000 (00:44 +0000)]
great check-in message:

Linuxbios boots an Opteron motherboard with 1GB memory.

Linuxbios directly loads a recent linux kernel.
The memory layout is like this:

BIOS-provided physical RAM map:
   BIOS-e820: 0000000000000000 - 0000000000000e18 (reserved)
   BIOS-e820: 0000000000000e18 - 00000000000a0000 (usable)
   BIOS-e820: 00000000000c0000 - 00000000000f0000 (usable)
   BIOS-e820: 00000000000f0000 - 00000000000f0400 (reserved)
   BIOS-e820: 00000000000f0400 - 0000000040000000 (usable)

The f0000-f0400 region contains IRQ and ACPI tables.

At some point the kernel builds a resource table containing
all physical address ranges and type of hardware the addresses
are mapped to. The table is accessible via /proc/iomem:

# cat /proc/iomem
00000000-00000e17 : reserved
00000e18-0009ffff : System RAM
000a0000-000bffff : Video RAM area
000c0000-000cbfff : Video ROM
000f0000-000fffff : System ROM
e0000000-efffffff : PCI Bus #03
    e0000000-efffffff : 0000:03:00.0
f0000000-f3ffffff : GART
f4000000-f60fffff : PCI Bus #03
    f4000000-f4ffffff : 0000:03:00.0
    f5000000-f5ffffff : 0000:03:00.0
    f6000000-f601ffff : 0000:03:00.0
f6100000-f6100fff : 0000:00:01.0
f6101000-f6101fff : 0000:00:02.0
    f6101000-f6101fff : ohci_hcd
f6102000-f6102fff : 0000:00:04.0
f6103000-f6103fff : 0000:00:07.0
    f6103000-f6103fff : sata_nv
f6104000-f6104fff : 0000:00:08.0
    f6104000-f6104fff : sata_nv
f6105000-f6105fff : 0000:00:0a.0
f6106000-f61060ff : 0000:00:02.1
f6200000-f620ffff : 0000:40:01.0

As you can see, the 00000000000f0400-0000000040000000
region is not listed.

It is not listed because the kernel unconditionally adds
"000f0000-000fffff : System ROM" first (look for
"request_resource(&iomem_resource, &system_rom_resource)"),
and then the attempt to add f0400-40000000 range fails
because of overlapping.

The kernel does not care that the range is not listed there.
Kexec does. It uses the /proc/iomem file to instruct the
kexec system call how to place the segments of a new kernel
in the physical memory. Kexec fails to start a new kernel
because it cannot locate enough physical memory.

This must be fixed either in linux or linuxbios.

Assuming that linuxbios is to be fixed, I cooked a patch
which provides this memory layout:

BIOS-provided physical RAM map:
   BIOS-e820: 0000000000000000 - 0000000000000e18 (reserved)
   BIOS-e820: 0000000000000e18 - 00000000000a0000 (usable)
   BIOS-e820: 00000000000c0000 - 00000000000f0000 (usable)
   BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
   BIOS-e820: 0000000000100000 - 0000000040000000 (usable)

The /proc/iomem contains:

# cat /proc/iomem
00000000-00000e17 : reserved
00000e18-0009ffff : System RAM
000a0000-000bffff : Video RAM area
000c0000-000cbfff : Video ROM
000f0000-000fffff : System ROM
00100000-3fffffff : System RAM
    00100000-00203c61 : Kernel code
    00203c62-00248c3f : Kernel data
e0000000-efffffff : PCI Bus #03
    e0000000-efffffff : 0000:03:00.0
f0000000-f3ffffff : GART
f4000000-f60fffff : PCI Bus #03
    f4000000-f4ffffff : 0000:03:00.0
    f5000000-f5ffffff : 0000:03:00.0
    f6000000-f601ffff : 0000:03:00.0
f6100000-f6100fff : 0000:00:01.0
f6101000-f6101fff : 0000:00:02.0
    f6101000-f6101fff : ohci_hcd
f6102000-f6102fff : 0000:00:04.0
f6103000-f6103fff : 0000:00:07.0
    f6103000-f6103fff : sata_nv
f6104000-f6104fff : 0000:00:08.0
    f6104000-f6104fff : sata_nv
f6105000-f6105fff : 0000:00:0a.0
f6106000-f61060ff : 0000:00:02.1
f6200000-f620ffff : 0000:40:01.0

Kexec is happier with the patch.

Regards,

Signed-off-by: Roman Kononov <kononov195-lbl@yahoo.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2542 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis fixes a small typo.
Roman Kononov [Thu, 1 Feb 2007 00:40:51 +0000 (00:40 +0000)]
This fixes a small typo.

Signed-off-by: Roman Kononov <kononov195-lbl@yahoo.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2541 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd support for the NVIDIA MCP55 southbridge.
Yinghai Lu [Thu, 1 Feb 2007 00:10:05 +0000 (00:10 +0000)]
Add support for the NVIDIA MCP55 southbridge.

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Yinghai Lu <yinghai.lu@amd.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2540 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd support for the SST 49LF160C.
Alan Carvalho de Assis [Sat, 27 Jan 2007 13:39:06 +0000 (13:39 +0000)]
Add support for the SST 49LF160C.

Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2539 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoDelete superfluous and incorrect comment (trivial).
Uwe Hermann [Wed, 24 Jan 2007 11:09:03 +0000 (11:09 +0000)]
Delete superfluous and incorrect comment (trivial).
See also http://www.openbios.org/pipermail/linuxbios/2007-January/018042.html.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2538 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd support for the SST-49LF004C, SST-49LF008C, SST-49LF016C in flashrom.
Yinghai Lu [Mon, 22 Jan 2007 20:21:17 +0000 (20:21 +0000)]
Add support for the SST-49LF004C, SST-49LF008C, SST-49LF016C in flashrom.
Also add suport for NVIDIA MCP55.

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2537 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agotrivial enhancement
Stefan Reinauer [Wed, 17 Jan 2007 10:57:42 +0000 (10:57 +0000)]
trivial enhancement
* add fintek superio support
* add license header
* add clean target in makefile
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2536 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoChange 'ram' to 'RAM' in user-visible output (closes #60).
Uwe Hermann [Tue, 16 Jan 2007 11:56:35 +0000 (11:56 +0000)]
Change 'ram' to 'RAM' in user-visible output (closes #60).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2535 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoA patch to add initial support for the i82801db southbridge based
Jon Dufresne [Thu, 28 Dec 2006 12:00:58 +0000 (12:00 +0000)]
A patch to add initial support for the i82801db southbridge based
heavily on the code for i82801dbm and i82801er

Signed-off-by: Jon Dufresne <jon.dufresne@gmail.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2534 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agohtx card on io apic on htx slot of dk8_htx
Yinghai Lu [Wed, 20 Dec 2006 20:21:05 +0000 (20:21 +0000)]
htx card on io apic on htx slot of dk8_htx

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Acked-by: Yinghai Lu <yinghai.lu@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2533 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agock804 pref mem 4G above support
Yinghai Lu [Wed, 20 Dec 2006 20:15:33 +0000 (20:15 +0000)]
ck804 pref mem 4G above support

Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Acked-by: Yinghai Lu <yinghai.lu@amd.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2532 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoImprove flashrom description in the manpage a bit (trivial).
Uwe Hermann [Wed, 20 Dec 2006 14:59:56 +0000 (14:59 +0000)]
Improve flashrom description in the manpage a bit (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2531 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoUpdate flashrom requirements in the README (trivial).
Uwe Hermann [Wed, 20 Dec 2006 14:53:22 +0000 (14:53 +0000)]
Update flashrom requirements in the README (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2530 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoApply linuxbios-rename-other-payload-options.patch
Ed Swierk [Fri, 15 Dec 2006 12:56:28 +0000 (12:56 +0000)]
Apply linuxbios-rename-other-payload-options.patch
(Patch 2, refs #14)

Signed-off-by: Ed Swierk <eswierk@arastra.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2529 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoouch. always abuild with payloads! trivial fix.
Stefan Reinauer [Fri, 15 Dec 2006 11:55:58 +0000 (11:55 +0000)]
ouch. always abuild with payloads! trivial fix.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2528 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoApply linuxbios-rename-compressed-payload-options.patch, refs #14
Ed Swierk [Fri, 15 Dec 2006 11:42:16 +0000 (11:42 +0000)]
Apply linuxbios-rename-compressed-payload-options.patch, refs #14
Signed-off-by: Ed Swierk <eswierk@arastra.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2527 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoIn the file mainboard/intel/i82801dbm/i82801dbm.c the variable
Jon Dufresne [Thu, 14 Dec 2006 14:54:00 +0000 (14:54 +0000)]
In the file mainboard/intel/i82801dbm/i82801dbm.c the variable
southbridge_intel_i82801dbm_control should be named
southbridge_intel_i82801dbm_ops. Otherwise a compile error occurs if this
device is included in Config.lb of the mainboard.

Closes #62

Signed-off-by: Jon Dufresne <jon.dufresne@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2526 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd support for the SMSC FDC37M60x Super I/O (tested on FDC37M602).
Uwe Hermann [Thu, 14 Dec 2006 14:26:46 +0000 (14:26 +0000)]
Add support for the SMSC FDC37M60x Super I/O (tested on FDC37M602).

Serial output on serial port 1 is tested and works, the rest probably not yet.

Closes #59.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2525 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd an install target to the flashrom Makefile which installs flashrom
Uwe Hermann [Thu, 14 Dec 2006 00:59:41 +0000 (00:59 +0000)]
Add an install target to the flashrom Makefile which installs flashrom
into /usr/local/bin. Closes #54.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2524 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoIn src/southbridge/intel/i82801ca, first the smbus registers are mapped at i/o
chn [Thu, 14 Dec 2006 00:43:50 +0000 (00:43 +0000)]
In src/southbridge/intel/i82801ca, first the smbus registers are mapped at i/o
space offset 0x1000, and later is the acpi registers also mapped at 0x1000.
This patch fixes this behavior. Closes #44

Signed-off-by: <chn@virtutech.se>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2523 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd mtrr support for pentium m cpus
Jon Dufresne [Thu, 14 Dec 2006 00:40:09 +0000 (00:40 +0000)]
Add mtrr support for pentium m cpus

For cache to work the x86_setup_mtrrs() must be called.

Closes #61

Signed-off-by: Jon Dufresne <jon.dufresne@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2522 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoThis is a typo that went into one of the abuild files. it will break abuild
Stefan Reinauer [Thu, 14 Dec 2006 00:31:38 +0000 (00:31 +0000)]
This is a typo that went into one of the abuild files. it will break abuild
on this board for everyone but me. Closes #58
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de> (trivial patch)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2521 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoUse the common LinuxBIOS license header (trivial). Refs #5.
Uwe Hermann [Tue, 5 Dec 2006 15:27:46 +0000 (15:27 +0000)]
Use the common LinuxBIOS license header (trivial). Refs #5.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2520 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoAdd missing license headers to some files (info based on svn history).
Uwe Hermann [Tue, 5 Dec 2006 14:13:10 +0000 (14:13 +0000)]
Add missing license headers to some files (info based on svn history).

Adapt some existing license headers to use the common LinuxBIOS
format. Please note that this does not make any qualitative
license changes, merely cosmetic syntax changes (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2519 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoUpdate list of supported flash chips in the flashrom README (trivial).
Uwe Hermann [Mon, 4 Dec 2006 08:20:40 +0000 (08:20 +0000)]
Update list of supported flash chips in the flashrom README (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2518 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoList the supported flash chips and southbridges in the flashrom
Uwe Hermann [Mon, 4 Dec 2006 08:15:47 +0000 (08:15 +0000)]
List the supported flash chips and southbridges in the flashrom
README file (trivial).

Closes #52.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2517 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agoRemove
Uwe Hermann [Sun, 3 Dec 2006 23:46:36 +0000 (23:46 +0000)]
Remove
  #include <device/device.h>
from all *_early_serial.c ITE Super I/O files, as arch/romcc_io.h already
#defines device_t, thus adding device/device.h breaks the build (trivial).

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2516 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

17 years agofix romcc preprocessor bug
Eric Biederman [Sat, 2 Dec 2006 16:48:48 +0000 (16:48 +0000)]
fix romcc preprocessor bug
Signed-off-by: Eric Biederman <ebiederman@lnxi.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2515 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1