[U-Boot] [PATCH 5/6] ARM: imx: novena: Enable DM USB

Marek Vasut marex at denx.de
Mon May 6 10:30:25 UTC 2019


On 5/6/19 5:26 AM, Vagrant Cascadian wrote:
> On 2019-05-06, Marek Vasut wrote:
>> Enable DM USB support on iMX6Q Novena.
> 
> Hrm. Not working so well:
> 
> => load usb 0:1 $kernel_addr_r misc/Binaries/linux/Image
> data abort
> pc : [<fefbbf0e>]          lr : [<fefbb991>]
> reloc pc : [<17832f0e>]    lr : [<17832991>]

Where does it crash ? arm-...objdump -d u-boot and look for the reloc_pc
value, it should tell you in which function the crash occurred .

> sp : faf7d788  ip : 00000003     fp : 00000005
> r10: faf8c258  r9 : faf88ea0     r8 : 00000001
> r7 : fafa9ba0  r6 : f9f7b040     r5 : faf7d7b0  r4 : 00000038
> r3 : 0000006d  r2 : f9f7b0a3     r1 : fafa9c0c  r0 : f9f7b09f
> Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
> Code: 4630f801 81f0e8bd e7d84606 bf082b2f (f822235c)
> Resetting CPU ...
> 
> That said, I haven't tested USB recently; it may be no worse.
> 
> live well,
>   vagrant
> 
>> Signed-off-by: Marek Vasut <marex at denx.de>
>> Cc: Fabio Estevam <fabio.estevam at nxp.com>
>> Cc: Stefano Babic <sbabic at denx.de>
>> Cc: Vagrant Cascadian <vagrant at debian.org>
>> ---
>>  configs/novena_defconfig | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/configs/novena_defconfig b/configs/novena_defconfig
>> index fa5fdea278..c5dbbb0b4d 100644
>> --- a/configs/novena_defconfig
>> +++ b/configs/novena_defconfig
>> @@ -60,6 +60,7 @@ CONFIG_PINCTRL=y
>>  CONFIG_PINCTRL_IMX6=y
>>  CONFIG_DM_SCSI=y
>>  CONFIG_USB=y
>> +CONFIG_DM_USB=y
>>  CONFIG_USB_KEYBOARD=y
>>  CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP=y
>>  CONFIG_USB_GADGET=y
>> -- 
>> 2.20.1


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list