svn commit: r558163 - in head/sysutils/rpi-firmware: . files
Emmanuel Vadot
manu at bidouilliste.com
Tue Dec 15 15:23:37 UTC 2020
On Tue, 15 Dec 2020 09:21:36 -0600
Kyle Evans <kevans at freebsd.org> wrote:
> On Tue, Dec 15, 2020 at 9:18 AM Emmanuel Vadot <manu at bidouilliste.com> wrote:
> >
> > On Tue, 15 Dec 2020 09:12:53 -0600
> > Kyle Evans <kevans at freebsd.org> wrote:
> >
> > > On Tue, Dec 15, 2020 at 9:07 AM Emmanuel Vadot <manu at 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 at 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 at bidouilliste.com> <manu at freebsd.org>
More information about the svn-ports-head
mailing list