Greetings,
I was trying to integrate my 4G modem with the i.MX8mm-evk, so I enabled the usbnet drivers as per the Android user guide, I am using a fresh build and have not made any changes to the source files.
All I did was only enable the usbnet driver(drivers/net/usb/usbnet.c), it builds without any issues, but when I flashed.. and tried to turn it on, it keeps rebooting!
There seems to be some issue with a function call : usb_get_urb
I am not sure about how to fix this issue, If anyone could point me in to right direction it would be very helpful.
Regards,
Thomas.
Here are a few lines from logs before it reboots:
[ 4.083840][ T1] imx-drm 32c00000.bus:display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops [imx_lcdif_crtc])
[ 4.094984][ T1] imx_sec_dsim_drv 32e10000.mipi_dsi: version number is 0x1060200
[ 4.104384][ T1] imx-drm 32c00000.bus:display-subsystem: bound 32e10000.mipi_dsi (ops imx_sec_dsim_ops [sec_mipi_dsim_imx])
[ 4.116102][ T1] [drm] Initialized imx-drm 1.0.0 20120507 for 32c00000.bus:display-subsystem on minor 0
[ 4.286513][ T1] usb_phy_generic usbphynop1: supply vcc not found, using dummy regulator
[ 4.295108][ T1] usb_phy_generic usbphynop1: dummy supplies not allowed for exclusive requests
[ 4.304167][ T1] usb_phy_generic usbphynop2: supply vcc not found, using dummy regulator
[ 4.312697][ T1] usb_phy_generic usbphynop2: dummy supplies not allowed for exclusive requests
[ 4.335217][ T9] OF: graph: no port node found in /soc@0/bus@30800000/i2c@30a30000/tcpc@50/connector
[ 4.344675][ T9] OF: graph: no port node found in /soc@0/bus@30800000/i2c@30a30000/tcpc@50/connector
[ 4.385831][ T1] usbcore: registered new interface driver option
[ 4.392179][ T1] usbserial: USB Serial support registered for GSM modem (1-port)
[ 4.401420][ T1] usbnet: Unknown symbol usb_get_urb (err -2)
[ 4.458552][ T1] kvm: exiting hardware virtualization
[ 4.499034][ T1] reboot: Restarting system with command 'bootloader'