Using kernel v4.1 for P1022DS based board

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Using kernel v4.1 for P1022DS based board

1,254 次查看
nandan
Contributor I

Hi,

I am working on P1022DS based board. I have already programmed the board with kernel v3.12 and file system as in QorIQ BSP v1.9.

BSP v2.0 contains kernel v4.1 but doesn't support P1022DS architecture.

Please suggest how to migrate to kernel v4.1.

Regards,
Rajeev

标签 (1)
0 项奖励
回复
2 回复数

867 次查看
Pavel
NXP Employee
NXP Employee

Look at the following pages:

https://community.nxp.com/thread/457758

 

https://community.nxp.com/docs/DOC-99961

 

See also attached file.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

867 次查看
nandan
Contributor I

Both the methods mentioned above didn't work for me. Following is the error log. Please help.

Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 uImage CC=powerpc-fsl-linux-gnuspe-gcc   --sysroot=/home/prateek/GPON/HPOH/QorIQ_SDK_V1.9-ISO/QorIQ-SDK-V1.9-20151210-yocto/build_p1022ds/tmp/sysroots/p1022ds LD=powerpc-fsl-linux-gnuspe-ld.bfd   --sysroot=/home/prateek/GPON/HPOH/QorIQ_SDK_V1.9-ISO/QorIQ-SDK-V1.9-20151210-yocto/build_p1022ds/tmp/sysroots/p1022ds LOADADDR=20008000
| make[2]: Circular arch/powerpc/lib/crtsavres.o <- prepare dependency dropped.
|   HOSTCC  scripts/dtc/dtc-lexer.lex.o
|   HOSTCC  scripts/genksyms/lex.lex.o
| dtc-lexer.l:40:28: fatal error: dtc-parser.tab.h: No such file or directory
| compilation terminated.
| scripts/genksyms/lex.lex.c_shipped:567:23: fatal error: parse.tab.h: No such file or directory
| compilation terminated.
| scripts/Makefile.host:108: recipe for target 'scripts/genksyms/lex.lex.o' failed
| scripts/Makefile.host:108: recipe for target 'scripts/dtc/dtc-lexer.lex.o' failed
| make[4]: *** [scripts/dtc/dtc-lexer.lex.o] Error 1
| make[4]: *** [scripts/genksyms/lex.lex.o] Error 1
| /home/prateek/GPON/HPOH/QorIQ_SDK_V1.9-ISO/QorIQ-SDK-V1.9-20151210-yocto/build_p1022ds/tmp/work/p1022ds-fsl-linux-gnuspe/linux-qoriq/3.12-r0/git/scripts/Makefile.build:403: recipe for target 'scripts/dtc' failed
| make[3]: *** [scripts/dtc] Error 2
| make[3]: *** Waiting for unfinished jobs....
| /home/prateek/GPON/HPOH/QorIQ_SDK_V1.9-ISO/QorIQ-SDK-V1.9-20151210-yocto/build_p1022ds/tmp/work/p1022ds-fsl-linux-gnuspe/linux-qoriq/3.12-r0/git/scripts/Makefile.build:403: recipe for target 'scripts/genksyms' failed
| make[3]: *** [scripts/genksyms] Error 2
| /home/prateek/GPON/HPOH/QorIQ_SDK_V1.9-ISO/QorIQ-SDK-V1.9-20151210-yocto/build_p1022ds/tmp/work/p1022ds-fsl-linux-gnuspe/linux-qoriq/3.12-r0/git/Makefile:555: recipe for target 'scripts' failed
| make[2]: *** [scripts] Error 2
| Makefile:146: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| Makefile:24: recipe for target '__sub-make' failed
| make: *** [__sub-make] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/prateek/GPON/HPOH/QorIQ_SDK_V1.9-ISO/QorIQ-SDK-V1.9-20151210-yocto/build_p1022ds/tmp/work/p1022ds-fsl-linux-gnuspe/linux-qoriq/3.12-r0/temp/run.do_compile.522:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /home/prateek/GPON/HPOH/QorIQ_SDK_V1.9-ISO/QorIQ-SDK-V1.9-20151210-yocto/build_p1022ds/tmp/work/p1022ds-fsl-linux-gnuspe/linux-qoriq/3.12-r0/temp/log.do_compile.522)

0 项奖励
回复