All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] uboot and ZFS
Date: Thu, 3 May 2012 02:13:34 +0200	[thread overview]
Message-ID: <201205030213.35048.marex@denx.de> (raw)
In-Reply-To: <4FA0A7F3.8010803@lundman.net>

Dear Jorgen Lundman,

> Sorry if I am posting some kind of FAQ here,
> 
> I recently picked up a Cubox (arm) which uses uboot. Added ZFS to Linux and
> made it have a ZFS root filesystem. The only drawback is the small boot
> partition of ext2/fat to read uImage and initrd.
> 
> So I am curious about adding ZFS support to uboot. Looking at the sources
> http://git.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=tree
> in particular, the ext2 work, I see it was once imported from GRUB.
> 
> Comparing that with
> https://github.com/pendor/grub-zfs/tree/master/grub-core/fs/zfs which is a
> fork for ZFS support to GRUB.
> 
> At first glance, it would suggest that it should be feasible to add ZFS to
> uboot. But since I only have 'usage-level knowledge' of both boot systems,
> I am unaware of any show-stoppers.

Oh please study this and submit a patch, I believe at least Pavel (CCed) would 
be glad to see it in :-)

> 
> Perhaps memory/object-size is an issue? The ext2 code is some ~1100 lines
> in uboot, but ZFS is 2700 lines in GRUB. Or any of a thousand other issues
> I am unaware about.

Well the porting might be quite a long run indeed, but basic booting from this 
should not be that hard. Besides the code would be fairy separate, so it should 
be OK.

> Anyone already attempted such a project? Any resources available for such
> porting? Will I even be able to run my own version of uboot on the Cubox?

I don't know, sorry.
> 
> Lund

Best regards,
Marek Vasut

  parent reply	other threads:[~2012-05-03  0:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-02  3:20 [U-Boot] uboot and ZFS Jorgen Lundman
2012-05-02 14:12 ` Wolfgang Denk
2012-05-03  0:13 ` Marek Vasut [this message]
2012-05-03  5:27   ` Jorgen Lundman
2012-05-03  5:31     ` Jorgen Lundman
2012-05-05 13:26     ` Marek Vasut
2012-05-07  7:13       ` Jorgen Lundman
2012-05-07  8:35         ` Matthias Weißer
2012-05-07 12:36         ` Wolfgang Denk
2012-05-07 13:03           ` Jorgen Lundman
2012-05-09 13:38             ` Graeme Russ
2012-05-10  5:43               ` [U-Boot] [PATCH] " Jorgen Lundman
2012-05-12  6:26                 ` Marek Vasut
2012-05-14  1:12                   ` Jorgen Lundman
2012-05-14  1:25                     ` Graeme Russ
2012-05-14  1:29                       ` Jorgen Lundman

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=201205030213.35048.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.