From owner-svn-ports-head@freebsd.org Tue Dec 15 15:21:49 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 76BCB4B9844; Tue, 15 Dec 2020 15:21:49 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CwMRx2vVsz4TsL; Tue, 15 Dec 2020 15:21:49 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 5149C2E3A3; Tue, 15 Dec 2020 15:21:49 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f169.google.com with SMTP id 143so19399145qke.10; Tue, 15 Dec 2020 07:21:49 -0800 (PST) X-Gm-Message-State: AOAM530yy4mJs+2aEl61RJ3DwV85efns6bCIFrf37R21thOqPC8a6dMB xj3bLo79CWl0HrCqt/EF9WqynikAd5AHHC1fhg4= X-Google-Smtp-Source: ABdhPJz2PSriS6To2/4d5Mzyq8mMzjvP80roOWV9I54vGTM5lmcqrKNG4cVxv4lqjd8l6DXpgmNJo0AbtrwQtOyL4iQ= X-Received: by 2002:a37:346:: with SMTP id 67mr40542478qkd.430.1608045708937; Tue, 15 Dec 2020 07:21:48 -0800 (PST) MIME-Version: 1.0 References: <202012151507.0BFF778K094943@repo.freebsd.org> <20201215161843.d3f2493c414e0e4822959808@bidouilliste.com> In-Reply-To: <20201215161843.d3f2493c414e0e4822959808@bidouilliste.com> From: Kyle Evans Date: Tue, 15 Dec 2020 09:21:36 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r558163 - in head/sysutils/rpi-firmware: . files To: Emmanuel Vadot Cc: Emmanuel Vadot , ports-committers , svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2020 15:21:49 -0000 On Tue, Dec 15, 2020 at 9:18 AM Emmanuel Vadot wrote: > > On Tue, 15 Dec 2020 09:12:53 -0600 > Kyle Evans wrote: > > > On Tue, Dec 15, 2020 at 9:07 AM Emmanuel Vadot 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!