Date: Thu, 20 Oct 2016 08:32:33 -0700 (PDT) From: "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net> To: Warner Losh <imp@bsdimp.com> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, Ross Alexander <rwa@athabascau.ca> Subject: Re: Raspberry Pi 3 support Message-ID: <201610201532.u9KFWX8D041557@pdx.rh.CN85.dnsmgr.net> In-Reply-To: <CANCZdfpkuPkiaOPU2sUx4iz4Mr8k83wR1CHGv4Z%2B0DWAo-giwQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Wed, Oct 19, 2016 at 12:33 PM, Rodney W. Grimes > <freebsd-rwg@pdx.rh.cn85.dnsmgr.net> wrote: > >> On Wed, Oct 19, 2016 at 01:46:20AM -0600, Warner Losh wrote: > >> ... > >> > I've updated the nanobsd build. > >> > > >> > Is the u-boot-rpi3 port different from the other u-boot ports in > >> > requiring someone to snag firmware in addition to u-boot? Will that be > >> > fixed? Or should I go ahead and fix it when I get to rpi3 in my uboot > >> > cleanup? > >> > >> I looked at how the rpi2 u boot port did it. crochet (or whoever) is > >> responsible for building a dtb from a source dts we have. So for now > >> the rpi3 port does not provide the dtb files but will provide the broadcom > >> binary (as the RPI2 port does). Really this is one place where the > >> RPi2 and RPi3 ports could share easily as the firmware should be the same. > >> We need to chat about this further ;) > > > > It would be very nice to support both 32 bit and 64 bit worlds on the > > RPI3. I am not sure if this can be done in one version of uboot, or > > if it would require two, as IIRC it is the binary blob running in the > > GPU that sets the CPU up for 32 or 64 bit. > > Can't be done with one u-boot image. Could be done with two in one FAT. > > However, we don't even support SMP yet on rpi3 and we've barely grown > support in the tree for it. This is a great idea, but a bit premature > I think. I actually think we are way behind the ball on the whole RPI3 support, someone had 64 bit code booting and running on it way back in March 2016, but we still are just now getting that in tree and its being redone from scracth. Meanwhile for 7 months Linux has been shipping and running in 32 bit mode on the RPI3. Thats a lost window of opportunity that can not be recovered. It should of been a rather simple matter to get the RPI2 binaries running on RPI3 with just some u-boot and DTS changes. Basically doing the same thing that was done with the Linux support for RPI3. For many things people are going to want to run on the RPI3 with its small unexpandible memory of 1GB they would be far better off with a 32 bit system anyway. You dont need 64 bit, you dont have the memory space to use it. -- Rod Grimes rgrimes@freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610201532.u9KFWX8D041557>