From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ey0-f177.google.com ([209.85.215.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1S5dfO-000269-Ud for barebox@lists.infradead.org; Thu, 08 Mar 2012 13:46:03 +0000 Received: by eaak13 with SMTP id k13so179491eaa.36 for ; Thu, 08 Mar 2012 05:46:00 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20120308131134.GO12248@game.jcrosoft.org> References: <20120308131134.GO12248@game.jcrosoft.org> Date: Thu, 8 Mar 2012 15:45:59 +0200 Message-ID: From: George Stefan List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0938653143870286389==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: __bss_stop question To: Jean-Christophe PLAGNIOL-VILLARD Cc: barebox@lists.infradead.org --===============0938653143870286389== Content-Type: multipart/alternative; boundary=0015174be40e0b3a5d04babb7f83 --0015174be40e0b3a5d04babb7f83 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable =CEn data de 8 martie 2012, 15:11, Jean-Christophe PLAGNIOL-VILLARD < plagnioj@jcrosoft.com> a scris: > On 14:23 Thu 08 Mar , George Stefan wrote: > > Hello all, > > Is __bss_stop the end of barebox.bin? > > Meaning that, if i have i file which i dd it with offset=3D768 > > could i refer to it with __bss_stop. > > Should i consider also the bareboxenv, meaning that > > the end of barebox.bin is __bss_stop + sizeof(bareboxenv)? > > PS: board is imx53 loco > the env is where you want > > and barebox_image_size will give you the size of barebox > > and the end of barebox is __bss_start > > Best Regards, > J. > Thanks for the reply. So, if i do something like dd if=3Dbarebox.bin of=3D/dev/mmcblk0 bs=3D512 && sync\ and dd if=3DuImage of=3D/dev/mmcblk0 bs=3D512 seek=3D768 && sync how could i access the contents of uimage within barebox? Since " the end of barebox is __bss_start" should it be __bss_start? Regards, George! --0015174be40e0b3a5d04babb7f83 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

=CEn data de 8 martie 2012, 15:11, Jean-= Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> a sc= ris:
On 14:23 Thu 08 Mar =A0 =A0 , George Stefan wrote:
> =A0 =A0Hello all,
> =A0 =A0Is __bss_stop the end of barebox.bin?
> =A0 =A0Meaning that, if i have i file which i dd it with offset=3D768<= br> > =A0 =A0could i refer to it with __bss_stop.
> =A0 =A0Should i consider also the bareboxenv, meaning that
> =A0 =A0the end of barebox.bin is __bss_stop + sizeof(bareboxenv)?
> =A0 =A0PS: board is imx53 loco
the env is where you want

and barebox_image_size will give you the size of barebox

and the end of barebox is __bss_start

Best Regards,
J.

Thanks for the reply.
So, if i= do something like=A0
dd if=3Dbarebox.bin of=3D/dev/mmcblk0 bs=3D= 512 && sync\
and=A0
dd if=3DuImage of=3D/dev/mm= cblk0 bs=3D512 seek=3D768 && sync
how could i access the contents of uimage within barebox?
Si= nce "=A0the end of barebox is __bss_start" should it be __bss_sta= rt?
Regards,
George!

--0015174be40e0b3a5d04babb7f83-- --===============0938653143870286389== 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 --===============0938653143870286389==--