From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-it1-x12a.google.com ([2607:f8b0:4864:20::12a]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gD64v-0002FX-FE for rauc@pengutronix.de; Thu, 18 Oct 2018 13:02:58 +0200 Received: by mail-it1-x12a.google.com with SMTP id k206-v6so6033091ite.0 for ; Thu, 18 Oct 2018 04:02:56 -0700 (PDT) MIME-Version: 1.0 From: Abhishek Kumar Rai Date: Thu, 18 Oct 2018 16:32:44 +0530 Message-ID: Subject: [RAUC] Issues when executing rauc ,while booting from usb List-Id: RAUC Project - Discussion List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0628843389==" Errors-To: rauc-bounces@pengutronix.de Sender: "RAUC" To: rauc@pengutronix.de --===============0628843389== Content-Type: multipart/alternative; boundary="00000000000099e57005787ebafd" --00000000000099e57005787ebafd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 state= s 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=3D/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=3D/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 state= s 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 --=20 The information contained in this e-mail message (including=20 any=C2=A0 attachments) may be confidential, proprietary, privileged, or=20 otherwise exempt from disclosure under applicable laws. It is intended to=20 be=C2=A0 conveyed only to the designated recipient(s). Any use, dissemination,=C2=A0 distribution, printing, retaining or copying of this e-mail (including=20 its=C2=A0 attachments) by unintended recipient(s) is strictly prohibited and=20 may=C2=A0 be unlawful. If you are not an intended recipient of this e-mail, or=20 believe=C2=A0 that you have received this e-mail in error, please notify the=20 sender=C2=A0 immediately (by replying to this e-mail), delete any and all=20 copies of=C2=A0 this e-mail (including any attachments) from your system, and=20 do not disclose the content of this e-mail to any other person. Thank you=20 for your cooperation. --=20 _This e-mail message (including any=C2=A0attachments) may be confidential,= =20 proprietary, privileged, or otherwise=C2=A0exempt from disclosure under=20 applicable laws. If you are not an intended recipient, please delete this= =20 message. Thank you. _ --00000000000099e57005787ebafd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi Team,

=


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


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


Please find the related logs for USB flash drive based RAUC installation at= tempt below


root@t= est:~# rauc install test.raucb
rauc-Message: installi= ng /home/root/test.raucb: installing
rauc-Message: installi= ng /home/root/test.raucb:=C2=A0=C2=A0 0% Installing
rauc-Message: installi= ng /home/root/test.raucb:=C2=A0=C2=A0 0% Determining slot states
rauc-Message: installi= ng /home/root/test.raucb:=C2=A0 20% Determining slot states failed.<= br> rauc-Message: installi= ng /home/root/test.raucb: 100% Installing failed.
rauc-= Message: installing /home/root/test.raucb: LastError: Did not find booted s= lot
Installing `/home/root= /test.raucb` failed
root@test:~#=C2=A0=C2= =A0=C2=A0=C2=A0 =C2=A0
root@test:~# root@test:~# root@test:~# rauc status
rauc-= Message: Failed to resolve realpath for '/dev/disk/by-partuuid/00000000= -01'
Failed to determine sl= ot states: Did not find booted slot
root@test:~# root@test:~# root@test:~# root@test:~# root@test:~# /usr/bin/rauc --mount=3D/run/rauc service=
rauc-= Message: Failed to resolve realpath for '/dev/disk/by-partuuid/00000000= -01'
rauc-Message: Failed t= o obtain name de.pengutronix.rauc
root@test:~# root@test:~# root@test:~# root@test:~# ps ax | grep rauc
=C2=A0 380 ?=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Ssl=C2=A0=C2=A0=C2=A0 0:00 /usr/bin/rauc = --mount=3D/run/rauc service
=C2=A0 392 ttymxc0=C2= =A0 S+=C2=A0=C2=A0=C2=A0=C2=A0 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 sl= ot states: Did not find booted slot
root@test:~# root@test:~# root@test:~# root@test:~# rauc install test.raucb
rauc-Message: installi= ng /home/root/test.raucb: installing
rauc-Message: installi= ng /home/root/test.raucb:=C2=A0=C2=A0 0% Installing
rauc-Message: installi= ng /home/root/test.raucb:=C2=A0=C2=A0 0% Determining slot states
rauc-Message: installi= ng /home/root/test.raucb:=C2=A0 20% Determining slot states failed.<= br> rauc-Message: installi= ng /home/root/test.raucb: 100% Installing failed.
rauc-= Message: installing /home/root/test.raucb: LastError: Did not find booted s= lot
rauc-Message: installi= ng /home/root/test.raucb: idle
Installing `/home/root= /test.raucb` failed
=C2=A0
Please provide your valuable suggestions and in= put on the same

Regards,
Abhishek

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

attachments) may be confidential, proprietary, privileged, or othe= rwise

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

conveyed only to the designated recipient(s). Any use, disseminati= on,=C2=A0

distribution, printing, retaining or copying of this e-mail (inclu= ding its=C2=A0

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

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

that you have received this e-mail in error, please notify the sen= der=C2=A0

immediately (by replying to this e-mail), delete any and all copie= s of=C2=A0

this e-mail (including any attachments) from your system, and do n= ot

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


This e-mail message (including any=C2=A0attachments) may be= confidential, proprietary, privileged, or otherwise=C2=A0exempt from discl= osure under applicable laws. If you are not an intended recipient, please d= elete this message. Thank you.
--00000000000099e57005787ebafd-- --===============0628843389== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KUkFVQyBtYWls aW5nIGxpc3Q= --===============0628843389==--