Re: Contribution: a file loading module

2011-06-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 25.06.2011 05:35, Graeme Russ wrote: > Hi Vladimir, > > On 25/06/11 13:23, Vladimir 'φ-coder/phcoder' Serbinenko wrote: >> This is perfectly accomodated by multiboot specification. Just add a >> small structure somewhere in the first 8K of the file and your image is >> multiboot-compliant. > Tha

Re: Contribution: a file loading module

2011-06-24 Thread Graeme Russ
Hi Vladimir, On 25/06/11 13:23, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > This is perfectly accomodated by multiboot specification. Just add a > small structure somewhere in the first 8K of the file and your image is > multiboot-compliant. Thanks for the advice, but I have a few questions (p

Re: Contribution: a file loading module

2011-06-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 25.06.2011 04:24, Graeme Russ wrote: > would fit my needs perfectly. The U-Boot images are raw (not ELF) with a > 32-bit entry point at the first byte of the file but this may change (I may > put the version string at the start of the file) so the optional > execute_address could come in handy.

Re: Contribution: a file loading module

2011-06-24 Thread Graeme Russ
On 24/06/11 01:42, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 17.06.2011 18:11, Pierre-Nicolas Clauss wrote: >> Hi folks, >> >> I subscribed to this list in order to share with you a humble >> contribution of mine to grub. >> >> As an OS developer enthusiastic, I needed to load a file to mem

Re: Contribution: a file loading module

2011-06-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 24.06.2011 11:33, Pierre-Nicolas Clauss wrote: > 2011/6/24 Vladimir 'φ-coder/phcoder' Serbinenko : >> On 23.06.2011 23:45, Pierre-Nicolas Clauss wrote: You need to just add a small header to make this kernel multiboot-compliant (read multiboot header and multiboot kludge) >>> I know, b

Re: Contribution: a file loading module

2011-06-24 Thread Brendan Trotter
Hi, Note: I am me. I speak on behalf of myself only, and don't represent the views of the GRUB team in any way. On Fri, Jun 24, 2011 at 7:03 PM, Pierre-Nicolas Clauss wrote: > Are you saying that : > > kernel /my_multiboot_kernel > chainloader /my_chainloader > boot > > will load the kernel as p

Re: Contribution: a file loading module

2011-06-24 Thread Pierre-Nicolas Clauss
2011/6/24 Vladimir 'φ-coder/phcoder' Serbinenko : > On 23.06.2011 23:45, Pierre-Nicolas Clauss wrote: >>> You need to just add a small header to make this kernel >>> multiboot-compliant (read multiboot header and multiboot kludge) >> I know, but I have to give up my chainloader if I want to use a >

Re: Contribution: a file loading module

2011-06-23 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 23.06.2011 23:45, Pierre-Nicolas Clauss wrote: >> You need to just add a small header to make this kernel >> multiboot-compliant (read multiboot header and multiboot kludge) > I know, but I have to give up my chainloader if I want to use a > multiboot kernel. Why? Multiboot specification specifi

Re: Contribution: a file loading module

2011-06-23 Thread Pierre-Nicolas Clauss
> You need to just add a small header to make this kernel > multiboot-compliant (read multiboot header and multiboot kludge) I know, but I have to give up my chainloader if I want to use a multiboot kernel. > Nope. We won't maintain loaders for a single system which will always > stay extremely m

Re: Contribution: a file loading module

2011-06-23 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 23.06.2011 21:41, Pierre-Nicolas Clauss wrote: > Basically, I wanted to have a small chainloader of mine to load my kernel. > IIRC, I cannot use both the 'kernel' and 'chainloader' commands > together, so I just skipped using a multiboot compliant kernel and > have the chainloader to jump at a g

Re: Contribution: a file loading module

2011-06-23 Thread Pierre-Nicolas Clauss
Hi, 2011/6/23 Vladimir 'φ-coder/phcoder' Serbinenko : >> As an OS developer enthusiastic, I needed to load a file to memory at >> a given specific address. > While such a functionality would be a toy for loader developpers, it's > completely useless for the end users. If the user has to know any s

Re: Contribution: a file loading module

2011-06-23 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 17.06.2011 18:11, Pierre-Nicolas Clauss wrote: > Hi folks, > > I subscribed to this list in order to share with you a humble > contribution of mine to grub. > > As an OS developer enthusiastic, I needed to load a file to memory at > a given specific address. While such a functionality would be a

Contribution: a file loading module

2011-06-17 Thread Pierre-Nicolas Clauss
Hi folks, I subscribed to this list in order to share with you a humble contribution of mine to grub. As an OS developer enthusiastic, I needed to load a file to memory at a given specific address. No command in grub 1.99 was fitting my needs (as my file as no semantic known to grub: it's not a m