Commit Graph

82 Commits

Author SHA1 Message Date
Laurent Vivier
2db781a446 Replace yaboot_startup() by newworld_boot() which implements generic
CHRP boot method.
It finds the CHRP bootscript using the file attribute 'tbxi' and 
the blessed directory.

This method allows to boot easily Fedora (the bitness detection is done
by the script and yaboot is called with the according yaboot.conf) but
openSUSE is broken (you have to use "boot cd:,\suseboot\yaboot")
Debian works well (as usual...).
The openSUSE needs the missing forth words: "load" and "go".
The MacOS bootloader (BootX) is also loaded automatically but forth 
script is too complex to be executed correctly.

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


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@571 f158a5a8-5612-0410-a976-696ce0be7e32
2009-08-29 15:43:00 +00:00
Blue Swirl
dfb87d8446 Minor tweaks to dump word output (Mark Cave-Ayland)
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@511 f158a5a8-5612-0410-a976-696ce0be7e32
2009-07-12 20:16:39 +00:00
Blue Swirl
0d8df65985 Don't add padding spaces when evaluating headerless words (Mark Cave-Ayland)
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@502 f158a5a8-5612-0410-a976-696ce0be7e32
2009-06-06 14:57:25 +00:00
Blue Swirl
c1a48cf75c Fix b(field) Fcode evaluation (Mark Cave-Ayland)
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@499 f158a5a8-5612-0410-a976-696ce0be7e32
2009-05-30 07:41:48 +00:00
Blue Swirl
14cdca306d Fix b(case)...b(of)...b(endof)...b(endcase) (Mark Cave-Ayland)
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@498 f158a5a8-5612-0410-a976-696ce0be7e32
2009-05-24 11:15:48 +00:00
Blue Swirl
0ac767a200 Implement push-package/pop-package (Mark Cave-Ayland)
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@497 f158a5a8-5612-0410-a976-696ce0be7e32
2009-05-24 11:04:06 +00:00
Blue Swirl
f13e795c12 Implement /x FCode (Mark Cave-Ayland)
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@495 f158a5a8-5612-0410-a976-696ce0be7e32
2009-05-23 15:31:31 +00:00
Igor Kovalenko
17594b70b8 forth: add more pockets
This changes pocket index calculation to support more than two pockets.
As an example default number of pockets is set to 4.
This should ease nesting more than two levels using pockets as
temporary storage.

Signed-off-by: Igor Kovalenko <igor.v.kovalenko@gmail.com>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@494 f158a5a8-5612-0410-a976-696ce0be7e32
2009-05-22 17:15:48 +00:00
Igor Kovalenko
02130e8240 Fix regprop int encoding (Igor Kovalenko)
Wrong encoding of "#address-cells" property can lead to a failure
fetching correct value in my-#acells method. According to docs
properties must be encoded with "encode-int". I spent some time
looking at the docs and it is clear that encode-int produces
quad-sized result (of size /l bytes).

This patch fixes pci helpers to encode to 32bit instead of 64bit values,
and correctes my-address and my-unit methods to read 32bit data
to match encode-int rules
modules/bindings.c: also fixed set_int_property and get_int_property
to match encode-int rules

