SDK 2.0 for QorIQ : Build linux kernel

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

SDK 2.0 for QorIQ : Build linux kernel

1,220 Views
z_v
Contributor I

Hello,

Paragraph 3.3.2 in SDK2.0 manual explains how to rebuild the kernel using bitbake. 

I want to build the kernel supplied in SDK 2.0 without bitbake but with:

cd <kerenl source>

make CC=<my arm-v7-gcc> ARCH=?

In x86 for exmaple I'm running: make CC=<my x86 gcc> ARCH=x86 (or x86_64)

what ARCH should I use here ?

Thank you,

Z.V

Labels (1)
Tags (1)
0 Kudos
3 Replies

841 Views
addiyi
NXP Employee
NXP Employee

You could also try to build kernel using CodeWarrior. Take a look on https://community.nxp.com/docs/DOC-332778 . You can ignore that document talks about CW for ARMv8, CW for ARMv7 cane be used as well.

Adrian

0 Kudos

841 Views
addiyi
NXP Employee
NXP Employee

You choud use something like below:

build kernel/uImage from sources
$ export ARCH=arm
$ export CROSS_COMPILE=<path_to_toolchain>/arm-linux-gnueabihf-
$ make ls1021a_defconfig
$ make uImage LOADADDR=0x80008000

Adrian

0 Kudos

841 Views
bpe
NXP Employee
NXP Employee

The SDK online documentation provides some suggestions for building
the kernel "by hand" with the SDK standalone toolchain:

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-16DBC8E2-9A18-4867-9BE1-1...

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK/GUID-B7570271-9B1B-461A-A242-7...
(see last FAQ)

Note,  there is no official support to building any SDK component
with a non-SDK toolchain.

0 Kudos