Shouldn't hardcode mmcblk0

Bug #352260 reported by Loïc Minier
4
Affects Status Importance Assigned to Milestone
flash-kernel (Ubuntu)
Fix Released
High
Loïc Minier

Bug Description

Hi

flash-kernel works on most platforms by looking at a static place with all the MTD partitions: /proc/mtd; on imx51 it writes to SD card instead of MTD, and that currently means hardcoding /dev/mmcblk0 which is a bit crude.

flash-kernel should read a .conf to set this device; this would avoid hardcoding in the script. This file should be written by the installer via the udeb logic.

Bye

Loïc Minier (lool)
Changed in flash-kernel:
assignee: nobody → lool
importance: Undecided → High
status: New → Triaged
Revision history for this message
Loïc Minier (lool) wrote :

I uploaded:
flash-kernel (2.13ubuntu4) jaunty; urgency=low

  * Used named signals for "trap".
  * Source /etc/flash-kernel.conf if present.
  * Babbage: rename $dev to $fis_dev.
  * Babbage: don't hardcode $fis_dev, $fis_offset_hex, and $fis_size_hex but
    read them from /etc/flash-kernel.conf instead.

So it only misses generation of flash-kernel.conf in the installer. :-)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package flash-kernel - 2.13ubuntu5

---------------
flash-kernel (2.13ubuntu5) jaunty; urgency=low

  * add support for Freescale MX51 Babbage Board to
    flash-kernel-installer.postinst (LP: #345534)
  * create /target/etc/flash-kernel.conf from flash-kernel-installer.postinst
    (LP: #352260)
  * detect UUID of /target and set proper cmdline upon install with
    flash-kernel-installer.postinst

 -- Oliver Grawert <email address hidden> Tue, 31 Mar 2009 20:47:01 +0200

Changed in flash-kernel:
status: Triaged → 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.