Signed-off-by: Igor Kovalenko <igor.v.kovalenko@gmail.com>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@493 f158a5a8-5612-0410-a976-696ce0be7e32
2009-05-22 17:14:10 +00:00
Blue Swirl
0ba0e77ecd Fix b(do) ... b(leaves) ... b(loop)/b(+loop) (Mark Cave-Ayland)
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@492 f158a5a8-5612-0410-a976-696ce0be7e32
2009-05-22 17:09:52 +00:00
Blue Swirl
50d363515e Read the diagnostic mode setting from NVRAM (Mark Cave-Ayland)
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@491 f158a5a8-5612-0410-a976-696ce0be7e32
2009-05-22 17:09:05 +00:00
Blue Swirl
a924d32bcc Fix various bugs in bbranch and b?branch implementations (Mark Cave-Ayland)
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@485 f158a5a8-5612-0410-a976-696ce0be7e32
2009-04-28 16:40:49 +00:00
Blue Swirl
7948face2b Display more information when ?fcode-verbose enabled (Mark Cave-Ayland)
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@484 f158a5a8-5612-0410-a976-696ce0be7e32
2009-04-13 17:05:41 +00:00
Blue Swirl
604f68deaf Correct b?branch for negative offset branches (Mark Cave-Ayland)
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@483 f158a5a8-5612-0410-a976-696ce0be7e32
2009-04-12 18:53:37 +00:00
Blue Swirl
7563abe630 Fix fcode-offset sign extension problem (Mark Cave-Ayland)
git-svn-id: svn://coreboot.org/openbios/openbios-devel@460 f158a5a8-5612-0410-a976-696ce0be7e32
2009-02-27 21:04:01 +00:00
Blue Swirl
ef41834dc2 Fix b?branch (Mark Cave-Ayland)
git-svn-id: svn://coreboot.org/openbios/openbios-devel@458 f158a5a8-5612-0410-a976-696ce0be7e32
2009-02-21 16:27:51 +00:00
Blue Swirl
397977b9a6 Disable romfont: unused
git-svn-id: svn://coreboot.org/openbios/openbios-devel@379 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-10 11:49:43 +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
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
431f0f7f28 Fix NetBSD 4.0 booting
git-svn-id: svn://coreboot.org/openbios/openbios-devel@279 f158a5a8-5612-0410-a976-696ce0be7e32
2008-12-01 19:08:33 +00:00
Blue Swirl
b7d48e0105 Remove package finding code that finds unrelated packages
git-svn-id: svn://coreboot.org/openbios/openbios-devel@232 f158a5a8-5612-0410-a976-696ce0be7e32
2008-08-30 10:55:33 +00:00
Blue Swirl
a7188cc237 Fix pad alignment
git-svn-id: svn://coreboot.org/openbios/openbios-devel@231 f158a5a8-5612-0410-a976-696ce0be7e32
2008-08-30 10:51:55 +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
Stefan Reinauer
c763143e7a add set-callback for Aurora 2.0
git-svn-id: svn://coreboot.org/openbios/openbios-devel@223 f158a5a8-5612-0410-a976-696ce0be7e32
2008-08-06 23:24:48 +00:00
Blue Swirl
c4f3fbc099 Fix boot-device use
git-svn-id: svn://coreboot.org/openbios/openbios-devel@138 f158a5a8-5612-0410-a976-696ce0be7e32
2007-05-04 20:55:05 +00:00
Stefan Reinauer
247c616971 Fix for interpose problem.
git-svn-id: svn://coreboot.org/openbios/openbios-devel@127 f158a5a8-5612-0410-a976-696ce0be7e32
2007-04-24 19:19:58 +00:00
Stefan Reinauer
9f386f64bd add reset-all and reset for sparc32
git-svn-id: svn://coreboot.org/openbios/openbios-devel@48 f158a5a8-5612-0410-a976-696ce0be7e32
2006-06-05 20:34:53 +00:00
Stefan Reinauer
280a06e3d9 small fixes/enhancements for solaris
git-svn-id: svn://coreboot.org/openbios/openbios-devel@43 f158a5a8-5612-0410-a976-696ce0be7e32
2006-06-05 19:30:59 +00:00
Stefan Reinauer
172438f171 - update dates
- fix address output of ls


git-svn-id: svn://coreboot.org/openbios/openbios-devel@34 f158a5a8-5612-0410-a976-696ce0be7e32
2006-05-26 11:14:20 +00:00
Stefan Reinauer
40d0162516 blueswirl sparc32 -17 (without romvec.c changes)
git-svn-id: svn://coreboot.org/openbios/openbios-devel@32 f158a5a8-5612-0410-a976-696ce0be7e32
2006-05-25 21:02:53 +00:00
Stefan Reinauer
45538d9e4f phandles are addresses, so print them unsigned.
git-svn-id: svn://coreboot.org/openbios/openbios-devel@7 f158a5a8-5612-0410-a976-696ce0be7e32
2006-05-05 10:25:53 +00:00
Stefan Reinauer
5c9eb9b45b initial import of openbios--main--1.0--patch-26
git-svn-id: svn://coreboot.org/openbios/openbios-devel@1 f158a5a8-5612-0410-a976-696ce0be7e32
2006-04-26 15:08:19 +00:00