[meta-freescale] LS1012A USB 2.0
Zhenhua Luo
zhenhua.luo at nxp.com
Wed Sep 12 02:34:16 PDT 2018
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: meta-freescale-bounces at yoctoproject.org <meta-freescale-bounces at yoctoproject.org> On Behalf Of Tim Hammer
Sent: Monday, September 10, 2018 11:41 AM
To: meta-freescale at yoctoproject.org
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20180912/c64dd1db/attachment.html>
More information about the meta-freescale
mailing list