Hello Leif, Thanks for your help.That's solved my problem.And I have confused with another point.I install bundle package.It shows me below error.
# rauc -d install /run/media/mmcblk0p1/update-bundle-20171111014633. raucb Domains: 'rauc' (rauc:233): rauc-DEBUG: install started (rauc:233): rauc-DEBUG: input bundle: /run/media/mmcblk0p1/update-bundle-20171111014633.raucb trying to contact rauc service input bundle: /run/media/mmcblk0p1/update-bundle-20171111014633.raucb Active slot bootname: system0 rauc-Message: installing /run/media/mmcblk0p1/update-bundle-20171111014633.raucb: installing rauc-Message: installing /run/media/mmcblk0p1/update-bundle-20171111014633.raucb: started rauc-Message: Mounting bundle '/run/media/mmcblk0p1/update-bundle-20171111014633.raucb' to '/mnt/rauc/bundle' rauc-Message: installing /run/media/mmcblk0p1/update-bundle-20171111014633.raucb: Checking and mounting bundle... rauc-Message: Reading bundle: /run/media/mmcblk0p1/update-bundle-20171111014633.raucb rauc-Message: Verifying bundle... (rauc:223): rauc-WARNING **: No target for class 'rootfs' found! (rauc:223): rauc-WARNING **: Could not determine target group rauc-Message: installing /run/media/mmcblk0p1/update-bundle-20171111014633.raucb: Could not determine target group rauc-Message: installing /run/media/mmcblk0p1/update-bundle-20171111014633.raucb: finished rauc-Message: installing `/run/media/mmcblk0p1/update-bundle-20171111014633.raucb` failed: 1 rauc-Message: installing /run/media/mmcblk0p1/update-bundle-20171111014633.raucb: idle installing `/run/media/mmcblk0p1/update-bundle-20171111014633.raucb` failed I am understand the system.conf file describe slot class name.Now, I have set class name as rootfs, index as 0 in system.conf.The RAUC_BUNDLE_SLOTS is rootfs in yocto.The rauc info shows right result. (1) core-image-minimal-b6ull.ext4 Slotclass: rootfs Checksum: 492ef53b1141c015e572a0de6c45f83f1f9198b891a3d31085b67521206d3543 Size: 20971520 Hooks: 0 Files I am not using the group attribute in system.conf file.So, why it always shows the "not determine target group" error? The mmcblk0 is sd card, mmcblk1 is emmc flash. On Sat, Nov 11, 2017 at 2:20 AM, Middelschulte, Leif <leif.middelschu...@klsmartin.com> wrote: > 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 -- --- Kevin Chen ShenZhen Guangdong, China _______________________________________________ RAUC mailing list