From: Enrico Joerns <ejo@pengutronix.de>
To: gurpartap singh <gurpartap.terron@yahoo.in>
Cc: "rauc@pengutronix.de" <rauc@pengutronix.de>
Subject: Re: [RAUC] Errors in Using Rauc
Date: Mon, 13 Mar 2017 17:08:45 +0100 [thread overview]
Message-ID: <fb7e50f6-44c5-ad3b-d224-d15685c20201@pengutronix.de> (raw)
In-Reply-To: <1195414473.2379963.1489058037687@mail.yahoo.com>
Hi,
On 03/09/2017 12:13 PM, gurpartap singh wrote:
> I installed RAUC with --disable-network option because of libcurl dependency issues.
> I have done below steps so far:
> Created manifest.raucm like this
> [update]
> compatible=rauc-demo-x86
> version=2015.04-1
>
> [image.rootfs]
> sha256=4c03d5be6780e64a604e94222a2da50e671698b9c1d764f1bbc617558de80f98
> size=11376640
> filename=rauc.img
this one looks ok.
> MY /etc/rauc/system.conf is:
>
> [system]
> compatible=rauc-demo-x86
> bootloader=uboot
> mountprefix=/mnt/rauc
>
>
> [slot.rootfs.0]
> device=/dev/mmcblk0p1
> type=raw
> bootname=A
this one will require a second rootfs partition to allow you installing
updates when running from the productive one.
> But when I try to install this update using:
> ./rauc install -d update.raucb
> it shows following log:
> Domains: 'rauc'
> (rauc:21307): rauc-DEBUG: install started
> (rauc:21307): rauc-DEBUG: input bundle: /home/rauc/update.raucb
> Error creating proxy: Error calling StartServiceByName for de.pengutronix.rauc: Timeout was reached
> D-Bus error while installing `/home/rauc/update.raucb`
There seems to be a communication issue between the command line client
and the service. Did you try to start the service. Do you have the d-bus
config installed? Could you get any log data from the service itself?
> Previously I have done:
> ./autogen.sh
> ./configure --disable-network
> make
> make install
>
> service rauc start
This looks ok so far.
> LOG of
> ./rauc info -d update.raucb
> Domains: 'rauc'
> rauc-Message: Reading bundle: update.raucb
> rauc-Message: Verifying bundle...
> 3069734912:error:2E09D06D:CMS routines:CMS_verify:content verify error:../crypto/cms/cms_smime.c:393:
>
> (rauc:21318): rauc-WARNING **: signature verification failed: error:2E09A09E:CMS routines:CMS_SignerInfo_verify_content:verification failure
I assume you executed this on the target?
Obviously, there is a certificate verification error. Did you set up the
key, cert and keychain correctly? If you want to (for test-purpose)
inspect the bundle without verification, you can use the `--no-verify`
argument. But for installation the verification is mandatory thus it
should work with `info`, too.
>
> QUESTION 2:
> How to use it with uboot? Can u please elaborate how to install library to modify u-boot variables and environment.
In the documentation there is the chapter `Interfacing with the bootloader`:
http://rauc.readthedocs.io/en/latest/integration.html#interfacing-with-the-bootloader
Did you already try what is described in there? If there is some
information missing please let us know. The subsection "U-Boot" also
points you to the u-boot example script located in the `contrib/`
folder. This should be a good starting point.
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
next prev parent reply other threads:[~2017-03-13 16:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1195414473.2379963.1489058037687.ref@mail.yahoo.com>
2017-03-09 11:13 ` gurpartap singh
2017-03-13 16:08 ` Enrico Joerns [this message]
2017-04-05 5:08 ` gurpartap singh
2017-04-05 10:21 ` Enrico Joerns
2017-05-23 9:03 ` 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=fb7e50f6-44c5-ad3b-d224-d15685c20201@pengutronix.de \
--to=ejo@pengutronix.de \
--cc=gurpartap.terron@yahoo.in \
--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