[Bug 254764] GPT 'bootme' flag is not respected on AARCH64
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Apr 4 14:13:57 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254764
Bug ID: 254764
Summary: GPT 'bootme' flag is not respected on AARCH64
Product: Base System
Version: 13.0-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: arm
Assignee: freebsd-arm at FreeBSD.org
Reporter: vermaden at interia.pl
VMDISK fetched from here:
https://download.freebsd.org/ftp/releases/VM-IMAGES/13.0-RC4/aarch64/Latest/FreeBSD-13.0-RC4-arm64-aarch64.raw.xz
host % export VMDISK=FreeBSD-13.0-RC4-arm64-aarch64.raw
host % qemu-system-aarch64 \
-m 4096M \
-cpu cortex-a57 \
-M virt \
-bios /usr/local/share/u-boot/u-boot-qemu-arm64/u-boot.bin \
-serial telnet::4444,server \
-nographic \
-drive if=none,file=${VMDISK},format=raw,id=hd0 \
-device virtio-blk-device,drive=hd0 \
-device virtio-net-device,netdev=net0 \
-netdev user,id=net0
The GPT bootme flag is set on p4 partition:
root at freebsd:~ # gpart show
=> 3 29426709 vtbd0 GPT (14G)
3 66584 1 efi (33M)
66587 2097152 2 freebsd-swap (1.0G)
2163739 8388608 3 freebsd-ufs (4.0G)
10552347 8388608 4 freebsd-ufs [bootme] (4.0G)
18940955 10485757 - free - (5.0G)
Yet FreeBSD boots from p3 partition:
root at freebsd:~ # df -m
Filesystem 1M-blocks Used Avail Capacity Mounted on
/dev/vtbd0p3 3958 2709 931 74% /
devfs 0 0 0 100% /dev
/dev/vtbd0p4 3958 2706 935 74% /ufsbe/4
/dev/gpt/efiesp 31 1 30 4% /boot/efi
What am I doing wrong here?
Why it does not boot from p4 where 'bootme' flag is set?
Regards.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-arm
mailing list