[Buildroot] img layout

daggs daggs at gmx.com
Sat Jul 22 15:58:14 UTC 2017


Greetings Thomas

>
> Greetings Thomas
> 
> > Sent: Friday, July 21, 2017 at 12:46 PM
> > From: "Thomas Petazzoni" <thomas.petazzoni at free-electrons.com>
> > To: daggs <daggs at gmx.com>
> > Cc: buildroot at buildroot.org
> > Subject: Re: [Buildroot] img layout
> >
> > Hello,
> > 
> > On Fri, 21 Jul 2017 11:19:55 +0200, daggs wrote:
> > 
> > > well latest uboot supports the odroidc2 boards but there is a need to insert their signed blobs into the image.
> > > as I don't know how the image's layout is, I'm not sure the dd specified in the uboot docs will work. I've never got it to boot. it maybe something else.
> > > 
> > > this is what they write:
> > > DEV=/dev/your_sd_device
> > > dd if=$BL1 of=$DEV conv=fsync bs=1 count=442
> > > dd if=$BL1 of=$DEV conv=fsync bs=512 skip=1 seek=1
> > > dd if=$DIR/u-boot.gxbb of=$DEV conv=fsync bs=512 seek=97
> > > 
> > > how can I be sure that the offsets above are the same in uboot generated image?
> > 
> > Use genimage, you can specify at which offset which image should be
> > placed. See board/engicam/icorem6/genimage.cfg for example.
> > 
> > Best regards,
> > 
> > Thomas
> > -- 
> 
> interesting, I'll look into it, thanks.

I wonder, does setting offset to 0 will write a file to the start of the image?



More information about the buildroot mailing list