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
Unknown Object (File)
Dec 27 2023, 6:32 AM
Unknown Object (File)
Dec 20 2023, 3:24 AM
Unknown Object (File)
Dec 10 2023, 9:49 PM
Unknown Object (File)
Sep 20 2023, 5:10 PM
Unknown Object (File)
Aug 16 2023, 3:29 PM
Unknown Object (File)
Jul 4 2023, 8:15 AM
Unknown Object (File)
May 29 2023, 1:25 AM
Unknown Object (File)
Jan 10 2023, 7:50 PM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.