From nobody Thu Apr 28 15:11:42 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 329F51A1783E for ; Thu, 28 Apr 2022 15:11:45 +0000 (UTC) (envelope-from nick@i11.co) Received: from mx.i11.co (mx.i11.co [159.69.78.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kpzc02p9Fz4WY3 for ; Thu, 28 Apr 2022 15:11:44 +0000 (UTC) (envelope-from nick@i11.co) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=i11.co; s=omicron; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Subject:To:From:Date:Sender:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=lKOxpJR4KbRPh/eaMy8czhoUAP3o+BMauuQuaJCJNCY=; b=BiutG38z8wY77XrGtygZIWZsQJ 8Axwg45vHxZIbxz0Ruh7GYclYP/vaFnT6ZcQ/kehxs9nw1UF4dnEEEQ0Xf0U3mEymPgwV/AAFo4se XBgjnSP0O38HG3BkzY63h6HKFOIyrJ+PBDm8/0ns3bZhYQzrH/HSsuGARAqmD2BbC9kmfzdFjQIIN o2Je/5mTOM4+nYq3xoz7Q7w8BXACtKEyIMTi3632TwJiInTG/qPQYnrnmiJvLWN5bz8rj+GYcs2W8 mVKU7P7lSljhEwS5hgGBPotHC6KOnHeMIGl3Dh5iun00jkoqXFULKhwyqN6fvOLP+H8V1NIrFdAxq l/TJlR4w==; Received: from [91.206.111.188] (helo=thinkbook) by mx.i11.co with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nk5nz-0001tC-G9 for freebsd-arm@FreeBSD.org; Thu, 28 Apr 2022 15:11:43 +0000 Date: Thu, 28 Apr 2022 18:11:42 +0300 From: Nick Kostirya To: freebsd-arm@FreeBSD.org Subject: uart1 Message-ID: <20220428151142.5c08cdec@thinkbook> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; amd64-portbld-freebsd12.2) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Kpzc02p9Fz4WY3 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=i11.co header.s=omicron header.b=BiutG38z; dmarc=pass (policy=reject) header.from=i11.co; spf=pass (mx1.freebsd.org: domain of nick@i11.co designates 159.69.78.69 as permitted sender) smtp.mailfrom=nick@i11.co X-Spamd-Result: default: False [-3.03 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[i11.co:s=omicron]; FREEFALL_USER(0.00)[nick]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:159.69.78.69:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[i11.co:+]; DMARC_POLICY_ALLOW(-0.50)[i11.co,reject]; NEURAL_HAM_SHORT(-0.53)[-0.527]; MLMMJ_DEST(0.00)[freebsd-arm]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hello. How use uart1 ? I want use MCU wiht UART interface on NanoPI NEO. I use overlay: /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; }; &uart1 { status = "okay"; }; # dmesg -a | grep uart uart0: <16750 or compatible> mem 0x1c28000-0x1c283ff irq 35 on simplebus0 uart0: console (115384,n,8,1) uart1: <16750 or compatible> mem 0x1c28400-0x1c287ff irq 36 on simplebus0 FreeBSD 12.2-STABLE For test I connect two NanoPI NEO by help RX-TX. On first boart I run cu -l /dev/ttyu1 On second boart I run cu -l /dev/cuau1 But I cannot write on first and on second board. Please tell me where is my mistake. Regards.