mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* __bss_stop question
@ 2012-03-08 12:23 George Stefan
  2012-03-08 13:11 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 3+ messages in thread
From: George Stefan @ 2012-03-08 12:23 UTC (permalink / raw)
  To: barebox


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

Hello all,
Is __bss_stop the end of barebox.bin?
Meaning that, if i have i file which i dd it with offset=768
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
Regards,
George!

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

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

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

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

* Re: __bss_stop question
  2012-03-08 12:23 __bss_stop question George Stefan
@ 2012-03-08 13:11 ` Jean-Christophe PLAGNIOL-VILLARD
  2012-03-08 13:45   ` George Stefan
  0 siblings, 1 reply; 3+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-03-08 13:11 UTC (permalink / raw)
  To: George Stefan; +Cc: barebox

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=768
>    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.

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

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

* Re: __bss_stop question
  2012-03-08 13:11 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2012-03-08 13:45   ` George Stefan
  0 siblings, 0 replies; 3+ messages in thread
From: George Stefan @ 2012-03-08 13:45 UTC (permalink / raw)
  To: Jean-Christophe PLAGNIOL-VILLARD; +Cc: barebox


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

În 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=768
> >    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=barebox.bin of=/dev/mmcblk0 bs=512 && sync\
and
dd if=uImage of=/dev/mmcblk0 bs=512 seek=768 && 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!

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

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

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

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

end of thread, other threads:[~2012-03-08 13:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-08 12:23 __bss_stop question George Stefan
2012-03-08 13:11 ` Jean-Christophe PLAGNIOL-VILLARD
2012-03-08 13:45   ` George Stefan

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