Date: Sun, 04 Apr 2021 14:13:57 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 254764] GPT 'bootme' flag is not respected on AARCH64 Message-ID: <bug-254764-7@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254764 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@FreeBSD.org Reporter: vermaden@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=3DFreeBSD-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=3Dnone,file=3D${VMDISK},format=3Draw,id=3Dhd0 \ -device virtio-blk-device,drive=3Dhd0 \ -device virtio-net-device,netdev=3Dnet0 \ -netdev user,id=3Dnet0 The GPT bootme flag is set on p4 partition: root@freebsd:~ # gpart show =3D> 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@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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254764-7>