The uboot of L4.19.35BSP lack of head file?

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

The uboot of L4.19.35BSP lack of head file?

870件の閲覧回数
coindu
Contributor IV

Hi community:

         I want to update my bsp from L4.9.88 to L4.19.35 on IMX8MQ board.  When I replaced lpddr4_timing.c and compile again. It will encounter a error. 

---------------------------------------------------------------------------------------------------------------------------------------------------------

1_2019.04-r0/git/board/freescale/imx8mq_evk/lpddr4_timing.c:11:10: fatal error: asm/arch/imx8m_ddr.h: No such file or directory
| #include <asm/arch/imx8m_ddr.h>
| ^~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.

     The code of uboot lack of the head file, how to resolve the issue.   

     And i have test the latest version mscale_ddr_tool_v3.10.

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

778件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

refer to the source code lpddr4_timing.c of 4.19.35, which doesn't include /imx8m_ddr.h

lpddr4_timing.c\imx8mq_evk\freescale\board - uboot-imx - i.MX U-Boot 

it seems that 4.19.35 doesn't use this head file again

arch-imx8m\asm\include\arm\arch - uboot-imx - i.MX U-Boot 

but 4.14.78 does

arch-imx8m\asm\include\arm\arch - uboot-imx - i.MX U-Boot 

if you use 4.19.35, it seems you don't need this head file or you can copy head file from 4.14.78

0 件の賞賛
返信

778件の閲覧回数
coindu
Contributor IV

 #include <asm/arch/imx8m_ddr.h> should change to <asm/arch-imx8m/ddr.h>  . The L4.19.35 bsp change the name of the head file.

0 件の賞賛
返信