flash-kernel depends on uboot-mkimage for omap, but uboot-mkimage is missing from the headless image

Bug #628848 reported by Dave Martin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro Seeds
Fix Released
High
Unassigned
linux-linaro (Ubuntu)
Fix Released
High
John Rigby
Maverick
Fix Released
High
John Rigby

Bug Description

Platform: OMAP3 Beagle C3 (armel)
Observed in linaro beta: http://releases.linaro.org/platform/linaro-m/headless/beta/linaro-m-headless-tar-20100830-2.tar.gz

Setting up linux-image-2.6.35-1004-linaro-omap (2.6.35-1004.9) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.35-1004-linaro-omap
Using u-boot partition: /dev/mmcblk0p1
Creating backups of uImage and uInitrd... done.
Generating kernel u-boot image... /usr/sbin/flash-kernel: 823: mkimage: not foun
d
Failed to create initrd image.
dpkg: error processing linux-image-2.6.35-1004-linaro-omap (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up ifupdown (0.6.10ubuntu3) ...
No apport report written because MaxReports is reached already
                                                              start: Job is alre
ady running: network-interface-security
Errors were encountered while processing:
 linux-image-2.6.35-1004-linaro-omap
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Dave Martin (dave-martin-arm) wrote :

Note: this breaks upgrading of the linux-image-* package

By consequence, it also breaks regular package upgrading via apt-get upgrade / dist-upgrade, since the unconfigurable kernel package blocks the package configuration queue.

Loïc Minier (lool)
Changed in linaro:
importance: Undecided → High
Revision history for this message
Tom Gall (tom-gall) wrote :

Just ran into this while testing out the linaro-alip meta package on arm ...

Revision history for this message
Jamie Bennett (jamiebennett) wrote :

according to dmart, a temporary work around is:

apt-get install uboot-mkimage
dpkg --pending --configure

Correct solution is to have the OMAP kernel Recommend: uboot-mkimage

Changed in linaro:
assignee: nobody → John Rigby (jcrigby)
status: New → Confirmed
affects: linaro → linux-linaro
Revision history for this message
Loïc Minier (lool) wrote :

The correct solution is to make sure that uboot-mkimage is installed when we want support for boards which need it; it might be a task, a meta-package, or just arranged for at image build time.

It's generally wrong to have the kernel require a specific use case for the zImage, but now that this is out, the best way to fix it is probably this dependency of the kernel on the tool (which really one of the flash-kernel backends).

Revision history for this message
Steve Langasek (vorlon) wrote :

This is actually a packaging bug, so let's assign this to the package rather than the project.

As discussed on IRC, we also want the linaro image build scripts to pull in uboot-mkimage directly since there is not a 1:1 correlation between bootloaders and kernel images, so retargeting that task to somewhere more appropriate.

Changed in linux-linaro (Ubuntu):
status: New → Triaged
importance: Undecided → High
assignee: nobody → John Rigby (jcrigby)
affects: linux-linaro → linaro-image
affects: linaro-image → linaro-seeds
Steve Langasek (vorlon)
Changed in linaro-seeds:
assignee: John Rigby (jcrigby) → nobody
Loïc Minier (lool)
Changed in linux-linaro (Ubuntu):
milestone: none → ubuntu-10.10
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-linaro - 2.6.35-1005.10

---------------
linux-linaro (2.6.35-1005.10) maverick; urgency=low

  [ Upstream Kernel Changes ]

  * mmc: build fix: mmc_pm_notify is only available with CONFIG_PM=y

  [ John Rigby ]

  * LINARO: rebase on linux-linaro-2.6.35 and Ubuntu-2.6.35-20.29 merge
  * LINARO: [Config] Turn on CONFIG_HIGHMEM for vexpress
  * LINARO: Update Vcs-Git
  * LINARO: add Recommends uboot-mkimage
    - LP: #628848
 -- John Rigby <email address hidden> Wed, 08 Sep 2010 10:03:22 -0600

Changed in linux-linaro (Ubuntu Maverick):
status: Triaged → Fix Released
Changed in linaro-seeds:
status: Confirmed → Fix Released
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.