Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
software:linux:yocto:devtool [2023-10-17 16:58] Urs Grafsoftware:linux:yocto:devtool [2023-11-16 15:23] (aktuell) Urs Graf
Zeile 72: Zeile 72:
  
 ===== Use Cases ===== ===== Use Cases =====
-Modify the device tree of the kernel and put the changes into its own layer <code text> +  - Modify the device tree of the kernel and put the changes into its own layer <code text> 
-set conf+build image for [[software:linux:yocto:bblue|Beaglebone Blue]] 
 +# alter device tree in build/workspace/sources/linux-stable-rcn-ee/arch/arm/boot/dts 
 +# commit changes
 $ bitbake-layers create-layer ../meta-bsc-os $ bitbake-layers create-layer ../meta-bsc-os
 $ bitbake-layers add-layer ../meta-bsc-os $ bitbake-layers add-layer ../meta-bsc-os
 $ devtool finish -f linux-stable-rcn-ee ../meta-bsc-os/ $ devtool finish -f linux-stable-rcn-ee ../meta-bsc-os/
 +</code> This creates layer with suitable recipe and adds the new layer to the local //bblayers.conf// file.
 +  - Repository of used library has new commit. How can you force yocto to fetch the new commit and rebuild the image? Simply, change the source reference in the recipe, e.g. <code text>
 +#SRCREV = "master"
 +SRCREV = "bcaf4bfb775b207d5e1e7b8340235050832345f4"
 </code> </code>