Re: [RAUC] [PATCH] Add suport for bare flash

2019-12-06 Thread Enrico Joerns
Hi ladis, Mind if I play the GitHub bridge? On 12/6/19 3:43 PM, Ladislav Michl wrote: Add handler to write images using flashcp. Used to update barebox on at91 based board with dataflash. Signed-off-by: Ladislav Michl There we have all the checking and testing infrastructure. Patches via ma

Re: [RAUC] Update a single file within rootfs

2019-11-05 Thread Enrico Joerns
On 10/14/19 3:47 PM, Yazdani, Reyhaneh wrote: Hello everyone, The RAUC documentation describes: In RAUC, everything that can be updated is a slot. Thus a slot can either be a full device, a partition, a volume or simply a file. Now, I have two systems: system0 and system1, each of them define

Re: [RAUC] Question about mounting application FS

2019-07-11 Thread Enrico Joerns
Hi Patrick, On 7/11/19 9:42 AM, Patrick Schneider wrote: Hi there, we are currently using RAUC in A + B mode with rootFS and appFS in each slot. So far so good, integration worked and RAUC does its job in updating all the slots and communicating with barebox. Now we wondered what is best prac

Re: [RAUC] RAUC fails to mark slot as good --> fw_utils access error on mmc

2019-05-14 Thread Enrico Joerns
Hi Steffen, On 4/24/19 4:17 PM, Steffen Kothe wrote: Hello mailinglist, Following error message occured after start of system. Log output comes from systemd (rauc.service) systemctl status rauc.service Apr 24 13:48:43 pixi-cdl100 rauc[478]: Write error on  /dev/mmcblk3boot0: Operation not  

Re: [RAUC] bundle.raucb changed size while reading filesystem, attempting to re-read

2019-02-21 Thread Enrico Joerns
Hi Michael, On 2/21/19 11:09 AM, Michael Seidel wrote: Hi Enrico, that seems to be my problem. I've used the meta-rauc layer in the rocko version. I've backported the fix to the rocko branch (https://github.com/rauc/meta-rauc/pull/72) . I'm going to finish the pull request after a little bit m

Re: [RAUC] bundle.raucb changed size while reading filesystem, attempting to re-read

2019-02-20 Thread Enrico Joerns
Hi Michael, On 2/21/19 8:14 AM, Michael Seidel wrote: Hello, while trying to build my bundle I stuck at an error. “bundle.raucb changed size while reading filesystem, attempting to re-read” The raucb file indeed does grow and shrink in size all the time but the build never finishes. mksqua

Re: [RAUC] Partition resize

2019-02-06 Thread Enrico Joerns
On 8/2/17 5:54 PM, Jan Lübbe wrote: Hi Caglar, On Wed, 2017-08-02 at 11:53 +, Kilimci, Caglar wrote: I have a question or a missing point. After the successful update, my partition size is reduced. If I extend it, it would be as expected. Like this: Before update: root@phyboard-regor-am335

Re: [RAUC] Porting RAUC to OpenWRT

2018-12-10 Thread Enrico Joerns
Hi Andreas, On 12/10/18 2:17 PM, Andreas Kurzkurt wrote: Hi Enrico As far as we can see now the RAUC client is working OK. good to hear! Thanks for your help. Maybe we have further questions in the future. Just a short note as I am not sure if I've pointed that out explicitly and for the

Re: [RAUC] Query regarding rauc

2018-12-10 Thread Enrico Joerns
Hi Abhishek, On 12/6/18 10:24 AM, Abhishek Kumar Rai wrote: Hi Team, Please provide your valuable suggestion regarding the above query . please do not put too much pressure on community mailing lists. There are business support channels available for this. > > Extracting the tar's shou

Re: [RAUC] Porting RAUC to OpenWRT

2018-12-07 Thread Enrico Joerns
Hi Andreas, (please keep the list in CC) On 12/7/18 1:18 PM, Andreas Kurzkurt wrote: Hi Enrico Now we are one big step ahead. We managed to compile the RAUC client. But now we get an error message when we start the RAUC client. Our Linux Distribution has no Systemd. The RAUC client should run

Re: [RAUC] Porting RAUC to OpenWRT

2018-12-06 Thread Enrico Joerns
Hi Andreas, (please keep the list in CC) On 12/6/18 3:04 PM, Andreas Kurzkurt wrote: Hi At the moment we are struggeling to build the following two libraries that you did not mention. libresolv.so.2 ouhm, we do? Mabye it's a dependency of curl? libjson-glib-1.0.so.0 First of all we are tr

Re: [RAUC] Porting RAUC to OpenWRT

2018-12-06 Thread Enrico Joerns
Hi Andreas, On 12/6/18 2:45 PM, Andreas Kurzkurt wrote: Hello We are trying to port the RAUC client to our OpenWRT system. But we are facing many problems at this moment. Our OpenWRT Version is „DESIGNATED DRIVER (Bleeding Edge, 12009)“. Does anybody have experience in porting RAUC to another L

Re: [RAUC] Query regarding rauc

2018-12-04 Thread Enrico Joerns
Hi Abhishek, On 12/4/18 1:06 PM, Abhishek Kumar Rai wrote: Hi Enrico, Thanks for the prompt response! Please find our responses inline (blue colored) you're lucky that I've a graphical mailer... ;) Better use standard mail quoting. Our understanding of rauc install suggests that it does th

