HiFive Unmatched partitions are named "Unleashed"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
util-linux (Debian) |
Fix Released
|
Unknown
|
|||
util-linux (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Impish |
Fix Released
|
Low
|
Unassigned | ||
Jammy |
Fix Released
|
Low
|
Unassigned |
Bug Description
[Impact]
Both HiFive Unleashed and HiFive Unmatched bootloaders seek for the same
UUIDs to load the next stage bootloader: the current name makes partitions
on Unmatched board appear as 'Unleashed'.
This issue gives the feeling that the Ubuntu RISC-V images made specifically
for those 2 boards were assembled in a rushed manner.
The attached patch fixes this by removing the 'Unleashed' part of the current
name so that it fits both, it was build againt all architectures here:
https:/
[Test Plan]
1. Download the SiFive Unmatched image here: https:/
2. Follow instructions here to launch a riscv64 VM: https:/
3. Execute the following command:
Disk /dev/vda: 40 GiB, 42949672960 bytes, 83886080 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0F66C0C3-
Device Start End Sectors Size Type
/dev/vda1 235554 83886046 83650493 39.9G Linux filesystem
/dev/vda12 227362 235553 8192 4M Linux filesystem
/dev/vda13 34 2081 2048 1M HiFive Unleashed FSBL
/dev/vda14 2082 10273 8192 4M HiFive Unleashed BBL
/dev/vda15 10274 227361 217088 106M EFI System
Partition table entries are not in disk order.
4. Download and install the new packages that contain the fix here:
https:/
https:/
https:/
5. Re-execute the same command as above:
Disk /dev/vda: 40 GiB, 42949672960 bytes, 83886080 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0F66C0C3-
Device Start End Sectors Size Type
/dev/vda1 235554 83886046 83650493 39.9G Linux filesystem
/dev/vda12 227362 235553 8192 4M Linux filesystem
/dev/vda13 34 2081 2048 1M HiFive FSBL
/dev/vda14 2082 10273 8192 4M HiFive BBL
/dev/vda15 10274 227361 217088 106M EFI System
Partition table entries are not in disk order.
[Where problems could occur]
We may expect regressions if one uses fdisk output (ie the partition names
instead of the UUIDs) in her software: this risk is mitigated by the fact the
upstream accepted the patch and then does not expect this interface to be
immutable and that RISC-V is not widely used yet.
[Other Info]
None.
=== old bug description ===
Both HiFive Unleashed and HiFive Unmatched bootloaders seek for the same
UUIDs to load the next stage bootloader: the current name makes partitions
on Unmatched board appear as 'Unleashed'.
Fix that by removing the 'Unleashed' part of the current name so that it
fits both.
The attached debdiff contains the patch that was merged upstream (https:/
~
Changed in util-linux (Debian): | |
status: | Unknown → New |
Changed in util-linux (Ubuntu): | |
importance: | Undecided → Low |
Changed in util-linux (Debian): | |
status: | New → Confirmed |
tags: | added: fr-1786 |
description: | updated |
Changed in util-linux (Debian): | |
status: | Confirmed → Fix Released |
The attachment "util_linux_ debdiff. patch" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]