Î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!