Back to Blog
Sourcetree github wiki6/22/2023 ![]() ![]() (If you do so, make sure to run " bitbake -c cleansstate virtual/kernel" before rebuilding the kernel) 2.3 Use your own remote repository on github KERNEL_DEFCONFIG_var-som-m圆 = "$" during development to get the latest commit of the branch $ cp ~/var-fslc-yocto/build_x11/tmp/work/var_som_m圆-fslc-linux-gnueabi/linux-variscite/4.14.78-r0/build/defconfig files/my_defconfigĬreate a linux-variscite_%.bbappend file: $ cd ~/var-fslc-yocto/sources/meta-variscite-fslc/recipes-kernel/linux/ Make the kernel recipe use the defconfig from outside of the source tree:.Use any of the three methods described in the Making changes in the source code section below to overwrite the default configuration file in the source tree, arch/arm/configs/imx_v7_var_defconfig, and replace it with the above defconfig.To make the kernel recipe use this configuration permanently, you can do either of the following: The defconfig file is saved to ~/var-fslc-yocto/build_x11/tmp/work/var_som_m圆-fslc-linux-gnueabi/linux-variscite/4.14.78-r0/build/defconfig $ bitbake -c savedefconfig virtual/kernel To save the configuration in a defconfig format: At this point, you can continue following the rest of step 4 of the Build Yocto from source code page to build your image with the newly configured kernel, or just build the kernel by running " bitbake virtual/kernel", or, you can follow the next steps to use this configuration permanently.config file is saved to ~/var-fslc-yocto/build_x11/tmp/work/var_som_m圆-fslc-linux-gnueabi/linux-variscite/4.14.78-r0/build/.config Run menuconfig and configure the kernel:.Follow the first part of step 4 of the same page, to source the setup-environment script (stop after that - don't build any image).Follow steps 1-3 of the Build Yocto from source code page.The default kernel configuration file used by Yocto is part of the kernel source tree and is located at: fsl-image-gui) and the updated kernel will be used, or you can bitbake the kernel alone by running " bitbake virtual/kernel" (see the Build Yocto from source code page for the initial setup and for more info on using bitbake). 2.3 Use your own remote repository on githubĪfter customizing the kernel by following the below instructions, you can either bitbake your complete image (e.g.2.1 Add your own patches on top of our source code. ![]()
0 Comments
Read More
Leave a Reply. |