From owner-freebsd-arm@freebsd.org Wed Jun 10 00:43:56 2020 Return-Path: Delivered-To: freebsd-arm@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 78CFE3428F9 for ; Wed, 10 Jun 2020 00:43:56 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.70]) (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 (2048 bits) client-digest SHA256) (Client CN "gromit.dlib.vt.edu", Issuer "Chumby Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 49hSsl4TgKz4BcB for ; Wed, 10 Jun 2020 00:43:55 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.gromit23.net (c-98-244-101-97.hsd1.va.comcast.net [98.244.101.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id 2C6722A7; Tue, 9 Jun 2020 20:43:49 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\)) Subject: Re: Driver for Raspberry Pi 4 PCI-express controller From: Paul Mather In-Reply-To: Date: Tue, 9 Jun 2020 20:43:48 -0400 Cc: myfreeweb , freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <2238E9E5-4819-4208-BF4F-FEC0834F9036@gromit.dlib.vt.edu> References: <747C1F44-658F-4178-9021-F97F9115AEB0@yahoo.com> <7F058E92-DDD3-4728-9A51-09BF1D47855C@googlemail.com> <1RBZ-1AclgkiNDwWUqrWhun8T8YSAX6g64NeSc2DKy9EF1wGsJobselP4UYGflpcmbfUx3sEEM2YplIJOXPmZ6EG_GwiMC1_3GLrqpZxisQ=@protonmail.com> <46519DEB-E96D-43DD-B739-401F9F51371E@googlemail.com> <87EE030D-5323-477B-9FF3-CB8970138729@googlemail.com> <377EA2D7-F7C8-4ECA-9BFC-1EC081665C04@yahoo.com> <0AA4AF68-62D5-4918-8B23-13D29E2EB09F@googlemail.com> <15c76ecd4fcaf4306682ac4a6c8ef393@unrelenting.technology> To: =?utf-8?Q?Klaus_K=C3=BCchemann?= X-Mailer: Apple Mail (2.3445.104.14) X-Rspamd-Queue-Id: 49hSsl4TgKz4BcB X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=vt.edu (policy=none); spf=none (mx1.freebsd.org: domain of paul@gromit.dlib.vt.edu has no SPF policy when checking 128.173.49.70) smtp.mailfrom=paul@gromit.dlib.vt.edu X-Spamd-Result: default: False [0.83 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(0.07)[0.072]; NEURAL_HAM_LONG(-0.04)[-0.045]; NEURAL_SPAM_MEDIUM(0.30)[0.301]; RECEIVED_SPAMHAUS_PBL(0.00)[98.244.101.97:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:1312, ipnet:128.173.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[vt.edu : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2020 00:43:56 -0000 On Jun 9, 2020, at 8:07 PM, Klaus K=C3=BCchemann via freebsd-arm = wrote: >=20 >=20 >=20 >> Am 10.06.2020 um 01:57 schrieb Klaus K=C3=BCchemann = : >>=20 >>=20 >>=20 >>> Am 10.06.2020 um 01:34 schrieb greg@unrelenting.technology: >>>=20 >>> =E2=80=A6. >>> Only NetBSD does the required thing right now. >>> =E2=80=A6 >>=20 >> no, they also panic after disabling the 3 gig limit : >> https://www.klos.com/~john/rpi4_3gig_8gig_dmesg >>=20 >> but since you really hit the ground running unrelenting today :-) , = you can send your next bugfix also to NetBSD=20 >> Maybe it has to do with the V1.14, so perhaps, after we tested all = your patches=20 >> On both 4&8Gig we talk to @AndreWarkentin again perhaps >=20 > ah, forgot link to boot failure in NetBSD : > https://www.klos.com/~john/rpi_boot_failure.jpg I have been able to boot the Raspberry Pi 4B 8GB model on NetBSD/aarch64 = -CURRENT using the RPi UEFI 1.14 firmware release and without the 3 GB = memory limit in effect: =3D=3D=3D=3D=3D [ 1.000000] pool redzone disabled for 'kmem-04096' [ 1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, = 2003, 2004, 2005, [ 1.000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, = 2014, 2015, 2016, 2017, [ 1.000000] 2018, 2019, 2020 The NetBSD Foundation, Inc. All = rights reserved. [ 1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993 [ 1.000000] The Regents of the University of California. All = rights reserved. [ 1.000000] NetBSD 9.99.65 (GENERIC64) #0: Mon Jun 8 22:52:09 UTC = 2020 [ 1.000000] = mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/GENERIC64 [ 1.000000] total memory =3D 8026 MB [ 1.000000] avail memory =3D 7768 MB [ 1.000000] pool redzone disabled for 'buf4k' [ 1.000000] pool redzone disabled for 'buf64k' [ 1.000000] entropy: no seed from bootloader [ 1.000000] timecounter: Timecounters tick every 10.000 msec [ 1.000000] running cgd selftest aes-xts-256 aes-xts-512 aes-cbc-128 = aes-cbc-256 3des-cbc-192 blowfish-cbc-448 done [ 1.000000] armfdt0 (root) [ 1.000000] simplebus0 at armfdt0: Sony UK Raspberry Pi 4 Model B [ 1.000000] simplebus1 at simplebus0 [ 1.000000] acpifdt0 at simplebus0 [ 1.000000] acpifdt0: using EFI runtime services for RTC [ 1.000000] ACPI: RSDP 0x0000000033AA0000 000024 (v02 RPIFDN) [ 1.000000] ACPI: XSDT 0x0000000033A90000 000064 (v01 RPIFDN RPI4 = 00000200 01000013) [[...etc...]] =3D=3D=3D=3D=3D Cheers, Paul.=