mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Benoit RAT <benoit@sevensols.com>
To: barebox@lists.infradead.org
Subject: Loading Cpio (gz) image as rootfs
Date: Mon, 4 Jun 2012 14:21:53 +0200	[thread overview]
Message-ID: <CAHvDM_dZOmQWYt2JKd7dRMhTJx08ntCeM+gDPuc9bLmBRQVdBg@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 887 bytes --]

Hy everybody,

I was wondering if it was possible to load a cpio.gz image as rootfs! (I
think it is the kernel that load it so it should not be a problem)
however I don't know how to pass the arguments.

Here you can find the commands, that i am using:

addpart /dev/mem  8M@0x71000000(kernel);
tftp zImage /dev/mem.kernel
addpart /dev/mem  32M@0x72000000(fs)
tftp image.cpio.gz /dev/mem.fs
bootargs="$bootargs root=/dev/ram0 initrd=0x72000000"
bootz /dev/mem.kernel

Regards,

--
 <http://www.sevensols.com/>  <http://www.sevensecurity.es>

*Benoit RAT LAMY*

Engineer (Sw) \ Ingeniero (Sw)

fix. *(+34) 958 285 024*

cel. *(+34) 617 989 123*

e-mail: benoit@sevensols.com

*www.sevensols.com / **www.sevensecurity.es*

_________________________________

*C/ Baza, parcela 19 Nave 3  \ Polígono Ind. Juncaril \*

*18210 - PELIGROS - GRANADA –SPAIN*

[-- Attachment #1.2: Type: text/html, Size: 4519 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2012-06-04 12:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-04 12:21 Benoit RAT [this message]
2012-06-04 13:07 ` Benoit RAT
2012-06-05  2:59 ` Jean-Christophe PLAGNIOL-VILLARD

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=CAHvDM_dZOmQWYt2JKd7dRMhTJx08ntCeM+gDPuc9bLmBRQVdBg@mail.gmail.com \
    --to=benoit@sevensols.com \
    --cc=barebox@lists.infradead.org \
    /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