Re: [U-Boot] [PATCH 5/6] ARM: imx: novena: Enable DM USB
On 2019-05-06, Marek Vasut wrote: > On 5/6/19 5:26 AM, Vagrant Cascadian wrote: >> On 2019-05-06, Marek Vasut wrote: >>> Enable DM USB support on iMX6Q Novena. ... >> => load usb 0:1 $kernel_addr_r misc/Binaries/linux/Image >> data abort >> pc : [] lr : [] >> 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 . I didn't find 17832f0e in the objdump output... I'll try a build directly from upstream sources rather than using the debian packaging to make sure I'm not breaking something in the packaging. Also, interesting enough, only one of the four USB ports is triggering this issue for me; front, internal, and "ext2" (near the corner of the board) all work, but "ext1" doesn't (between "ext2" and the full-size SD/hdmi/microUSB/audio ports). live well, vagrant signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] [PATCH 5/6] ARM: imx: novena: Enable DM USB
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 : [] lr : [] > 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 : 0003 fp : 0005 > r10: faf8c258 r9 : faf88ea0 r8 : 0001 > r7 : fafa9ba0 r6 : f9f7b040 r5 : faf7d7b0 r4 : 0038 > r3 : 006d 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 >> Cc: Fabio Estevam >> Cc: Stefano Babic >> Cc: Vagrant Cascadian >> --- >> 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 ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] [PATCH 5/6] ARM: imx: novena: Enable DM USB
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 : [] lr : [] reloc pc : [<17832f0e>]lr : [<17832991>] sp : faf7d788 ip : 0003 fp : 0005 r10: faf8c258 r9 : faf88ea0 r8 : 0001 r7 : fafa9ba0 r6 : f9f7b040 r5 : faf7d7b0 r4 : 0038 r3 : 006d 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 > Cc: Fabio Estevam > Cc: Stefano Babic > Cc: Vagrant Cascadian > --- > 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 signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
[U-Boot] [PATCH 5/6] ARM: imx: novena: Enable DM USB
Enable DM USB support on iMX6Q Novena. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Stefano Babic Cc: Vagrant Cascadian --- 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 ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot