Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2019 01:01:48 +0900
From:      Denis Polygalov <dpolyg@gmail.com>
To:        Sergey Manucharian <sm@ara-ler.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: FreeBSD 11.3-RELEASE and 11.2-RELEASE images fail to boot on BeagleBone Black
Message-ID:  <b6876ce7-5147-5f1a-d712-3515e124cd36@gmail.com>
In-Reply-To: <20190713152404.GJ1503@dendrobates>
References:  <8352f841-0522-9f45-148d-d2948e97857e@gmail.com> <20190713152404.GJ1503@dendrobates>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b6876ce7-5147-5f1a-d712-3515e124cd36>