Laurent Vivier
53c56562ce
escc: add "AAPL," and "reg" properties (allow to use it with linux)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@398 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-13 08:05:51 +00:00
Laurent Vivier
7dac2248ea
Add aliases for ch-a and ch-b: ttya, ttyb for oldworld, and scca and sccb for all
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@397 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-13 07:49:44 +00:00
Blue Swirl
e43da79c51
Fix wrong property
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@395 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-12 19:49:10 +00:00
Laurent Vivier
f52a3bcc8e
Add ide0, ide1 ... ideN aliases needed by ybin (yaboot)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@394 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-12 19:22:10 +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
Laurent Vivier
358bee9e5d
Create properties for an oldworld machine if needed.
...
If arch is ppc and machine arch id is heathrow, we create:
- properties in root node for a powermac beige
(Linux says "Powermac G3 (Silk)")
- "AAPL,interrupts" and "AAPL,address" properties in PCI device tree.
git-svn-id: svn://coreboot.org/openbios/openbios-devel@388 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-11 01:03:16 +00:00
Blue Swirl
ef3a27bcdf
Fix warning about unused variables
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@381 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-10 20:40:11 +00:00
Blue Swirl
cbbf8e81a9
Remove accidental debug printk
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@378 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-10 11:41:04 +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
bc7a813d71
Add Sparc64 PCI devices
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@375 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-09 20:58:23 +00:00
Blue Swirl
24848e97dd
Fix VBE address on Sparc64
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@374 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-09 20:55:34 +00:00
Blue Swirl
b323c13516
Add Heathrow Mac I/O (Aurelien Jarno)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@372 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-08 15:14:33 +00:00
Blue Swirl
32a9122790
Define oldworld property for oldworld hardware (Laurent Vivier)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@371 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-07 17:54:25 +00:00
Blue Swirl
e781dea8c6
Don't hang if we discover an unknown device (Laurent Vivier)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@369 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-07 15:57:07 +00:00
Blue Swirl
96a43ab78e
Create special properties for host and bridge (Laurent Vivier)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@368 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-07 15:55:19 +00:00
Blue Swirl
7986b6ac9d
Create "ranges" property (Laurent Vivier)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@367 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-07 15:53:14 +00:00
Blue Swirl
525283b17f
Correctly create "reg" property for PCI devices (Laurent Vivier)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@366 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-07 15:51:40 +00:00
Blue Swirl
02a709c6bc
Create "assigned-addresses" property (Laurent Vivier)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@365 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-07 15:50:03 +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
2742ea5723
Really create a tree for PCI devices (Laurent Vivier)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@362 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-07 15:43:10 +00:00
Blue Swirl
4a9d1a7613
Support cd/cdrom and hd/disk aliases on all architectures
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@361 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-06 20:27:01 +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
6eea2f277a
Define "screen-#columns" and "screen-#rows" in /options (Laurent Vivier)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@355 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-05 20:20:45 +00:00
Blue Swirl
c281fcafb2
Preopen display and store result in /chosen (Laurent Vivier)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@354 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-05 20:16:31 +00:00
Blue Swirl
7d6c9b0e78
Use field compat from pci_dev_t to fill "compatible" property. (Laurent Vivier)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@353 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-05 20:14:07 +00:00
Blue Swirl
a32f1855be
Update FSF addresses
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@351 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-05 18:50:53 +00:00
Blue Swirl
97eb20b042
ADB cleanup (Laurent Vivier)
...
Split adb.[ch] and part of cuda.c to adb_bus.[ch], adb_kbd.[ch] and
adb_mouse.[ch].
git-svn-id: svn://coreboot.org/openbios/openbios-devel@350 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-04 20:39:50 +00:00
Blue Swirl
91148c0702
Clean up Sparc32 memory management
...
Concentrate memory and MMU management (lib.c malloc, romvec opb_, iommu,
OF /memory) to lib.c.
git-svn-id: svn://coreboot.org/openbios/openbios-devel@344 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-03 13:45:02 +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
Blue Swirl
2f9b4b37d4
Move PCI database part from pci.c to its own file pci_database.c
...
(Laurent Vivier)
git-svn-id: svn://coreboot.org/openbios/openbios-devel@334 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-31 16:21:08 +00:00
Blue Swirl
7ae5790865
Remove unused definition from qemu/tree.fs and move cd and hd alias
...
definition to ide.c (Laurent Vivier)
git-svn-id: svn://coreboot.org/openbios/openbios-devel@332 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-31 16:18:34 +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
47e9e700d3
Enable reset-all and add poweroff
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@330 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-28 16:35:39 +00:00
Blue Swirl
e1a15e8302
Suppress -Wformat-security warning
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@329 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-28 15:27:19 +00:00
Blue Swirl
d902f85e2e
Fix serial console broken by r317
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@323 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-24 07:12:14 +00:00
Blue Swirl
4858cabb9b
Infinite loop fix (Justin Chevrier)
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@321 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-23 18:32:42 +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
37cc208996
Move serial console functions to obio.c
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@317 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-23 12:07:07 +00:00
Blue Swirl
58d21fb1c2
Change part_length to a define
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@312 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-23 10:15:14 +00:00
Blue Swirl
4369f590b2
Add copyright
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@309 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-23 10:09:04 +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
Laurent Vivier
cd90eca8ce
remove useless printk
...
This patch removes useless printk()
Signed-off-by: Laurent Vivier <Laurent@lvivier.info >
git-svn-id: svn://coreboot.org/openbios/openbios-devel@300 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-20 20:23:55 +00:00
Laurent Vivier
0ba8f749e0
re-indent cuda_init()
...
This patch re-indents function cuda_init()
Signed-off-by: Laurent Vivier <Laurent@lvivier.info >
git-svn-id: svn://coreboot.org/openbios/openbios-devel@299 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-20 20:23:16 +00:00
Blue Swirl
3b5fd69ec7
Delete drivers/ide.fs, should have been deleted in r292
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@297 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-20 18:38:04 +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
37c1cdbe41
Fix the last remaining warning
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@295 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-20 17:29:20 +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
2324d53cb4
IDE: silence compiler warnings
...
git-svn-id: svn://coreboot.org/openbios/openbios-devel@293 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-20 15:05:43 +00:00