FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black
Denis Polygalov
dpolyg at gmail.com
Sat Jul 13 16:01:53 UTC 2019
Hi Sergey,
I tried this on 11.2-RELEASE:
mountroot> ufs:/dev/mmcsd1s2
Trying to mount root from ufs:/dev/mmcsd1s2 []...
mountroot: waiting for device /dev/mmcsd1s2...
Mounting from ufs:/dev/mmcsd1s2 failed with error 19.
mountroot>
unfortunately even 12.0-RELEASE doesn't work:
Trying to mount root from ufs:/dev/ufs/rootfs [rw]...
mountroot: waiting for device /dev/ufs/rootfs...
Mounting from ufs:/dev/ufs/rootfs failed with error 19.
Loader variables:
vfs.root.mountfrom=ufs:/dev/ufs/rootfs
vfs.root.mountfrom.options=rw
Manual root filesystem specification:
<fstype>:<device> [options]
Mount <device> using filesystem <fstype>
and with the specified (optional) option list.
eg. ufs:/dev/da0s1a
zfs:zroot/ROOT/default
cd9660:/dev/cd0 ro
(which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)
? List valid disk boot devices
. Yield 1 second (for background tasks)
<empty line> Abort manual input
mountroot> ?
List of GEOM managed disk devices:
diskid/DISK-5C3DD42Es2 diskid/DISK-5C3DD42Es1 ext2fs/Angstrom
msdosfs/BEAGLEBONE diskid/DISK-5C3DD42E mmcsd0s2 mmcsd0s1 mmcsd0boot1
mmcsd0boot0 mmcsd0
mountroot> ufs:/dev/mmcsd1s2
Trying to mount root from ufs:/dev/mmcsd1s2 []...
mountroot: waiting for device /dev/mmcsd1s2...
Mounting from ufs:/dev/mmcsd1s2 failed with error 19.
mountroot>
Regards,
Denis.
On 14/07/2019 12:24 am, Sergey Manucharian wrote:
> Excerpts from Denis Polygalov's message from Sat 13-Jul-19 23:50:
>> Having not much luck booting FreeBSD on ROCK64 I decide
>> to give a try to (seems to be) well supported
>> BeagleBone Black using official image:
>
> It looks that it tries to mount the eMMC partition mmcsd0s2 instead of
> the actual one from the SD card mmcsd1s2.
>
> As far as I remember I wasn't able to boot 11.x when it was the main
> line, and switched to the unreleased (that time) 12 right away.
>
> However, I believe, it can boot if the image is copied to eMMC, or at
> least, the second partition, although it's not a trivial thing to do.
>
> Another way is to modify the image itself to mount mmcsd1s2 as root.
>
> -S.
>
More information about the freebsd-arm
mailing list