Date: Wed, 22 Apr 2020 07:00:40 +1200 From: Jonathan Chen <jonc@chen.org.nz> To: bob prohaska <fbsd@www.zefox.net> Cc: freebsd-arm@freebsd.org Subject: Re: Booting from USB on RPi3 Message-ID: <CAJuc1zO0OYGbetjYADa7nG4uV3C0-ZF2Uj6nvYj7tHnLozOCgg@mail.gmail.com> In-Reply-To: <20200421172644.GA96994@www.zefox.net> References: <20200420172512.GA94315@www.zefox.net> <CAJuc1zPzseM4Ez5ixk6LHiVvnXXBZgbxH9Rh2TvJn-qxADJuvg@mail.gmail.com> <20200420220756.GC94315@www.zefox.net> <CAJuc1zMgHo_ioFK7CD5kVZ1dzWeJyiYczHLZNyPOUm282jw86g@mail.gmail.com> <CAJuc1zMxzD-NmsJCtb1m=nXipr-K7%2B9X3nonHVmeYLCY%2BYVk5g@mail.gmail.com> <20200421172644.GA96994@www.zefox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 22 Apr 2020 at 05:26, bob prohaska <fbsd@www.zefox.net> wrote: > > On Tue, Apr 21, 2020 at 10:32:03AM +1200, Jonathan Chen wrote: > > On Tue, 21 Apr 2020 at 10:30, Jonathan Chen <jonc@chen.org.nz> wrote: > > [...] > > > > Where is the kernel loading from? I gather it's been long-time > > > > practice to load the kernel from microSD and then mount the USB > > > > device as root; it that what you're doing? It appears that using > > > > usbboot (correctly!) would eliminate that extra step. > > > > > > The kernel loads from the external USB drive. The only thing on the > > > microSD card is the renamed loader.efi and the loader.env file. > > > > And the u-boot, of course. > > You're doing what I'd like to accomplish. However, I take it the > chain of events is that the Pi's GPU starts u-boot on the microSD, > that starts FreeBSD's loader on the microSD card then FreeBSD's > loader acceses the USB drive. I gather there is no bootable FAT32 > partition on the USB drive. > > Have I got that right? Yes. -- Jonathan Chen <jonc@chen.org.nz>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zO0OYGbetjYADa7nG4uV3C0-ZF2Uj6nvYj7tHnLozOCgg>