[yocto] uBoot, kernel and device tree files

Srinivasan, Raja rsrinivasan at abiomed.com
Thu Aug 9 06:13:42 PDT 2018


Mathieu

Appreciate the suggestion. Will give it a shot. Thanks, srini

-----Original Message-----
From: Mathieu Alexandre-Tétreault [mailto:alexandretm at amotus.ca]
Sent: Thursday, August 9, 2018 8:45 AM
To: Srinivasan, Raja <rsrinivasan at abiomed.com>; yocto at yoctoproject.org
Subject: RE: uBoot, kernel and device tree files

Hello Srini,

I think what you are looking for is the fitimage, it will allow you to bundle the kernel and devicetree together in a single file and it also allows you add a signature.

This process is well integrated in yocto, from what I remember activating the fitimage is relatively easy:
   - in your machine.conf
       - declare KERNEL_CLASSES += "kernel-fitimage" and KERNEL_IMAGETYPE = "fitimage"
   - in your u-boot defconfig (configs/yourboard_defconfig
       - enable CONFIG_FIT=y
   - in your config include/configs/your_board.h change the script to boot your fitimage

I hope this helps,

Regards,

Mathieu

> -----Message d'origine-----
> De : yocto-bounces at yoctoproject.org <yocto-bounces at yoctoproject.org>
> De la part de Srinivasan, Raja Envoyé : August 8, 2018 2:51 PM À :
> yocto at yoctoproject.org Objet : [yocto] uBoot, kernel and device tree
> files
>
> All
>
>
>
> We are using rocko.on variscite var-som-mx6.
>
> In order to increase the security of our system (during a system
> upgrade), we are looking to merge uImage (kernel image) and the device
> tree file into 1 file. Currently these are 2 different files and are
> worried that a file copy operation might get aborted.
>
> My research so far indicates mkuboot can be used to merge these. but
> having trouble making this work.
>
> Need some ideas.
>
>
>
> Any pointers appreciated. srini
>
>
>
>
>
>
> ________________________________
>
>
> CONFIDENTIALITY NOTICE: This email message and any attachments are
> confidential and may be privileged and are meant to be read by the
> intended recipient only. If you are not the intended recipient, please
> notify sender immediately and destroy all copies of this message and
> any attachments without reading or disclosing their contents. Thank
> you
>
>
>


________________________________

CONFIDENTIALITY NOTICE: This email message and any attachments are confidential and may be privileged and are meant to be read by the intended recipient only. If you are not the intended recipient, please notify sender immediately and destroy all copies of this message and any attachments without reading or disclosing their contents. Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180809/65039921/attachment.html>


More information about the yocto mailing list