Failed to build Linux Kernel for i.MX8qxpmek

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

Failed to build Linux Kernel for i.MX8qxpmek

1,205件の閲覧回数
zhangsheng
Contributor II

Hi all:

   I came across this issue while compiling a Linux kernel according to" i.MX_Porting_Guide".

In file included from drivers/phy/ti/phy-omap-usb2.c:30:0:
./include/linux/phy/omap_control_phy.h:46:2: error: redeclaration of enumerator ‘USB_MODE_HOST’
USB_MODE_HOST,
^~~~~~~~~~~~~
In file included from ./include/linux/usb/otg.h:14:0,
from ./include/linux/phy/omap_usb.h:23,
from drivers/phy/ti/phy-omap-usb2.c:24:
./include/linux/usb/phy.h:69:2: note: previous definition of ‘USB_MODE_HOST’ was here
USB_MODE_HOST,
^~~~~~~~~~~~~
In file included from drivers/phy/ti/phy-omap-usb2.c:30:0:
./include/linux/phy/omap_control_phy.h:47:2: error: redeclaration of enumerator ‘USB_MODE_DEVICE’
USB_MODE_DEVICE,
^~~~~~~~~~~~~~~
In file included from ./include/linux/usb/otg.h:14:0,
from ./include/linux/phy/omap_usb.h:23,
from drivers/phy/ti/phy-omap-usb2.c:24:
./include/linux/usb/phy.h:70:2: note: previous definition of ‘USB_MODE_DEVICE’ was here
USB_MODE_DEVICE,
^~~~~~~~~~~~~~~

it seems a known issue according to this thread.

[RFC,v1,2/3] usb: chipidea: set mode for usb phy driver - Patchwork 

any suggestions?

Cheers,

Sheng Zhang

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

1,174件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Sheng

one can look at other descriptions of build process on :

i.MX8 Boot process and creating a bootable image 

iMX8 Application Media Processor | iMX8 Processor | RidgeRun 

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

0 件の賞賛
返信