Commit Graph

100 Commits

Author SHA1 Message Date
Mark Cave-Ayland
04a412a7f5 Begin tidying up of header locations as described on the mailing list. Firstly we move all of the architecture-specific header
files from include/$ARCH to include/arch/$ARCH.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@687 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-14 13:47:44 +00:00
Mark Cave-Ayland
dbf16392cc Refactoring of the OpenBIOS source code, as discussed on the mailing list. The primary aim of this process is to try and arrange
the source files into a structure whereby it is easier to find the relationship between a forth package word and its C 
implementation, while also creating a libopenbios library into which more common code from the arch/ tree can eventually be 
moved.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> 


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@685 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-13 10:58:19 +00:00
Alexander Graf
9724a856d7 PPC: Disable host binary build
On PPC the host binary build always fails for me. Since I guess I'm
the only one actually building OpenBIOS ppc on ppc and I don't really
care that much about debugging Forth code in my Linux environment,
I guess we can just disable building it by default.

Signed-off-by: Alexander Graf <agraf@suse.de>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@683 f158a5a8-5612-0410-a976-696ce0be7e32
2010-02-22 18:52:34 +00:00
Blue Swirl
9b72f2cd0a Fix a typo
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@649 f158a5a8-5612-0410-a976-696ce0be7e32
2009-12-28 10:24:32 +00:00
Alexander Graf
6b497163c8 I usually compile openbios on PowerPC for PowerPC. Apparently I'm the
only onedoing that, as that (really easy) case got broken by the cross 
compilation overhaul.

Let's allow host = target gcc configurations again.

Signed-off-by: Alexander Graf <agraf@suse.de>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@645 f158a5a8-5612-0410-a976-696ce0be7e32
2009-12-18 20:41:51 +00:00
Laurent Vivier
bef737dcb3 Autodetect cross-compiler name.
Signed-off-by: Laurent Vivier <Laurent@vivier.eu>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@644 f158a5a8-5612-0410-a976-696ce0be7e32
2009-12-10 00:23:02 +00:00
Laurent Vivier
26c129730b Add cleaner ext2 filesystem implementation
Signed-off-by: Laurent Vivier <Laurent@vivier.eu>



git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@627 f158a5a8-5612-0410-a976-696ce0be7e32
2009-11-22 09:47:08 +00:00
Laurent Vivier
d2cc5db789 Add a cleaner implementation of ISO9660.
Enable it for powerpc and cross-powerpc

Signed-off-by: Laurent Vivier <Laurent@vivier.Eu>



git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@626 f158a5a8-5612-0410-a976-696ce0be7e32
2009-11-22 09:26:50 +00:00
Laurent Vivier
0f885c07be Revert commit of local change (sparc-elf / sparc-linux-gnu )
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@585 f158a5a8-5612-0410-a976-696ce0be7e32
2009-09-20 20:18:15 +00:00
Laurent Vivier
719271835f Add bootinfo-loader.
Signed-off-by: Laurent Vivier <Laurent@vivier.eu>



git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@584 f158a5a8-5612-0410-a976-696ce0be7e32
2009-09-20 20:15:46 +00:00
Blue Swirl
468ce9442b Sparc32/64: omit less useful FS modules etc. to reduce size
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@557 f158a5a8-5612-0410-a976-696ce0be7e32
2009-08-17 16:58:45 +00:00
Blue Swirl
9162f1b584 Introduce quiet build
Make forthstrap quiet by default. Use generic rules when possible, unify
the rules and cleanup white space. Use ld flag --whole-archive to avoid
some local rule use. We can also remove some hacks introduced to avoid
missing symbols.

Fix problems brought in by ld flag --whole-archive:
 * x86: fix missing nvram symbols
 * PPC: disable misc.S build for qemu (conflicts with our libgcc)

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@556 f158a5a8-5612-0410-a976-696ce0be7e32
2009-08-17 16:58:42 +00:00
Blue Swirl
2da0b806ed Sparc64: omit less useful FS modules to reduce size
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@554 f158a5a8-5612-0410-a976-696ce0be7e32
2009-08-17 16:58:35 +00:00
Laurent Vivier
3fbece06c9 Re-enable HFS (with HFS+)
Signed-off-by: Laurent Vivier <Laurent@vivier.eu>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@551 f158a5a8-5612-0410-a976-696ce0be7e32
2009-08-12 17:29:51 +00:00
Laurent Vivier
f4d5a4625d For powerpc, use HFSPlus instead of HFS.
Later, this will allow to boot like a real NewWorld OpenFirmware:

