Unable create image file with 2011.10 release.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I downloaded the 2011.10 release and it can create SD card sucessfully with the following hwpack and rootfs.
hwpack: hwpack_
rootfs: linaro-
But it could not create a image file by the paramter --image_file, it reported successfully executed. but no file found.
the following is the detail information:
./linaro-
-------
Installing (linaro-
Unpacking hardware pack ...Done
Updating apt package lists ...
Ign file: ./ InRelease
Ign file: ./ Release.gpg
Ign file: ./ Release
Ign file: ./ Translation-en
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
devio flash-kernel hwpack-
uboot-mkimage wireless-crda
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/28.1 MB of archives.
After this operation, 0 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
wireless-crda linux-image-
u-boot-tools uboot-mkimage
Install these packages without verification [y/N]? y
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package wireless-crda.
(Reading database ... 93546 files and directories currently installed.)
Unpacking wireless-crda (from .../wireless-
Selecting previously deselected package linux-image-
Unpacking linux-image-
Done.
Selecting previously deselected package devio.
Unpacking devio (from .../devio_
Selecting previously deselected package flash-kernel.
Unpacking flash-kernel (from .../flash-
Selecting previously deselected package linux-firmware.
Unpacking linux-firmware (from .../linux-
Selecting previously deselected package linux-image-
Unpacking linux-image-
Selecting previously deselected package u-boot-
Unpacking u-boot-
Selecting previously deselected package u-boot-
Unpacking u-boot-
Selecting previously deselected package hwpack-
Unpacking hwpack-
Selecting previously deselected package u-boot-tools.
Unpacking u-boot-tools (from .../u-boot-
Selecting previously deselected package uboot-mkimage.
Unpacking uboot-mkimage (from .../uboot-
Processing triggers for man-db ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up wireless-crda (1.14) ...
Setting up linux-image-
Running depmod.
update-initramfs: deferring update (hook will be called later)
/usr/share/
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
/bin/df: Warning: cannot read table of mounted file systems: No such file or directory
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
/etc/kernel/
Setting up devio (1.2-1build1) ...
Setting up flash-kernel (2.28ubuntu34li
Setting up linux-firmware (1.60) ...
Setting up linux-image-
Setting up u-boot-
Setting up u-boot-
Setting up hwpack-
Setting up u-boot-tools (2011.06-3ubuntu1) ...
Setting up uboot-mkimage (2011.06-3ubuntu1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
devio set to automatically installed.
linux-image-
flash-kernel set to automatically installed.
linux-image-
u-boot-tools set to automatically installed.
u-boot-
linux-firmware set to automatically installed.
uboot-mkimage set to automatically installed.
wireless-crda set to automatically installed.
u-boot-
N: This command is deprecated. Please use 'apt-mark auto' and 'apt-mark manual' instead.
Done
Cleaning up ...W: GPG error: http://
Done
-------
proc umounted
Warning: 3600M is not a block device
Disk 3600M: cannot get geometry
BLKRRPART: Inappropriate ioctl for device
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)
Loop device does not match a floppy size, using default hd params
Formating root partition
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=rootfs
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
193152 inodes, 772096 blocks
38604 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=792723456
24 block groups
32768 blocks per group, 32768 fragments per group
8048 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 24 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
396+1 records in
396+1 records out
202928 bytes (203 kB) copied, 0.0503509 s, 4.0 MB/s
Image Name: Linux
Created: Wed Nov 9 17:46:33 2011
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4219448 Bytes = 4120.55 kB = 4.02 MB
Load Address: 70008000
Entry Point: 70008000
Image Name: initramfs
Created: Wed Nov 9 17:46:34 2011
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 1864643 Bytes = 1820.94 kB = 1.78 MB
Load Address: 00000000
Entry Point: 00000000
Image Name: boot script
Created: Wed Nov 9 17:46:34 2011
Image Type: ARM Linux Script (uncompressed)
Data Size: 305 Bytes = 0.30 kB = 0.00 MB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 297 Bytes = 0.29 kB = 0.00 MB
Populating rootfs partition
Be patient, this may take a few minutes
Creating /etc/flash-
Updating /etc/network/
Done creating Linaro image on 3600M
Changed in linaro-image-tools: | |
status: | New → Invalid |
On Wed, Nov 9, 2011 at 11:19 AM, Dexter Ji <email address hidden> wrote: linaro- lt-mx5_ 20111107- 0_armel_ supported. tar.gz o-ubuntu- desktop- tar-20111107- 0.tar.gz media-create --image_file ../mx53_o_1107.img --image_file=3600M --dev mx53loco --hwpack ../hwpack_ linaro- lt-mx5_ 20111107- 0_armel_ supported. tar.gz --binary ../linaro- o-ubuntu- desktop- tar-20111107- 0.tar.gz
> Public bug reported:
>
> I downloaded the 2011.10 release and it can create SD card sucessfully with the following hwpack and rootfs.
> hwpack: hwpack_
> rootfs: linaro-
>
> But it could not create a image file by the paramter --image_file, it
> reported successfully executed. but no file found.
>
> the following is the detail information:
>
> ./linaro-
You actually asked it to create the file '3600M' in the current
directory, so you'll find it there. You probably wanted the second
image_file to be image-size.
> ------- ------- ------- ------- ------- ------- ------- ------- ---- hwpack- install) hwpack_ linaro- lt-mx5_ 20111107- 0_armel_ supported. tar.gz in target rootfs. linaro- lt-mx5 linux-firmware linux-image- 3.1.0-1001- linaro- lt-mx5 linux-image- linaro- lt-mx5 u-boot- linaro- lt-mx53loco u-boot- linaro- mx51evk u-boot-tools 3.1.0-1001- linaro- lt-mx5 devio flash-kernel linux-firmware linux-image- linaro- lt-mx5 u-boot- linaro- mx51evk u-boot- linaro- lt-mx53loco hwpack- linaro- lt-mx5 crda_1. 14_armel. deb) ... 3.1.0-1001- linaro- lt-mx5. 3.1.0-1001- linaro- lt-mx5 (from .../linux- image-3. 1.0-1001- linaro- lt-mx5_ 3.1.0-1001. 6_armel. deb) ... 1.2-1build1_ armel.deb) ... kernel_ 2.28ubuntu34lin aro1_armel. deb) ... firmware_ 1.60_all. deb) ... linaro- lt-mx5. linaro- lt-mx5 (from .../linux- image-linaro- lt-mx5_ 3.1.0.1001. 1_armel. deb) ...
> Installing (linaro-
> Unpacking hardware pack ...Done
> Updating apt package lists ...
> Ign file: ./ InRelease
> Ign file: ./ Release.gpg
> Ign file: ./ Release
> Ign file: ./ Translation-en
> W: Some index files failed to download. They have been ignored, or old ones used instead.
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following NEW packages will be installed:
> devio flash-kernel hwpack-
> uboot-mkimage wireless-crda
> 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0 B/28.1 MB of archives.
> After this operation, 0 B of additional disk space will be used.
> WARNING: The following packages cannot be authenticated!
> wireless-crda linux-image-
> u-boot-tools uboot-mkimage
> Install these packages without verification [y/N]? y
> Can not write log, openpty() failed (/dev/pts not mounted?)
> Selecting previously deselected package wireless-crda.
> (Reading database ... 93546 files and directories currently installed.)
> Unpacking wireless-crda (from .../wireless-
> Selecting previously deselected package linux-image-
> Unpacking linux-image-
> Done.
> Selecting previously deselected package devio.
> Unpacking devio (from .../devio_
> Selecting previously deselected package flash-kernel.
> Unpacking flash-kernel (from .../flash-
> Selecting previously deselected package linux-firmware.
> Unpacking linux-firmware (from .../linux-
> Selecting previously deselected package linux-image-
> Unpacking linux-image-
...