[Bug 1306841] Re: Wandboard i.MX6 Quad Board has different boot device
Michael Jeanson
mjeanson at gmail.com
Thu Aug 27 19:57:02 UTC 2015
I tested 3.0~rc.4ubuntu49.6 in trusty-proposed and I confirm I can now
run flash-kernel successfully on a Wandboard Quad without manually
editing all.db
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to flash-kernel in Ubuntu.
https://bugs.launchpad.net/bugs/1306841
Title:
Wandboard i.MX6 Quad Board has different boot device
Status in flash-kernel package in Ubuntu:
Fix Released
Status in flash-kernel source package in Trusty:
Fix Committed
Status in flash-kernel source package in Vivid:
Fix Committed
Bug description:
== Rationale ==
The wandboards have two microsd slots, one directly tied to the SoC and one on the main board. The wandboard only boots from the one tied to the SoC.
Unfortunately, the device numbering is wrong, in that when only the
SoC slot is populated, it'll appear as mmcblk0, but when both slots
are, the SoC slot becomes mmcblk1.
So far flash-kernel has only supported the configuration with both
slots populated, but it's reasonably common for people to only use the
SoC slot and then use the SATA port to attach more storage.
The fix is to use the constant path name from udev which always points
to the right slot.
== Testcase ==
- Run flash-kernel before update => fails to find sdcard
- Run flash-kernel after update => finds sdcard and install kernel
- Reboot to check that things boot as expected
== Regression potential ==
Should a system somehow miss the /dev/disk/by-path symlink, flash-kernel may fail to install the new kernel. Note that testing on 5 different boards showed that this symlink is constant, regardless of storage configuration, so this shouldn't be an actual problem.
== Original bug report ==
The Wandboard i.MX6 Quad Board has two sdcard slots. The boot device is set to "/dev/mmcblk1p1", but this device only exists if both sdcard slots are used. I use just one sdcard and my boot device is called "/dev/mmcblk0p1".
flash-kernel need to dynamically detect the correct sdcard slot or use
a unique device name.
I have following device symlink on my system:
/dev/disk/by-id/mmc-SD16G_0xd62aac9a-part1
/dev/disk/by-path/platform-2198000.usdhc-part1
/dev/block/179:1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1306841/+subscriptions
More information about the foundations-bugs
mailing list