Closed Bug 1204283 Opened 9 years ago Closed 6 years ago

FAILED (data transfer failure (Protocol error))

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: paul.aguilar.enriquez, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0
Build ID: 20150826185918

Steps to reproduce:

Compiled the master (v2.5) with Spark enabled and tried to flash in the device.

This happens with Hamachi and Inari.


Actual results:

Result of ./build.sh -j1

Install system fs image: out/target/product/inari/system.img
out/target/product/inari/system.img+ total size is 224034624
Target ram disk: out/target/product/inari/ramdisk.img
Target userdata fs image: out/target/product/inari/userdata.img
out/target/product/inari/userdata.img total size is 4224

real	145m36.642s
user	105m37.988s
sys	4m30.412s

__________________________________________________________________

Result of ./flash.sh -f

rm failed for -rf, No such file or directory
< waiting for device >
erasing 'cache'...
OKAY [  0.531s]
finished. total time: 0.531s
erasing 'userdata'...
OKAY [  1.406s]
finished. total time: 1.406s
sending 'userdata' (4 KB)...
OKAY [  0.004s]
writing 'userdata'...
OKAY [  1.407s]
finished. total time: 1.411s
sending 'system' (218783 KB)...
FAILED (data transfer failure (Protocol error))
finished. total time: 14.540s

I just have the output from Inari, but is the same with Hamachi, only change the image size a little bit.


Expected results:

The expected result is that the system.img and userdata.img been flashed.

Iguess the problem is the size of the image, before when I compiled other versions, the image size was smaller than the actual result.
Compiling master(2.5) for Hamachi

output from "build.sh -j1"

Install system fs image: out/target/product/hamachi/system.img
out/target/product/hamachi/system.img+ total size is 213390144
Target ram disk: out/target/product/hamachi/ramdisk.img
Target userdata fs image: out/target/product/hamachi/userdata.img
out/target/product/hamachi/userdata.img total size is 4224

output from "flash.sh -f"

rm failed for -rf, No such file or directory
< waiting for device >
erasing 'cache'...
OKAY [  0.475s]
finished. total time: 0.475s
erasing 'userdata'...
OKAY [  1.908s]
finished. total time: 1.908s
sending 'userdata' (4 KB)...
OKAY [  0.004s]
writing 'userdata'...
OKAY [  1.916s]
finished. total time: 1.920s
sending 'system' (208388 KB)...
OKAY [ 18.956s]
writing 'system'...
FAILED (remote: flash write failure)
finished. total time: 56.236s


Any idea to fix this? my .userconfig just have VARIANT=user.
This problem persist.
Now the generated image is bigger than the system partition so I cant compile.
ni? this issue to Farmer since he is working porting relative issues.
Flags: needinfo?(fatseng)
I suggest you to use flame since Hamachi and Inari are old projects.
No one guarantees they could work with v2.5
Flags: needinfo?(fatseng)
So, devices from first generation are deprecated? just will die? :/ dont have any plan for that devices?
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.