[yocto] What is the simplest way to test a new kernel configuration in a Yocto Project?

robert.berger@gmane gmane at reliableembeddedsystems.com
Mon Aug 8 23:40:32 PDT 2016


Hi,

On 2016-08-09 07:20, Daniel. wrote:
> Hi Patrick,
>
> If you are running your image embedded at some board, and have easy
> access to the board, you can plug it to network and make u-boot
> download kernel from your machine. So that deploy a new kernel becomes
> simple as copy the new kernel to the tftp folder, and rebooting
> target. This is also true for device-trees. And if you have NFS
> support is true for all userspace too. :)

To be precise the statically linked kernel + dtb can be loaded by u-boot 
over tftp (and nfs). The kernel modules are typically part of the rootfs 
so they would be exported by nfs in our scenario.

I usually use symbolic links in my tftp export as well as which nfs 
rootfs I export so I don't need to change the u-boot environment to boot 
from something different. Like this it's just a matter of copying things 
around on your PC and adjusting the symlinks.

Regards,

Robert






More information about the yocto mailing list