All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jorgen Lundman <lundman@lundman.net>
To: u-boot@lists.denx.de
Subject: [U-Boot]  [PATCH] uboot and ZFS
Date: Thu, 10 May 2012 14:43:47 +0900	[thread overview]
Message-ID: <4FAB5593.5060509@lundman.net> (raw)
In-Reply-To: <4FAA736D.3030404@gmail.com>

>
> Technically, U-Boot is GPLv2+ so GPLv2 only code _may_ not be accepted That
> is for Wolfgang to decide, but you have been warned :)
>

Naturally, he is king after all. There will be a thousand reasons to reject 
it, but hopefully not due to license.



I based my GITHUB after the CuBox fork of u-boot. I will leave it up to 
those guys to submit their patches separately.


My fork of u-boot is here:

** https://github.com/lundman/u-boot


To see only the change set for adding ZFS:

** https://github.com/lundman/u-boot/compare/zfs


Since I merged in EXT4 patches to get a feel for u-boot, they are here:

** https://github.com/lundman/u-boot/compare/ext4

Only minor strings changes of "ext2" -> "ext4", otherwise the Samsung patch 
V4 posted in here.



Lund



Useless sample output:


CuBox>> zfsls usb 0:2 /ROOT/@/
zfs reading label 0 at sector 0 (byte 0)
ZFS Pool GUID: 8349310002080761692 (73deb535d9a3c75c) Label: GUID: 
1229383784885
2426185 (aa9c7c635319edc9), txg: 1348, SPA v28, ashift: 9

ZPOOL label 'rpool'

zfs fsname = '/ROOT/' snapname='<NULL>' filename = '/'
<DIR>  lib
<DIR>  sbin
<DIR>  var
<DIR>  bin
<DIR>  dev
<DIR>  selinux
<DIR>  usr
<DIR>  root
<DIR>  home
<DIR>  srv
<DIR>  ttt
<DIR>  proc
<DIR>  tmp
<DIR>  mnt
<DIR>  etc
<DIR>  media
<DIR>  boot
<DIR>  opt
<DIR>  sys
<DIR>  .old-root
<DIR>  src
        rootfile.txt
<DIR>  rpool



CuBox>> zfsload usb 0:2 0x00200000 /ROOT/@/boot/uImage
Loading file "/ROOT/@/boot/uImage" from usb device 0:2 usbda2
zfs reading label 0 at sector 0 (byte 0)
...........
ZFS Pool GUID: 8349310002080761692 (73deb535d9a3c75c) Label: GUID: 
12293837848852426185 (aa9c7c635319edc9), txg: 1348, SPA v28, ashift: 9
zfs endian set to little
zfs fsname = '/ROOT/' snapname='<NULL>' filename = '/boot/uImage'
3623192 bytes read

CuBox>> bootm
## Booting kernel from Legacy Image at 00200000 ...
    Image Name:   Linux-2.6.32.9-dove-5.4.2
    Created:      2012-01-07  10:23:53 UTC
    Image Type:   ARM Linux Kernel Image (uncompressed)
    Data Size:    3623128 Bytes =  3.5 MB
    Load Address: 00008000
    Entry Point:  00008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000] Linux version 2.6.32.9-dove-5.4.2 (rabeeh at kossay-desktop) 
(gcc version 4.3.2 (sdk3.2rc1-ct-ng-1.4.1) ) #46 PREEMPT Sat Jan 7 12:23:38 
IST 2012

  reply	other threads:[~2012-05-10  5:43 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
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               ` Jorgen Lundman [this message]
2012-05-12  6:26                 ` [U-Boot] [PATCH] " 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=4FAB5593.5060509@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 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.