1 Reply Latest reply on Jul 21, 2014 1:29 AM by Siyuan

    How to modify a Linux kernel driver and rebuild it?


      Hi everyone,


      I'm new on both Galileo and yocto Linux. I need to manually modify the stmmac driver in yocto Linux kernel (actually just add some debug message). Now I have been able to build the full yocto image and boot it from the SD card. Then I met several question:


      1. I found there are two pieces of stmmac source code in the yocto_build directory:





      The codes in these 2 directories are not exactly same, which is the right one should be updted?


      2. After I update the source, how could I rebuild the yocto image? I have updated above 2 files and reexecute "bitbake image-full-galileo" but it doesn't work, it there any other steps I need to do?