Re: PCM038 USB is broken again
Alexander Shiyan
shc_work at mail.ru
Mon Aug 12 06:56:56 EDT 2013
Понедельник, 12 августа 2013, 9:07 +02:00 от Sascha Hauer <s.hauer at pengutronix.de>:
> On Sat, Aug 10, 2013 at 08:10:53AM +0400, Alexander Shiyan wrote:
> > Hello.
> >
> > USB functionality on PCM038 (PCM970) is broken again due
> > patch "Revert usb: chipidea-imx: Fix usb initialization".
> >
> > Board: Phytec phyCORE-i.MX27
> > detected i.MX27 revision 2.1
> > netconsole: registered as cs1
> > mc13xxx-spi mc137830: Found MC13783 ID: 0x00009b [Rev: 3.1]
> > cfi_flash cfi_flash0: found cfi flash at c0000000, size 33554432
> > nand: NAND device: Manufacturer ID: 0x20, Chip ID: 0x36 (ST Micro NAND 64MiB 1,8V 8-bit), 64MiB, page size: 512, OOB size: 16
> > Bad block table found at page 131040, version 0x01
> > Bad block table found at page 131008, version 0x01
> > imxfb imxfb: i.MX Framebuffer driver
> > mdio_bus: miibus0: probed
> > No ULPI found. vid: 0x0000 pid: 0x0000
> > pcm038: Using environment in NOR Flash
> > No ULPI found. vid: 0x0000 pid: 0x0000
> > imx-usb imx-usb2: USB EHCI 1.00
> > imx-mmc imx-mmc1: registered as imx-mmc1
> > running /env/bin/init...
> >
> > After remove this patch, all works fine.
>
> Have you verified it really doesn't work? I get the 'No ULPI found'
> message aswell, but the ULPI phys are probed again during the 'usb'
> command and it then works here.
Same result on CCMX51.
barebox 2013.06.0-00186-gae970c3 #12 Tue Jul 2 13:56:48 MSK 2013
Board: ConnectCore i.MX51
detected i.MX51 revision 3.0
Module Variant: i.MX515 at 600MHz, PHY, Accel (0x0b)
Module HW Rev : 03
Module Serial : B111156789
mc13xxx-spi mc13xxx-spi0: Found MC13892 ID: 0x0045d0 [Rev: 2.0a]
nand: ONFI param page 0 valid
nand: ONFI flash detected ... nand: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08AAD), page size: 2048, OOB size: 64
malloc space: 0x95f00000 -> 0x97efffff (size 32 MiB)
imx-esdhc imx-esdhc0: registered as imx-esdhc0
Found NXP ISP150x ULPI transceiver (0x04cc:0x1504).
imx-usb imx-usb1: USB EHCI 1.00
envfs: wrong magic on /dev/env0
no valid environment found on /dev/env0. Using default environment
running /env/bin/init...
...
barebox 2013.08.0-00157-g9b0907b-dirty #3 Mon Aug 12 14:47:06 MSK 2013
Board: ConnectCore i.MX51
detected i.MX51 revision 3.0
Module Variant: i.MX515 at 600MHz, PHY, Accel (0x0b)
Module HW Rev : 03
Module Serial : B111156789
mc13xxx-spi mc138920: Found MC13892 ID: 0x0045d0 [Rev: 2.0a]
nand: ONFI param page 0 valid
nand: ONFI flash detected
nand: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08AAD), 256MiB, page size: 2048, OOB size: 64
Bad block table found at page 131008, version 0x01
Bad block table found at page 130944, version 0x01
malloc space: 0x95f00000 -> 0x97efffff (size 32 MiB)
imx-esdhc imx-esdhc0: registered as imx-esdhc0
No ULPI found. vid: 0x0000 pid: 0x0000
imx-usb imx-usb1: USB EHCI 1.00
envfs: wrong magic on /dev/env0
no valid environment found on /dev/env0. Using default environment
running /env/bin/init...
...
And yes, this works after "usb" command:
barebox at ConnectCore i.MX51:/ usb
USB: scanning bus for devices...
Found NXP ISP150x ULPI transceiver (0x04cc:0x1504).
Bus 001 Device 001: ID 0000:0000 EHCI Host Controller
1 USB Device(s) found
So, you consider this is not a bug?
---
More information about the barebox
mailing list