From owner-freebsd-arm@freebsd.org Thu May 21 08:37:44 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 3A5A232D57B for ; Thu, 21 May 2020 08:37:44 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gold.funkthat.com [IPv6:2001:470:800b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate2.funkthat.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49SNKg2gphz4bPK for ; Thu, 21 May 2020 08:37:42 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id 04L8bcfK022179 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 21 May 2020 01:37:39 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id 04L8bc5H022178; Thu, 21 May 2020 01:37:38 -0700 (PDT) (envelope-from jmg) Date: Thu, 21 May 2020 01:37:38 -0700 From: John-Mark Gurney To: Milan Obuch , Thomas Skibo , freebsd-arm@freebsd.org Subject: Re: need help w/ Cora-Z7, XC7Z007S Zynq board Message-ID: <20200521083737.GX4213@funkthat.com> Mail-Followup-To: Milan Obuch , Thomas Skibo , freebsd-arm@freebsd.org References: <20200516221344.GH4213@funkthat.com> <20200517063853.GI4213@funkthat.com> <20200517191416.GA1194@piedmont> <20200517230804.GJ4213@funkthat.com> <20200518003746.GA1566@piedmont> <20200518062820.0e7a01bd@zeta.dino.sk> <20200518061310.GA49966@piedmont> <20200518140901.GA1152@piedmont> <20200518163541.667b64bf@zeta.dino.sk> <20200521055734.GU4213@funkthat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200521055734.GU4213@funkthat.com> X-Operating-System: FreeBSD 11.3-STABLE amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Thu, 21 May 2020 01:37:39 -0700 (PDT) X-Rspamd-Queue-Id: 49SNKg2gphz4bPK X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of jmg@gold.funkthat.com has no SPF policy when checking 2001:470:800b::2) smtp.mailfrom=jmg@gold.funkthat.com X-Spamd-Result: default: False [1.78 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.16)[-0.161]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.17)[0.170]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[funkthat.com]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.57)[0.570]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[jmg@funkthat.com,jmg@gold.funkthat.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[jmg@funkthat.com,jmg@gold.funkthat.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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: Thu, 21 May 2020 08:37:44 -0000 John-Mark Gurney wrote this message on Wed, May 20, 2020 at 22:57 -0700: > Milan Obuch wrote this message on Mon, May 18, 2020 at 16:35 +0200: > > On Mon, 18 May 2020 07:09:01 -0700, Thomas Skibo > > wrote: > > > > > On Sun, May 17, 2020 at 11:13:10PM -0700, Thomas Skibo wrote: > > > > On Mon, May 18, 2020 at 06:28:20AM +0200, Milan Obuch wrote: > > > > > > > > > > Maybe it's time to make your xbit2bin tool public... this way all > > > > > formats could be handled with no need to patch kernel driver. > > > > > > > > > > Regards, > > > > > Milan > > > > > _______________________________________________ > > > > > freebsd-arm@freebsd.org mailing list > > > > > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > > > To unsubscribe, send any mail to > > > > > "freebsd-arm-unsubscribe@freebsd.org" > > > > > > > > Well, I thought I had lost it until reminded me of the name! > > > > > > > > --Thomas > > > > > > > > > > I thought I attached it to that email last night. I guess it was > > > late. I put the xbit2bin tool at > > > https://www.skibo.net/zedbsd/xbit2bin.c It will strip the header and > > > byte-swap a Xilinx .bit file and so that it's compatible with > > > devcfg(4). > > > > > > > Well, most probably mailing list ate it. I did get it, but you sent the > > message directly to me, so I received no mailing list processed > > version, but you used attachment of type text/x-csrc. Mailing list > > accepts probably just text/plain attachments I think. But it is better > > to have it on web :) > > Nice, now to figure out why FreeBSD on the PS stops working when the > level shifters are enabled. If I set hw.fpga.en_level_shifters to 0 > and program the PL, FreeBSD keeps running, but as soon as I set > hw.fpga.level_shifters to 1, FreeBSD stops responding. Ok, I generated a bitstream that had the PS included and now when enabling level shifters things work fine. I even managed to get a dts file written for the design that has both GPIO and a block RAM. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."