flash-kernel fails to handle raw boot partitons on eMMC

Bug #615773 reported by Olivier Naudan
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Release Notes for Ubuntu
Invalid
Undecided
Canonical ARM Developers
flash-kernel (Ubuntu)
Invalid
Wishlist
Canonical ARM Developers
Maverick
Won't Fix
Wishlist
Canonical ARM Developers
Natty
Won't Fix
Wishlist
Canonical ARM Developers
Oneiric
Won't Fix
Undecided
Unassigned
initramfs-tools (Ubuntu)
Invalid
Undecided
Unassigned
Maverick
Invalid
Undecided
Unassigned
Natty
Invalid
Undecided
Unassigned
Oneiric
Won't Fix
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

Tags: armel
Revision history for this message
Olivier Naudan (o-naudan) wrote :

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

Revision history for this message
Michael Opdenacker (michael-opdenacker) wrote :

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"

Revision history for this message
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?

Revision history for this message
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)
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)
Changed in flash-kernel (Ubuntu Natty):
milestone: natty-alpha-2 → ubuntu-11.04-beta
Oliver Grawert (ogra)
Changed in flash-kernel (Ubuntu Natty):
importance: High → Medium
milestone: ubuntu-11.04-beta-1 → none
Oliver Grawert (ogra)
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
Revision history for this message
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
Revision history for this message
Rolf Leggewie (r0lf) wrote :

maverick has seen the end of its life and is no longer receiving any updates. Marking the maverick task for this ticket as "Won't Fix".

Changed in flash-kernel (Ubuntu Maverick):
status: Confirmed → Won't Fix
Revision history for this message
Rolf Leggewie (r0lf) wrote :

natty has seen the end of its life and is no longer receiving any updates. Marking the natty task for this ticket as "Won't Fix".

Changed in flash-kernel (Ubuntu Natty):
status: Confirmed → Won't Fix
Revision history for this message
Rolf Leggewie (r0lf) wrote :

oneiric has seen the end of its life and is no longer receiving any updates. Marking the oneiric task for this ticket as "Won't Fix".

Changed in flash-kernel (Ubuntu Oneiric):
status: Confirmed → Won't Fix
Changed in initramfs-tools (Ubuntu Oneiric):
status: New → Won't Fix
Revision history for this message
Michael Opdenacker (michael-opdenacker) wrote :

Marking as invalid, too old

Changed in flash-kernel (Ubuntu):
status: Confirmed → Invalid
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.