Compiling uImage with all linux modules

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Compiling uImage with all linux modules

1,396 Views
yusufalti333
Contributor IV

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 ?

Labels (1)
0 Kudos
5 Replies

1,161 Views
yusufalti333
Contributor IV

Anyone can help ??

0 Kudos

1,105 Views
ManikandasamyJayaram
Contributor I

@yusufalti333 

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!!!

0 Kudos

1,161 Views
yipingwang
NXP TechSupport
NXP TechSupport

 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

0 Kudos

1,161 Views
yusufalti333
Contributor IV

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 ?

0 Kudos

1,161 Views
yipingwang
NXP TechSupport
NXP TechSupport

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.

0 Kudos