From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Fri, 21 Jul 2017 11:46:53 +0200 Subject: [Buildroot] img layout In-Reply-To: References: <20170721092626.57bf9db2@windsurf> Message-ID: <20170721114653.16e88cb7@windsurf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com