From owner-freebsd-arm@freebsd.org Fri Dec 15 16:05:06 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA66BE85308 for ; Fri, 15 Dec 2017 16:05:06 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 55EE87B53D for ; Fri, 15 Dec 2017 16:05:06 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id f8e7b5de; Fri, 15 Dec 2017 17:04:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=Ypz2SFuAu1iKABtyX40FcULmWsE=; b=FqNj4nwkzJQome4cb9Gn4LsB/q9b 88RIcY0txCJsJI0uqOJIxR9SwIaTvcMfCHf/KrfBkel6CC+CdQ+psc+oUX+0ILY1 N1veDTTeWwBP1JzKIMjb4CisCoBN0So9U64xIdlyE/RdCiTANXK4WMBXTNXxo2Ag yH9RNKkA5XutGTU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=YVzTRtd7Kv5/+hiENlIpXHBRW/1qIHGPT90StowyKrQTIEdesJb7p1xQ SyhpM6HRL0Ouasr8ZSmlulP/t00JA9KHsCGJInqoFhb1bngmu6c4Rx+YZunJ0Mfs dhKgIlZ0nS6U3JFYEkT1Uq+I475/dBAuoXpZjscaHOXAwrAQvhk= Received: from arcadia (evadot.gandi.net [217.70.181.36]) by mail.blih.net (OpenSMTPD) with ESMTPSA id dde11ba7 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Fri, 15 Dec 2017 17:04:57 +0100 (CET) Date: Fri, 15 Dec 2017 17:04:57 +0100 From: Emmanuel Vadot To: Daniel Braniss Cc: Milan Obuch , freebsd-arm@freebsd.org Subject: Re: orangepi-zero serial (not the debug port) now working Message-Id: <20171215170457.e2fd35d8299c3825efffe3b8@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2017 16:05:06 -0000 On Fri, 15 Dec 2017 17:51:55 +0200 Daniel Braniss wrote: > hi, > after a week of failing to get the usb to work, this little change to the dts file did the trick: USB ? > --- /r+d/vanilla/12/sys/gnu/dts/arm/sun8i-h2-plus-orangepi-zero.dts 2017-12-02 16:29:32.134790000 +0200 > +++ ./sun8i-h2-plus-orangepi-zero.dts 2017-12-15 17:34:25.742903000 +0200 > @@ -164,7 +164,7 @@ > &uart1 { > pinctrl-names = "default"; > pinctrl-0 = <&uart1_pins>; > - status = "disabled"; > + status = "okay"; > }; > > &uart2 { > > and now I have a working /dev/ttyu1! > BTW, this is with a resent CURRENT. > > danny This is expected, node aren't enabled if there is nothing using it on the board. For something like that you might want to look at overlays instead of modifying main dtb. -- Emmanuel Vadot