Date: Tue, 15 Dec 2020 16:23:34 +0100 From: Emmanuel Vadot <manu@bidouilliste.com> To: Kyle Evans <kevans@freebsd.org> Cc: Emmanuel Vadot <manu@freebsd.org>, ports-committers <ports-committers@freebsd.org>, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r558163 - in head/sysutils/rpi-firmware: . files Message-ID: <20201215162334.0e5c8fd2294e640d503e715e@bidouilliste.com> In-Reply-To: <CACNAnaGunpGzLmT88i7ZQa_yObqcWD2J=jeSyLWHyLoT8ooXxg@mail.gmail.com> References: <202012151507.0BFF778K094943@repo.freebsd.org> <CACNAnaFQhTJ%2Bk4hG37W5wSbuR0F=MCCZmMWT3cTbO0HvmrLQeA@mail.gmail.com> <20201215161843.d3f2493c414e0e4822959808@bidouilliste.com> <CACNAnaGunpGzLmT88i7ZQa_yObqcWD2J=jeSyLWHyLoT8ooXxg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Dec 2020 09:21:36 -0600 Kyle Evans <kevans@freebsd.org> wrote: > On Tue, Dec 15, 2020 at 9:18 AM Emmanuel Vadot <manu@bidouilliste.com> wrote: > > > > On Tue, 15 Dec 2020 09:12:53 -0600 > > Kyle Evans <kevans@freebsd.org> wrote: > > > > > On Tue, Dec 15, 2020 at 9:07 AM Emmanuel Vadot <manu@freebsd.org> wrote: > > > > > > > > Author: manu > > > > Date: Tue Dec 15 15:07:07 2020 > > > > New Revision: 558163 > > > > URL: https://svnweb.freebsd.org/changeset/ports/558163 > > > > > > > > Log: > > > > sysutils/rpi-firmware: Add a generic config file for 64bits variant of RPIs > > > > > > > > Submitted by: kevans (original version) > > > > > > > > Added: > > > > head/sysutils/rpi-firmware/files/config_arm64.txt (contents, props changed) > > > > Modified: > > > > head/sysutils/rpi-firmware/Makefile > > > > head/sysutils/rpi-firmware/pkg-plist > > > > > > > > Modified: head/sysutils/rpi-firmware/Makefile > > > > ============================================================================== > > > > --- head/sysutils/rpi-firmware/Makefile Tue Dec 15 15:04:15 2020 (r558162) > > > > +++ head/sysutils/rpi-firmware/Makefile Tue Dec 15 15:07:07 2020 (r558163) > > > > @@ -2,6 +2,7 @@ > > > > > > > > PORTNAME= rpi-firmware > > > > PORTVERSION= 1.20201201.g20201201 > > > > +PORTREVISION= 1 > > > > CATEGORIES= sysutils > > > > > > > > MAINTAINER= uboot@FreeBSD.org > > > > @@ -29,7 +30,8 @@ CONFIG_TXT_FILES= config.txt \ > > > > config_rpi_0_w.txt \ > > > > config_rpi3.txt \ > > > > config_rpi3_edk2.txt \ > > > > - config_rpi4.txt > > > > + config_rpi4.txt \ > > > > + config_arm64.txt > > > > > > > > do-patch: > > > > .for i in ${CONFIG_TXT_FILES} > > > > > > > > Added: head/sysutils/rpi-firmware/files/config_arm64.txt > > > > ============================================================================== > > > > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > > > > +++ head/sysutils/rpi-firmware/files/config_arm64.txt Tue Dec 15 15:07:07 2020 (r558163) > > > > @@ -0,0 +1,10 @@ > > > > +[all] > > > > +arm_control=0x200 > > > > +dtparam=audio=on,i2c_arm=on,spi=on > > > > +dtoverlay=mmc > > > > +dtoverlay=disable-bt > > > > +device_tree_address=0x4000 > > > > +kernel=u-boot.bin > > > > + > > > > +[pi4] > > > > +armstub=armstub8-gic.bin > > > > > > > > > > I don't think we've tested the pi4 with arm_64bit=1 omitted entirely > > > like this, though. Not that we understand what it really does, since > > > we boot the pi3 without it as aarch64. > > > > > > Thanks, > > > > > > Kyle Evans > > > > I did. > > > > arm_64bit=1 just tell the firmware to load the file from the "kernel8" > > variable instead of the "kernel" one. > > The processors are set to 64bits mode too but u-boot deals with that > > too. > > > > https://www.raspberrypi.org/documentation/configuration/config-txt/boot.md > > > > This is wholly disappointing, but re-reading their doc on it I guess > it doesn't really say what the default 0 actually means; I had assumed > it was somehow less reversible than that. > > Thanks! Well, re-reading is seems that it's working for us because we still uses arm_control. I'll do test later and probably replace the arm_control line with arm_64bit=1 -- Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201215162334.0e5c8fd2294e640d503e715e>