Zhenhua - Thank you. My understanding is that USB2 on the LS1012A was verified on the QDS board; possibly with the QorIQ 1703 SDK?
There are *ls1012aqds* files in LSDK 18.03 (and thus in YP2.5), but perhaps not all of the changes from the QDS work were brought forward? .Tim On Wed, Sep 12, 2018 at 5:34 AM Zhenhua Luo <[email protected]> wrote: > Hi Tim, > > > > The ls1012ardb/frwy only provides the USB3.0 physical port, so USB2.0 > enablement is not verified, we will look into the issue and fix it. > > > > > > Best Regards, > > > > Zhenhua > > > > *From:* [email protected] < > [email protected]> *On Behalf Of *Tim Hammer > *Sent:* Monday, September 10, 2018 11:41 AM > *To:* [email protected] > *Subject:* [meta-freescale] LS1012A USB 2.0 > > > > > > On a board design based on the LS1012A Freedom board, we added a USB 2.0 > connection (in addition to the USB 3.0 included on the Freedom board). > > > > I have run into a challenge building the Linux kernel driver to support > the ULPI connection. > > > > With CONFIG_USB_EHCI_FSL defined, the code will not build because > CONFIG_PM is defined and causes drivers/usb/host/ehci-fsl.c to try and > pull in asm/fsl_pm.h which is not provided for qoriq (only for powerpc!). > > > > CONFIG_PM is: > > · not in arch/arm64/configs/defconfig (which I am pretty sure is > used as the “base” for make defconfig in > meta-freescale/recipes-kernel/linux/linux-qoriq_4.14.bb > <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flinux-qoriq_4.14.bb%2F&data=02%7C01%7Czhenhua.luo%40nxp.com%7C979924ffd21d46edc99508d616cf45d8%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636721476826179512&sdata=bqnBBZuT1J9PnL7kN7hXQn8ofjVeaQZP1Dn%2BRzI4V9c%3D&reserved=0> > ) > > · nor is it in arch/arm64/configs/lsdk.config (which I am pretty > sure is the DELTA_KERNEL_DEFCONFIG used in > meta-freescale/recipes-kernel/linux/linux-qoriq_4.14.bb > <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flinux-qoriq_4.14.bb%2F&data=02%7C01%7Czhenhua.luo%40nxp.com%7C979924ffd21d46edc99508d616cf45d8%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636721476826179512&sdata=bqnBBZuT1J9PnL7kN7hXQn8ofjVeaQZP1Dn%2BRzI4V9c%3D&reserved=0> > ) > > · nor can I find it in any Kconfig in the linux-qoriq source tree > > > > Even so, it ends up in the .config file created when I build the > linux-qoriq recipe. > > > > Can anyone point out what I am missing that results in CONFIG_PM getting > defined? > > > > I have put in a workaround to #undef CONFIG_PM in ehci-fsl.c and am now > able to get the second USB 2.0 bus, but I would like to find the "root > source" to patch if I can. > > > > Thanks! > > > > -- > > > .Tim > -- .Tim
-- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
