mail archive of the rauc mailing list
 help / color / mirror / Atom feed
From: Enrico Joerns <ejo@pengutronix.de>
To: Abhishek Kumar Rai <abhishekr@eximiusdesign.com>
Cc: rauc@pengutronix.de
Subject: Re: [RAUC] Issues when executing rauc ,while booting from usb
Date: Thu, 18 Oct 2018 15:07:12 +0200	[thread overview]
Message-ID: <4028e6f4-25a1-0030-955e-5c56a445334b@pengutronix.de> (raw)
In-Reply-To: <CALYWmf9-ugwwyWC8ptF_xevuRHd3s4ABo9r1-+HBY8jHBF+gOA@mail.gmail.com>

Hi Abhishek,

On 10/18/18 1:02 PM, Abhishek Kumar Rai wrote:
> 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:~# /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
> Please provide your valuable suggestions and input on the same

this all shows the same issue, RAUC cannot resolve the /dev/disk/by-partuuid/00000000-01 symlink
to the actual device. What does

   ls -la /dev/disk/by-partuuid/00000000-01

give you?

What RAUC tries is pretty much the same as

   realpath /dev/disk/by-partuuid/00000000-01

does this work calling manually? Maybe it's an issue that you do not have a disk ID set.


Best regards, Enrico

-- 
Pengutronix e.K.                           | Enrico Jörns                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-5080 |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


_______________________________________________
RAUC mailing list

  reply	other threads:[~2018-10-18 13:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-18 11:02 Abhishek Kumar Rai
2018-10-18 13:07 ` Enrico Joerns [this message]
2018-10-23  9:16   ` Abhishek Kumar Rai
2018-11-06  9:57     ` Enrico Joerns

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=4028e6f4-25a1-0030-955e-5c56a445334b@pengutronix.de \
    --to=ejo@pengutronix.de \
    --cc=abhishekr@eximiusdesign.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