From nobody Mon Jun 26 19:12:41 2023 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 4QqctY0jLdz4kZdZ for ; Mon, 26 Jun 2023 19:12:53 +0000 (UTC) (envelope-from titus@edc.ro) Received: from eatlas.ro (eatlas.ro [86.126.82.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "eatlas.ro", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QqctW4gxyz4QYP for ; Mon, 26 Jun 2023 19:12:51 +0000 (UTC) (envelope-from titus@edc.ro) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=edc.ro header.s=mail header.b=i5J1rXP9; spf=pass (mx1.freebsd.org: domain of titus@edc.ro designates 86.126.82.18 as permitted sender) smtp.mailfrom=titus@edc.ro; dmarc=none Received: from mail.edc.ro ([10.1.4.58]) by eatlas.ro (8.16.1/8.16.1) with ESMTPS id 35QJCgK8054679 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Mon, 26 Jun 2023 22:12:42 +0300 (EEST) (envelope-from titus@edc.ro) Received: from [192.168.1.7] (79-114-94-24.rdsnet.ro [79.114.94.24] (may be forged)) (authenticated bits=0) by mail.edc.ro (8.16.1/8.16.1) with ESMTPSA id 35QJCdxG027226 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 26 Jun 2023 22:12:39 +0300 (EEST) (envelope-from titus@edc.ro) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=edc.ro; s=mail; t=1687806760; bh=Hgz4LB91j88FCuVAeJFpoddpNWXNtGeYJt9vGHBMC6M=; h=From:Subject:Date:To; b=i5J1rXP9fKco9VrDvab86XFxbtWqwC3rtRszgj7EvoOCg1kq7vJ3WskxNDObgeIEn Trds9vpQXTdlWd3FlUnCxrVHQ2Qo+skFMyZwdP80rNs2QrS1DI6nE3aQIk7ikUIcb5 gWIGxhB9WQFmXoV01M2GqepmSjwDYsYDbjs9CQik= From: titus Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: allwinner h616 + serial console glitch Message-Id: Date: Mon, 26 Jun 2023 22:12:41 +0300 To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.3445.104.21) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ns.edc.ro X-Spamd-Result: default: False [-2.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.983]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:86.126.82.18/32]; R_DKIM_ALLOW(-0.20)[edc.ro:s=mail]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[edc.ro:+]; ASN(0.00)[asn:8708, ipnet:86.120.0.0/13, country:RO]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[edc.ro]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4QqctW4gxyz4QYP X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N i have started to play / hack support with a h616 (an android tv box in = fact) i managed to get usb, sd, e-mmc, clocks, gpio to work no ethernet and axp/power controller yet but the problem i have besides not having a proper dtb (the android = image extracted one is not exactly usable because of different notation, = device names, etc) is a serial console glitch in the form of not echoing the last character typed you always need to type +1 character to get the desired input so to login you type root\n and then you = get the password prompt so you type n+1 characters to get n characters sent the bug is not present in u-boot/loader just after the kernel started the uart to ttl dongle i use in the pc is good, i tested it with other = boards and works as expected the board does not have a pin header for the connection just holes and i = stucked the wires in the holes without soldering (very flimsy but still = works in u-boot) also rx works ok does anybody know how to fix the serial connection ?=