elf substitute for nbgrub

2005-10-23 Thread Nilesh Agrawal
Hi all, I am trying to boot IBM netvista thin clients using nbgrub, but it says unsupported file type. I want an elf executable which is equivalent to nbgrub (Netboot image, mode 2) How can i create it ?? pls help.. thanks nilesh -- And ye shall know the truth (source) and the truth shall set you

Partitioned software RAID support (for testing grub-setup)

2005-10-23 Thread Timothy Baldwin
Here is support for partitioned software RAID devices for util/i386/pc/biosdisk.c. You can now try grub-setup/grub-install on a partitioned RAID array, then boot the result in an emulator. A RAID array could consist of a single loop device. Also linux_find_partition does not allocate enough memo

Video subsystem draft

2005-10-23 Thread Vesa Jääskeläinen
Hi, I made a draft how video subsystem could work. It doesn't currently contain information about internals, but is more concentrated on usage of the API. In order to make GRUB 2's video subsystem more flexible, there is a need to modify font manager in order to support more variety of different

Scripting framework

2005-10-23 Thread Marco Gerards
Hi, In the last emails we discussed scripting support. Because it was quite hard to explain everything and it was quite easy to implement the basic framework we can use to implement scripting I just did some hacking. It is not complete scripting support. All it is is just a structure to work fr

Re: elf substitute for nbgrub

2005-10-23 Thread Timothy Baldwin
On Sunday 23 Oct 2005 09:13, Nilesh Agrawal wrote: > Hi all, > I am trying to boot IBM netvista thin clients using nbgrub, but it > says unsupported file type. GRUB Legacy only works on PC BIOS on i386 PCs. GRUB 2 only works on PC BIOS on i386 PCs, Openfirmware on PowerPC and RISC OS on ARM. A Op

Re: Video subsystem draft

2005-10-23 Thread Timothy Baldwin
On Sunday 23 Oct 2005 12:24, Vesa Jääskeläinen wrote: > Hi, > > I made a draft how video subsystem could work. It doesn't currently > contain information about internals, but is more concentrated on usage > of the API. GRUB should support modes with fixed palettes, in order to support (firmware)

Re: Video subsystem draft

2005-10-23 Thread Vesa Jääskeläinen
Timothy Baldwin wrote: > On Sunday 23 Oct 2005 12:24, Vesa Jääskeläinen wrote: >> Hi, >> >> I made a draft how video subsystem could work. It doesn't currently >> contain information about internals, but is more concentrated on usage >> of the API. > > GRUB should support modes with fixed palettes

Re: grub-setup: --no-boot option?

2005-10-23 Thread Paul Bolle
On Sat, 2005-10-22 at 00:23 +0200, Yoshinori K. Okuji wrote: > On Friday 21 October 2005 11:36 pm, Paul Bolle wrote: > > I already tried. But launching the GRUB image grub-mkimage generated > > (b.t.w. using the exact command grub-install uses) dropped me to rescue > > mode. [...]. > > Because you

Re: [patch] 64 bit disk address support (= 8192EiB disks)

2005-10-23 Thread Timothy Baldwin
On Friday 21 Oct 2005 23:18, Marco Gerards wrote: > Why did you choose this name? What about using grub_sector_t instead > as name? I now see Linux uses sector_t. Revised patch using grub_sector_t and definition higher up types.h: http://www.majoroak.f2s.com/tim/grub/patches/grub2-patch14b.diff

stdint.h & non-GNU portability

2005-10-23 Thread Bart Grantham
I'm now at the point where I need to build grub to start integrating the OF work I've been doing, but I can't get the most recent CVS to make. I am using OpenBSD 3.5 on an Ultra5, and it needs stdint.h, which is not installed on my system. My understanding is that stdint.h is part of libc6 an

Re: stdint.h & non-GNU portability

2005-10-23 Thread Hollis Blanchard
On Oct 23, 2005, at 5:25 PM, Bart Grantham wrote: I'm now at the point where I need to build grub to start integrating the OF work I've been doing, but I can't get the most recent CVS to make. I am using OpenBSD 3.5 on an Ultra5, and it needs stdint.h, which is not installed on my system. My

[PPC] quick test please? device tree path translation

2005-10-23 Thread Hollis Blanchard
Hi, could PPC people give the attached shell script a try? For example, $ ./ofpathname /dev/hda /[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/@0/[EMAIL PROTECTED] I'd like to make sure that the resulting Open Firmware device tree path is accurate. I think we should use this script for G

Re: [PPC] quick test please? device tree path translation

2005-10-23 Thread Mike Small
On Sun, Oct 23, 2005 at 05:53:44PM -0500, Hollis Blanchard wrote: > Hi, could PPC people give the attached shell script a try? For example, > $ ./ofpathname /dev/hda > /[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/@0/[EMAIL PROTECTED] > > I'd like to make sure that the resulting Open Firm

Re: [PPC] quick test please? device tree path translation

2005-10-23 Thread Hollis Blanchard
On Oct 23, 2005, at 7:19 PM, Mike Small wrote: Seems to work for me. It gives the same answers as ofpath (packaged with yaboot 1.0.8), except for a usb floppy drive, which your script can handle but ofpath cannot. The machine is a 466Mhz G4 Powermac (Digital Audio) with an IDE harddrive and cd

Re: [PPC] quick test please? device tree path translation

2005-10-23 Thread Dennis Clarke
On 10/23/05, Mike Small <[EMAIL PROTECTED]> wrote: > On Sun, Oct 23, 2005 at 05:53:44PM -0500, Hollis Blanchard wrote: > > Hi, could PPC people give the attached shell script a try? For example, > > $ ./ofpathname /dev/hda > > /[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/@0/[EMAIL PROTECT

Re: [PPC] quick test please? device tree path translation

2005-10-23 Thread Dennis Clarke
On 10/23/05, Hollis Blanchard <[EMAIL PROTECTED]> wrote: > On Oct 23, 2005, at 7:19 PM, Mike Small wrote: > > > > So your script seems better. > > Excellent! > > To clarify, though, it's not my script: it's from the ppc64-utils > package (which I'm thinking needs to be renamed)... I just added a >

Re: [PPC] quick test please? device tree path translation

2005-10-23 Thread Hollis Blanchard
On Oct 23, 2005, at 7:46 PM, Dennis Clarke wrote: [EMAIL PROTECTED] ~]$ ./ofpathname /dev/hdc : bad interpreter: No such file or directory [EMAIL PROTECTED] ~]$ which bash /bin/bash That can happen if a script acquires some carriage return line endings on its way through a Windows system. -H

[patch] grub-install for PPC

2005-10-23 Thread Hollis Blanchard
This patch creates a grub-install for PPC. Right now it requires ofpathname (see earlier mail) to be installed in /usr/sbin. It also requires /sbin/nvsetenv to be present for full functionality. Here's the basic scenario: /boot/grub is a mounted firmware-readable filesystem, such as HFS or FAT