mail archive of the rauc mailing list
 help / color / mirror / Atom feed
From: "Jan Lübbe" <jlu@pengutronix.de>
To: "Steffen Kothe" <steffen.kothe.gc1993@googlemail.com>,
	"Enrico Jörns" <ejo@pengutronix.de>
Cc: "Ulrich Ölmann" <u.oelmann@pengutronix.de>, rauc@pengutronix.de
Subject: Re: [RAUC] U-Boot Offset for RAW Image on Slot Update
Date: Tue, 23 Apr 2019 09:53:04 +0200	[thread overview]
Message-ID: <1556005984.32334.40.camel@pengutronix.de> (raw)
In-Reply-To: <1556005088.2280.28.camel@googlemail.com>

On Tue, 2019-04-23 at 09:38 +0200, Steffen Kothe wrote:
> RAUC handles the eMMC correctly, so I think, I just have to modify
> the 
> offset address properly. If I do the update manually with "dd" ,
> following command line is used
> 
> dd if=u-boot.imx of=/dev/mmcblk3boot0 bs=512 seek=2
> 
> If you would transform this command line to the RAUC behaviour, the
> "dd" command would looks like this.
> 
> dd if=u-boot.imx of=/dev/mmcblk3boot0 bs=512 seek=0 

The intention for RAUC is to install (complete) partition images into
partitions. So I'd suggest to use "dd if=u-boot.imx of=u-boot.emmc.img
bs=512 seek=2" to create the partition image for the RAUC bundle.

Regards,
Jan
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
RAUC mailing list

      reply	other threads:[~2019-04-23  7:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-16 12:53 Steffen Kothe
2019-04-16 13:51 ` Ulrich Ölmann
2019-04-16 14:10   ` Ulrich Ölmann
2019-04-16 19:22     ` Enrico Jörns
2019-04-23  7:38       ` Steffen Kothe
2019-04-23  7:53         ` Jan Lübbe [this message]

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=1556005984.32334.40.camel@pengutronix.de \
    --to=jlu@pengutronix.de \
    --cc=ejo@pengutronix.de \
    --cc=rauc@pengutronix.de \
    --cc=steffen.kothe.gc1993@googlemail.com \
    --cc=u.oelmann@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox