MCIMX6SLL-EVK : build kernel in a standalone environment

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MCIMX6SLL-EVK : build kernel in a standalone environment

ソリューションへジャンプ
477件の閲覧回数
masafumishimura
Contributor II

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

0 件の賞賛
1 解決策
460件の閲覧回数
masafumishimura
Contributor II

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

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
467件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
461件の閲覧回数
masafumishimura
Contributor II

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

0 件の賞賛