From owner-freebsd-arm@freebsd.org Sun Jan 29 06:33:08 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BB937CC62BB for ; Sun, 29 Jan 2017 06:33:08 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (kientzle.com [142.254.26.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3132D1312 for ; Sun, 29 Jan 2017 06:33:07 +0000 (UTC) (envelope-from tim@kientzle.com) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id v0T69nlB071030; Sun, 29 Jan 2017 06:09:49 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.101] (192.168.1.101 [192.168.1.101]) by kientzle.com with SMTP id szazmsursrvs5jikjg3kc3f8fe; Sun, 29 Jan 2017 06:09:48 +0000 (UTC) (envelope-from tim@kientzle.com) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: FreeBSD 12 r312227 dont boots on Beaglebone black From: Tim Kientzle In-Reply-To: <20170125221350.GA92571@bluezbox.com> Date: Sat, 28 Jan 2017 22:10:06 -0800 Cc: =?utf-8?B?T3RhY8OtbGlv?= , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <51d197a2-1332-617a-32a8-9901f474afa2@bsd.com.br> <20170125221350.GA92571@bluezbox.com> To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2017 06:33:08 -0000 > On Jan 25, 2017, at 2:13 PM, Oleksandr Tymoshenko = wrote: >=20 > Otac=C3=ADlio (otacilio.neto@bsd.com.br) wrote: >> Dears >>=20 >> I'm trying boot a FreeBSD12-armv6-r312227=20 >> (u-boot-beaglebone-2017.01.00.1) on a beaglebone black. The snapshot=20= >> FreeBSD-12.0-CURRENT-arm-armv6-BEAGLEBONE-20170105-r311461.img that I=20= >> downloaded from=20 >> = ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/12.0/=20= >> works fine, but when I try boot the image that I build on my machine=20= >> using crouchet I get: >>=20 >> U-Boot SPL 2017.01-rc3 (Jan 22 2017 - 23:17:18) >> Trying to boot from MMC1MMC partition switch failed >> *** Warning - MMC partition switch failed, using default environment >>=20 >> reading u-boot.img >> reading u-boot.img >>=20 >> And boot stops. Someone can confirm that the revision 312227 is = working=20 >> fine? >=20 > I did some digging at the breakage is caused by this commit in U-Boot: > https://www.mail-archive.com/u-boot@lists.denx.de/msg234317.html >=20 > Crochet is using FAT12 for Beaglebone Black. Switching to FAT16 fixes > the problem. Try applying this patch to crochet and re-build image: >=20 > https://people.freebsd.org/~gonzo/patches/crochet-bbb-fat16.diff I just pushed this patch to Crochet master. Tim