grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Andrey Borzenkov <arvidjaar@gmail.com>
To: grub-devel@gnu.org
Subject: Re: [PATCH] add arm64 UEFI Linux loader
Date: Wed, 18 Dec 2013 21:12:37 +0400	[thread overview]
Message-ID: <20131218211237.1c6d8578@opensuse.site> (raw)
In-Reply-To: <20131218165439.GD22356@rocoto.smurfnet.nu>

В Wed, 18 Dec 2013 17:54:39 +0100
Leif Lindholm <leif.lindholm@linaro.org> пишет:

> 
> > > +  if (!loaded)
> > > +    {
> > > +      grub_error (GRUB_ERR_BAD_ARGUMENT,
> > > +		  N_("you need to load the kernel first"));
> > > +      goto fail;
> > > +    }
> > > +
> > > +  files = grub_zalloc (argc * sizeof (files[0]));
> > > +  if (!files)
> > > +    goto fail;
> > > +
> > > +  for (i = 0; i < argc; i++)
> > > +    {
> > > +      grub_file_filter_disable_compression ();
> > > +      files[i] = grub_file_open (argv[i]);
> > > +      if (!files[i])
> > > +	goto fail;
> > > +      nfiles++;
> > > +      size += ALIGN_UP (grub_file_size (files[i]), 4);
> > > +    }
> > > +
> > Why don't you use methods from loader/linux.c ?
> 
[...]
> ARM* do not even support multiple initrds.
> 

Is this arch dependant? I mean, kernel gets buffer that holds initramfs
and just tries to cpio extract it; if there are multiple concatenated
archives it will simply process them all. I thought this was pretty
much arch-independent.


  reply	other threads:[~2013-12-18 17:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-16 13:55 [PATCH] add arm64 UEFI Linux loader Leif Lindholm
2013-12-16 16:13 ` Andrey Borzenkov
2013-12-16 16:24   ` Leif Lindholm
2013-12-16 21:34     ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-18 16:54       ` Leif Lindholm
2013-12-18 17:12         ` Andrey Borzenkov [this message]
2013-12-18 17:23         ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-19 18:57           ` Leif Lindholm
2013-12-19 19:06             ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-12-19 20:57               ` Leif Lindholm
2013-12-16 16:23 ` Vladimir 'φ-coder/phcoder' Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131218211237.1c6d8578@opensuse.site \
    --to=arvidjaar@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).