iMX53 : Android image creation on SD card fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Fix Released
|
Critical
|
Guilherme Salgado |
Bug Description
Description:
==========
Creating Android image on sd card fails.
Error message: " No space left on device"
Reproducible:
===========
Yes, 5/5 time
IMPACT:
========
Can't get started with Android image on iMX53
Steps:
==========
1.Download : system.tar.bz2 , boot.tar.bz2 and userdata.tar.bz2
from: https:/
2. download latest l-a-m-c tool
bzr branch lp:linaro-image-tools
3. Connect SD card to host machine(detected as /mnt/sdb in my case) and run command:
./linaro-
OR
./linaro-
Issue:
Image creation failed at:
211344 bytes (211 kB) copied, 0.0865144 s, 2.4 MB/s
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
Hardware:
==========
8GB SD card /tried with 16GB sd card as well.
Software:
==========
https:/
Logs:
======
./linaro-
I see...
Device Mount point Size
/dev/sda none 238475MB
/dev/sda1 / 234483MB
/dev/sda2 none 3990MB
/dev/sda5 none 3990MB
/dev/sdb none 15193MB
/dev/sdc none 0MB
/dev/sdd none 0MB
/dev/sr0 none 0MB
Are you 100% sure, on selecting [/dev/sdb] (y/n)? y
Checking that no-one is using this disk right now ...
OK
Warning: bad partition start (earliest 794625)
Warning: partition 4 does not end at a cylinder boundary
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
Formating boot partition
mkfs.vfat 3.0.9 (31 Jan 2010)
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=userdata
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
131072 inodes, 524272 blocks
26213 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67633152
64 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 29 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=cache
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
65536 inodes, 262128 blocks
13106 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67371008
32 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 20 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=system
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
65536 inodes, 262144 blocks
13107 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67371008
32 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks:
8193, 24577, 40961, 57345, 73729, 204801, 221185
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 29 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
mkfs.vfat 3.0.9 (31 Jan 2010)
Image Name: boot script
Created: Wed Nov 30 20:37:03 2011
Image Type: ARM Linux Script (uncompressed)
Data Size: 357 Bytes = 0.35 kB = 0.00 MB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 349 Bytes = 0.34 kB = 0.00 MB
412+1 records in
412+1 records out
211344 bytes (211 kB) copied, 0.0865144 s, 2.4 MB/s
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: writing `/tmp/tmpt5F9W9
mv: cannot create directory `/tmp/tmpt5F9W9
mv: cannot create directory `/tmp/tmpt5F9W9
mv: cannot create directory `/tmp/tmpt5F9W9
mv: cannot create directory `/tmp/tmpt5F9W9
mv: cannot create directory `/tmp/tmpt5F9W9
mv: cannot create directory `/tmp/tmpt5F9W9
Traceback (most recent call last):
File "./linaro-
populate_
File "/home/
move_
File "/home/
cmd_
File "/home/
raise SubcommandNonZe
linaro_
==========
Related branches
- Mattias Backman (community): Approve
-
Diff: 55 lines (+13/-13)2 files modifiedlinaro_image_tools/media_create/android_boards.py (+1/-1)
linaro_image_tools/media_create/tests/test_media_create.py (+12/-12)
description: | updated |
Changed in linaro-image-tools: | |
importance: | Undecided → Critical |
Changed in linaro-android: | |
milestone: | none → 11.12 |
assignee: | nobody → Zach Pfeffer (pfefferz) |
Changed in linaro-image-tools: | |
assignee: | nobody → Guilherme Salgado (salgado) |
status: | New → In Progress |
Changed in linaro-image-tools: | |
milestone: | none → 2011.12 |
Changed in linaro-image-tools: | |
status: | In Progress → Fix Committed |
no longer affects: | linaro-android |
Changed in linaro-image-tools: | |
status: | Fix Committed → Fix Released |
Some more inputs: snowball_ sd - work fine.)
1. Tried creating images for other hardwares with same LAMC tools ( panda,origen,
2. Tried creating 11.09 images with old LAMC tools(the one's for 11.09 official RC) - works fine
3. Copied 11.09 LAMC tools to 11.11 build - does not work- same issue