Hi,
I would like to build kernel in a standalone envirionment reffering to i.MX Porting Guide.
It seems that toolchains have been set up as 2.1.1 How to build and load Kernel in standalone environment.
I have get the linux source code as following.(p.10 2.Get the Linux source code. i.MX Porting Guide.pdf)
git clone https://source.codeaurora.org/external/imx/linux-imx
But I cannot initialize configuration following.
$ make imx_v7_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
***
*** Can't find default configuration "arch/arm/configs/imx_v7_defconfig"!
***
make[1]: *** [/home/username/imx-yocto-bsp/linux-imx/scripts/kconfig/Makefile:96: imx_v7_defconfig] Error 1
make: *** [Makefile:493: imx_v7_defconfig] Error 2
As is obvious imx_v7_defconfig have not seen on the directory linux-imx/arch/arm/configs.
So make command is faild.
How to get imx_v7_defconfig?
BSP:imx6sllevk
Best Regards, Shimura
Solved! Go to Solution.
Hello Bio_TICFSL
Thank you for replying.
It seems that the kernel which has downloaded is old version.
There is imx_v4_v5_deconfig on the directory linux-imx/arch/arm/configs.
Any other imx deconfig is not there.
I had downloaded LF5.15.5_1.0.0 as following.
$ git clone https://source.codeaurora.org/external/imx/linux-imx -b lf-5.15.5-1.0.0 --depth 1
And this query has resolved.
Best Regards, Shimura
Hello masafumishimura,
You are taking the latest kernel, and latest kernel does not support MCIMX6SLL architecture you should tray the 5.4.24 kernel.
Regards
Hello Bio_TICFSL
Thank you for replying.
It seems that the kernel which has downloaded is old version.
There is imx_v4_v5_deconfig on the directory linux-imx/arch/arm/configs.
Any other imx deconfig is not there.
I had downloaded LF5.15.5_1.0.0 as following.
$ git clone https://source.codeaurora.org/external/imx/linux-imx -b lf-5.15.5-1.0.0 --depth 1
And this query has resolved.
Best Regards, Shimura