Doesn't boot with USB power

Started by regnarg, March 04, 2014, 09:47:59 AM

Previous topic - Next topic

regnarg

When I boot OLinuXino with 12V power, everything works fine. But when I use the MiniUSB-OTG port, the boot gets stuck at "[    1.684866] [sw-ehci1]: Set USB Power ON" (watching using a USB-Serial-Cable-F connected to my laptop). I use the newest official Debian image. I tried both a laptop USB port and an ATX power supply 5V line as power sources. Cubieboard runs just fine from the same USB port.

More kernel messages:
<6>sunxi_emac Using mii phy on PortA
[    1.563040] sunxi_emac Using mii phy on PortA
<6>sunxi_emac Using MAC from SID: 02:04:04:03:23:20[    1.582169] sunxi_emac Using MAC from SID: 02:04:04:03:23:20<6>PPP generic driver version 2.4.2

[    1.592829] PPP generic driver version 2.4.2
<6>PPP BSD Compression module registered
[    1.601208] PPP BSD Compression module registered
<6>PPP Deflate Compression module registered
[    1.609934] PPP Deflate Compression module registered
<6>PPP MPPE Compression module registered
[    1.619961] PPP MPPE Compression module registered
<6>NET: Registered protocol family 24
[    1.628215] NET: Registered protocol family 24
<6>ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.638503] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<6>ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.650248] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[sw-ehci1]: open clock
[    1.658849] [sw-ehci1]: open clock
[sw-ehci1]: Set USB Power ON
[    1.684866] [sw-ehci1]: Set USB Power ON
<6>sw-ehc


Sic, the last thing it writes is "sw-ehc".

Ideas?

frederic_alexandre

Had the same problem.
Someaon have an idea why ?
Thank you very much

JohnS

Looks like a software bug so try a different kernel etc.

John

frederic_alexandre

I tried with the one bought on the site, and it worked for a while and now it doesn't work anymore.
And I tried different kind of Sd card (differnt size ) with official kernel, still have the same error.
Do you know wheer it comes from
Thank you

frederic_alexandre

I tried to boot with the laste version
dd if=A20_debian_kernel_3_4_LAN_USBx2_Cards_LCD_HDMI_SATA_TS_X_GPIO_OTG_MIC_Video_accel_release7.img of=/mnt/mmcblk0

and I still have the same problem.
No log are ritten so I'm stuck.
Can someonee help ?
Thx

frederic_alexandre

It finally works.

I tried with a new kernel.
I tried with an line adaptator, the led stayed red and nothing happen.
I tried to boot with the factory android and it worked.
And for a reason I do not know I put again an homemade sdcard, and it worked !!!

frederic_alexandre

I finally understood how to boot:

I have to start with the android firmware, then put the sd card, and push reset.
Hope I would help
best regards,

dave-at-axon

I saw this with another unit I built yesterday.I put the Android Micro SD in and another blank SD in and switched it on. I got the normal boot animation and then the screen went black but the backlight was on.

I let it sit like this for about 5 mins, which is way more than it should need and then powered off. I removed the SD and powered up. This time is was fine. I then inserted the SD, went to settings and formatted the SD. Now it boots OK.

I didn't have the debug cable connected this time but today I plan to try this again with another blank SD card and see what that shows.

frederic_alexandre

I have the debug cable plugged.
The last line printed is

[sw-ehci1]: Set USB Power ON
[    1.684866] [sw-ehci1]: Set USB Power ON
<6>sw-ehc

It looks like it stucks during USB power on but I do not understand why a warm reboot works in this case.