Commit Graph

81 Commits

Author SHA1 Message Date
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
Blue Swirl
69f1469a6c Actually add the rules file
git-svn-id: svn://coreboot.org/openbios/openbios-devel@337 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-31 18:49:53 +00:00
Blue Swirl
8c50970cde Suppress floppy debug and info messages by default
git-svn-id: svn://coreboot.org/openbios/openbios-devel@336 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-31 18:16:01 +00:00
Aurelien Jarno
7ba90ea519 PPC: add a native configuration
This patch adds a native configuration for PPC. It is based on the cross
configuration files

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>


git-svn-id: svn://coreboot.org/openbios/openbios-devel@335 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-31 18:01:53 +00:00
Blue Swirl
df2f3e5217 Remove debug printk when IDE debugging is disabled (Laurent Vivier)
git-svn-id: svn://coreboot.org/openbios/openbios-devel@331 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-31 15:43:34 +00:00
Blue Swirl
1bda0943db Enable floppy driver for cross-sparc32 like native build
git-svn-id: svn://coreboot.org/openbios/openbios-devel@316 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-23 12:03:02 +00:00
Blue Swirl
1ce62afcdd Enable ISO9660
git-svn-id: svn://coreboot.org/openbios/openbios-devel@307 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-22 16:01:44 +00:00
Laurent Vivier
e11b806d1c qemu better support
This patches copies all needed ppc files to qemu and modifies them.

The generated OpenBIOS image must be loaded at adresse 0xfff00000 by  Qemu.

It is able to load Yaboot from disk and Yaboot is able to load Linux, but Linux hangs somewhere... of course it needs more work (but this cleans up my patch queue).

Thank you to Blue Swirl and Aurelien Jarno for their help.

Signed-off-by: Laurent Vivier <Laurent@lvivier.info>


git-svn-id: svn://coreboot.org/openbios/openbios-devel@301 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-21 08:30:42 +00:00
Blue Swirl
edafcf6e86 IDE fixes for PPC (Laurent Vivier)
git-svn-id: svn://coreboot.org/openbios/openbios-devel@292 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-20 14:48:40 +00:00
Blue Swirl
4fdc0e0fff Drop gcc flag -W
git-svn-id: svn://coreboot.org/openbios/openbios-devel@290 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-15 20:35:31 +00:00
Blue Swirl
7f2281adb4 Enable more warnings
Enable gcc flags -Wwrite-strings and -Wmissing-prototypes, also enable all
warnings on PPC.


git-svn-id: svn://coreboot.org/openbios/openbios-devel@289 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-14 12:56:06 +00:00
Blue Swirl
a757800a01 Remove unnecessary trailing newlines
git-svn-id: svn://coreboot.org/openbios/openbios-devel@285 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-13 09:26:41 +00:00
Blue Swirl
ce3424579b Evaluate date using C locale and UTC timezone, original patch by Laurent Vivier
git-svn-id: svn://coreboot.org/openbios/openbios-devel@280 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-04 20:14:23 +00:00
Blue Swirl
ad4a1b3af0 Use a cross compiler prefix like PPC
git-svn-id: svn://coreboot.org/openbios/openbios-devel@276 f158a5a8-5612-0410-a976-696ce0be7e32
2008-11-30 13:43:27 +00:00
Laurent Vivier
1442f36978 Yaboot needs to be able to open partition 0.
Add some traces.

Signed-off-by: Laurent Vivier <Laurent@lvivier.info>


git-svn-id: svn://coreboot.org/openbios/openbios-devel@265 f158a5a8-5612-0410-a976-696ce0be7e32
2008-11-25 19:54:01 +00:00
Blue Swirl
fa6f4bee56 Fix crosscflags for x86_64 and ppc cases, remove r251 hack, closes ticket #7
git-svn-id: svn://coreboot.org/openbios/openbios-devel@263 f158a5a8-5612-0410-a976-696ce0be7e32
2008-11-25 19:41:41 +00:00
Stefan Reinauer
34f110b694 Add Bochs VBE VGA support
git-svn-id: svn://coreboot.org/openbios/openbios-devel@258 f158a5a8-5612-0410-a976-696ce0be7e32
2008-11-24 12:38:23 +00:00
Laurent Vivier
fe82df644b Create arch/ppc/qemu by copying arch/ppc/pearpc.
Signed-off-by: Laurent Vivier <Laurent@lvivier.info> 
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/openbios/openbios-devel@253 f158a5a8-5612-0410-a976-696ce0be7e32
2008-11-24 12:16:22 +00:00
Laurent Vivier
71033f7bb8 This patch allows me to compile openbios using the cross-pcc target
on amd64 host.

Signed-off-by: Laurent Vivier <Laurent@lvivier.info>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/openbios/openbios-devel@251 f158a5a8-5612-0410-a976-696ce0be7e32
2008-11-24 12:13:40 +00:00
Blue Swirl
7fcb78bc5b PPC: Do not make a UNIX target when cross compiling, add native config
git-svn-id: svn://coreboot.org/openbios/openbios-devel@249 f158a5a8-5612-0410-a976-696ce0be7e32
2008-11-16 19:40:16 +00:00