public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] uboot and ZFS
@ 2012-05-02  3:20 Jorgen Lundman
  2012-05-02 14:12 ` Wolfgang Denk
  2012-05-03  0:13 ` Marek Vasut
  0 siblings, 2 replies; 16+ messages in thread
From: Jorgen Lundman @ 2012-05-02  3:20 UTC (permalink / raw)
  To: u-boot


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)

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-05-14  1:29 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox