From owner-freebsd-arm@freebsd.org Fri Jul 3 19:00:31 2015 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 83A6699403F for ; Fri, 3 Jul 2015 19:00:31 +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 3DB551972; Fri, 3 Jul 2015 19:00:30 +0000 (UTC) (envelope-from tim@kientzle.com) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id t63J0drr045783; Fri, 3 Jul 2015 19:00:39 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.100] (192.168.1.101 [192.168.1.101]) by kientzle.com with SMTP id pddr7vxeb7e25wdzhx7dcffwxi; Fri, 03 Jul 2015 19:00:38 +0000 (UTC) (envelope-from tim@kientzle.com) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: Once Booted from MMC, eMMC not found From: Tim Kientzle In-Reply-To: <20150703044622.GE6532@FreeBSD.org> Date: Fri, 3 Jul 2015 12:00:26 -0700 Cc: Hellmuth Michaelis , freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: <2608C773-A5D6-4828-8984-EB1A4205197F@kientzle.com> References: <1435812471361-6022231.post@n5.nabble.com> <20150702050306.GD45214@FreeBSD.org> <20150702050634.GE45214@FreeBSD.org> <462071B7-1D51-45CC-B69C-E59EA36DA729@me.com> <6C705C95-D95D-4207-B23A-01CD0E583426@hellmuth-michaelis.de> <20150702143542.GD53770@FreeBSD.org> <9012912E-229D-4F70-9CCD-A156E80D6CED@kientzle.com> <20150703044622.GE6532@FreeBSD.org> To: Glen Barber X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2015 19:00:31 -0000 > On Jul 2, 2015, at 9:46 PM, Glen Barber wrote: >=20 > Hi Tim, >=20 > On Thu, Jul 02, 2015 at 09:40:22PM -0700, Tim Kientzle wrote: >>> On Jul 2, 2015, at 7:35 AM, Glen Barber wrote: >>>=20 >>> I'm curious - is this even necessary to do anymore? >>>=20 >>> My latest tests (11-CURRENT and 10-STABLE) of BeagleBone Black = images >>> "just boot." >>>=20 >>> Maybe I don't understand what this script is supposed to fix. Can >>> someone clarify that for me? >>=20 >> The script just copies a running system booted from SD onto the eMMC = so that a BBB can boot without an SD card. >>=20 >> The script just does the following: >> * Erases the eMMC >> * Reformats it >> * Copies boot files from SD to eMMC >> * Copies / from SD to eMMC (excluding a few things like /usr/src, = /usr/obj that are unlikely to fit) >> * Tweaks a few configuration parameters on the copied system >>=20 >=20 > Ah, okay, this is the part I was missing. I misunderstood what the = eMMC > did overall, and wasn't sure how this interacted with the system in > whole. The eMMC chip is connected to the second SD/MMC interface on the SoC. = To the kernel, it should look just like a second SD/MMC card on the = second interface. BBB can boot from eMMC to create a nice self-contained system. At one = time, Crochet=E2=80=99s BBB images could be easily copied to eMMC to = boot from there without an SD card, but this doesn=E2=80=99t seem to = work anymore due to changes in FreeBSD somewhere. I stopped using the eMMC for booting myself simply because 2GB wasn=E2=80=99= t enough for the things I was trying to do. There are now BBB with 4G = eMMC chips, so that may be worth looking into again. Tim