boot hd:,\\:tbxi

Where "\\" is the default (blessed) system folder (defined by the 
filesystem, generally "/System/Library/CoreServices" on MacOS X), and
 ":tbxi" the  first file with the "tbxi" file attribute ("BootX" on 
MacOS X)

Signed-off-by: Laurent Vivier <Laurent@vivier.eu>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@550 f158a5a8-5612-0410-a976-696ce0be7e32
2009-08-11 20:47:13 +00:00
Laurent Vivier
6271aeb3ee Author: Pavel Roskin <proski@gnu.org>
Check that the script is run from the top-level directory.  Check that
the config file is available for every specified architecture.



git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@548 f158a5a8-5612-0410-a976-696ce0be7e32
2009-08-11 20:27:17 +00:00
Laurent Vivier
d64b1c2c98 Author: Pavel Roskin <proski@gnu.org>
CONFIG_OFMEM and CONFIG_OFMEM_MALLOC_ALIGN are defined in
cross-ppc_config.xml, but not in ppc_config.xml, so copy them.
Likewise, copy those setting from cross-sparc64_config.xml to
sparc64_config.xml.


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@547 f158a5a8-5612-0410-a976-696ce0be7e32
2009-08-11 20:23:43 +00:00
Blue Swirl
9ae360c5da Fix leakage of AS_FLAGS between targets
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@540 f158a5a8-5612-0410-a976-696ce0be7e32
2009-08-08 14:40:36 +00:00
Blue Swirl
c803a121b7 Sparc64: configure screen size from QEMU command line options
Configure the screen size from QEMU command line options using FW_CFG
interface, like r538 for PPC.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@539 f158a5a8-5612-0410-a976-696ce0be7e32
2009-08-08 10:52:59 +00:00
Laurent Vivier
7f8103fac8 Allows to configure screen size from the configuration files using
CONFIG_VGA_WIDTH, CONFIG_VGA_HEIGHT, CONFIG_VGA_DEPTH.
For the moment, only enabled for PPC/QEMU and VGA VBE interface.



git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@537 f158a5a8-5612-0410-a976-696ce0be7e32
2009-08-04 21:04:32 +00:00
Blue Swirl
d4b64752eb Improve version number handling
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@533 f158a5a8-5612-0410-a976-696ce0be7e32
2009-08-02 18:20:53 +00:00
Blue Swirl
17d787ee2e Refactor the build rules
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@532 f158a5a8-5612-0410-a976-696ce0be7e32
2009-08-02 16:59:05 +00:00
Blue Swirl
8a7a0012ea Make crosscflags executable
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@531 f158a5a8-5612-0410-a976-696ce0be7e32
2009-08-02 12:41:31 +00:00
Blue Swirl
44ede105c1 switch sparc64 to ofmem module implementation (Igor Kovalenko)
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@528 f158a5a8-5612-0410-a976-696ce0be7e32
2009-08-02 11:08:01 +00:00
Blue Swirl
f8c0ae8f7b switch ppc to ofmem module implementation (Igor Kovalenko)
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@527 f158a5a8-5612-0410-a976-696ce0be7e32
2009-08-02 11:07:13 +00:00
Blue Swirl
1c324c15e4 Introduce CONFIG_DEBUG_OFMEM option (Igor Kovalenko)
Add CONFIG_DEBUG_OFMEM option to configurations which implement OF memory
manager.

Implement DEBUG_OFMEM macro to be used by debug traces in OF memory manager
code.


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@514 f158a5a8-5612-0410-a976-696ce0be7e32
2009-07-31 11:12:18 +00:00
Blue Swirl
cd72008966 Enable -Werror for Sparc32 and Sparc64
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@504 f158a5a8-5612-0410-a976-696ce0be7e32
2009-06-14 16:05:27 +00:00
Blue Swirl
2da21531b5 Version 1.0
git-svn-id: svn://coreboot.org/openbios/openbios-devel@463 f158a5a8-5612-0410-a976-696ce0be7e32
2009-03-01 20:07:47 +00:00
Blue Swirl
cfe6134890 Really allow overriding HOSTARCH
git-svn-id: svn://coreboot.org/openbios/openbios-devel@434 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-31 13:31:29 +00:00
Blue Swirl
c135215b74 Allow overriding HOSTARCH
git-svn-id: svn://coreboot.org/openbios/openbios-devel@433 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-31 09:07:29 +00:00
Blue Swirl
36bab875b8 Refactor QEMU firmware confguration device handling (based on patch by
Aurelien Jarno)


