Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2012 13:49:25 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Thomas Skibo <ThomasSkibo@sbcglobal.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: FreeBSD on Zedboard (Xilinx Zynq-7000)
Message-ID:  <6285A410-0470-4A75-9067-7C524831A8DA@bsdimp.com>
In-Reply-To: <50DF555B.9060601@sbcglobal.net>
References:  <50DF4BD9.8080601@sbcglobal.net> <50DF555B.9060601@sbcglobal.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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:

>=20
> Hello.
>=20
> 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).
>=20
> 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.
>=20
> 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.
>=20
> 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.
>=20
> 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.
>=20
> Thanks,
>=20
> --=20
> --------
> Thomas Skibo
> ThomasSkibo@sbcglobal.net
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
>=20
> <boot2.txt>_______________________________________________
> freebsd-arm@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6285A410-0470-4A75-9067-7C524831A8DA>