svn commit: r303726 - head/sys/boot/fdt/dts/arm

Oleksandr Tymoshenko gonzo at FreeBSD.org
Wed Aug 3 18:03:15 UTC 2016


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-bsd at 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 at f8000000 {


More information about the svn-src-head mailing list