Ubuntu

flash-kernel fails to handle raw boot partitons on eMMC

Reported by Olivier Naudan on 2010-08-10
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Release Notes for Ubuntu
Undecided
Canonical ARM Developers
flash-kernel (Ubuntu)
Wishlist
Canonical ARM Developers
Maverick
Wishlist
Canonical ARM Developers
Natty
Wishlist
Canonical ARM Developers
Oneiric
Undecided
Unassigned
initramfs-tools (Ubuntu)
Undecided
Unassigned
Maverick
Undecided
Unassigned
Natty
Undecided
Unassigned
Oneiric
Undecided
Unassigned

Bug Description

Binary package hint: initramfs-tools

The postinst trigger calls update-initramfs which fails on "Cannot find mtd partition 'Kernel'"
Configuration: eMMC memory, so no NAND MTD partition

Olivier Naudan (o-naudan) wrote :

This problem appeared recently, likely on initramfs-tools 0.97.2ubuntu2

Here's a quick 'n dirty workaround reported by Olivier Naudan. This is not a fix at all, of course!

$ sudo vi /var/lib/dpkg/info/initramfs-tools.postinst
# Add "exit 0" at the beginning of the script
$ sudo dpkg --configure initramfs-tools
$ sudo vi /var/lib/dpkg/info/initramfs-tools.postinst
# Remove "exit 0"

Nicolas Dechesne (ndec) wrote :

@ogra: I would guess that this is because the flash script has not been updated yet to support Blaze eMMC. It detects properly that it does not boot from SD card, so it then believes it is running from NAND. Is that correct?

Oliver Grawert (ogra) wrote :

flash-kernel looks for /etc/flash-kernel.conf and then falls back to a generic method (see
https://blueprints.edge.launchpad.net/ubuntu/+spec/mobile-maverick-arm-improved-subarch-detection)

if /etc/flash-kernel.conf exists and contains a value for UBOOT_PART it will try to update a vfat on that partition that u-boot can use for booting.

we are a) missing a switch for RAW partitons yet as the blaze needs and b) a method to handle these kind of partitions at all.

Changed in initramfs-tools (Ubuntu):
status: New → Invalid
Changed in flash-kernel (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Changed in flash-kernel (Ubuntu Maverick):
milestone: none → ubuntu-10.10
tags: added: armel
summary: - postinst trigger fails on eMMC
+ flash-kernel fails to handle raw boot partitons on eMMC
Oliver Grawert (ogra) on 2010-09-24
Changed in flash-kernel (Ubuntu Maverick):
milestone: ubuntu-10.10 → maverick-updates
Changed in flash-kernel (Ubuntu Maverick):
assignee: nobody → Canonical ARM Developers (canonical-arm-dev)
Changed in ubuntu-release-notes:
assignee: nobody → Canonical ARM Developers (canonical-arm-dev)
Changed in flash-kernel (Ubuntu Natty):
milestone: maverick-updates → natty-alpha-1
Changed in flash-kernel (Ubuntu Natty):
milestone: natty-alpha-1 → natty-alpha-2
Oliver Grawert (ogra) on 2011-01-25
Changed in flash-kernel (Ubuntu Natty):
milestone: natty-alpha-2 → ubuntu-11.04-beta
Oliver Grawert (ogra) on 2011-03-28
Changed in flash-kernel (Ubuntu Natty):
importance: High → Medium
milestone: ubuntu-11.04-beta-1 → none
Oliver Grawert (ogra) on 2011-04-01
Changed in flash-kernel (Ubuntu Natty):
importance: Medium → Wishlist
Changed in flash-kernel (Ubuntu Maverick):
importance: High → Wishlist
Changed in flash-kernel (Ubuntu Oneiric):
status: New → Confirmed
Oliver Grawert (ogra) wrote :

this is a whishlist item for a feature non of the ubuntu images provides yet, there is no need to release note it.
for oneiric we have a spec to discuss building images with raw partitions instead of (or additionally to) vfat, if this gets implemented, flash-kernel will get support for such kind of images. before we have general support for raw boot partitions, we will neither need to milestone nor release note this whishlist item.

Changed in ubuntu-release-notes:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers