IMX8M Plus EVK-Android12-ERROR: Kernel configuration is invalid.

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

IMX8M Plus EVK-Android12-ERROR: Kernel configuration is invalid.

881件の閲覧回数
Grade
Contributor I

Hi Sir,

 I build a kernel for the android 12(imx-android-12.1.0_1.0.0) BSP as below:

 "./imx-make.sh kernel -j4 2>&1 | tee build-log.txt"

build result as below:

test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)

Do you have any suggestions for me? Thanks!

Best Regards

Grade Wang

0 件の賞賛
返信
3 返答(返信)

784件の閲覧回数
Grade
Contributor I

Hi Sir,

The android12 bsp and The android13 bsp save in the ubuntu 20.04 os(Client version) .

That the ubuntu 20.04 os (client version ) run in the the virtualbox 7.0. Thanks!

0 件の賞賛
返信

786件の閲覧回数
Grade
Contributor I

Hi Sir,

For my build code environment as below:

(1) The ubuntu 20.04 os(client version) run in the virtualbox 7.0.

(2) I donwload a the android12-.1.0_1.0.0 BSP from the ubuntu 20.04 server(build server).

(3) I fixed some permission denied issues for the android12-.1.0_1.0.0 BSP. The error message as below:

"mktemp: failed to create file via template ‘./.tmp.config.XXXXXXXXXX’: Permission denied"

(4) The attach files ("build-log-20230913-1.txt" and "build-log-20230913-2.zip") are build code log files.

(5) The attach file("build-log-android13-20230912.zip") was a build code log file for the android13 bsp.

I  download a The android13-.0.0_2.0.0 BSP form the  the ubuntu 20.04 server.That I build a uboot,and build a kernel ok.

Another, build a android image ok. I burn a android13 image to the imx8mp EVK board. the imx8mp EVK board can start a android13 os.

For my suggestion :

Could you follow my  build code environment to do build a android-12.1.0_1.0.0 BSP? Thanks!

 

0 件の賞賛
返信

832件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

I tried to build it. there is no error when building the kernel. Please try to build it on a new folder again.

0 件の賞賛
返信