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