All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] img layout
Date: Fri, 21 Jul 2017 11:46:53 +0200	[thread overview]
Message-ID: <20170721114653.16e88cb7@windsurf> (raw)
In-Reply-To: <trinity-6a261bc1-46e9-4b2a-9e53-ec32e5d148b0-1500628795781@3capp-mailcom-bs09>

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

  reply	other threads:[~2017-07-21  9:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-21  6:48 [Buildroot] img layout daggs
2017-07-21  7:26 ` Thomas Petazzoni
2017-07-21  9:19   ` daggs
2017-07-21  9:46     ` Thomas Petazzoni [this message]
2017-07-21 10:57       ` daggs
2017-07-22 15:58         ` daggs
2017-07-22 18:05           ` Peter Korsgaard
2017-07-21 10:44     ` Peter Korsgaard
2017-07-21 10:59       ` daggs
2017-07-21 15:57         ` Peter Korsgaard
2017-07-21 19:42           ` daggs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170721114653.16e88cb7@windsurf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.