[elbe-devel] rootfs partition image?
Manuel Traut
manuel.traut at linutronix.de
Mon Feb 8 19:10:33 CET 2016
On 16:41 Mon 30 Nov , Manuel Traut wrote:
> Hi Norbert,
>
> > On 30.11.2015 14:39, Manuel Traut wrote:
> > >
> > >>At the moment, we only create filesystem-images for ubifs.
> > >>There is no support for writing an own boot-sector.
> > >>
> > >>I think support for sth. like
> > >>--8<--
> > >><images>
> > >> <msdoshd>
> > >> <name>..</name>
> > >> <size>..</size>
> > >> <binaries>
> > >> <binary bs=1024 seek=8>/tmp/u-boot-with-spl.bin</binary>
> > >> </binaries>
> > >> <partition>
> > >> <size>1G</size>
> > >> <label>rfs</label>
> > >> <offset>1M</offset>
> > >> </partition>
> > >> </msdoshd>
> > >></images>
> > >>--8<--
> > >>
> > >>would be nice.
> > Looks good to me.
>
> The related source is in elbepack/hdimg.py
>
> In line 330 we continue, if the tag is not partition. There we need
> a check for the new 'binary' tag and implement the dd.
>
> The offset parameter of partition needs to be evaluated and used in
> the parted code some lines below.
>
> Do you think you are able to implement this?
>
just for the protocol, i implemented it today:
https://github.com/Linutronix/elbe/commit/6467421d1e5e2d73a1941f74fa5495d526c1ad74
More information about the elbe-devel
mailing list