I upgrade my linux-util to precise version, and found the same error like Yongqin's when using partx.
But I say it doesn't matter, it will finish the image, I can dd it to a SD card and make it boot up, the only missing is that partition making process doesn't happen automatically when first boot up. The error I met:
$ ./lava-create-master imx53 -o ../masteimx53.img --verbose
LAVA master images are easy to make, just three steps:
1) Preparing vanilla Linaro image
* Inhibiting udisks...
* Re-using existing vanilla image: /home/spring/.cache/lava/master-image-scripts/pristine-images/imx53-vanilla.img
2) Converting vanilla image to LAVA master image
* Creating a copy of vanilla image...
* Attaching master image to loopback device...
* Adding partitions to the loopback device...
partx: /dev/loop0: error adding partitions 1-3
* Removing loopback device partitions...
partx: defined range <1:0> does not make sense
$ partx --show ../master_imx53.img
NR START END SECTORS SIZE NAME UUID
1 1 8191 8191 4M
2 8192 114687 106496 52M
3 114688 4194303 4079616 2G
I upgrade my linux-util to precise version, and found the same error like Yongqin's when using partx.
But I say it doesn't matter, it will finish the image, I can dd it to a SD card and make it boot up, the only missing is that partition making process doesn't happen automatically when first boot up. The error I met:
$ ./lava- create- master imx53 -o ../masteimx53.img --verbose
LAVA master images are easy to make, just three steps:
1) Preparing vanilla Linaro image .cache/ lava/master- image-scripts/ pristine- images/ imx53-vanilla. img
* Inhibiting udisks...
* Re-using existing vanilla image: /home/spring/
2) Converting vanilla image to LAVA master image
* Creating a copy of vanilla image...
* Attaching master image to loopback device...
* Adding partitions to the loopback device...
partx: /dev/loop0: error adding partitions 1-3
* Removing loopback device partitions...
partx: defined range <1:0> does not make sense
$ partx --show ../master_imx53.img
NR START END SECTORS SIZE NAME UUID
1 1 8191 8191 4M
2 8192 114687 106496 52M
3 114688 4194303 4079616 2G