Compile kernel for QorIq processor p5040

cancel
Showing results for 
Search instead for 
Did you mean: 

Compile kernel for QorIq processor p5040

Jump to solution
283 Views
saurabhagarwal
Contributor III

I have Freescale Linux SDK v1.8 for QorIQ Processors that I am using to compile source images for p5040ds development system.

I have compiled the u-boot as instructed in below link .

modifying u-boot for QorIQ processors

Now i want to customize Linux Kernel. For this i am using these commands.

bitbake -c cleansstate kernel

I got following output.

Loading cache: 100% |########################################################################################################################################################################| ETA:  00:00:00

Loaded 2366 entries from dependency cache.

ERROR: Nothing PROVIDES 'kernel'. Close matches:

  kernelshark

I also run

bitbake kernel -c cleansstate , but got the same output. What is wrong here ?

Labels (1)
0 Kudos
1 Solution
79 Views
Pavel
NXP TechSupport
NXP TechSupport

Use the following command sequence:

$ bitbake -c cleansstate virtual/kernel

$ bitbake -c patch virtual/kernel

Configure kernel.

$ bitbake -c menuconfig virtual/kernel

$ bitbake virtual/kernel   // Rebuild kernel:

Note for clean commands:

clean:remove the work folder of the package

•cleansstate:clean+ delete the cached binary

−when a known good package fails to build unexpectedly, or an image build fails with "error: Failed dependencies", do -c cleansstatefirst on the failing package, then rebuild

•patch:install source including all patches

Use with care:

•cleanall: delete the source archive from../sources


Have a great day,
Pavel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

1 Reply
80 Views
Pavel
NXP TechSupport
NXP TechSupport

Use the following command sequence:

$ bitbake -c cleansstate virtual/kernel

$ bitbake -c patch virtual/kernel

Configure kernel.

$ bitbake -c menuconfig virtual/kernel

$ bitbake virtual/kernel   // Rebuild kernel:

Note for clean commands:

clean:remove the work folder of the package

•cleansstate:clean+ delete the cached binary

−when a known good package fails to build unexpectedly, or an image build fails with "error: Failed dependencies", do -c cleansstatefirst on the failing package, then rebuild

•patch:install source including all patches

Use with care:

•cleanall: delete the source archive from../sources


Have a great day,
Pavel

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post