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
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
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
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-B7570271-9B1B-461A-A242-7...
(see last FAQ)
Note, there is no official support to building any SDK component
with a non-SDK toolchain.