Author Topic: can't flash my cb2 with anything but android  (Read 6829 times)

Offline jobarjo

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
can't flash my cb2 with anything but android
« on: January 05, 2014, 06:08:58 pm »
Hi

I'm trying to flash my cubieboard2 with ubuntu but it doesn't work.
I tried under both linux and windows.
In windows I can only flash the latest android img file.
All other ubuntu img files don't work. Flashing hangs in the middle.

Under linux, it worked once on one of my laptops (only with android I think), I reinstalled another laptop with linuxmint 16 64 bit (ubuntu saucy), and it doesn't work.

Tried booting on microsd and it works fine.

Thanks for your help

Saegematz

  • Guest
Re: can't flash my cb2 with anything but android
« Reply #1 on: January 06, 2014, 12:08:11 am »
1. Not enough power during the flash process.
or
2. Every time format before flash.

Offline jobarjo

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: can't flash my cb2 with anything but android
« Reply #2 on: January 06, 2014, 02:19:02 pm »
Thanks for your response.

I'm using an HDD usb cable with dual usb plug (to get more power)
I think I also tried to connect both power cable and usb cable, but the result was the same.

I choosed to format most of the time (when asked by the flash software)

One another difference I noticed between the android and ubuntu flashes is that flasing the android image make a green light blinking during the flash process. There is no such green light with the ubuntu image.

Also if it is a power problem, why would android flash work?
« Last Edit: January 06, 2014, 02:23:59 pm by jobarjo »

Saegematz

  • Guest
Re: can't flash my cb2 with anything but android
« Reply #3 on: January 06, 2014, 02:40:09 pm »
what are your steps for flashing linux image ?
what size and name have the image file ?

Offline jobarjo

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: can't flash my cb2 with anything but android
« Reply #4 on: January 06, 2014, 03:56:15 pm »
power off with power button (long press)
keep pushing the button under the usb connector, while powering on.
The software then ask if I want to format, I click yes
The flashing start for a few moments (the percentage raises), then it stops infinitely (often at 3% sometimes at 24%)

I use the same steps with an android image, and it works almost every time.

I downloaded several images.

the images I tried last are: ( the first one is working)
sizes:
481923072     android-cb2-20131230.img
1417280512  lubuntu-desktop-nand.img
1068358656  lubuntu-server-nand.img

md5:
10f8b37b359d62514ab94e299d539ed3  android-cb2-20131230.img
c6c7483971415490d6f8dc0f9459733f  lubuntu-desktop-nand.img
de4d0e1a81125b2db7fc50d57d0a152a  lubuntu-server-nand.img


the linux messages are
Code: [Select]
Dev Plugout The Device Path is: /dev/aw_efex1
Dev Plugin The Device Path is: /dev/aw_efex1
Fex_Send error: Invalid argument
Fex_transmit_receive Error: ./eFexCore.cpp, 288
Fex_command Error ./eFexCore.cpp 379
cmd_common_verify_dev 84
GetCurrentStage Failed 141 ./DeviceMessage/ASuitDeviceMessage.cpp
Dev Plugout The Device Path is: /dev/aw_efex1
« Last Edit: January 06, 2014, 04:01:31 pm by jobarjo »

tamboekie

  • Guest
Re: can't flash my cb2 with anything but android
« Reply #5 on: January 07, 2014, 04:53:34 pm »

the linux messages are
Code: [Select]
Dev Plugout The Device Path is: /dev/aw_efex1
Dev Plugin The Device Path is: /dev/aw_efex1
Fex_Send error: Invalid argument
Fex_transmit_receive Error: ./eFexCore.cpp, 288
Fex_command Error ./eFexCore.cpp 379
cmd_common_verify_dev 84
GetCurrentStage Failed 141 ./DeviceMessage/ASuitDeviceMessage.cpp
Dev Plugout The Device Path is: /dev/aw_efex1

I see a similar message if I attempt to flash the android-cb2-20131230.img file. However, when I use another image (one I compiled myself), I have no problem at all.

Any ideas?

PS: The above behaviour was with Livesuit 3.05. When I try 3.06, it stalls/hangs and no futher messages appear in the terminal or Livesuit.
« Last Edit: January 07, 2014, 05:21:26 pm by tamboekie »

tamboekie

  • Guest
Re: can't flash my cb2 with anything but android
« Reply #6 on: January 08, 2014, 07:08:39 am »
I can now confirm that once I upgraded to Livesuit 3.06, my issue has been resolved. I can flash the android-cb2-20131230.img image without any problems. All I needed to do was restart my machine after the new Lievsuit installation.

You can find the latest Livesuit here: http://dl.cubieboard.org/software/tools/livesuit/LiveSuitV306_For_Linux64.zip

Offline jobarjo

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: can't flash my cb2 with anything but android
« Reply #7 on: January 08, 2014, 05:34:33 pm »
I updated to Livesuit 3.06 and could flash android in linux.
Still no lubuntu image working.

Also in windows, I had phoenixsuite 1.0.6 auto updated to 1.0.8, and it is still the same: I can flash only andoid.

I'm going to try cubian, but images seem old.

tamboekie, did you try to flash another image?

I would need to use a sata disk.
So can I setup the nand with a kernel and use the sata as rootfs?
Are there instructions for setting up the nand flash boot?

Thanks

tamboekie

  • Guest
Re: can't flash my cb2 with anything but android
« Reply #8 on: January 09, 2014, 07:24:52 am »
tamboekie, did you try to flash another image?

No, I did not. For the moment, I'm playing with Android.  :)

I'm happy to try another one. Just post a direct link to an image and I will try it. In the past, I have run cubian and lubuntu from SD card. I've never tried them from NAND.