Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2020 16:18:43 +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:  <20201215161843.d3f2493c414e0e4822959808@bidouilliste.com>
In-Reply-To: <CACNAnaFQhTJ%2Bk4hG37W5wSbuR0F=MCCZmMWT3cTbO0HvmrLQeA@mail.gmail.com>
References:  <202012151507.0BFF778K094943@repo.freebsd.org> <CACNAnaFQhTJ%2Bk4hG37W5wSbuR0F=MCCZmMWT3cTbO0HvmrLQeA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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

-- 
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?20201215161843.d3f2493c414e0e4822959808>