linaro-media-create fails for snowball_emmc

Bug #893989 reported by Fathi Boudra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Image Tools
Invalid
Undecided
Mattias Backman

Bug Description

$ linaro-media-create --version
linaro-media-create 2011.11 : qemu-arm version 0.15.1 (Debian 0.15.1+dfsg-1),
Copyright (c) 2003-2008 Fabrice Bellard

$ wget http://snapshots.linaro.org/oneiric/linaro-o-ubuntu-desktop/20111121/0/images/tar/linaro-o-ubuntu-desktop-tar-20111121-0.tar.gz http://snapshots.linaro.org/oneiric/lt-snowball-v3-oneiric/20111122/3/images/hwpack/hwpack_linaro-lt-snowball-v3_20111122-3_armel_supported.tar.gz

$ sudo linaro-media-create --image-file image.img --dev snowball_emmc --hwpack hwpack_linaro-lt-snowball-v3_20111122-3_armel_supported.tar.gz --binary linaro-o-ubuntu-desktop-tar-20111121-0.tar.gz

[...]

Traceback (most recent call last):
  File "/usr/bin/linaro-media-create", line 176, in <module>
    args.is_live, args.is_lowmem, args.consoles)
  File "/usr/lib/pymodules/python2.7/linaro_image_tools/media_create/boards.py", line 754, in populate_boot
    rootfs_uuid, boot_disk, boot_device_or_file)
  File "/usr/lib/pymodules/python2.7/linaro_image_tools/media_create/boards.py", line 634, in make_boot_files
    boot_device_or_file, k_img_data, i_img_data, d_img_data)
  File "/usr/lib/pymodules/python2.7/linaro_image_tools/media_create/boards.py", line 1058, in _make_boot_files
    cls.populate_raw_partition(chroot_dir, boot_device_or_file)
  File "/usr/lib/pymodules/python2.7/linaro_image_tools/media_create/boards.py", line 1065, in populate_raw_partition
    new_files = cls.get_file_info(chroot_dir)
  File "/usr/lib/pymodules/python2.7/linaro_image_tools/media_create/boards.py", line 1145, in get_file_info
    "please check the startfiles config file." % file_data[1]
AssertionError: File u-boot.bin does not exist, please check the startfiles config file.

Fathi Boudra (fboudra)
Changed in linaro-image-tools:
assignee: nobody → Mattias Backman (mabac)
Revision history for this message
Lee Jones (lag) wrote :

We have two issues here:

= 11.11 l-i-t and you will hit this bug
< 11.11 l-i-t and you will hit can't find binary/etc/resolv.conf error with new rootfs'.

linaro-media-create needs to function using both old format hwpacks and the new formatted ones (NB: there are currently no newly formatted hwacks in existence).

Revision history for this message
Fathi Boudra (fboudra) wrote :
Changed in linaro-landing-team-ste:
status: New → Fix Released
Revision history for this message
Mattias Backman (mabac) wrote :

Setting to invalid since l-m-c behaved as expected with this hwpack configuration. Let me know if you disagree?

Changed in linaro-image-tools:
status: New → Invalid
Anmar Oueja (anmar)
Changed in linaro-landing-team-ste:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.