public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jorgen Lundman <lundman@lundman.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] uboot and ZFS
Date: Wed, 02 May 2012 12:20:19 +0900	[thread overview]
Message-ID: <4FA0A7F3.8010803@lundman.net> (raw)


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.

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.

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?

Lund


-- 
Jorgen Lundman       | <lundman@lundman.net>
Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
Japan                | +81 (0)3 -3375-1767          (home)

             reply	other threads:[~2012-05-02  3:20 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-02  3:20 Jorgen Lundman [this message]
2012-05-02 14:12 ` [U-Boot] uboot and ZFS Wolfgang Denk
2012-05-03  0:13 ` Marek Vasut
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=4FA0A7F3.8010803@lundman.net \
    --to=lundman@lundman.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox