[yocto] uBoot, kernel and device tree files

Mathieu Alexandre-Tétreault alexandretm at amotus.ca
Thu Aug 9 05:45:15 PDT 2018


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
> 
> 
> 



More information about the yocto mailing list