Re: [RAUC] Query regarding rauc

2018-12-04 Thread Enrico Joerns
Hi Abhishek, On 12/4/18 12:12 PM, Abhishek Kumar Rai wrote: Hi Team, To achieve a specific requirement for us the "rauc install" command won't work i.e due to a configuration that we have the rauc install would fail. Though we would still like to go ahead and flashload to that partition. We

Re: [RAUC] Regarding using --conf option while using rauc

2018-11-20 Thread Enrico Joerns
Hi Abhishek, On 11/20/18 11:15 AM, Abhishek Kumar Rai wrote: Hi Team, I want to use my_system.conf for my customized system.conf setting while installing rauc bundle {{{ root:~# cat  /etc/rauc/system.conf [system] compatible=Eximius bootloader=uboot mountprefix=/mnt/rauc statusfile=/factory/r

Re: [RAUC] Issues when executing rauc ,while booting from usb

2018-11-06 Thread Enrico Joerns
Hi Abhishek, I fear I left this mail uncommented.. On 10/23/18 11:16 AM, Abhishek Kumar Rai wrote: Hi Enrico, Thanks for your prompt reply. For us the 'realpath' command is working fine. The devices do exist at the respective location. Below are the logs from our end for the post-boot scenar

Re: [RAUC] RAUC

2018-10-30 Thread Enrico Joerns
end a Mail with subject 'subscribe' to rauc-requ...@pengutronix.de. Best regards Enrico BR Taimir ________ From: Enrico Joerns Sent: Tuesday, October 30, 2018 8:39 AM To: Taimir Aguacil Cc: rauc@pengutronix.de Subject: Re: [RAUC] RAUC Hi Taimir,

Re: [RAUC] RAUC

2018-10-30 Thread Enrico Joerns
Hi Taimir, On 10/29/18 11:27 AM, Taimir Aguacil wrote: Dear RAUC team, I attended the embedded Linux conference, and got to know you and see your demo there! There were still some few open questions that I am putting in this email. It would be very helpful to get the answers. Right now bund

Re: [RAUC] Issues when executing rauc ,while booting from usb

2018-10-18 Thread Enrico Joerns
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 fl

Re: [RAUC] Regarding booting problem ,when booting manually

2018-10-18 Thread Enrico Joerns
On 10/18/18 9:07 AM, Abhishek Kumar Rai wrote: Hi team, One more point that i missed adding. I am using BSP provided by our vendor and in that reboot and shutdown option are not gracefully exiting. They are giving kernel panic. There is only option to do power reset. could this have any impact

Re: [RAUC] Regarding booting problem ,when booting manually

2018-10-18 Thread Enrico Joerns
Hi Abhishek, On 10/18/18 8:51 AM, Abhishek Kumar Rai wrote: >>For debugging, one can also take a look at the raw output of fw_printenv in userspace >>before and after performing mark-good to see if the variables changed according to your expectation. > It could also help verifying if the va

Re: [RAUC] Regarding booting problem ,when booting manually

2018-10-17 Thread Enrico Joerns
On 10/18/18 7:29 AM, Middelschulte, Leif wrote: Hello Abhishek, Am Donnerstag, den 18.10.2018, 10:46 +0530 schrieb Abhishek Kumar Rai: Hi Team, I am facing one issue after doing following steps: 1. flashing any image in appfs. 2. rauc status mark-active rootfs.0.(Activated rootfs.0) Is this u

[RAUC] [ANNOUNCE] RAUC v1.0 Release Candidate 1 Available

2018-10-12 Thread Enrico Joerns
Hi, we are (really) proud to announce that we've just prepared the first release candidate for RAUC v1.0: https://github.com/rauc/rauc/releases/tag/v1.0-rc1 This version adds several enhancements and new features concerning signing and signature handling. One of the most important improvements

Re: [RAUC] Rauc in Commercial Product - Open Devices

2018-10-01 Thread Enrico Joerns
Hi Dajalal, On 10/1/18 12:33 PM, Djalal Harouni wrote: Hi Rauc hackers, Pengutronix, I am Djalal Harouni I met you guys at several conferences, I am one of the maintainers of systemd project, linux kernel security contributor etc. We did launch a startup in Berlin opendevices.io/ and we are go

Re: [RAUC] Regarding usage of hook

2018-09-26 Thread Enrico Joerns
Hi Abhishek, On 9/26/18 5:30 PM, Abhishek Kumar Rai wrote: Hi Enrico, Thanks for your prompt reply. In my design , I have to do following things. - Create a RAUC bundle consisting of App images and dbs -> ProductControl.bin, Controls.bin, Operations.bin, ProductControl.db, Controls.db, Operat

Re: [RAUC] Regarding usage of hook

2018-09-26 Thread Enrico Joerns
Hi Abhishek, On 9/26/18 1:59 PM, Abhishek Kumar Rai wrote: Abhishek Kumar Rai mailto:abhish...@eximiusdesign.com>> 5:12 PM (16 minutes ago) to rauc-request Hi team , I am new to rauc .Please solve my query I have written system.conf file {{{ abhishek@abhishek-Latitude-5490:~$ cat sys

Re: [RAUC] Rescue system

2018-05-17 Thread Enrico Joerns
Hi Kevin, On 05/17/2018 04:29 PM, Kevin Golding wrote: Hello, Am just getting my head around RAUC, and wondered if I'm right in thinking that a rescue system is not included with RAUC? i.e. I would need to find or create a small bootable rescue system that would run the RAUC update command sa

[RAUC] [ANNOUNCE] RAUC v0.4 released

2018-04-09 Thread Enrico Joerns
Hi, we are proud to announce that we've just released RAUC v0.4: https://github.com/rauc/rauc/releases/tag/v0.4 Beside a few fixes, this version provides some useful new features such as atomic bootloader updates for eMMC, a central storage location for the RAUC system status information and

[RAUC] [ANNOUNCE] RAUC v0.3 released

2018-02-01 Thread Enrico Joerns
Hi, we are proud to announce that we've just released RAUC v0.3: https://github.com/rauc/rauc/releases/tag/v0.3 Again, we have worked a lot on stability and support for more and more use cases. RAUC now supports pure UEFI-based booting on x86, multiple board variants in the same bundle, inter

Re: [RAUC] custom install handler can not execute

2017-12-18 Thread Enrico Joerns
Hi Kevin, On 12/16/2017 03:19 PM, Kevin Chen wrote: Hi everyone, I use RAUC on my iMX6 platform. I added handler config option in /etc/rauc/system.conf file. [handlers] pre-install=/preinstall install=/install The preinstall and install are shell script file.Then I install bundle test it.The

Re: [RAUC] Rauc and Hawkbit server

2017-12-06 Thread Enrico Joerns
Hi, On 12/05/2017 05:46 PM, Laurent GUILLIER wrote: Hi, first of all thanks for Rauc which is a very nice piece of software!  I am now trying to use rauc on a imx6 target, along with hawkbit as the update server. Everything runs fine, except that after the reboot following the successful slot

[RAUC] [ANNOUNCE] RAUC v0.2 released

2017-11-07 Thread Enrico Joerns
Hi, we are proud to announce that we've just released RAUC v0.2: https://github.com/rauc/rauc/releases/tag/v0.2 This release contains a bunch of enhancements provided by the community over the last months. Beside a number of bug fixes, error handling improvements and a significant documentati

Re: [RAUC] unable to mark slot as good or bad

2017-09-18 Thread Enrico Joerns
Hi, On 09/15/2017 08:44 AM, Aditya Purohit wrote: Firstly I want to thank team RAUC for good documentation and supportI am working on beaglebone with debian jessie and I am facing a couple of issues. Firstly, I am able to update my appfs using rauc but update for rootfs is failing with the fo

Re: [RAUC] Custom Installation

2017-07-31 Thread Enrico Joerns
Hi Caglar, On 07/12/2017 01:21 PM, Kilimci, Caglar wrote: Hi all, I have been using RAUC and it is fantastic. Normally, my system has two root file systems and install other part and reboots. Nothing special, neither handlers nor hooks. But I have wondered, if I create a bundle that contains

Re: [RAUC] Errors in Using Rauc

2017-05-23 Thread Enrico Joerns
On 03/13/2017 05:08 PM, Enrico Joerns wrote: [...] 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: (

Re: [RAUC] Bootloader updates

2017-05-18 Thread Enrico Joerns
Hello Martin, On 05/18/2017 11:45 AM, Martin Hollingsworth wrote: Hello RAUC Team, I am currently implementing software update on my embedded target and evaluating the usage of RAUC. But I have trouble finding a solution for the following scenario, which needs a little explanation, but can be s

Re: [RAUC] Progress indication

2017-05-16 Thread Enrico Joerns
Hi Leif, On 05/11/2017 12:29 PM, Middelschulte, Leif wrote: Hello Enrico, Am Mittwoch, den 10.05.2017, 15:22 +0200 schrieb Enrico Joerns: Hi Leif, On 05/04/2017 04:33 PM, Middelschulte, Leif wrote: Now, about my second question: How does a custom hook script communicate its progress back

[RAUC] [ANNOUNCE] RAUC v0.1.1 released

2017-05-11 Thread Enrico Joerns
Hi, we are proud to announce that we've just released RAUC v0.1.1: https://github.com/rauc/rauc/releases/tag/v0.1.1 This is mainly a bugfix release. We also introduced a CHANGES file that allows you to track the project development from a more high-level perspective: http://rauc.readthedocs

Re: [RAUC] Progress indication

2017-05-10 Thread Enrico Joerns
Hi Leif, On 05/04/2017 04:33 PM, Middelschulte, Leif wrote: Now, about my second question: How does a custom hook script communicate its progress back to the install-handler (i.e. rauc service)? I'd go modify rauc's update_handler.c, set the G_SUBPROCESS_FLAGS_STDOUT_PIPE flag for the spawne

Re: [RAUC] file slot type

2017-05-09 Thread Enrico Joerns
Hi Leif, On 05/09/2017 11:40 AM, Middelschulte, Leif wrote: Hi, I was wondering about the 'file' slot type. Though it's mentioned in the tests, `rauc bundle` complains about an invalid manifest. Entries like '[file.uctrl]' within the manifest lead to failure during compilation, while '[imag

Re: [RAUC] Progress indication

2017-05-04 Thread Enrico Joerns
Hi Leif, On 04/26/2017 06:03 PM, Middelschulte, Leif wrote: Hi, I want to flash a µCtrl, as part of a "Install group" using RAUC and (if necessary) a custom Handler (?). Looking at https://github.com/rauc/rauc/blob/master/test/install-content/custom_handler.sh I was wondering about the prog

Re: [RAUC] Understanding u-boot integration

2017-05-02 Thread Enrico Joerns
Hi Philip, On 04/25/2017 03:43 PM, Philip Downer wrote: After seeing a presentation on RAUC at FOSDEM I've been looking to integrate it with a Yocto based i.mx6 embedded system that I'm working on. great to hear that it inspired you to start working with RAUC. Everything is pretty much worki

Re: [RAUC] RAUC service

2017-04-11 Thread Enrico Joerns
On 04/10/2017 12:51 PM, caglar.kili...@accenture.com wrote: Hi, -Original Message- From: RAUC [mailto:rauc-boun...@pengutronix.de] On Behalf Of Enrico Joerns Sent: Monday, April 10, 2017 1:14 PM To: Kilimci, Caglar Cc: rauc@pengutronix.de Subject: Re: [RAUC] RUAC service Hi, (rauc

Re: [RAUC] RUAC service

2017-04-10 Thread Enrico Joerns
Hi, On 04/10/2017 11:29 AM, caglar.kili...@accenture.com wrote: On 04/10/2017 10:40 AM, caglar.kili...@accenture.com wrote: Hello all, I get GLib-GObject-CRITICAL warning or error while staring RAUC service: # rauc -d service Domains: 'rauc' (rauc:537): rauc-DEBUG: service start (rauc:537): r

Re: [RAUC] RUAC service

2017-04-10 Thread Enrico Joerns
Hi, On 04/10/2017 10:40 AM, caglar.kili...@accenture.com wrote: Hello all, I get GLib-GObject-CRITICAL warning or error while staring RAUC service: # rauc -d service Domains: 'rauc' (rauc:537): rauc-DEBUG: service start (rauc:537): rauc-DEBUG: No mount prefix provided, using /mnt/rauc/ as defa

Re: [RAUC] NAND flash

2017-04-05 Thread Enrico Joerns
Hi Caglar, On 04/05/2017 03:10 PM, caglar.kili...@accenture.com wrote: Hello, I have a question about storage type, NAND. The documentation [1] emphasizes not to use NAND flash but why? > [1] http://rauc.readthedocs.io/en/latest/updating.html?highlight=nand well, this is a general advice, n

Re: [RAUC] Update Installation failed

2017-04-05 Thread Enrico Joerns
Hi, please keep the mailing list in CC so everyone could benefit from our discussion :) On 04/05/2017 01:40 PM, dilip yadav wrote: With your kind help, Ihave successfully updated the minimal rootfs with rauc. I have following concerns: 1.How can I automate the "rauc status mark-good", What if

Re: [RAUC] Update Installation failed

2017-04-05 Thread Enrico Joerns
Hi Dilip. On 04/05/2017 12:29 PM, dilip yadav wrote: Hi Team, I am following your example in the docs for grub bootloader on x86_64 debian machine. i have created the rootfs image and trying to update the system via: rauc -d install update-2015.04-1.raucb It throws an error : Domains: 'rau

Re: [RAUC] Errors in Using Rauc

2017-04-05 Thread Enrico Joerns
Hi, On 04/05/2017 07:08 AM, gurpartap singh wrote: Hi Enrico, I am facing problems with D-Bus service. 1. Error creating proxy: Error calling StartServiceByName for de.pengutronix.rauc: Timeout was reached D-Bus error while installing `/home/rauc/update.raucb yes, we discussed this issue on t

Re: [RAUC] Errors in Using Rauc

2017-03-13 Thread Enrico Joerns
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=4c03d5be6780e64a604

Re: [RAUC] Caught an error while installing bundle

2017-02-28 Thread Enrico Joerns
Hi Caglar, On 02/28/2017 03:24 PM, caglar.kili...@accenture.com wrote: I tested and still receive error. Output is: # rauc install update-2017.02-1.raucb Error creating proxy: Error calling StartServiceByName for de.pengutronix.rauc: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Lau

Re: [RAUC] Caught an error while installing bundle

2017-02-28 Thread Enrico Joerns
Hi Caglar, On 02/28/2017 01:27 PM, caglar.kili...@accenture.com wrote: Hi all, First of all thank you such an amazing product. I am really happy to found it. thank you, too. I hope it will help you solving the update challenges of your device. I have been working on an embedded device whi

Re: [RAUC] RAUC ptxdist integration roadmap?

2017-02-24 Thread Enrico Joerns
Hi, On 02/23/2017 04:03 PM, Martin Hollingsworth wrote: Hello folks from the RAUC team, I came across the RAUC project when researching embedded linux update mechanisms. Your tool looks very promising, so first of all thumbs up for the great project. many thanks and great to hear that you are

[RAUC] [ANNOUNCE] RAUC v0.1.0 released

2017-02-24 Thread Enrico Joerns
Hi, we are proud to announce that we've just released RAUC v0.1.0: https://github.com/rauc/rauc/releases/tag/v0.1 This is the first release of the RAUC project, thus listing feature changes is not useful yet. Instead we would like to say thank you to all contributors, users and community me