Hi Team,
I am trying to install prebuilt android images into sd card by giving following command:
./linaro-android-media-create --mmc /dev/sdd --dev panda --system /home/srakesh/Downloads/lin1/system.tar.bz2 --userdata /home/srakesh/Downloads/lin1/userdata.tar.bz2 --boot /home/srakesh/Downloads/lin1/boot.tar.bz2
after giving this command i am getting following log:
==================================================================== linaro-android-media-create is EXPERIMENTAL
The command line parameters as well as the distribution format will be changed and we will not keep backward compatibility for the current version here. ====================================================================
I see... Device Mount point Size /dev/sda none 476940MB /dev/sda1 / 333887MB /dev/sda2 none 47682MB /dev/sda5 /tmp 28609MB /dev/sda6 none 19072MB /dev/sdb none 0MB /dev/sdc none 0MB /dev/sdd none 3781MB /dev/sde none 0MB /dev/sr0 none 0MB Are you 100% sure, on selecting [/dev/sdd] (y/n)? y Checking that no-one is using this disk right now ... OK Warning: bad partition start (earliest 1318913) Warning: partition 1 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.7 (24 Dec 2009) mke2fs 1.41.11 (14-Mar-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 37 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. mke2fs 1.41.11 (14-Mar-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, 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 25 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. mke2fs 1.41.11 (14-Mar-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 23 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. mkfs.vfat 3.0.7 (24 Dec 2009) Image Name: boot script Created: Wed Apr 4 15:25:15 2012 Image Type: ARM Linux Script (uncompressed) Data Size: 331 Bytes = 0.32 kB = 0.00 MB Load Address: 0x00000000 Entry Point: 0x00000000 Contents: Image 0: 323 Bytes = 0 kB = 0 MB mv: writing `/tmp/tmprZaNqT/system-disc/modules/snd-pcm-oss.ko': No space left on device mv: writing `/tmp/tmprZaNqT/system-disc/modules/wl1273-core.ko': No space left on device mv: writing `/tmp/tmprZaNqT/system-disc/modules/hidp.ko': No space left on device mv: writing `/tmp/tmprZaNqT/system-disc/modules/snd-mixer-oss.ko': No space left on device mv: writing `/tmp/tmprZaNqT/system-disc/modules/btwilink.ko': No space left on device mv: cannot create directory `/tmp/tmprZaNqT/system-disc/share/ffmpeg': No space left on device mv: cannot create directory `/tmp/tmprZaNqT/system-disc/tts': No space left on device mv: cannot create directory `/tmp/tmprZaNqT/system-disc/usr': No space left on device mv: cannot create directory `/tmp/tmprZaNqT/system-disc/vendor': No space left on device mv: cannot create directory `/tmp/tmprZaNqT/system-disc/xbin': No space left on device Traceback (most recent call last): File "./linaro-android-media-create", line 145, in <module> populate_partition(SYSTEM_DIR + "/system", SYSTEM_DISK, system_partition) File "/home/srakesh/Downloads/linaro-image-tools-0.4.8/linaro_image_tools/media_create/rootfs.py", line 29, in populate_partition move_contents(content_dir, root_disk) File "/home/srakesh/Downloads/linaro-image-tools-0.4.8/linaro_image_tools/media_create/rootfs.py", line 120, in move_contents cmd_runner.run(mv_cmd, as_root=True).wait() File "/home/srakesh/Downloads/linaro-image-tools-0.4.8/linaro_image_tools/cmd_runner.py", line 87, in wait raise SubcommandNonZeroReturnValue(self._my_args, returncode) linaro_image_tools.cmd_runner.SubcommandNonZeroReturnValue: Sub process "['mv', '/tmp/tmprZaNqT/system/system/app', '/tmp/tmprZaNqT/system/system/bin', '/tmp/tmprZaNqT/system/system/build.prop', '/tmp/tmprZaNqT/system/system/etc', '/tmp/tmprZaNqT/system/system/fonts', '/tmp/tmprZaNqT/system/system/framework', '/tmp/tmprZaNqT/system/system/include', '/tmp/tmprZaNqT/system/system/lib', '/tmp/tmprZaNqT/system/system/media', '/tmp/tmprZaNqT/system/system/modules', '/tmp/tmprZaNqT/system/system/share', '/tmp/tmprZaNqT/system/system/tts', '/tmp/tmprZaNqT/system/system/usr', '/tmp/tmprZaNqT/system/system/vendor', '/tmp/tmprZaNqT/system/system/xbin', '/tmp/tmprZaNqT/system-disc']" returned a non-zero value: 1
so please help me in this regard.
Thanks & Regards ---------------- Rakesh S
On 04/04/2012 05:10 AM, Rakesh Shasanapuri wrote:
I am trying to install prebuilt android images into sd card by giving following command: ./linaro-android-media-create --mmc /dev/sdd --dev panda --system /home/srakesh/Downloads/lin1/system.tar.bz2 --userdata /home/srakesh/Downloads/lin1/userdata.tar.bz2 --boot /home/srakesh/Downloads/lin1/boot.tar.bz2 after giving this command i am getting following log:
==================================================================== linaro-android-media-create is EXPERIMENTAL
The command line parameters as well as the distribution format will be changed and we will not keep backward compatibility for the current version here. ====================================================================
Can't say this is your problem, but you are on an older version of linaro-android-media-create. I think I removed the warning message above several months ago.
linaro-android@lists.linaro.org