0.4.1 linaro-media-create fails to create boot partition on imx51

Bug #705410 reported by Alexander Sack
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro Image Tools
Fix Released
High
Guilherme Salgado
linaro-image-tools (Ubuntu)
Fix Released
High
Loïc Minier
Natty
Fix Released
High
Loïc Minier

Bug Description

seems that rewrite of l-m-c doesnt special case imx51 and does not create boot/ partition for uImage and uInintrd ... i see that mkimage is used to create them, but when trying to boot from the SD i only see

 MMC:

on the serial. It then stops. Checking the SDcard there only is the non-fs data and rootfs partition while there should be three:

1. non-fs data (u-boot)
2. boot partition (fat for uImage and uInintrd and boot.scr)
3. rootfs partition (ext3 or something for the rootfs)

Related branches

Revision history for this message
Alexander Sack (asac) wrote :

blocking release

Changed in linaro-image-tools:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Alexander Sack (asac) wrote :

we should fix this asap. thanks!

Changed in linaro-image-tools (Ubuntu):
importance: Undecided → High
milestone: none → natty-alpha-2
status: New → Triaged
Revision history for this message
Alexander Sack (asac) wrote :

from the other bug that plars filed:

"I'm running l-m-c like this:
./linaro-image-tools/linaro-media-create --rootfs ext3 --hwpack-force-yes --dev mx51evk --binary linaro-m-headless-tar-20101108-2.tar.gz --hwpack hwpack_linaro-imx51_20101110-0_armel_unsupported.tar.gz --image_file mx51evk.img

When I use the latest revision of l-m-c, I see the following partition layout if I used parted to examine the resulting .img file:
 Number Start End Size Type File system Flags
  1 32.3kB 74.0MB 74.0MB primary boot, lba
  2 74.0MB 2147MB 2073MB primary ext3

With rev 237 and older, I get this:
Number Start End Size Type File system Flags
 1 32.3kB 74.0MB 74.0MB primary fat32 boot, lba
 2 74.0MB 2147MB 2073MB primary ext3

I don't have a mx51 to try this with at the moment, but I don't expect that will produce a bootable image.
bisecting seems to indicate this changed between revision 237 and 238."

Paul Larson (pwlars)
Changed in linaro-image-tools:
assignee: nobody → Guilherme Salgado (salgado)
Loïc Minier (lool)
Changed in linaro-image-tools:
milestone: none → 0.4.2
Changed in linaro-image-tools:
status: Confirmed → In Progress
Changed in linaro-image-tools:
status: In Progress → Fix Released
Revision history for this message
Alexander Sack (asac) wrote :

confirm that this is fixed in revno 255

Loïc Minier (lool)
Changed in linaro-image-tools:
status: Fix Released → Fix Committed
Loïc Minier (lool)
Changed in linaro-image-tools:
status: Fix Committed → Fix Released
Loïc Minier (lool)
Changed in linaro-image-tools (Ubuntu Natty):
assignee: nobody → Loïc Minier (lool)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linaro-image-tools - 0.4.2-0ubuntu1

---------------
linaro-image-tools (0.4.2-0ubuntu1) natty; urgency=low

  * New upstream release.
    - Switch to non-native mode and drop Vcs-Bzr.
    - Build-depend on python-distutils-extra for DistutilsExtra.
    - Fixes support for mx51evk images; LP: #705410.
    - New or noteworthy:
      . Support for Gumstix Overo boards has been added.
      . Support for Freescale mx51evk (Babbage) boards has been fixed.
      . Support for ARM Versatile Express boards has been fixed.
      . The fdisk command is not required anymore.
      . The UUID of the rootfs is not pre-computed anymore; this allows btrfs
        to be used for the root filesystem.
      . Linaro Image Tools are now released as a standalone tarball; you need
        https://launchpad.net/python-distutils-extra to run setup.py.
      . Support for 10.11 / linaro-m images has been restored.
      . The hardware pack handling code is now GPLv2+
  * Append /sbin to PATH and export it as to locate parted and sfdisk.
 -- Loic Minier <email address hidden> Fri, 28 Jan 2011 22:09:14 +0100

Changed in linaro-image-tools (Ubuntu Natty):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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