public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Rod Smith <rodsmith@rodsbooks.com>
To: edk2-devel@lists.01.org
Subject: Re: EXT FS support
Date: Tue, 22 Nov 2016 16:31:03 -0500	[thread overview]
Message-ID: <98271ced-83d5-d4e9-6b8d-416265054906@rodsbooks.com> (raw)
In-Reply-To: <c4049fa6-16d2-a73b-ab04-7c770bf86aca@akeo.ie>

On 11/22/2016 01:25 PM, Pete Batard wrote:
> On 2016.11.22 17:16, Marcin Wojtas wrote:
>> There's no GRUB, platform simply boots to the Shell.
> 
> I think there may be some confusion.
> 
> All the drivers we linked you to are pure UEFI drivers. It doesn't
> matter if they were a port from GRUB or something else, the code was
> converted to work as a standalone UEFI driver. Especially you don't need
> to have GRUB running or anything. You can just use the "load" command in
> the shell to load the driver, and then access the file system.
> 
> I believe you should be able to download any of the ext binary drivers
> mentioned and use them in your shell right away to access your file
> system from it.

Yes, but it sounds like Marcin may want to embed the ext4fs driver in a
custom EFI build. AFAIK, none of the drivers in question were designed
with that in mind; however, the VirtualBox project has incorporated
ISO-9660 and HFS+ drivers, both of which are built on the same framework
(rEFIt's) as rEFInd's drivers, into its own firmware. Thus, Marcin might
be able to look at the VirtualBox code and use whatever techniques or
glue it uses to incorporate something else. (I can't point to specific
files, though.) The rEFInd drivers might be easiest to build in this
way, but that's just a guess.

Note, however, that all of the drivers referenced so far in this thread
are licensed under the GPL. Thus, building an EFI in this way would
cause the EFI as a whole to be GPL-licensed. This might or might not be
an issue, depending on what the point of the exercise is.

Of course, a standalone driver might be perfectly acceptable, too. I've
seen options in some EFIs to load drivers at start time, but I've never
gotten them to work. (I haven't tried very hard.) If nothing else, a
small driver-loading program could be written and set as the first boot
option.

Marcin wrote:

> I also found this:
> https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/FileSystems/VBoxFsDxe/

FWIW, that's a fork of the rEFInd code. I'd not seen it before now; the
Clover developers haven't bothered to upstream their changes. (I
maintain rEFInd.)

It's still not clear to me why you want this driver, Marcin. If you want
to load a Linux kernel directly, without using GRUB, rEFInd, or some
other tool, you can simply put the kernel(s) on a FAT filesystem. This
is a common approach among Arch Linux users; they mount the ESP at /boot
and it works pretty well. Some distributions assume that /boot supports
links or other features that aren't available with FAT, though, so maybe
this wouldn't work as well for you, but it's worth considering.

-- 
Rod Smith
rodsmith@rodsbooks.com
http://www.rodsbooks.com


  reply	other threads:[~2016-11-22 21:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-22 15:25 EXT FS support Marcin Wojtas
2016-11-22 16:19 ` Pete Batard
2016-11-22 16:41   ` Rebecca Cran
2016-11-22 16:59     ` Michael Zimmermann
2016-11-22 17:16       ` Marcin Wojtas
2016-11-22 18:25         ` Pete Batard
2016-11-22 21:31           ` Rod Smith [this message]
2016-11-23 19:50             ` Laszlo Ersek
2016-11-23 20:01               ` Michael Zimmermann
2016-11-23 20:11                 ` Laszlo Ersek
2016-11-24  1:03                   ` Rebecca Cran
2016-11-24  8:27                     ` Laszlo Ersek
2016-11-28 21:15               ` Carsey, Jaben
2016-11-22 18:18     ` Pete Batard
2016-11-22 16:40 ` Rebecca Cran

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-list 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=98271ced-83d5-d4e9-6b8d-416265054906@rodsbooks.com \
    --to=devel@edk2.groups.io \
    /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