Page MenuHomeFreeBSD

loader: uboot disk ioctl should call disk_ioctl
ClosedPublic

Authored by tsoome on Apr 18 2017, 4:03 PM.
Tags
None
Referenced Files
F152822321: D10421.id.diff
Fri, Apr 17, 8:21 AM
Unknown Object (File)
Tue, Apr 14, 7:02 PM
Unknown Object (File)
Mon, Apr 13, 10:14 PM
Unknown Object (File)
Mon, Apr 13, 4:41 AM
Unknown Object (File)
Mon, Apr 6, 11:22 AM
Unknown Object (File)
Wed, Apr 1, 6:18 AM
Unknown Object (File)
Wed, Mar 25, 1:55 PM
Unknown Object (File)
Mar 10 2026, 2:45 AM
Subscribers

Details

Summary

As the uboot disk interface is using common/disk.c API, we also
should use disk_ioctl() call, this will give us chance to read partition
sizes and have feature parity with UEFI and BIOS implementations.

Diff Detail

Event Timeline

ian added a subscriber: ian.

Looks fine to me.

Tested on beaglebone black, this fixes the "disk0: real size != size" error I was seeing after r317097

This revision is now accepted and ready to land.Apr 18 2017, 7:30 PM
This revision was automatically updated to reflect the committed changes.