FreeBSD on Zedboard (Xilinx Zynq-7000)

Warner Losh imp at bsdimp.com
Sat Dec 29 20:49:35 UTC 2012


Cool!

But don't be a tease!  Share the code :)

Bringing up new platforms is getting easier and easier now that we've put all the weight behind FDT, eh?

Warner

On Dec 29, 2012, at 1:40 PM, Thomas Skibo wrote:

> 
> Hello.
> 
> I have been tinkering with this for several weeks:  I booted FreeBSD
> on a Zedboard (a low-cost evaluation board for the Xilinx Zynq-7000 SoC).
> 
> It was just a matter of coming up with a device tree file, implementing
> a UART driver, attaching the generic sdhci driver to the Zynq's SD
> hardware, and adding a new CPU id.  I don't have an ethernet driver yet
> but I've started on it.
> 
> I created an sdhci_fdt driver based on sdhci_pci.c.  It should be
> useful for other platforms.  I won't be surprised if somebody points
> out there is one already.
> 
> One thing that stumped me for a while is that the interrupt controller
> driver, gic.c, does not initialize the priority mask register
> (GICC_PMR).  The boot-loader left it at zero which masked all
> interrupts.  For now, I plug 0xff into it in my initarm_late_init()
> function in zynq7_machdep.c.
> 
> I'll provide my source soon.  I want to do a few clean-ups of course
> and I'll take any feed-back on my naming conventions and how I organized the files.
> 
> Thanks,
> 
> -- 
> --------
> Thomas Skibo
> ThomasSkibo at sbcglobal.net
> 
> 
> 
> 
> 
> 
> 
> 
> 
> <boot2.txt>_______________________________________________
> freebsd-arm at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"



More information about the freebsd-arm mailing list