Hello,
I am trying to compile a new kernel obtained from GitHub - qoriq-open-source/linux (version 4.9) for t1042d4rdb-64b. using Yocto.
I followed the steps;
1) bitbake virtual/kernel -c cleansstate
2) bitbake virtual/kernel -c patch
3) replacing git folder with my new kernels source code (GitHub - qoriq-open-source/linux )
4) make ARCH=powerpc menuconfig
5) bitbake virtual/kernel
Result is, new kernel has compiled successfully but uImage does not contain the drivers I need. There is only 4 drivers in new kernel (deploy/images/t1042d4rdb-64b/rootfs.tar.gz) which is "hid" ,"input", "misc" and "staging". There are lots of driver folders in linux kernel 4.9 such as gpio,gpu,bluetooth, connector and so on..
Question is, how can I import the drivers I need to new uImage and put them into board ?
Anyone can help ??
Can u provide kernel compilation steps and commands in details, because i did not worked much on processor side, please do the needful to me.
Thanks in Advance!!!
Hello Yusuf Altıparmak,
Please refer to the following procedure.
1) bitbake virtual/kernel -c cleansstate
2) bitbake virtual/kernel -c patch
3) replacing git folder with my new kernels source code (GitHub - qoriq-open-source/linux )
4) bitbake virtual/kernel -c configure
5) make ARCH=powerpc menuconfig
6) bitbake virtual/kernel
Thanks,
Yiping
4) bitbake virtual/kernel -c configure
Is this the step where I enable/disable the drivers I choose ?
and also
5) make ARCH=powerpc menuconfig
Is this step enough to compile kernel with desired configurations for ppc 5500 ?
4) bitbake virtual/kernel -c configure
Configure Linux Kernel with default Linux Kernel configuration file.
5) make ARCH=powerpc menuconfig
Please configure Linux Kernel according to your desired configuration based on the default Linux Kernel configuration.