mail archive of the rauc mailing list
 help / color / mirror / Atom feed
From: "Enrico Jörns" <ejo@pengutronix.de>
To: "Kilimci, Caglar" <caglar.kilimci@accenture.com>
Cc: "rauc@pengutronix.de" <rauc@pengutronix.de>
Subject: Re: [RAUC] [External] Re: Only Application FS Update
Date: Wed, 25 Oct 2017 13:29:37 +0200	[thread overview]
Message-ID: <ee6cce0c-5e63-e995-cd5d-34b436c09afe@pengutronix.de> (raw)
In-Reply-To: <BN6P114MB00685A8273222E98C91A3D7A9D460@BN6P114MB0068.NAMP114.PROD.OUTLOOK.COM>

Hi Caglar,

Am 23.10.2017 um 17:24 schrieb Kilimci, Caglar:
> I guess, there is still misconfiguration or a bug. RAUC still installs to the "next" slot. Here:
> 
> # rauc status
> Compatible:  Phytec
> booted from: system1
> slot states:
>   rootfs.0: class=rootfs, device=/dev/mmcblk0p2, type=ext4, bootname=system1
>       state=booted, description=, parent=(none), mountpoint=(none)
>   rootfs.1: class=rootfs, device=/dev/mmcblk0p2, type=ext4, bootname=system2
>       state=inactive, description=, parent=(none), mountpoint=(none)
>   appfs.0: class=appfs, device=/dev/mmcblk0p5, type=ext4, bootname=(null)
>       state=inactive, description=, parent=rootfs.1, mountpoint=(none)
>   appfs.1: class=appfs, device=/dev/mmcblk0p6, type=ext4, bootname=(null)
>       state=active, description=, parent=rootfs.0, mountpoint=(none)

This is before or after updating? The update group rootfs.0 and appfs.1
is active. If it is before, RAUC should write the next update into
'appfs.0' (and rootfs.1 if there was an image for).


Regards, Enrico


> # cat /etc/rauc/system.conf
> [system]
> compatible=Phytec
> bootloader=barebox
> 
> [keyring]
> path=ca.cert.pem
> 
> [slot.rootfs.0]
> device=/dev/mmcblk0p2
> type=ext4
> bootname=system1
> 
> [slot.rootfs.1]
> device=/dev/mmcblk0p2
> type=ext4
> bootname=system2
> 
> [slot.appfs.0]
> device=/dev/mmcblk0p5
> type=ext4
> parent=rootfs.1
> 
> [slot.appfs.1]
> device=/dev/mmcblk0p6
> type=ext4
> parent=rootfs.0
> 
> # rauc install bundle_v2.raucb
> trying to contact rauc service
> rauc-Message: installing /home/root/update/bundle_v2.raucb: installing
> [   79.751471] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
> [   81.348642] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
> [   81.496995] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
> installing `/home/root/update/bundle_v2.raucb` succeeded
> 
> 
> Even if I remove slot.rootfs.1, nothing changes.


-- 
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:[~2017-10-25 11:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-18 12:45 [RAUC] " Kilimci, Caglar
2017-10-18 21:30 ` Enrico Jörns
2017-10-19 10:41   ` [RAUC] [External] " Kilimci, Caglar
2017-10-22 13:07     ` Enrico Jörns
2017-10-23 15:24       ` Kilimci, Caglar
2017-10-25 11:29         ` Enrico Jörns [this message]
2017-10-25 11:44           ` Kilimci, Caglar

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=ee6cce0c-5e63-e995-cd5d-34b436c09afe@pengutronix.de \
    --to=ejo@pengutronix.de \
    --cc=caglar.kilimci@accenture.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