Author Topic: Cubietruck: unable to flash nand on Linux  (Read 3579 times)

yijian

  • Guest
Cubietruck: unable to flash nand on Linux
« on: May 05, 2014, 10:24:41 am »
Hi all,

I'm using cubietruck on xubuntu 14.04. After following instructions to use LiveSuit, I'm not able to download stuff to the board. When I proceeds with download, it asked me if I wanted to format the nand and I said yes. Then nothing happens!

In the console it says:

[You are running on Ubuntu
Dev Plugin The Device Path is: /dev/aw_efex1
Dev Plugin The Device Path is: /dev/aw_efex1
Too Many Devices plugin...
Dev Plugout The Device Path is: /dev/aw_efex1
Dev Plugout The Device Path is: /dev/aw_efex1


dmesg shows:

[ 3211.585135] aw 3-1:1.0: USB aw disconnected.
[ 3215.686933] usb 3-1: new high-speed USB device number 5 using xhci_hcd
[ 3215.703183] usb 3-1: device descriptor read/8, error -75
[ 3215.823065] usb 3-1: device descriptor read/8, error -75
[ 3216.038590] usb 3-1: new high-speed USB device number 6 using xhci_hcd
[ 3216.038700] usb 3-1: Device not responding to set address.
[ 3216.242430] usb 3-1: Device not responding to set address.
[ 3216.446134] usb 3-1: device not accepting address 6, error -71
[ 3216.558003] usb 3-1: new high-speed USB device number 7 using xhci_hcd
[ 3216.558079] usb 3-1: Device not responding to set address.
[ 3216.761926] usb 3-1: Device not responding to set address.
[ 3216.965623] usb 3-1: device not accepting address 7, error -71
[ 3217.077566] usb 3-1: new high-speed USB device number 8 using xhci_hcd
[ 3217.077677] usb 3-1: Device not responding to set address.
[ 3217.281413] usb 3-1: Device not responding to set address.
[ 3217.485116] usb 3-1: device not accepting address 8, error -71
[ 3217.485193] hub 3-0:1.0: unable to enumerate USB device on port 1


So it appears to be a USB driver issue. Perhaps an older Ubuntu would have worked? Anybody had this before?
« Last Edit: May 05, 2014, 10:52:30 am by yijian »

Offline actkk2000

  • Hero Member
  • *****
  • Posts: 572
  • Karma: +2/-11
    • View Profile
Re: Cubietruck: unable to flash nand on Linux
« Reply #1 on: May 05, 2014, 09:19:38 pm »
Seems to be a driver problema indeed... Are you doing this from the same cubietruck?

yijian

  • Guest
Re: Cubietruck: unable to flash nand on Linux
« Reply #2 on: May 06, 2014, 10:40:23 am »
Seems to be a driver problema indeed... Are you doing this from the same cubietruck?

What did you mean? I just had one. These are the kernel message from my xubuntu host.

Offline actkk2000

  • Hero Member
  • *****
  • Posts: 572
  • Karma: +2/-11
    • View Profile
Re: Cubietruck: unable to flash nand on Linux
« Reply #3 on: May 06, 2014, 04:18:43 pm »
So you have a computer with Xubuntu connected via usb to CT, and you are trying to put a Xubuntu image in CT, right?
According to these instructions http://docs.cubieboard.org/downloads you need Ubuntu 10.04...  ???

yijian

  • Guest
Re: Cubietruck: unable to flash nand on Linux
« Reply #4 on: May 06, 2014, 08:25:05 pm »
The same link also says "above" though. :(

Offline corq

  • Newbie
  • *
  • Posts: 22
  • Karma: +3/-0
  • Proud owner of (3)Cubietrucks and a Cubieboard2
    • View Profile
    • corq's project blog
Re: Cubietruck: unable to flash nand on Linux
« Reply #5 on: May 16, 2014, 06:11:15 pm »
I was previously able to resolve this on an Asus laptop by disabling xhci in the BIOS (the option varies from board to board).

On brand new MSI laptop the option is still in the bios but doesn't seem to help turning it on or off in the BIOS. Management of how the usb port detecting the Cubietruck in fex mode seems to vary board to board.

I've been strictly using Xubuntu 64 bit on the household pc's...if anyone can report success with a driver install or different settings, I'm all ears. I have to switch laptops to flash cubietruck when trying a new image.

Any help welcome! Same log messages as yijian.

The messages seem to indicate 'plugout' after letting go of the fex key; on my working laptop, 'plugin' messages occur AFTER the plugout messages, and flashing succeeds.

On the new laptop, dmesg logs seem to indicate xubuntu detects the device, but can't enumerate it.

Hope this helps us narrow an answer.