git-svn-id: svn://coreboot.org/openbios/openbios-devel@432 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-31 08:49:16 +00:00
Blue Swirl
18f34eca50 Fix native Sparc32 compile
git-svn-id: svn://coreboot.org/openbios/openbios-devel@428 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-26 17:09:21 +00:00
Blue Swirl
037d00c9b5 Add Propolice support
git-svn-id: svn://coreboot.org/openbios/openbios-devel@422 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-24 08:23:33 +00:00
Blue Swirl
bcd092ad4a Add support for configuring for multiple targets
git-svn-id: svn://coreboot.org/openbios/openbios-devel@420 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-23 20:09:26 +00:00
Blue Swirl
c2ccc6bf52 Update build target description
git-svn-id: svn://coreboot.org/openbios/openbios-devel@419 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-18 10:14:58 +00:00
Blue Swirl
0726678a35 Use PCI IDE controller
git-svn-id: svn://coreboot.org/openbios/openbios-devel@415 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-17 18:42:48 +00:00
Laurent Vivier
7a10250555 ppc, cross-ppc: add -Werror to CFLAGS
git-svn-id: svn://coreboot.org/openbios/openbios-devel@399 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-13 12:19:11 +00:00
Blue Swirl
3ed0c8e1e4 Synch cross and native configs
git-svn-id: svn://coreboot.org/openbios/openbios-devel@396 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-12 20:46:27 +00:00
Blue Swirl
3eda0189f0 Use ESCC for PowerMac serial
git-svn-id: svn://coreboot.org/openbios/openbios-devel@392 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-12 17:47:56 +00:00
Blue Swirl
4f2d4ae6f2 Extract ESCC serial driver
git-svn-id: svn://coreboot.org/openbios/openbios-devel@391 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-12 17:46:19 +00:00
Blue Swirl
91a9c7865a Add EBUS bridge, refactor PC serial and keyboard, generalize floppy
git-svn-id: svn://coreboot.org/openbios/openbios-devel@377 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-10 11:37:34 +00:00
Blue Swirl
0c3877f095 Enable Sparc64 PCI probing, use probed display but not IDE
git-svn-id: svn://coreboot.org/openbios/openbios-devel@376 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-09 21:00:38 +00:00
Blue Swirl
eb3f96ade3 Fix amd64 warnings, enable more warnings
git-svn-id: svn://coreboot.org/openbios/openbios-devel@360 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-06 19:06:58 +00:00
Blue Swirl
1b47a7ee96 Fix x86 warnings, enable more warnings
git-svn-id: svn://coreboot.org/openbios/openbios-devel@359 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-06 18:46:22 +00:00
Blue Swirl
251d1101ca Fix amd64 build
git-svn-id: svn://coreboot.org/openbios/openbios-devel@358 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-06 18:09:22 +00:00
Blue Swirl
18d3fd2172 Fix x86 build
git-svn-id: svn://coreboot.org/openbios/openbios-devel@357 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-06 17:18:46 +00:00
Blue Swirl
49d3954458 Mac-io cleanup (Laurent Vivier)
git-svn-id: svn://coreboot.org/openbios/openbios-devel@356 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-05 20:30:39 +00:00
Blue Swirl
2137312f95 Clean up font handling
git-svn-id: svn://coreboot.org/openbios/openbios-devel@342 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-02 13:32:15 +00:00
Blue Swirl
1ad40beb94 Cleanup white space and unused lines
git-svn-id: svn://coreboot.org/openbios/openbios-devel@340 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-01 07:48:12 +00:00
Blue Swirl
e3ff961f02 Fix Unix host build on PPC
git-svn-id: svn://coreboot.org/openbios/openbios-devel@339 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-01 07:34:30 +00:00