* [meta-rauc] Queries about rauc
@ 2019-12-10 18:07 Llewellyn Fernandes
2019-12-11 8:20 ` Enrico Jörns
0 siblings, 1 reply; 3+ messages in thread
From: Llewellyn Fernandes @ 2019-12-10 18:07 UTC (permalink / raw)
To: meta-rauc
[-- Attachment #1.1: Type: text/plain, Size: 731 bytes --]
Hi,
I am a system engineer in Evologics Gmbh and we are planning to integrate rauc in our marine robotics products for ease of update .
I have a query regarding the update process
We have a board based on imx6 with emmc flash .
I have created symmetric A B partitioning .
Kernel + dtb partition 1
Rootfs. Partition 2
Kernel + dtb partition 3
Rootfs. Partition 4
I have managed to create the bundle for this .
My question is since there are 2 files ie kernel and dtb in one partition will this create a problem while installing the 2nd file . Does it format the partition and then install each file ?
Thank you
Regards
Llewellyn Fernandes
Get BlueMail for Android
[-- Attachment #1.2: Type: text/html, Size: 1321 bytes --]
[-- Attachment #2: Type: text/plain, Size: 71 bytes --]
_______________________________________________
meta-rauc mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [meta-rauc] Queries about rauc
2019-12-10 18:07 [meta-rauc] Queries about rauc Llewellyn Fernandes
@ 2019-12-11 8:20 ` Enrico Jörns
2019-12-11 16:02 ` llewellyn
0 siblings, 1 reply; 3+ messages in thread
From: Enrico Jörns @ 2019-12-11 8:20 UTC (permalink / raw)
To: Llewellyn Fernandes; +Cc: meta-rauc
Hi Llewellyn,
Am 10.12.19 um 19:07 schrieb Llewellyn Fernandes:
> Hi,
>
> I am a system engineer in Evologics Gmbh and we are planning to
> integrate rauc in our marine robotics products for ease of update .
ouh, that sounds like a really interesting application for RAUC!
> I have a query regarding the update process
> We have a board based on imx6 with emmc flash .
> I have created symmetric A B partitioning .
>
> Kernel + dtb partition 1
> Rootfs. Partition 2
> Kernel + dtb partition 3
> Rootfs. Partition 4
>
> I have managed to create the bundle for this .
>
> My question is since there are 2 files ie kernel and dtb in one
> partition will this create a problem while installing the 2nd file .
> Does it format the partition and then install each file ?
As RAUC aims to perform 'image' updates, the straight solution to your
use case would be to provide a file system image containing both the
kernel and the dtb.
This should simply be possible by splitting up rootfs using wic or
genimage tool in a Yocto file system image recipe.
The other (quite similar similar) option would be to provide the two
files in a tar archive. Then RAUC will perform file system creation and
unpacking of that tar. From the integration point of view this should
only differ from the first case in sense of image type.
Going a step backwards I would like to ask if there is really a need for
having the rootfs and the kernel being separate. With bootloader
supporting freescale boot spec files (such as barebox does), you can
easily store both the dtb and the kernel in the rootfs and the boot spec
file will tell the loader where to find it. This also potentially
enables you having the same rootfs for different machines/dtbs.
RAUC itself is currently not designed to install multiple individual
files to a slot.
Does that already help you a little?
Best regards, Enrico
P.S: Please consider subscribing to the mailing list as non-member
request will end up in the moderator queue first by default.
--
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 |
_______________________________________________
meta-rauc mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [meta-rauc] Queries about rauc
2019-12-11 8:20 ` Enrico Jörns
@ 2019-12-11 16:02 ` llewellyn
0 siblings, 0 replies; 3+ messages in thread
From: llewellyn @ 2019-12-11 16:02 UTC (permalink / raw)
To: Enrico Jörns; +Cc: meta-rauc
Hi Enrico,
Thanks for your response.
Yes the field is very interesting and challenging. We specialise in
acoutic modem communication underwater and have many deployed systems
which we need to update.
We also have AUVs what we developed. You can have a look at one of it
here https://www.youtube.com/watch?v=qv5UmykFSJU
Anyways. Looks like may be I can make a single image with rootfs and
kernel and dtb and use that for update.
The structure would be as follows.
Partition 1 : System 0
Partition2 : System 1
Partition 3 : UserData.
Let me know if you anticipate any issues in this.
Regards
Llewellyn Fernandes
On 11.12.19 09:20, Enrico Jörns wrote:
> Hi Llewellyn,
>
> Am 10.12.19 um 19:07 schrieb Llewellyn Fernandes:
>> Hi,
>>
>> I am a system engineer in Evologics Gmbh and we are planning to
>> integrate rauc in our marine robotics products for ease of update .
> ouh, that sounds like a really interesting application for RAUC!
>
>> I have a query regarding the update process
>> We have a board based on imx6 with emmc flash .
>> I have created symmetric A B partitioning .
>>
>> Kernel + dtb partition 1
>> Rootfs. Partition 2
>> Kernel + dtb partition 3
>> Rootfs. Partition 4
>>
>> I have managed to create the bundle for this .
>>
>> My question is since there are 2 files ie kernel and dtb in one
>> partition will this create a problem while installing the 2nd file .
>> Does it format the partition and then install each file ?
> As RAUC aims to perform 'image' updates, the straight solution to your
> use case would be to provide a file system image containing both the
> kernel and the dtb.
> This should simply be possible by splitting up rootfs using wic or
> genimage tool in a Yocto file system image recipe.
>
> The other (quite similar similar) option would be to provide the two
> files in a tar archive. Then RAUC will perform file system creation and
> unpacking of that tar. From the integration point of view this should
> only differ from the first case in sense of image type.
>
>
> Going a step backwards I would like to ask if there is really a need for
> having the rootfs and the kernel being separate. With bootloader
> supporting freescale boot spec files (such as barebox does), you can
> easily store both the dtb and the kernel in the rootfs and the boot spec
> file will tell the loader where to find it. This also potentially
> enables you having the same rootfs for different machines/dtbs.
>
>
> RAUC itself is currently not designed to install multiple individual
> files to a slot.
>
>
> Does that already help you a little?
>
>
> Best regards, Enrico
>
>
> P.S: Please consider subscribing to the mailing list as non-member
> request will end up in the moderator queue first by default.
>
_______________________________________________
meta-rauc mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-12-11 16:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-10 18:07 [meta-rauc] Queries about rauc Llewellyn Fernandes
2019-12-11 8:20 ` Enrico Jörns
2019-12-11 16:02 ` llewellyn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox