Date: Fri, 3 Jul 2015 12:18:12 -0700 From: Tim Kientzle <tim@kientzle.com> To: Tim Kientzle <tim@kientzle.com> Cc: Glen Barber <gjb@freebsd.org>, freebsd-arm <freebsd-arm@freebsd.org>, Hellmuth Michaelis <hm@hellmuth-michaelis.de> Subject: Re: Once Booted from MMC, eMMC not found Message-ID: <D3643191-F45A-43A0-90AC-A74845385F74@kientzle.com> In-Reply-To: <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> <2608C773-A5D6-4828-8984-EB1A4205197F@kientzle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Jul 3, 2015, at 12:00 PM, Tim Kientzle <tim@kientzle.com> wrote: >=20 >=20 >> On Jul 2, 2015, at 9:46 PM, Glen Barber <gjb@FreeBSD.org> 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 <gjb@FreeBSD.org> 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. >=20 > 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. >=20 > 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. >=20 > I stopped using the eMMC for booting myself simply because 2GB = wasn=E2=80=99t 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. >=20 Is this bug still open? If so, that would at least partly explain the = problem. FreeBSD=E2=80=99s newfs_msdos seems to still insist on = omitting a partial final track from the total sector count and the = AM335x boot ROM has always refused to boot from an MSDOS file system = where the sector counts don=E2=80=99t match: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D183234 = <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D183234> Tim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D3643191-F45A-43A0-90AC-A74845385F74>