Mark Cave-Ayland
92f8310ff7
Split nvram.h into its proper two components - one for the arch-specific functions and another for the package functions.
...
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@698 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-14 20:34:01 +00:00
Mark Cave-Ayland
bf897f1619
Split video_subr.h into its separate components so that they can live in the right places, rather than placing the definitions
...
from lots of different C files into a single header.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@696 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-14 20:10:01 +00:00
Mark Cave-Ayland
1dbe55b8e4
Move the basic OpenBIOS configuration header files from include/openbios to include/.
...
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@695 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-14 17:19:58 +00:00
Mark Cave-Ayland
f84dd73af4
Fix the sys_info.h header file so it doesn't reference functions both inside and outside of libopenbios, and move the firmware
...
configuration header file to include/arch/common. Following through the code showed that elfnote.c and linuxbios.c were being
used by sys_info and so these are also renamed to elf_info.c and linuxbios_info.c for clarity.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@693 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-14 16:09:44 +00:00
Mark Cave-Ayland
da4cc1d0bd
Move the driver header files into include/drivers to synchronise with the code directory structure.
...
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@692 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-14 15:19:41 +00:00
Mark Cave-Ayland
4a2c065e4f
Move the libopenbios header files into include/libopenbios to synchronise with the code directory structure.
...
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@691 f158a5a8-5612-0410-a976-696ce0be7e32
2010-03-14 15:05:53 +00:00
Blue Swirl
305168fb73
sparc64: implement reset
...
Signed-off-by: Blue Swirl <blauwirbel@gmail.com >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@673 f158a5a8-5612-0410-a976-696ce0be7e32
2010-01-31 12:16:46 +00:00
Blue Swirl
dc3b5cc5f2
Sparc64: more generic method for display and keyboard selection
...
Signed-off-by: Blue Swirl <blauwirbel@gmail.com >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@669 f158a5a8-5612-0410-a976-696ce0be7e32
2010-01-24 13:38:28 +00:00
Blue Swirl
a40a92653f
Sparc64: use firmware configuration device for command line storage
...
Signed-off-by: Blue Swirl <blauwirbel@gmail.com >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@663 f158a5a8-5612-0410-a976-696ce0be7e32
2010-01-09 21:28:28 +00:00
Blue Swirl
4d0214e2bf
Sparc64: fix Linux error about inconsistent console also for serial console
...
Signed-off-by: Blue Swirl <blauwirbel@gmail.com >
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@654 f158a5a8-5612-0410-a976-696ce0be7e32
2009-12-30 10:54:52 +00:00
Blue Swirl
ffd20b950d
Switch sparc64 to ofmem (Igor Kovalenko)
...
Initialize ofmem at startup.
Switch malloc/realloc/free to use ofmem.
Implement runtime migration of startup mappings to ofmem.
Implement mmu miss handlers to install tlb entries based on ofmem
translations list.
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@517 f158a5a8-5612-0410-a976-696ce0be7e32
2009-07-31 11:16:24 +00:00
Blue Swirl
b098842b5b
Use firmware configuration instead of NVRAM (initial patch by Aurelien Jarno)
...
Use firmware configuration device for boot device, kernel, initrd and
kernel command line parameters on PPC, Sparc32 and Sparc64.
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@479 f158a5a8-5612-0410-a976-696ce0be7e32
2009-03-08 09:45:25 +00:00
Blue Swirl
c39ebf65f7
Add #defines for PCI vendor and device IDs for all devices, taken from Linux
...
and pciids.sourceforge.net.
Also fix a confusion between Sabre and Simba device IDs.
git-svn-id: svn://coreboot.org/openbios/openbios-devel@437 f158a5a8-5612-0410-a976-696ce0be7e32
2009-02-01 11:25:16 +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
65057d6167
Fix Sabre device ID
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@423 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-25 07:30:45 +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
Blue Swirl
52f8efadc0
Set up console input and output variables correctly
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@414 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-17 15:37:30 +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
8a4aadc9b8
Create PCI properties "interrupts", "interrupt-map" and "interrupt-map-mask" (Laurent Vivier)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@363 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-07 15:45:26 +00:00
Blue Swirl
a767eeb2d4
Allocate Forth memory and dictionary using malloc like PPC (cf. r345)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@347 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-04 14:47:11 +00:00
Blue Swirl
b700809e7f
Clean up Sparc64 memory management
...
Concentrate memory and MMU management (lib.c malloc, OF /memory) to lib.c.
git-svn-id: svn://coreboot.org/openbios/openbios-devel@346 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-04 12:53:26 +00:00
Blue Swirl
ec53fcec45
Clean up video routines
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@343 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-02 14:53:33 +00:00
Blue Swirl
aad2f953c6
Suppress useless printing of kernel address and size
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@338 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-31 20:07:10 +00:00
Blue Swirl
32591c48f0
Check configuration device version
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@319 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-23 13:38:11 +00:00
Blue Swirl
a7c3b47d20
Clean up configuration device and NVRAM access, add UUID to Sparc32
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@318 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-23 13:14:33 +00:00
Blue Swirl
972aba5fe6
Add clock-frequency property (original patch by Igor Kovalenko)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@308 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-23 08:11:53 +00:00
Blue Swirl
d7208a6daf
Fix Sparse warnings
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@296 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-20 18:36:23 +00:00
Blue Swirl
7e21fc929d
Fix almost all remaining warnings
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@294 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-20 17:15:47 +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
58ca864765
Delete extra whitespace at the end of line, which annoys quilt
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@284 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-11 20:30:53 +00:00
Blue Swirl
3038a07be7
Fix fake CPU ID value (Igor Kovalenko)
...
Small correction: cpuid property of qemu cpu should be "0" for the
linux kernel to boot on qemu. This is because kernel is reading cpu
registers to find out current smp processor ID and it happens to find
out "0" cpuid because corresponding register is zeroed by qemu.
Currently kernel fails since there is no "0" cpu node in tree.
git-svn-id: svn://coreboot.org/openbios/openbios-devel@283 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-11 17:10:03 +00:00
Blue Swirl
c77259ec3a
Change uses of sprintf to snprintf
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@277 f158a5a8-5612-0410-a976-696ce0be7e32
2008-11-30 13:44:38 +00:00
Blue Swirl
c52d26b976
Reduce warnings by 29%
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@273 f158a5a8-5612-0410-a976-696ce0be7e32
2008-11-29 19:31:28 +00:00
Blue Swirl
a0cabb495a
Fix most print format warnings
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@272 f158a5a8-5612-0410-a976-696ce0be7e32
2008-11-29 16:24:51 +00:00
Blue Swirl
f446864114
Use pci_arch_t also on Sparc64 (but disable PCI probing for now, hangs)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@270 f158a5a8-5612-0410-a976-696ce0be7e32
2008-11-29 13:18:32 +00:00
Blue Swirl
b210e52224
Rearrange nvram init
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@262 f158a5a8-5612-0410-a976-696ce0be7e32
2008-11-25 18:30:22 +00:00
Laurent Vivier
f4f7644d8c
This patch moves all definitions of REGISTER_NAMED_NODE and
...
REGISTER_NODE_METHODS to openbios/bindings.h.
Signed-off-by: Laurent Vivier <Laurent@lvivier.info >
Acked-by: Stefan Reinauer <stepan@coresystems.de >
git-svn-id: svn://coreboot.org/openbios/openbios-devel@252 f158a5a8-5612-0410-a976-696ce0be7e32
2008-11-24 12:15:08 +00:00
Blue Swirl
b10c4ef032
Add fake cpuid to cpu node (Igor Kovalenko)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@239 f158a5a8-5612-0410-a976-696ce0be7e32
2008-09-27 19:46:18 +00:00
Blue Swirl
94f0e664a8
Add mmu translate and unmap methods (Igor Kovalenko)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@238 f158a5a8-5612-0410-a976-696ce0be7e32
2008-09-27 19:45:19 +00:00
Blue Swirl
aee05c163e
Use the firmware device introduced in Qemu SVN r5256
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@237 f158a5a8-5612-0410-a976-696ce0be7e32
2008-09-18 18:41:26 +00:00
Blue Swirl
89951ed0a7
Implement itlb/dtlb directed writes (Igor Kovalenko)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@234 f158a5a8-5612-0410-a976-696ce0be7e32
2008-09-02 15:59:28 +00:00
Blue Swirl
c82272a91f
Fix virtual to physical address translation (Igor Kovalenko)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@233 f158a5a8-5612-0410-a976-696ce0be7e32
2008-09-02 15:46:27 +00:00
Blue Swirl
6f94c89a68
Rename /packages/client-iface to /openprom/client-services
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@229 f158a5a8-5612-0410-a976-696ce0be7e32
2008-08-10 18:12:17 +00:00
Blue Swirl
3f276b7e1c
Add mmu release (claim added in r219)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@225 f158a5a8-5612-0410-a976-696ce0be7e32
2008-08-09 12:54:56 +00:00
Blue Swirl
22a03c7386
More realistic mmu_translate
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@221 f158a5a8-5612-0410-a976-696ce0be7e32
2008-08-06 18:23:13 +00:00
Blue Swirl
2a9c61a0e1
Fix typo
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@220 f158a5a8-5612-0410-a976-696ce0be7e32
2008-08-06 18:20:57 +00:00
Blue Swirl
0c4d74757f
Fix #size-cells for HelenOS, add /openprom/version node
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@219 f158a5a8-5612-0410-a976-696ce0be7e32
2008-08-06 18:20:12 +00:00
Blue Swirl
f3bac24932
Finally fix the very obscure problem which prevented normal and especially
...
FCode boot: too small heap (used for Forth memory)!
Remove forced arch_init and boot hacks
git-svn-id: svn://coreboot.org/openbios/openbios-devel@218 f158a5a8-5612-0410-a976-696ce0be7e32
2008-08-02 10:59:05 +00:00
Blue Swirl
f7c4309c3b
Add bootargs property for kernel command line
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@217 f158a5a8-5612-0410-a976-696ce0be7e32
2008-08-02 10:53:24 +00:00