Hi Team,


I am working on boot from a USB flash drive and try to flash the data (rfs/appfs) to MMC partitions using RAUC. I am  currently facing some issues on the same. The same scenario works well when we boot from NFS and try to flash the data to MMC partitions.


By attempting to boot from a flash drive partition that has RAUC and trying to install the bundle to MMC are we trying to do something that RAUC supports or are we missing something?


Please find the related logs for USB flash drive based RAUC installation attempt below


root@test:~# rauc install test.raucb
rauc-Message: installing /home/root/test.raucb: installing
rauc-Message: installing /home/root/test.raucb:   0% Installing
rauc-Message: installing /home/root/test.raucb:   0% Determining slot states
rauc-Message: installing /home/root/test.raucb:  20% Determining slot states failed.
rauc-Message: installing /home/root/test.raucb: 100% Installing failed.
rauc-Message: installing /home/root/test.raucb: LastError: Did not find booted slot
Installing `/home/root/test.raucb` failed
root@test:~#      
root@test:~#
root@test:~#
root@test:~# rauc status
rauc-Message: Failed to resolve realpath for '/dev/disk/by-partuuid/00000000-01'
Failed to determine slot states: Did not find booted slot
root@test:~#
root@test:~#
root@test:~#
root@test:~#
root@test:~# /usr/bin/rauc --mount=/run/rauc service
rauc-Message: Failed to resolve realpath for '/dev/disk/by-partuuid/00000000-01'
rauc-Message: Failed to obtain name de.pengutronix.rauc
root@test:~#
root@test:~#
root@test:~#
root@test:~# ps ax | grep rauc
  380 ?        Ssl    0:00 /usr/bin/rauc --mount=/run/rauc service
  392 ttymxc0  S+     0:00 grep rauc
root@test:~#
root@test:~#
root@test:~# rauc status
rauc-Message: Failed to resolve realpath for '/dev/disk/by-partuuid/00000000-01'
Failed to determine slot states: Did not find booted slot
root@test:~#
root@test:~#
root@test:~#
root@test:~# rauc install test.raucb
rauc-Message: installing /home/root/test.raucb: installing
rauc-Message: installing /home/root/test.raucb:   0% Installing
rauc-Message: installing /home/root/test.raucb:   0% Determining slot states
rauc-Message: installing /home/root/test.raucb:  20% Determining slot states failed.
rauc-Message: installing /home/root/test.raucb: 100% Installing failed.
rauc-Message: installing /home/root/test.raucb: LastError: Did not find booted slot
rauc-Message: installing /home/root/test.raucb: idle
Installing `/home/root/test.raucb` failed
 
Please provide your valuable suggestions and input on the same

Regards,
Abhishek

The information contained in this e-mail message (including any 

attachments) may be confidential, proprietary, privileged, or otherwise

exempt from disclosure under applicable laws. It is intended to be 

conveyed only to the designated recipient(s). Any use, dissemination, 

distribution, printing, retaining or copying of this e-mail (including its 

attachments) by unintended recipient(s) is strictly prohibited and may 

be unlawful. If you are not an intended recipient of this e-mail, or believe 

that you have received this e-mail in error, please notify the sender 

immediately (by replying to this e-mail), delete any and all copies of 

this e-mail (including any attachments) from your system, and do not

disclose the content of this e-mail to any other person. Thank you for your cooperation.


This e-mail message (including any attachments) may be confidential, proprietary, privileged, or otherwise exempt from disclosure under applicable laws. If you are not an intended recipient, please delete this message. Thank you.