NewWorld CD Booting?

2006-03-14 Thread Andrei Warkentin
Hello, I really don't know who else to approach with this, and this is (potentially) GRUB 2 related (if/when GRUB2 boots from CD). Basically I hack away at my kernel attempt on a an '05 iBook (dev system is 10.4), and decided to look into making a bootable CD so I could use QEMU PPC

Re: GRUB2 Build on Mac OS X

2005-12-08 Thread Andrei Warkentin
Hello, There is another issue with GRUB2 on OS X which I am not sure has been brought up yet. Right now, AFAIK (but I haven't tested it), GRUB2 (the part that runs from OpenFrimware) can be built with a bootstrap powerpc-elf-targetted GCC hosted on OS X. However, the local GRUB2 binary

Re: GRUB2 Build on Mac OS X

2005-12-08 Thread Andrei Warkentin
Hmm, I just tried ./configure-ing.I have my powerpc-linux crosscompiler tools as powerpc-linux-{gcc, ld, ar, objcopy, etc}. It seems the configuration utility makes no distinction between compiler toolchain to make system utilities and compiler chain to make bootable executables.Naturally, this

Re: GRUB2 Build on Mac OS X

2005-12-08 Thread Andrei Warkentin
if creating Mach-O boot binaries will yield any benefits for bringing up a kernel. If GRUB2 is to be used on the Mac OS X operating system, the tools need to be Mach-O based. Andre -Original Message- From: Andrei Warkentin [mailto:[EMAIL PROTECTED] Sent: Thursday, December 8, 2005 08:10 PM

Re: Broken Build on Mac OS X

2005-12-03 Thread Andrei Warkentin
Hello, I would suggest building a bootstrap gcc powerpc crosscompiler and binutils, where the the host is your OS X system and the target is powerpc-linux. This will allow you to build PowerPC ELF objects, which you can then boot with OF. It is my understanding that the GRUB2 PowerPC

Re: Broken Build on Mac OS X

2005-12-03 Thread Andrei Warkentin
. My understanding is that you will have to somehow convince the GRUB2 build to use your gcc versus the system one. Have a good day. On Dec 3, 2005, at 8:49 PM, Andre Smith wrote: Thanks Much! I will build that tool chain and rebuild GRUB2. On Dec 3, 2005, at 9:05 PM, Andrei Warkentin wrote

Re: PowerPC C++ kernel woes.

2005-11-27 Thread Andrei Warkentin
, at 6:42 PM, Andrei Warkentin wrote: Hello, I've been trying to get some C++ running (now that I can print Hello World from OF, I'd like to move my Hello World C++ kernel to PowerPC), but it has been without much success. I've finally figured out that there are these small data sections which

PowerPC C++ kernel woes.

2005-11-26 Thread Andrei Warkentin
Hello, I've been trying to get some C++ running (now that I can print Hello World from OF, I'd like to move my Hello World C++ kernel to PowerPC), but it has been without much success. I've finally figured out that there are these small data sections which I was not taking care of in my ld

Re: Sparc bootblock [Was: SFS breaks PPC build ]

2005-10-17 Thread Andrei Warkentin
Can OpenBoot directly boot ELF or COFF images? I looked at SILO and it seems it uses a 512-byte boot block to load second stage etc. On Oct 17, 2005, at 2:30 AM, Bart Grantham wrote: Marco Gerards wrote: As GRUB 2 is ported to the ultra sparc64 it might be wise for us (GRUB and solaris

Re: Sparc bootblock

2005-10-17 Thread Andrei Warkentin
IANA mac guru, but the OF in Old Worlds (OF 1.0.5) has support for reading from block devices, parsing *some* filesystems (this but is pretty crippled - for example, no fragmentation can occur on a FAT floppy, because it just loads data linearly). It can boot from a partition 0 boot block

Re: Booting homebrew ELF kernel on NewWorld OpenFirmware 3.0?

2005-10-15 Thread Andrei Warkentin
way of convincing OF to free up the memory it just gobbled up, after my kernel had exited? Thanks again. On Oct 10, 2005, at 3:08 AM, Olaf Hering wrote: On Sun, Oct 09, Andrei Warkentin wrote: I trying to cobble together a simple Hello World ``kernel'' on the mac, and have a question

Booting homebrew ELF kernel on NewWorld OpenFirmware 3.0?

2005-10-09 Thread Andrei Warkentin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I trying to cobble together a simple Hello World ``kernel'' on the mac, and have a question concerning the booting specifics. I understand that OF 3.0 groks ELF, but the ELF file should contain some special information in the note