Posts

Showing posts from January, 2016

extract kernel config

You might want the kernel .config, which was composed out of defconfig + configuration fragments to work outside of the YP. bitbake linux-yocto-custom -c menuconfig make sure that is what you want (has the proper config options set) Save it e.g. under /tmp/4.4.kernel.config

kernel configuration fragments

bitbake linux-yocto-custom -c menuconfig   make whatever adjustments here   bitbake linux-yocto-custom -c diffconfig   this spits out a configuration fragment   add it to your kernel configuration fragments   make sure it made it into your kernel configuration:   bitbake linux-yocto-custom -c cleansstate bitbake linux-yocto-custom -c menuconfig   Now you should find your new configuration settings in menuconfig  

create kernel patch

git add arch/arm/boot/dts/zedboard-zynq7-res1.dts git commit -m "attempt with fdt/leds" git format-patch -1 ls 0001-attempt-with-fdt-leds.patch