Author: gonzo Date: Wed Aug 3 18:03:14 2016 New Revision: 303726 URL: https://svnweb.freebsd.org/changeset/base/303726
Log: Fix EHCI driver by excluding first 512K from available memory On Zynq 256K-512K memory region is not accessible by all bus masters. EHCI driver fails when trying to use it for DMA transfers. Patching memory node does not help because ubldr overrides values there with the ones obtained from u-boot. So as a workaround we just mark first 512K as reserved. PR: 211484 Submitted by: Thomas Skibo <thoma555-...@yahoo.com> MFC after: 3 days Modified: head/sys/boot/fdt/dts/arm/zynq-7000.dtsi Modified: head/sys/boot/fdt/dts/arm/zynq-7000.dtsi ============================================================================== --- head/sys/boot/fdt/dts/arm/zynq-7000.dtsi Wed Aug 3 18:02:10 2016 (r303725) +++ head/sys/boot/fdt/dts/arm/zynq-7000.dtsi Wed Aug 3 18:03:14 2016 (r303726) @@ -32,6 +32,10 @@ #size-cells = <1>; interrupt-parent = <&GIC>; + // Reserve first half megabyte because it is not accessible to all + // bus masters. + memreserve = <0x00000000 0x00080000>; + // Zynq PS System registers. // ps7sys@f8000000 { _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"