From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from slsa667.piensasolutions.com ([217.76.150.252]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SbWIc-0003QN-P3 for barebox@lists.infradead.org; Mon, 04 Jun 2012 12:22:20 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-02.piensasolutions.com (Postfix) with ESMTP id 1212D2A0C85 for ; Mon, 4 Jun 2012 14:22:14 +0200 (CEST) Received: from mail-ee0-f49.google.com (mail-ee0-f49.google.com [74.125.83.49]) by smtp-02.piensasolutions.com (Postfix) with ESMTPSA id DB2DA2A0C64 for ; Mon, 4 Jun 2012 14:22:13 +0200 (CEST) Received: by eekd17 with SMTP id d17so2120385eek.36 for ; Mon, 04 Jun 2012 05:22:13 -0700 (PDT) MIME-Version: 1.0 From: Benoit RAT Date: Mon, 4 Jun 2012 14:21:53 +0200 Message-ID: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============5394868273213771763==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Loading Cpio (gz) image as rootfs To: barebox@lists.infradead.org --===============5394868273213771763== Content-Type: multipart/alternative; boundary=90e6ba5bb91176a80804c1a495f0 --90e6ba5bb91176a80804c1a495f0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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=3D"$bootargs root=3D/dev/ram0 initrd=3D0x72000000" bootz /dev/mem.kernel Regards, -- *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=EDgono Ind. Juncaril \* *18210 - PELIGROS - GRANADA =96SPAIN* --90e6ba5bb91176a80804c1a495f0 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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 sh= ould not be a problem)
however I don't know how to pass the a= rguments.

Here you can find the commands, that i am using:
<= div>
addpart /dev/mem =A08M@0x71000000(kernel);
tft= p zImage /dev/mem.kernel
addpart /dev/mem =A032M@0x72000000(fs)
tftp image.cpio.gz /dev/mem.fs=A0
bootargs=3D"$boo= targs root=3D/dev/ram0 initrd=3D0x72000000"
bootz /dev/mem.k= ernel

Regards,

--
=A0

Benoit RAT LAMY

Engineer (Sw) \ Ingeniero (= Sw)

fix.=A0(+34) 958 285 024<= /span>

c= el.=A0(+34) 617 989 123

e-mail:=A0benoit@sevensol= s.com

www.se= vensols.com=A0/=A0www.sevensecurity.es

______________________________= ___

C/ Baza, parcela 19 Nave 3= =A0 \ Pol=EDgono Ind. Juncaril \

18210 - PELIGROS - GRANADA =96SPAIN


--90e6ba5bb91176a80804c1a495f0-- --===============5394868273213771763== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --===============5394868273213771763==--