need help w/ Cora-Z7, XC7Z007S Zynq board

John-Mark Gurney jmg at funkthat.com
Thu May 21 08:37:44 UTC 2020


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 at 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 at freebsd.org mailing list
> > > > > https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> > > > > To unsubscribe, send any mail to
> > > > > "freebsd-arm-unsubscribe at 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."


More information about the freebsd-arm mailing list