mail archive of the rauc mailing list
 help / color / mirror / Atom feed
From: "Middelschulte, Leif" <Leif.Middelschulte@klsmartin.com>
To: "chenxlbr@gmail.com" <chenxlbr@gmail.com>,
	"rauc@pengutronix.de" <rauc@pengutronix.de>
Subject: Re: [RAUC] booted slot issue
Date: Fri, 10 Nov 2017 18:20:18 +0000	[thread overview]
Message-ID: <1510338021.27538.8.camel@klsmartin.com> (raw)
In-Reply-To: <CAEQuCVvafTyH4OOzJku9wYgKGVROQ42a56hTGCRz+JFHcdMuGw@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1335 bytes --]

Hello Kevin,

verify that you pass the right kernel parameter via (in your case) uboot.

See https://github.com/rauc/rauc/blob/48aa81da78737876e09010f77b635acda2c54145/src/context.c#L24
Also check the example on grub: https://github.com/rauc/rauc/blob/master/docs/examples.rst#grub-configuration

I hope this helps.

Cheers,

Leif

Am Samstag, den 11.11.2017, 00:28 +0800 schrieb Kevin Chen:

Hi all,

I am newer for RAUC.These days I learn RAUC on my NXP iMX6UL
project.Now, I use initramfs to test it.Below is my steps.

1.boot initramfs from sd card
2.start service through "rauc service"
3.use "rauc status" to check RAUC

Now, I got an error.
Failed to determine slot states: Did not find booted slot

Here is my system.conf content.

[system]
compatible=i2c-b6ull
bootloader=uboot

[keyring]
path=ca.cert.pem

[slot.rootfs.0]
device=/dev/mmcblk1p3
type=ext4
bootname=system0

My board use emmc flash and uboot, it has three partitions.I only use
mmcblk1p3 to test install bundle whether it works correctly.

In my opinion, the "bootname" is flag the mmcblk1p3 as boot slot.So I
am confuse about the "booted slot" tips.Did I missing some boot config
for RAUC? Thanks

---
Kevin Chen
ShenZhen Guangdong, China

_______________________________________________
RAUC mailing list

[-- Attachment #1.2: Type: text/html, Size: 2016 bytes --]

[-- Attachment #2: Type: text/plain, Size: 65 bytes --]

_______________________________________________
RAUC mailing list

  reply	other threads:[~2017-11-10 18:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-10 16:28 Kevin Chen
2017-11-10 18:20 ` Middelschulte, Leif [this message]
2017-11-11  5:52   ` Kevin Chen
2017-11-11  8:16     ` Kevin Chen

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=1510338021.27538.8.camel@klsmartin.com \
    --to=leif.middelschulte@klsmartin.com \
    --cc=chenxlbr@gmail.com \
    --cc=rauc@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