Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2020 01:37:38 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Milan Obuch <freebsd-arm@dino.sk>, Thomas Skibo <thomas-bsd@skibo.net>, freebsd-arm@freebsd.org
Subject:   Re: need help w/ Cora-Z7, XC7Z007S Zynq board
Message-ID:  <20200521083737.GX4213@funkthat.com>
In-Reply-To: <20200521055734.GU4213@funkthat.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <thomas-bsd@skibo.net>
> > 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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200521083737.GX4213>