From owner-freebsd-arm@freebsd.org Sun Nov 10 12:55:26 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5CB961B3D2D for ; Sun, 10 Nov 2019 12:55:26 +0000 (UTC) (envelope-from mishin@mh.san.ru) Received: from frog.mh.net.ru (mh.balakovo.san.ru [88.147.158.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 479vB346dfz3xX0 for ; Sun, 10 Nov 2019 12:55:22 +0000 (UTC) (envelope-from mishin@mh.san.ru) Received: from mail.mh.net.ru (mouse.home [192.168.5.6]) by frog.mh.net.ru (Postfix) with ESMTPSA id 65557DA567 for ; Sun, 10 Nov 2019 16:55:13 +0400 (+04) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 10 Nov 2019 16:55:13 +0400 From: mishin@mh.san.ru To: freebsd-arm@freebsd.org Subject: Can't write to IIC by I2CRDWR with two records 'struct iic_msg' Message-ID: <7ace6346d97d0bfe95cfab3cb6fa820b@mh.san.ru> X-Sender: mishin@mh.san.ru User-Agent: Roundcube Webmail/1.3.9 X-Rspamd-Queue-Id: 479vB346dfz3xX0 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mishin@mh.san.ru designates 88.147.158.22 as permitted sender) smtp.mailfrom=mishin@mh.san.ru X-Spamd-Result: default: False [-0.89 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.77)[-0.769,0]; IP_SCORE(1.04)[ipnet: 88.147.128.0/17(2.84), asn: 12389(2.33), country: RU(0.01)]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.86)[-0.863,0]; DMARC_NA(0.00)[san.ru]; FROM_NO_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12389, ipnet:88.147.128.0/17, country:RU]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2019 12:55:26 -0000 About a system: 1. FreeBSD betta 12.1-STABLE FreeBSD 12.1-STABLE r354236 OPI_ZERO arm 2. Allwinner H2+ 3. iichb0: mem 0x1c2ac00-0x1c2afff irq 35 on simplebus0 iicbus0: on iichb0 iic0: on iicbus0 I trying to send a data array following a register value to a SSD1306 display from 'Allwinner H2+' by a following method (according to `i2c.c`): char SSD1306::iic_write(uint8_t offset, uint8_t data[], uint16_t size) const { struct iic_msg msgs[2] = { {slave_addr, IIC_M_WR | IIC_M_NOSTOP, sizeof(offset), &offset}, {slave_addr, IIC_M_WR | IIC_M_NOSTART, size, data} }; struct iic_rdwr_data xfer = {msgs, 2}; if ( ioctl(iic_handle, I2CRDWR, &xfer) == -1 ) { perror("ioctl(I2CRDWR)"); return(-1); }; return(0); }; iic_write(0x40, buffer, buffer_size); But something goes wrong and the display stills blank (no errors, though). But when I use an 'one record' struct with combined 'register+data' array (see below) or read by that 'two records' scheme (see below), all is ok. Have I made a mistake is flags or it is a feature or a bug? Thanks --- Next two methods works ok Read following write: char TEA5767::iic_read(uint8_t offset, uint8_t *data, uint16_t size) const { struct iic_msg msgs[2] = { {slave_addr, IIC_M_WR | IIC_M_NOSTOP, sizeof(offset), &offset}, {slave_addr, IIC_M_RD, size, data} }; struct iic_rdwr_data xfer = {msgs, 2}; if ( ioctl(iic_handle, I2CRDWR, &xfer) == -1) { perror("ioctl(I2CRDWR)"); return(-1); }; return(0); }; and write a combined 'register+data' array works too: char SSD1306::iic_write(uint8_t data[], uint16_t size) const { struct iic_msg msgs[1] = { {slave_addr, IIC_M_WR, size, data} }; struct iic_rdwr_data xfer = {msgs, 1}; if ( ioctl(iic_handle, I2CRDWR, &xfer) == -1) { perror("ioctl(I2CRDWR)"); return(-1); }; return(0); } From owner-freebsd-arm@freebsd.org Sun Nov 10 15:16:12 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E01D21B6DE0 for ; Sun, 10 Nov 2019 15:16:12 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 479yJX3gZTz446m for ; Sun, 10 Nov 2019 15:16:12 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1573398971; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=rK3yVkbxVL8rZS4j1hvazu6giuvN+Y1OXyZOG8FDE67KUsdRAQeFxMkEV/Di3dB3NwltuWkoiJ4pZ lVUjbUEy83j8FtBflonPpmPGr/TRmaAXE5nXvBgesqghnkc0ESO+AkMW6LGSmP9Gu9odtSwy9ANZgB gUP2nJ6qh1+wxEg/EuNVuMJ/57gXZNQAEXhN35nGcNgoIrnFY6/bd8bhHSJxdPsReo8TdjN8foaqsY hjD1SJkQa+19BsdTJAiXQ8JhFLYMSPb6NS3jn2Wg9kLKa+9pmpIbmcveZseMMu3uG53uexBY7Kh0nG S9BbXDgI+k4ZUK5lP/aFGx2Uqb2TpOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=tFAT3CSvbDlWvPZUvutxomebeOcvhVe7KV5kAxPYhWg=; b=HRiNygxs1teNil32C5xg/PndXBKCBX10/EpVYtp7VExfsiw7gdVTd66wcnoL6/0btJxzDka2ccdY/ 3yi7CW7ePmSRtOjdRIrIYs70p1E5YHnz2bqZniDeidXhLXO5ZO+1h5upggHH8R+NGykda8PZvVhYVT JcA3idwMiZu9DQWe6OiRr4WyamAPZFO+LqwyDrf46udd5xFOYh9CgMAoF4ZyQ0YLjCB9S45gKxyLvn l7tyFtTK/1US0826g0NkZtJZPDgo9O7TdHXd5Q4+lYJDiEEZX8NuNFOERPAdQ6WMl1Ob5vjFijDmef No4By02r31pAj3JVtOhvz2KSpzMiBSQ== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=tFAT3CSvbDlWvPZUvutxomebeOcvhVe7KV5kAxPYhWg=; b=g8HK0W/xwH+wbUtNBcMWoRtxJbsz5aPuKyps703kjQ0IMhHGQ5ya10bUgW4t3j/RxQ2+v9Yw2wJkf OA4IbcaF7z/OWRSThLlVB4xyPHmqf2Mqw5Fkh6hocrrrJb0On9sDi6iuLNLD4C2LEpmCoe/2IPA2fE DRxldUV9BIqI0jz7JyWwXRYgoXntUng+PWRoHj6cluz05JSSqaQeSXr37c4H3YDT05y/s/eJ076HnS ZD7SE6F+PM4nesFpUcMQiCuBKOi9Mat5hXUhbP9Y7Irac1cgd8kBA9wL416xeUdURZNCdk1FEN0306 WyorMbSfh5pUShnlEG3YcIb9vawu2RQ== X-MHO-RoutePath: aGlwcGll X-MHO-User: 02f62d47-03cd-11ea-829e-79a40d15cccd X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id 02f62d47-03cd-11ea-829e-79a40d15cccd; Sun, 10 Nov 2019 15:16:08 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id xAAFG3IA012040; Sun, 10 Nov 2019 08:16:03 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1dff42bdef54d3eca4791e5da729ee479b386731.camel@freebsd.org> Subject: Re: Can't write to IIC by I2CRDWR with two records 'struct iic_msg' From: Ian Lepore To: mishin@mh.san.ru, freebsd-arm@freebsd.org Date: Sun, 10 Nov 2019 08:16:03 -0700 In-Reply-To: <7ace6346d97d0bfe95cfab3cb6fa820b@mh.san.ru> References: <7ace6346d97d0bfe95cfab3cb6fa820b@mh.san.ru> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 479yJX3gZTz446m X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-2.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; ASN(0.00)[asn:16509, ipnet:54.148.0.0/15, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2019 15:16:12 -0000 On Sun, 2019-11-10 at 16:55 +0400, mishin@mh.san.ru wrote: > About a system: > 1. FreeBSD betta 12.1-STABLE FreeBSD 12.1-STABLE r354236 > OPI_ZERO arm > 2. Allwinner H2+ > 3. > iichb0: mem > 0x1c2ac00-0x1c2afff irq 35 on simplebus0 > iicbus0: on iichb0 > iic0: on iicbus0 > > > I trying to send a data array following a register value to a > SSD1306 > display > from 'Allwinner H2+' by a following method (according to `i2c.c`): > > char SSD1306::iic_write(uint8_t offset, uint8_t data[], uint16_t > size) > const { > struct iic_msg msgs[2] = > { > {slave_addr, IIC_M_WR | IIC_M_NOSTOP, sizeof(offset), &offset}, > {slave_addr, IIC_M_WR | IIC_M_NOSTART, size, data} > }; Some i2c hardware controller drivers don't properly support the NOSTOP and NOSTART flags. Sometimes it's a bug, and sometimes it's because hardware limitations prevent it. In the allwinner case, I think it's a bug, but manu would know for sure. -- Ian > struct iic_rdwr_data xfer = {msgs, 2}; > > if ( ioctl(iic_handle, I2CRDWR, &xfer) == -1 ) { > perror("ioctl(I2CRDWR)"); > return(-1); > }; > return(0); > }; > > iic_write(0x40, buffer, buffer_size); > > But something goes wrong and the display stills blank (no errors, > though). But when I use an 'one record' struct > with combined 'register+data' array (see below) or read by that 'two > records' scheme (see below), all is ok. > > Have I made a mistake is flags or it is a feature or a bug? > > Thanks > > > > > --- > Next two methods works ok > > Read following write: > char TEA5767::iic_read(uint8_t offset, uint8_t *data, uint16_t size) > const { > struct iic_msg msgs[2] = > { > {slave_addr, IIC_M_WR | IIC_M_NOSTOP, sizeof(offset), &offset}, > {slave_addr, IIC_M_RD, size, data} > }; > struct iic_rdwr_data xfer = {msgs, 2}; > > if ( ioctl(iic_handle, I2CRDWR, &xfer) == -1) { > perror("ioctl(I2CRDWR)"); > return(-1); > }; > return(0); > }; > > and write a combined 'register+data' array works too: > > char SSD1306::iic_write(uint8_t data[], uint16_t size) const > { > struct iic_msg msgs[1] = > { > {slave_addr, IIC_M_WR, size, data} > }; > struct iic_rdwr_data xfer = {msgs, 1}; > > if ( ioctl(iic_handle, I2CRDWR, &xfer) == -1) { > perror("ioctl(I2CRDWR)"); > return(-1); > }; > return(0); > } > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org > " From owner-freebsd-arm@freebsd.org Sun Nov 10 15:22:29 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E95C51B7089 for ; Sun, 10 Nov 2019 15:22:29 +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 479yRm3fxYz44Q4; Sun, 10 Nov 2019 15:22:28 +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 619545e3; Sun, 10 Nov 2019 16:22:26 +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=MgCMD4rVcpN6py7uuTfqGfmr6Cs=; b=gKoqkV5Va9pNPll2bv59idogjYgI Qn73iGY2/2uM2ZXUF2FaOJBzuyXiRIflsC9F9TEScr6K9AWoxo4gLg3UNOcB+PeP sXu4XGBNNXOw3EBBXLBU1LHydOPami8TMlkRiJYa15yiLPtZJOtmvDKqMAtUAWYJ 10yqEJ6Au66Iwa8= 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=diXlQaPTycDp+sDejoAz1FPrFrHfQEKgcAzDkmwEO30jJNkdkE0JwOBr Gck487nvPxTkLpr9KrV0xYVa4fpg8FqDcIcJcTdtaa2nvww0t/ksRB9yioILjIj6 3Ciai9o5Ak3Bdc4kg8umNJh4rliXV4Cpp32hXuSGs2OFf36pmBQ= Received: from sonic.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 72a84de0 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sun, 10 Nov 2019 16:22:25 +0100 (CET) Date: Sun, 10 Nov 2019 16:22:25 +0100 From: Emmanuel Vadot To: Ian Lepore Cc: mishin@mh.san.ru, freebsd-arm@freebsd.org Subject: Re: Can't write to IIC by I2CRDWR with two records 'struct iic_msg' Message-Id: <20191110162225.49afa19a8031d679e97f03bd@bidouilliste.com> In-Reply-To: <1dff42bdef54d3eca4791e5da729ee479b386731.camel@freebsd.org> References: <7ace6346d97d0bfe95cfab3cb6fa820b@mh.san.ru> <1dff42bdef54d3eca4791e5da729ee479b386731.camel@freebsd.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 479yRm3fxYz44Q4 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=gKoqkV5V; dmarc=none; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-1.30 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.88)[-0.884,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.90)[-0.903,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.39)[ip: (-0.60), ipnet: 212.83.160.0/19(2.43), asn: 12876(0.12), country: FR(-0.00)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2019 15:22:30 -0000 On Sun, 10 Nov 2019 08:16:03 -0700 Ian Lepore wrote: > On Sun, 2019-11-10 at 16:55 +0400, mishin@mh.san.ru wrote: > > About a system: > > 1. FreeBSD betta 12.1-STABLE FreeBSD 12.1-STABLE r354236 > > OPI_ZERO arm > > 2. Allwinner H2+ > > 3. > > iichb0: mem > > 0x1c2ac00-0x1c2afff irq 35 on simplebus0 > > iicbus0: on iichb0 > > iic0: on iicbus0 > > > > > > I trying to send a data array following a register value to a > > SSD1306 > > display > > from 'Allwinner H2+' by a following method (according to `i2c.c`): > > > > char SSD1306::iic_write(uint8_t offset, uint8_t data[], uint16_t > > size) > > const { > > struct iic_msg msgs[2] = > > { > > {slave_addr, IIC_M_WR | IIC_M_NOSTOP, sizeof(offset), &offset}, > > {slave_addr, IIC_M_WR | IIC_M_NOSTART, size, data} > > }; > > Some i2c hardware controller drivers don't properly support the NOSTOP > and NOSTART flags. Sometimes it's a bug, and sometimes it's because > hardware limitations prevent it. In the allwinner case, I think it's a > bug, but manu would know for sure. > > -- Ian TWSI supports NOSTOP but I could never find the right incantation to support NOSTART. > > > struct iic_rdwr_data xfer = {msgs, 2}; > > > > if ( ioctl(iic_handle, I2CRDWR, &xfer) == -1 ) { > > perror("ioctl(I2CRDWR)"); > > return(-1); > > }; > > return(0); > > }; > > > > iic_write(0x40, buffer, buffer_size); > > > > But something goes wrong and the display stills blank (no errors, > > though). But when I use an 'one record' struct > > with combined 'register+data' array (see below) or read by that 'two > > records' scheme (see below), all is ok. > > > > Have I made a mistake is flags or it is a feature or a bug? > > > > Thanks > > > > > > > > > > --- > > Next two methods works ok > > > > Read following write: > > char TEA5767::iic_read(uint8_t offset, uint8_t *data, uint16_t size) > > const { > > struct iic_msg msgs[2] = > > { > > {slave_addr, IIC_M_WR | IIC_M_NOSTOP, sizeof(offset), &offset}, > > {slave_addr, IIC_M_RD, size, data} > > }; > > struct iic_rdwr_data xfer = {msgs, 2}; > > > > if ( ioctl(iic_handle, I2CRDWR, &xfer) == -1) { > > perror("ioctl(I2CRDWR)"); > > return(-1); > > }; > > return(0); > > }; > > > > and write a combined 'register+data' array works too: > > > > char SSD1306::iic_write(uint8_t data[], uint16_t size) const > > { > > struct iic_msg msgs[1] = > > { > > {slave_addr, IIC_M_WR, size, data} > > }; > > struct iic_rdwr_data xfer = {msgs, 1}; > > > > if ( ioctl(iic_handle, I2CRDWR, &xfer) == -1) { > > perror("ioctl(I2CRDWR)"); > > return(-1); > > }; > > return(0); > > } > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org > > " > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" -- Emmanuel Vadot From owner-freebsd-arm@freebsd.org Sun Nov 10 17:22:33 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0223D1B9891 for ; Sun, 10 Nov 2019 17:22:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47B16H3x0qz4BTG for ; Sun, 10 Nov 2019 17:22:31 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qv1-xf2f.google.com with SMTP id v16so4025764qvq.6 for ; Sun, 10 Nov 2019 09:22:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rPfOjSSrywOHXGttfq/Gmd20uGFiPcAOU4thSHbZOUg=; b=pdXGMargBAI7qA0xbhpxIgkFKciOZRj4z4huRpyERYc9YeL8wZpHM5KFou3lhafyAf y0bV1WQ2823KnIyuhh0s0jlptfxUh6wVMkUuQwUtYZ4z51Gef69M367qYb3Xl3ahUgoH zRPyoj3u4bkdyfrbBUkUd/dcRkIyg4vQliVRKUp4Kq2Va/X95TsfmfCeyivDrTLqEcvB zaEMpVi/zK3uVr1VT3+KIpTdNQp1ALQDuD2D4/u63F6sxOvLlpki3OMuXBkKuZxBEJMW f8Z3G7BoeZo68zfVG2+ATQRYLz7EBkt1HK8hwlsc2loxM1EBMSabpq0BKwAyYUijJUe2 cGPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rPfOjSSrywOHXGttfq/Gmd20uGFiPcAOU4thSHbZOUg=; b=gqxYaTjc2kr04lYXN1lDWT2MHTataY9v+/K/0dDoqio0T+dDz7Z7ruc2HcqZaFKtle LEcLIiJRqPDSRZAyTYYImut/aV1zYlyHRd0IzA9mktdty1KQv+M8CZvn+rZKxXDD9FeO 0Pujy7gg1aYid+I7ko9ICPVJCLIMVCeZ7NZ9Q7RLBguZQHi9JgCtOEMtCyZmqzbl2jTm 9IlHyuVtAaHEmRedRY7ouKnWL42SVWtVW8U42hiZmsyOdLD3SsvyMp2VTeUSK1DuntbH z3cK3JjJsIZQq4vj+ZegjttXOxKNHftDkUimGJZqbOxBOjB+XvWXQ8qSfDz2Avu3BGAp KgoQ== X-Gm-Message-State: APjAAAVUJzYl+lbjuCi4/YKk91h5Rr/QGRFNOPU/teIcjRrhMIFz2URB 1OwXJ9OUdlgRKkeboxBW++/aEAOCrt8yi7aY9+jj1vs8+tw= X-Google-Smtp-Source: APXvYqxMvFDDveSVNTdxC/8VSWCdL37V+F8tdLQYA3G5tLjvK46G1X4/Oof1940MD5cgtjf86c5zX4/o/1PKuGhTUi8= X-Received: by 2002:a0c:942d:: with SMTP id h42mr3069492qvh.118.1573406544614; Sun, 10 Nov 2019 09:22:24 -0800 (PST) MIME-Version: 1.0 References: <7ace6346d97d0bfe95cfab3cb6fa820b@mh.san.ru> <1dff42bdef54d3eca4791e5da729ee479b386731.camel@freebsd.org> <20191110162225.49afa19a8031d679e97f03bd@bidouilliste.com> In-Reply-To: <20191110162225.49afa19a8031d679e97f03bd@bidouilliste.com> From: Warner Losh Date: Sun, 10 Nov 2019 10:22:13 -0700 Message-ID: Subject: Re: Can't write to IIC by I2CRDWR with two records 'struct iic_msg' To: Emmanuel Vadot Cc: Ian Lepore , "freebsd-arm@freebsd.org" X-Rspamd-Queue-Id: 47B16H3x0qz4BTG X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=pdXGMarg; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::f2f) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-1.87 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-0.99)[-0.993,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; URI_COUNT_ODD(1.00)[9]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.88)[ipnet: 2607:f8b0::/32(-2.34), asn: 15169(-2.00), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2019 17:22:33 -0000 On Sun, Nov 10, 2019 at 8:22 AM Emmanuel Vadot wrote: > On Sun, 10 Nov 2019 08:16:03 -0700 > Ian Lepore wrote: > > > On Sun, 2019-11-10 at 16:55 +0400, mishin@mh.san.ru wrote: > > > About a system: > > > 1. FreeBSD betta 12.1-STABLE FreeBSD 12.1-STABLE r354236 > > > OPI_ZERO arm > > > 2. Allwinner H2+ > > > 3. > > > iichb0: mem > > > 0x1c2ac00-0x1c2afff irq 35 on simplebus0 > > > iicbus0: on iichb0 > > > iic0: on iicbus0 > > > > > > > > > I trying to send a data array following a register value to a > > > SSD1306 > > > display > > > from 'Allwinner H2+' by a following method (according to `i2c.c`): > > > > > > char SSD1306::iic_write(uint8_t offset, uint8_t data[], uint16_t > > > size) > > > const { > > > struct iic_msg msgs[2] = > > > { > > > {slave_addr, IIC_M_WR | IIC_M_NOSTOP, sizeof(offset), &offset}, > > > {slave_addr, IIC_M_WR | IIC_M_NOSTART, size, data} > > > }; > > > > Some i2c hardware controller drivers don't properly support the NOSTOP > > and NOSTART flags. Sometimes it's a bug, and sometimes it's because > > hardware limitations prevent it. In the allwinner case, I think it's a > > bug, but manu would know for sure. > > > > -- Ian > > TWSI supports NOSTOP but I could never find the right incantation to > support NOSTART. > In the past I've had good luck "simulating" it with a single transfer that did the entire thing for picky hardware that doesn't like to 'interrupt' transactions. It's less convenient, to be sure, but works well when you have no other choice... It's clearly used here as a means to scatter/gather the data... Warner > > > > struct iic_rdwr_data xfer = {msgs, 2}; > > > > > > if ( ioctl(iic_handle, I2CRDWR, &xfer) == -1 ) { > > > perror("ioctl(I2CRDWR)"); > > > return(-1); > > > }; > > > return(0); > > > }; > > > > > > iic_write(0x40, buffer, buffer_size); > > > > > > But something goes wrong and the display stills blank (no errors, > > > though). But when I use an 'one record' struct > > > with combined 'register+data' array (see below) or read by that 'two > > > records' scheme (see below), all is ok. > > > > > > Have I made a mistake is flags or it is a feature or a bug? > > > > > > Thanks > > > > > > > > > > > > > > > --- > > > Next two methods works ok > > > > > > Read following write: > > > char TEA5767::iic_read(uint8_t offset, uint8_t *data, uint16_t size) > > > const { > > > struct iic_msg msgs[2] = > > > { > > > {slave_addr, IIC_M_WR | IIC_M_NOSTOP, sizeof(offset), &offset}, > > > {slave_addr, IIC_M_RD, size, data} > > > }; > > > struct iic_rdwr_data xfer = {msgs, 2}; > > > > > > if ( ioctl(iic_handle, I2CRDWR, &xfer) == -1) { > > > perror("ioctl(I2CRDWR)"); > > > return(-1); > > > }; > > > return(0); > > > }; > > > > > > and write a combined 'register+data' array works too: > > > > > > char SSD1306::iic_write(uint8_t data[], uint16_t size) const > > > { > > > struct iic_msg msgs[1] = > > > { > > > {slave_addr, IIC_M_WR, size, data} > > > }; > > > struct iic_rdwr_data xfer = {msgs, 1}; > > > > > > if ( ioctl(iic_handle, I2CRDWR, &xfer) == -1) { > > > perror("ioctl(I2CRDWR)"); > > > return(-1); > > > }; > > > return(0); > > > } > > > _______________________________________________ > > > freebsd-arm@freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org > > > " > > > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > > > -- > Emmanuel Vadot > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > From owner-freebsd-arm@freebsd.org Sun Nov 10 17:36:09 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E3BF01BA066; Sun, 10 Nov 2019 17:36:09 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47B1Q05hzrz4CYH; Sun, 10 Nov 2019 17:36:08 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id xAAHa1EU058644 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 10 Nov 2019 09:36:02 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id xAAHa1J1058643; Sun, 10 Nov 2019 09:36:01 -0800 (PST) (envelope-from fbsd) Date: Sun, 10 Nov 2019 09:36:01 -0800 From: bob prohaska To: freebsd-ports@freebsd.org, freebsd-arm@freebsd.org Subject: www/chromium error: expected readable system register Message-ID: <20191110173601.GA58618@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 47B1Q05hzrz4CYH X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [0.13 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.90)[-0.901,0]; WWW_DOT_DOMAIN(0.50)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; IP_SCORE(0.08)[ip: (0.32), ipnet: 50.1.16.0/20(0.16), asn: 7065(-0.04), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.94)[-0.943,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2019 17:36:10 -0000 An attempt to compile www/chromium on an RPI3 using 13.0-CURRENT #9 r354546 with ports at 517211 reported ../../third_party/boringssl/src/crypto/cpu-aarch64-linux.c:31:18: error: expected readable system register Is there a fix? Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Sun Nov 10 19:27:39 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DDE571BC65D for ; Sun, 10 Nov 2019 19:27:39 +0000 (UTC) (envelope-from mishin@mh.san.ru) Received: from frog.mh.net.ru (mh.balakovo.san.ru [88.147.158.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47B3tf1Yjmz4JGB for ; Sun, 10 Nov 2019 19:27:36 +0000 (UTC) (envelope-from mishin@mh.san.ru) Received: from mail.mh.net.ru (mouse.home [192.168.5.6]) by frog.mh.net.ru (Postfix) with ESMTPSA id 4D07CDA5CF for ; Sun, 10 Nov 2019 23:27:34 +0400 (+04) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Sun, 10 Nov 2019 23:27:34 +0400 From: mishin@mh.san.ru To: freebsd-arm@freebsd.org Subject: Re: Can't write to IIC by I2CRDWR with two records 'struct iic_msg' In-Reply-To: References: <7ace6346d97d0bfe95cfab3cb6fa820b@mh.san.ru> <1dff42bdef54d3eca4791e5da729ee479b386731.camel@freebsd.org> <20191110162225.49afa19a8031d679e97f03bd@bidouilliste.com> Message-ID: <5b39ff7578673fd07d43525a73ebd50e@mh.san.ru> X-Sender: mishin@mh.san.ru User-Agent: Roundcube Webmail/1.3.9 X-Rspamd-Queue-Id: 47B3tf1Yjmz4JGB X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mishin@mh.san.ru designates 88.147.158.22 as permitted sender) smtp.mailfrom=mishin@mh.san.ru X-Spamd-Result: default: False [-0.64 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.86)[-0.861,0]; IP_SCORE(1.03)[ipnet: 88.147.128.0/17(2.82), asn: 12389(2.33), country: RU(0.01)]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.51)[-0.514,0]; DMARC_NA(0.00)[san.ru]; FROM_NO_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12389, ipnet:88.147.128.0/17, country:RU]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2019 19:27:39 -0000 Warner Losh писал 2019-11-10 21:22: > On Sun, Nov 10, 2019 at 8:22 AM Emmanuel Vadot > wrote: > >> On Sun, 10 Nov 2019 08:16:03 -0700 >> Ian Lepore wrote: >> >> > On Sun, 2019-11-10 at 16:55 +0400, mishin@mh.san.ru wrote: >> > > About a system: >> > > 1. FreeBSD betta 12.1-STABLE FreeBSD 12.1-STABLE r354236 >> > > OPI_ZERO arm >> > > 2. Allwinner H2+ >> > > 3. >> > > iichb0: mem >> > > 0x1c2ac00-0x1c2afff irq 35 on simplebus0 >> > > iicbus0: on iichb0 >> > > iic0: on iicbus0 >> > > >> > > >> > > I trying to send a data array following a register value to a >> > > SSD1306 >> > > display >> > > from 'Allwinner H2+' by a following method (according to `i2c.c`): >> > > >> > > char SSD1306::iic_write(uint8_t offset, uint8_t data[], uint16_t >> > > size) >> > > const { >> > > struct iic_msg msgs[2] = >> > > { >> > > {slave_addr, IIC_M_WR | IIC_M_NOSTOP, sizeof(offset), &offset}, >> > > {slave_addr, IIC_M_WR | IIC_M_NOSTART, size, data} >> > > }; >> > >> > Some i2c hardware controller drivers don't properly support the NOSTOP >> > and NOSTART flags. Sometimes it's a bug, and sometimes it's because >> > hardware limitations prevent it. In the allwinner case, I think it's a >> > bug, but manu would know for sure. >> > >> > -- Ian >> >> TWSI supports NOSTOP but I could never find the right incantation to >> support NOSTART. >> > > In the past I've had good luck "simulating" it with a single transfer > that > did the entire thing for picky hardware that doesn't like to > 'interrupt' > transactions. It's less convenient, to be sure, but works well when you > have no other choice... It's clearly used here as a means to > scatter/gather > the data... > > Warner > Thanks for all replies. I generally expected to hear something like that. So I'll revert that method back to the "simulating it with a single transfer". Thanks. P.S.: Sorry, if received that message twice. >> > > >> > > char SSD1306::iic_write(uint8_t data[], uint16_t size) const >> > > { >> > > struct iic_msg msgs[1] = >> > > { >> > > {slave_addr, IIC_M_WR, size, data} >> > > }; >> > > struct iic_rdwr_data xfer = {msgs, 1}; >> > > >> > > if ( ioctl(iic_handle, I2CRDWR, &xfer) == -1) { >> > > perror("ioctl(I2CRDWR)"); >> > > return(-1); >> > > }; >> > > return(0); >> > > } >> > > _______________________________________________ >> > > freebsd-arm@freebsd.org mailing list >> > > https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org >> > > " >> > >> > _______________________________________________ >> > freebsd-arm@freebsd.org mailing list >> > https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >> >> >> -- >> Emmanuel Vadot >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Sun Nov 10 21:00:05 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 799AB17CD3C for ; Sun, 10 Nov 2019 21:00:05 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47B5xK2jy9z4Mmw for ; Sun, 10 Nov 2019 21:00:05 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 422974CA0 for ; Sun, 10 Nov 2019 21:00:05 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xAAL05nU078488 for ; Sun, 10 Nov 2019 21:00:05 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xAAL05p7078487 for freebsd-arm@FreeBSD.org; Sun, 10 Nov 2019 21:00:05 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201911102100.xAAL05p7078487@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: freebsd-arm@FreeBSD.org Subject: Problem reports for freebsd-arm@FreeBSD.org that need special attention Date: Sun, 10 Nov 2019 21:00:05 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2019 21:00:05 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 238576 | Raspberry Pi 3B+ "shutdown -p" does not shut off Open | 239673 | Spurious Interrupt message from /dev/led/led1 2 problems total for which you should take action. From owner-freebsd-arm@freebsd.org Mon Nov 11 07:26:45 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 407681AD57B for ; Mon, 11 Nov 2019 07:26:45 +0000 (UTC) (envelope-from nikolay.kostirya@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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47BMrL5Mj6z3MVw for ; Mon, 11 Nov 2019 07:26:41 +0000 (UTC) (envelope-from nikolay.kostirya@i11.co) Received: from [82.207.42.188] (helo=localhost) by mx.i11.co with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iU45p-0003hD-Vn for freebsd-arm@freebsd.org; Mon, 11 Nov 2019 07:26:34 +0000 Date: Mon, 11 Nov 2019 09:26:29 +0200 From: Nick Kostirya To: freebsd-arm@freebsd.org Subject: Where cpufreq in NanoPi NEO? Message-ID: <20191111092629.7693b8c0@i11.co> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; i386-portbld-freebsd11.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47BMrL5Mj6z3MVw X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.05 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[i11.co:s=omicron]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:159.69.78.69]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.05)[ipnet: 159.69.0.0/16(1.42), asn: 24940(-1.66), country: DE(-0.01)]; DKIM_TRACE(0.00)[i11.co:+]; DMARC_POLICY_ALLOW(-0.50)[i11.co,reject]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Nov 2019 07:26:45 -0000 Hello. Please, help me find cpufreq in dmesg for NanoPi NEO. I use FreeBSD-12.1-RELEASE-arm-armv7-GENERICSD.img and u-boot-nanopi_neo-2019.04. I see than "device cpufreq" is in http://svn.freebsd.org/base/releng/12.1/sys/arm/conf/GENERIC, but I do not see cpufreq in dmesg. About u-boot-nanopi_neo. Do u-boot-nanopi_neo load dtb automatical? Or I must write sun8i-h3-nanopi-neo.dtb_type="dtb" sun8i-h3-nanopi-neo.dtb_load="YES" in /boot/loader.conf ? But It is not even help to see cpufreq in dmesg. Nick. From owner-freebsd-arm@freebsd.org Mon Nov 11 07:33:57 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 051701AD823 for ; Mon, 11 Nov 2019 07:33:57 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47BN0g6ZC0z3MqT for ; Mon, 11 Nov 2019 07:33:55 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: by mail-qk1-x730.google.com with SMTP id e187so10404231qkf.4 for ; Sun, 10 Nov 2019 23:33:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tL4eIfvfiZDNMWuWqPNG9nkV7qLNqkQ6gehIFvuSba0=; b=cz8/1ZAWKb/N+ILP57kR4c5PNZWv4I6486rJas2AEL5nUA1zOIeQFOkTk/4hDscu3y rAwWzTY503+rgwFUtVP84jaPUurafN+qM5W3WCIHY7pSDma2Wt3nqJOZFEJ8ulxOegU/ +vj6nujPE7cjWrufdiWlpS601rK0/r6VsRrS8CzDmTh5OjrQNrcWcUoLuya/Oz5yNltO /JopA4aIdzLdG3BHD9P/JZCXzM91e/WWQ45YlwwOyoSoh7+fKfYdV/ZKxrnLVZACNRJm fvN9IATSIqYwC2gijzMemVHupDbrKYB6lMhPUqmvyER1LS1v7zdwBlWVU8qA0WIDaCed uDGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tL4eIfvfiZDNMWuWqPNG9nkV7qLNqkQ6gehIFvuSba0=; b=Oh5FviCJlRDt8TVv828hn/XehMfZ8C5BY9YcCX+g5ZYXkGzQZfiaQjAQrmoYkL7/mj W7PpoYsucATWlbBWaaahr9d3FkfWvharyHomHplC2G4ZEIQkgGbT7CrB0xeElskDuJFw Vo8QpjxV7l52x7xSeE3iXRgNjHpsxxzFsCqNUVXgB6mVxabIWFtntm01SDtCcRTG5eQE TA5uWekzbTldSjo8z+zDdaNdxkvf8MT+t2VOUMPrelm75YpEreWhBUl2tigEm+xQfQ6F 9FvGq6xnS5JTqa5xS7Ox/hLxS9DBX5m93KeNCjEyWQbu2Tf4tQOEBf0/6gKwisL8BO2i O2LQ== X-Gm-Message-State: APjAAAWGODIUzDTscs3C5c7kxerrVM/jTqJzyI/vYj1I/zq/Prh/JHJW m9S9UksWYufgtGKTuunz53acwJ7vunNTABe2GUA= X-Google-Smtp-Source: APXvYqzzpXh8jbsG6qCd/WqEK1fNJYL6X1JlqeH/T2jTjtVjmtCe+D/JibIVwk/IQD8sneQdQ+xV+K1I/aDZRNZpa0k= X-Received: by 2002:a05:620a:708:: with SMTP id 8mr9405021qkc.369.1573457634823; Sun, 10 Nov 2019 23:33:54 -0800 (PST) MIME-Version: 1.0 References: <20191111092629.7693b8c0@i11.co> In-Reply-To: <20191111092629.7693b8c0@i11.co> From: Ganbold Tsagaankhuu Date: Mon, 11 Nov 2019 15:33:43 +0800 Message-ID: Subject: Re: Where cpufreq in NanoPi NEO? To: Nick Kostirya Cc: "freebsd-arm@freebsd.org" X-Rspamd-Queue-Id: 47BN0g6ZC0z3MqT X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=cz8/1ZAW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ganbold@gmail.com designates 2607:f8b0:4864:20::730 as permitted sender) smtp.mailfrom=ganbold@gmail.com X-Spamd-Result: default: False [-1.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[13]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.34), ipnet: 2607:f8b0::/32(-2.34), asn: 15169(-2.00), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[0.3.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Nov 2019 07:33:57 -0000 On Mon, Nov 11, 2019 at 3:26 PM Nick Kostirya via freebsd-arm < freebsd-arm@freebsd.org> wrote: > Hello. > > Please, help me find cpufreq in dmesg for NanoPi NEO. > I use FreeBSD-12.1-RELEASE-arm-armv7-GENERICSD.img and > u-boot-nanopi_neo-2019.04. > I see than "device cpufreq" is in > http://svn.freebsd.org/base/releng/12.1/sys/arm/conf/GENERIC, but I do > not see cpufreq in dmesg. > You probably need dts overlay, something like: https://reviews.freebsd.org/D21726 For quick test you can use: https://people.freebsd.org/~ganbold/sun8i-h3-opp.dtbo You should put it in /boot/loader.conf: fdt_overlays="sun8i-h3-sid.dtbo,sun8i-h3-ths.dtbo,sun8i-h3-opp.dtbo" > > About u-boot-nanopi_neo. > Do u-boot-nanopi_neo load dtb automatical? Or I must write > sun8i-h3-nanopi-neo.dtb_type="dtb" > sun8i-h3-nanopi-neo.dtb_load="YES" > in /boot/loader.conf ? > It will use what is set for u-boot-nanopi_neo-2019.04, which should be correct one. Ganbold > But It is not even help to see cpufreq in dmesg. > > Nick. > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > From owner-freebsd-arm@freebsd.org Mon Nov 11 16:03:07 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3808D1B8A4A for ; Mon, 11 Nov 2019 16:03:07 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47BbJ93wF0z4KsX for ; Mon, 11 Nov 2019 16:03:05 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id xABG330c061899 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 11 Nov 2019 08:03:04 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id xABG334r061898; Mon, 11 Nov 2019 08:03:03 -0800 (PST) (envelope-from fbsd) Date: Mon, 11 Nov 2019 08:03:03 -0800 From: bob prohaska To: freebsd-arm@freebsd.org Subject: What is an invalid ASID ? Message-ID: <20191111160303.GA61731@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 47BbJ93wF0z4KsX X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [2.38 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.50)[-0.501,0]; WWW_DOT_DOMAIN(0.50)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(0.08)[ip: (0.32), ipnet: 50.1.16.0/20(0.16), asn: 7065(-0.04), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.09)[-0.092,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Nov 2019 16:03:07 -0000 While building world on a Pi3 running -current at r354546 the machine reported panic: invalid ASID For now he machine has restarted and resumed buildworld. Is there a glossary somewhere that offers a description of ASID? Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Mon Nov 11 19:47:20 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 930F61BCE93 for ; Mon, 11 Nov 2019 19:47:20 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-24.consmr.mail.gq1.yahoo.com (sonic312-24.consmr.mail.gq1.yahoo.com [98.137.69.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47BhGv3bfSz4Zl1 for ; Mon, 11 Nov 2019 19:47:19 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 9DSOdqQVM1mesOY3PcuY9N.FNqXXpodBSS.U_2VfUKuvXad4B5lOBaqQpsS_fdY LLBTcnIQMhwNFUd1agvjztlH85BF7B4oBUrE23.LPr8iOlBEgvv.7RRX.zbW8zKPnHHjsSnomVWe EizriDLnsykFNV5fve5l89BgRpeOFWImq98ssTETnGgvMlyXXCGLOXO_ny2FswIpR3B_BzAufb2L 3qx.x5dFc9K44CwAj9KB2V_7nn3eBFYLBlO4qJv0kQ_FTSfZwbuGSMpT6DpAsD5nFgmxyJ3ijywT XcB_oasGjcDUqggwOru3Pjn2wieTD7sj5gz2NHIJzYis9N4MRF8A3RBldvY4qAUa7zPcX2Mt1m9_ urV3_cY6rMb_F9UPPe4QbvT_nhzfQH_CisQXNSQSi7V5MIwrs7esP.rwSQo.MR58Fp0NptSDp7nn ThRDSPiEbCLWIVZ44NpeqxG06skqeKwASshrXbT8aqkNruCKQptxE2LHC1EpfXyVPuqcYOBl7.n9 w4pqSVOAWwccIKyrThSoTw15UHEOhpG5ea5eIqr6.H_HOT7xKtYxdgg7lsHsBa4EM5Sv9QikPxK2 5cyTjVHnvvVSmdqv1zKWmdfyT1BP7i_J.vky7gxNsVYNbrHXkWq4NmgUgTDbodsl0qbTtkdvEvkm ud8EoTqKIvS154Ftj5ZRK0CFP3BTw0Lo4N6mXLhRYxwx8tbKtWztcz44_7k8NKtax6CsijbSpYio KjSRgQRwTcDYfkqsTnOGk8jDOpRq4ez0YzAUUZ2QD3LbSdD8_CsoewoE9LFMsVspIYM2eHUg.L7h WQgzJudmUZ0Ay9MYyRUKB2ZmPqjSw7aNBS.Wd.117y9IYlFZpAY3pTcERKm3uf.EzF8ZthKJ5sFx PTQMqvG9uQwJmykA5MD7FdlSpWKvUHbw.qOD4780JaqWL9QGmEwSZpUy2W.m517w8kTrh6exAGNa 24ERtsAaY8mpLzHiC_MRq0Gwknau3IkNYCiqA0AvnTpimVSwJ0uMTfUIO3h_i7XmW.bAssMohDS_ JKU_yuDMS8tHJ9Z6A4A8k2cqz_2vdRyXGslBcMkxVLGxfKkaNZJkd5uN6.HCdg0DVR._vwBj9rMS tuBNXZI9eFlFfrww6NVGmHcmJ3.Ps3pPJOm1puBxUEWqPMEfHionSIfTjrLEz5o63yc1wDgzWKRU cq5Tad5oPCwGmKXycTfnK_JDGwKnrWlzkURoXjRS4YTdStud0NoIaWpvnOipAQr6hryvFYS.4gR0 d0oi1ORYxPq1.3ZQvOrMCz.VO6cGXDzUx.h9JYwkYkvU32cc9Gq199LC_QZ8PzQrJLk0R2IsWkLw mMX1.KZH_bCmUbVx2IcTAMw_mBwCe0ZfKFliK4Zr7BvVhM5GL5pKN8pokapRfxzIhBO_jm6_eaUd xNEzK.VThheNHGCH1PCeQG5GdjPf2MaKQdA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Mon, 11 Nov 2019 19:47:17 +0000 Received: by smtp413.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 5e4dbc9b6874d923206480269dd67a64; Mon, 11 Nov 2019 19:47:14 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Subject: Re: What is an invalid ASID ? From: Mark Millard In-Reply-To: <20191111160303.GA61731@www.zefox.net> Date: Mon, 11 Nov 2019 11:47:11 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <7D522F39-7CCB-4678-BE12-506CE8122AC2@yahoo.com> References: <20191111160303.GA61731@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3601.0.10) X-Rspamd-Queue-Id: 47BhGv3bfSz4Zl1 X-Spamd-Bar: + X-Spamd-Result: default: False [1.04 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (6.92), ipnet: 98.137.64.0/21(0.87), asn: 36647(0.70), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.25)[-0.246,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.78)[0.785,0]; RCVD_IN_DNSWL_NONE(0.00)[205.69.137.98.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[205.69.137.98.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Nov 2019 19:47:20 -0000 On 2019-Nov-11, at 08:03, bob prohaska wrote: > While building world on a Pi3 running -current at r354546 the machine > reported=20 > panic: invalid ASID >=20 > For now he machine has restarted and resumed buildworld. >=20 > Is there a glossary somewhere that offers a description of ASID? Looks like it is arm terminology instead of FreeBSD-specific = terminology, though FreeBSD would have its specific style of use of such. Quoting = from a document about armv8: QUOTE Each TLB entry typically contains not only physical and virtual = addresses, but also attributes such as memory type, cache policies, = access permissions, the Address Space ID (ASID), and the Virtual Machine = ID (VMID). END QUOTE =46rom what I see there is FreeBSD code around like: * A pmap's cookie encodes an ASID and epoch number. Cookies for = reserved * ASIDs have a negative epoch number, specifically, INT_MIN. Cookies = for * dynamically allocated ASIDs have a non-negative epoch number. * * An invalid ASID is represented by -1. . . . #define ASID_TO_OPERAND(asid) ({ = \ KASSERT((asid) !=3D -1, ("invalid ASID")); = \ (uint64_t)(asid) << ASID_TO_OPERAND_SHIFT; = \ }) It looks like a backtrace from such a panic might be of interest to the folks dealing with such areas. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-arm@freebsd.org Tue Nov 12 08:50:42 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3127717E222 for ; Tue, 12 Nov 2019 08:50:42 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vtr.rulingia.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47C1fm4bFLz4HM5; Tue, 12 Nov 2019 08:50:40 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp239-208.static.internode.on.net [59.167.239.208]) by vtr.rulingia.com (8.15.2/8.15.2) with ESMTPS id xAC8oPuL031011 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 Nov 2019 19:50:30 +1100 (AEDT) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.15.2/8.15.2) with ESMTPS id xAC8oJIE095448 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 12 Nov 2019 19:50:19 +1100 (AEDT) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id xAC8oJ3m095447; Tue, 12 Nov 2019 19:50:19 +1100 (AEDT) (envelope-from peter) Date: Tue, 12 Nov 2019 19:50:19 +1100 From: Peter Jeremy To: mmel@FreeBSD.org Cc: freebsd-arm@freebsd.org Subject: Rock64 clock errors following r354558 Message-ID: <20191112085019.GC50716@server.rulingia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="i0/AhcQY5QxfSsSZ" Content-Disposition: inline X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 47C1fm4bFLz4HM5 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of peter@rulingia.com designates 2001:19f0:5801:ebe:5400:1ff:fe53:30fd as permitted sender) smtp.mailfrom=peter@rulingia.com X-Spamd-Result: default: False [-7.71 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[rulingia.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-3.31)[ip: (-9.91), ipnet: 2001:19f0:5800::/38(-4.95), asn: 20473(-1.66), country: US(-0.05)]; RCPT_COUNT_TWO(0.00)[2]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5800::/38, country:US]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 08:50:42 -0000 --i0/AhcQY5QxfSsSZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Michal, Somewhere between r354439 and r354592, my Rock64 (RK3328) has started reporting errors setting the clocks on aclk_bus_pre and aclk_peri_pre. My best guess is that it's somewhere in r354554..r354558. I have had a quick look and noting jumps out at me so I'm wondering if you have any ideas. The relevant non-verbose messages are now: rk3328_cru0: mem 0xff440000-0xff440f= ff on ofwbus0 rk3328_cru0: cannot get parent at idx 6 Cannot set frequency for clk: aclk_bus_pre, error: 34 rk3328_cru0: Failed to set aclk_bus_pre to a frequency of 15000000 Cannot set frequency for clk: aclk_peri_pre, error: 34 rk3328_cru0: Failed to set aclk_peri_pre to a frequency of 15000000 The "cannot get parent" has been around for as long as I can tell but the "cannot set frequency" errors are both new. Looking back, my previous verbose boot was at r354239 and it shows: rk3328_cru0: cannot get assigned clock at idx 5 rk3328_cru0: cannot get parent at idx 6 rk3328_cru0: Set aclk_bus_pre to 15000000 rk3328_cru0: Set aclk_peri_pre to 15000000 rk3328_cru0: cannot get assigned clock at idx 8 With a verbose boot at r354607 (including some additional debug printf's), it now shows: rk3328_cru0: cannot get assigned clock at idx 5 rk3328_cru0: cannot get parent for aclk_bus_pre at idx 6 rk_clk_composite_set_freq:(aclk_bus_pre)Finding best parent/div for target = freq of 15000000 rk_clk_composite_set_freq:(aclk_bus_pre)Testing with parent cpll (0) at fre= q 594000000 rk_clk_composite_set_freq:(aclk_bus_pre)Testing with parent gpll (1) at fre= q 576000000 rk_clk_composite_set_freq:(aclk_bus_pre)Best divisor is 0 Cannot set frequency for clk: aclk_bus_pre, error: 34 rk_clk_composite_recalc:(aclk_bus_pre)Read: muxdiv_offset=3D100, val=3D2501 rk_clk_composite_recalc:(aclk_bus_pre)parent_freq=3D576000000, div=3D6 rk_clk_composite_recalc:(aclk_bus_pre)Final freq=3D96000000 rk_clk_composite_recalc:(hclk_bus_pre)Read: muxdiv_offset=3D104, val=3D1113 rk_clk_composite_recalc:(hclk_bus_pre)parent_freq=3D96000000, div=3D2 rk_clk_composite_recalc:(hclk_bus_pre)Final freq=3D48000000 rk_clk_composite_recalc:(pclk_bus_pre)Read: muxdiv_offset=3D104, val=3D1113 rk_clk_composite_recalc:(pclk_bus_pre)parent_freq=3D96000000, div=3D2 rk_clk_composite_recalc:(pclk_bus_pre)Final freq=3D48000000 rk3328_cru0: Failed to set aclk_bus_pre to a frequency of 15000000 rk_clk_composite_set_freq:(aclk_peri_pre)Finding best parent/div for target= freq of 15000000 rk_clk_composite_set_freq:(aclk_peri_pre)Testing with parent cpll (0) at fr= eq 594000000 rk_clk_composite_set_freq:(aclk_peri_pre)Testing with parent gpll (1) at fr= eq 576000000 rk_clk_composite_set_freq:(aclk_peri_pre)Best divisor is 0 Cannot set frequency for clk: aclk_peri_pre, error: 34 rk_clk_composite_recalc:(aclk_peri_pre)Read: muxdiv_offset=3D170, val=3D4143 rk_clk_composite_recalc:(aclk_peri_pre)parent_freq=3D576000000, div=3D4 rk_clk_composite_recalc:(aclk_peri_pre)Final freq=3D144000000 rk_clk_composite_recalc:(pclk_peri)Read: muxdiv_offset=3D0, val=3D40c8 rk_clk_composite_recalc:(pclk_peri)parent_freq=3D144000000, div=3D1 rk_clk_composite_recalc:(pclk_peri)Final freq=3D144000000 rk_clk_composite_recalc:(hclk_peri)Read: muxdiv_offset=3D0, val=3D40c8 rk_clk_composite_recalc:(hclk_peri)parent_freq=3D144000000, div=3D5 rk_clk_composite_recalc:(hclk_peri)Final freq=3D28800000 rk3328_cru0: Failed to set aclk_peri_pre to a frequency of 15000000 rk3328_cru0: cannot get assigned clock at idx 8 --=20 Peter Jeremy --i0/AhcQY5QxfSsSZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAl3KckZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzRTUw/9HbBX9qJZPsRJR109fcPMY2VPsQXulRgWlqhJWqj9QIpxAoJZyaqyOYDk OJuK/d0Rz+y4fWm+ppTCjKoyyuFTrusGUnKnsILTyL7NPG3Si2fh1pvYss6YddC9 mRpCS3TB3neVhTO7Js6Y6WAKAugBZLKoD7a1eADzflCS304AD0pAS6XaoiW9nz4x nrkOXowGgsV6wJZ7YUnrHjq3pjiOOxsucwA1hNuNk8B8oj3BVSlLXaoMmuby2Kru NATAxYC1PI5pSJSsJCuuuzMHrDqD6/SDMQ4B7KLMSDvvCVQwqe0rBbquQc+xzsub oB2U8moJ5Kk6CwuTDCgG+6uQPlgzVrBSmQ2qsB372v+mLOwf8UqCmwdNyW0StXnL 7sBgatUpfM9GJg8Hdk/GBNAzj7GRZyUv+H2L2GWAm9IQa9on64xoDTpchkuJJE2J AOD/1auSgcyPEOgvXC9OuQDZKaobpXKWRV+FVjUcMpaTw0rc57gWmijPn+dr/+0J xKUw0dg6uYl14B85eVQPkkNX6WXJLnH1/7ld87gQwtjKS311woW8AvwgAqhQytfW PlxOxkthQWOC04IEWjrVhTKRBBZgarcG8rJijPr8T7rIgOnp9KlTsOW2tZZAixt9 vUvAHxOMNMUiEkzZswTQaVt/y3uW3CigsgCBDqPSGAnqAdko/Sg= =wErf -----END PGP SIGNATURE----- --i0/AhcQY5QxfSsSZ-- From owner-freebsd-arm@freebsd.org Tue Nov 12 11:50:52 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3DED21AA965 for ; Tue, 12 Nov 2019 11:50:52 +0000 (UTC) (envelope-from sboyerch111@gmail.com) Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47C5fg28LQz4S4L for ; Tue, 12 Nov 2019 11:50:51 +0000 (UTC) (envelope-from sboyerch111@gmail.com) Received: by mail-il1-x12c.google.com with SMTP id m5so15282335ilq.0 for ; Tue, 12 Nov 2019 03:50:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=lJYJ4cVgMSp+gyK3jpw4O0JHWkG80BrUANkRA/ZLEYU=; b=WwwAvCHDsSqiL/LHwSs06gX8neH9jtBzix++xVixlVO7VJugRbCbCAIMsRF28f4Jvu FPpDKVOSCU4UeYd9lZrxnUcQUQvCwRz2v338MEbfdxiQwKXjuQCD7gxwdcGATtpryUZs 7hG30j0kfPaleBFMyfGk3/fbB5RvmISr+JXXHsCBEr0veCOrtqcuyHMvzfrQfbHlFFp6 MQNmPv3djDt5XnhiLvFEalit67HDfRYoYPX+Kg/isstgVF14dp5hUZvYZem1Bt8akH+i sGlatRw8BukbxqZ/5zEWegAmJfaIjHJDQDQUIP+B91/aw5NqNYUHAtkPp310YF+8kbSK 0wUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=lJYJ4cVgMSp+gyK3jpw4O0JHWkG80BrUANkRA/ZLEYU=; b=NbWMrCHT+Ly4oD/4+8kA91jBYf4U6MOsVwLsk/h01ov0qX9oZBny2EaSaff7EjGR4a kKpHhwjHbTzGPE8ecowG7R26bW5F/wiql4uj7bgsLmNwCZwzLm3swe9VGRcd+SdB4UsO sFOlzOrSpGxA/27A1wixyHlFT+dwlOSyqWX9C4qOZyc694gq0EUIHwYddESeTojG3QSD vopECroeNJXlUUDAgJ2Pt7s4XSymdKDSe/1n0Yu188Dc9DO/TVd+ebPeA3Wq9EyEdpzK l+MQybfUQtUISJvPfgBypLwtQOaFI4S/LPDyZ0OuauIwMidXkmN7GqKa5Vmuer4bfvVb TuqQ== X-Gm-Message-State: APjAAAU29sT74EsLt63nFOOAcu/+Dc6N1h/lVxRNL+Jnk2K/hGG3X4ro cYHfz2z45FJHYnQvA1O+UJPG1yAIPuq8DJjcqaVyFZ5+ X-Google-Smtp-Source: APXvYqzrlhHTaly1DikKu6sKpV3xF8Sg7TCVtnIzk4B2AlkVQRMUQ/DuANwA4nGm0srLudSAnEuOYhFoOb4qrirm0hw= X-Received: by 2002:a92:af98:: with SMTP id v24mr9270945ill.277.1573559450042; Tue, 12 Nov 2019 03:50:50 -0800 (PST) MIME-Version: 1.0 From: Chris Hill Date: Tue, 12 Nov 2019 03:50:39 -0800 Message-ID: Subject: Arm64 To: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 47C5fg28LQz4S4L X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=WwwAvCHD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sboyerch111@gmail.com designates 2607:f8b0:4864:20::12c as permitted sender) smtp.mailfrom=sboyerch111@gmail.com X-Spamd-Result: default: False [-2.50 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(0.00)[ip: (-9.26), ipnet: 2607:f8b0::/32(-2.33), asn: 15169(-2.00), country: US(-0.05)]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[c.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; R_PARTS_DIFFER(0.50)[100.0%]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 11:50:52 -0000 C From owner-freebsd-arm@freebsd.org Tue Nov 12 12:45:55 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5ABA01ACA58 for ; Tue, 12 Nov 2019 12:45:55 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47C6tB0BRLz4WLg for ; Tue, 12 Nov 2019 12:45:53 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id xACCkaLZ095422 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 12 Nov 2019 13:46:37 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1573562798; bh=mKtN0OIrkirX7q8MU/wiaGUr5n+dLQgppy+mOaD+0rA=; h=Date:From:To:Subject:Reply-To:References:In-Reply-To; b=ajJYtyDbjlsAHv0VKvIuPrRmfEg/WSMYmNb+1ohdch5CVEirqJpJ4C9s+CAeCY9tm YfTZL0y2G1kZEiYyOkq4wVHMaJ1sqclG2dfQ6ep4HMrBoUeA1OL6eOWcq4vIakg/k1 v3By1JrqMAqnkHJMH7Vhk4je0OqMweH+AdTguQTA= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id xACCjirY047324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Nov 2019 13:45:44 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id xACCjh5n034780; Tue, 12 Nov 2019 13:45:43 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id xACCjeri034779; Tue, 12 Nov 2019 13:45:40 +0100 (CET) (envelope-from ticso) Date: Tue, 12 Nov 2019 13:45:40 +0100 From: Bernd Walter To: Nenhum_de_Nos , freebsd-arm@freebsd.org Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191112124539.GM43404@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191015220433.GS96402@funkthat.com> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 47C6tB0BRLz4WLg X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=ajJYtyDb; dmarc=none; spf=none (mx1.freebsd.org: domain of ticso@cicely7.cicely.de has no SPF policy when checking 195.149.99.3) smtp.mailfrom=ticso@cicely7.cicely.de X-Spamd-Result: default: False [-1.79 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; NEURAL_HAM_MEDIUM(-0.99)[-0.987,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 12:45:55 -0000 On Tue, Oct 15, 2019 at 03:04:33PM -0700, John-Mark Gurney wrote: > Nenhum_de_Nos wrote this message on Mon, Oct 14, 2019 at 23:31 -0300: > > I am about to buy a new arm box and would like it to be the most powerfull > > I can get and still get to use FreeBSD somewhere not so far from now. I > > know RPi4 is not supported right now, but as I have both RPi2B and RPi3B > > and they run fine, my guess is the 4B will have its time also. > > > > So it then comes down to 4B or ROCKPro64. I saw Pine64 images, but I could > > not find much information about the ROCKPro64. I looked for some > > benchmarks to know the faster CPU, and it looks like the RK3399 is a bit > > faster. As the board has more features, I am asking here, if this has even > > an answer, what board has better future in FreeBSD. > > > > Thanks in advance :) > > RockPro64 work is still ongoing. It is coming along though, and it does > boot. There is still lots of work to do, like properly support the > big.little cores and the like. > > I have mine booting from SD card, but it isn't yet full speed (though > I need to test some of the fixes that have been committed. This sounds great already. Just got my RockPro64 4G today. Any advise on how to build an image? The u-boot has to go into the SPI-Flash or on the card? Also have to check the board documentation for the console pins. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Tue Nov 12 13:20:07 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CC7A31AD7EA for ; Tue, 12 Nov 2019 13:20:07 +0000 (UTC) (envelope-from nikolay.kostirya@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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47C7df1wXHz4Xnj for ; Tue, 12 Nov 2019 13:20:05 +0000 (UTC) (envelope-from nikolay.kostirya@i11.co) Received: from [82.207.42.188] (helo=localhost) by mx.i11.co with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iUW5O-0000jE-43; Tue, 12 Nov 2019 13:19:58 +0000 Date: Tue, 12 Nov 2019 15:19:55 +0200 From: Nick Kostirya To: Ganbold Tsagaankhuu Cc: "freebsd-arm@freebsd.org" Subject: Re: Where cpufreq in NanoPi NEO? Message-ID: <20191112151955.742fbeab@i11.co> In-Reply-To: References: <20191111092629.7693b8c0@i11.co> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; i386-portbld-freebsd11.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47C7df1wXHz4Xnj X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.01 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[i11.co:s=omicron]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:159.69.78.69]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.05)[ipnet: 159.69.0.0/16(1.42), asn: 24940(-1.65), country: DE(-0.01)]; NEURAL_HAM_MEDIUM(-0.97)[-0.966,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[i11.co:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[i11.co,reject]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 13:20:07 -0000 On Mon, 11 Nov 2019 15:33:43 +0800 Ganbold Tsagaankhuu wrote: > On Mon, Nov 11, 2019 at 3:26 PM Nick Kostirya via freebsd-arm < > freebsd-arm@freebsd.org> wrote: > > > Hello. > > > > Please, help me find cpufreq in dmesg for NanoPi NEO. > > I use FreeBSD-12.1-RELEASE-arm-armv7-GENERICSD.img and > > u-boot-nanopi_neo-2019.04. > > I see than "device cpufreq" is in > > http://svn.freebsd.org/base/releng/12.1/sys/arm/conf/GENERIC, but I do > > not see cpufreq in dmesg. > > > > You probably need dts overlay, something like: > > https://reviews.freebsd.org/D21726 > > For quick test you can use: > https://people.freebsd.org/~ganbold/sun8i-h3-opp.dtbo > You should put it in /boot/loader.conf: > > fdt_overlays="sun8i-h3-sid.dtbo,sun8i-h3-ths.dtbo,sun8i-h3-opp.dtbo" Thanks. Tell me, please. Where must I put sun8i-h3-opp.dtbo file? /boot/dtb/overlays/ or /boot/msdos/dtb/overlays/ ? Do files sun8i-h3-sid.dtbo,sun8i-h3-ths.dtbo is from https://people.freebsd.org/~ganbold/dtb/ ? What is sun8i-h3-nanopi-r1.dtb and sun8i-h3-nanopi-r1-new.dtb? How do they differ from /boot/msdos/dtb/sun8i-h3-nanopi-neo.dtb ? From owner-freebsd-arm@freebsd.org Tue Nov 12 13:33:41 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B28F1ADFB5 for ; Tue, 12 Nov 2019 13:33:41 +0000 (UTC) (envelope-from nikolay.kostirya@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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47C7xJ2lQPz4Yr7 for ; Tue, 12 Nov 2019 13:33:40 +0000 (UTC) (envelope-from nikolay.kostirya@i11.co) Received: from [82.207.42.188] (helo=localhost) by mx.i11.co with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iUWIc-0000rc-S0; Tue, 12 Nov 2019 13:33:39 +0000 Date: Tue, 12 Nov 2019 15:33:36 +0200 From: Nick Kostirya To: Subject: Re: Where cpufreq in NanoPi NEO? Message-ID: <20191112153336.6535e513@i11.co> In-Reply-To: <20191112151955.742fbeab@i11.co> References: <20191111092629.7693b8c0@i11.co> <20191112151955.742fbeab@i11.co> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; i386-portbld-freebsd11.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47C7xJ2lQPz4Yr7 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.02 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[i11.co:s=omicron]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:159.69.78.69:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.05)[ipnet: 159.69.0.0/16(1.42), asn: 24940(-1.65), country: DE(-0.01)]; NEURAL_HAM_MEDIUM(-0.97)[-0.967,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[i11.co:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[i11.co,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; FREEMAIL_CC(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 13:33:41 -0000 On Tue, 12 Nov 2019 15:19:55 +0200 Nick Kostirya via freebsd-arm wrote: > On Mon, 11 Nov 2019 15:33:43 +0800 > Ganbold Tsagaankhuu wrote: > > > On Mon, Nov 11, 2019 at 3:26 PM Nick Kostirya via freebsd-arm < > > freebsd-arm@freebsd.org> wrote: > > > > > Hello. > > > > > > Please, help me find cpufreq in dmesg for NanoPi NEO. > > > I use FreeBSD-12.1-RELEASE-arm-armv7-GENERICSD.img and > > > u-boot-nanopi_neo-2019.04. > > > I see than "device cpufreq" is in > > > http://svn.freebsd.org/base/releng/12.1/sys/arm/conf/GENERIC, but I do > > > not see cpufreq in dmesg. > > > > > > > You probably need dts overlay, something like: > > > > https://reviews.freebsd.org/D21726 > > > > For quick test you can use: > > https://people.freebsd.org/~ganbold/sun8i-h3-opp.dtbo > > You should put it in /boot/loader.conf: > > > > fdt_overlays="sun8i-h3-sid.dtbo,sun8i-h3-ths.dtbo,sun8i-h3-opp.dtbo" > > Thanks. > > Tell me, please. > Where must I put sun8i-h3-opp.dtbo file? > /boot/dtb/overlays/ or /boot/msdos/dtb/overlays/ ? > > Do files sun8i-h3-sid.dtbo,sun8i-h3-ths.dtbo is from https://people.freebsd.org/~ganbold/dtb/ ? FIX. Questions without it: > What is sun8i-h3-nanopi-r1.dtb and sun8i-h3-nanopi-r1-new.dtb? > How do they differ from /boot/msdos/dtb/sun8i-h3-nanopi-neo.dtb ? From owner-freebsd-arm@freebsd.org Tue Nov 12 14:20:32 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F15001AEF25 for ; Tue, 12 Nov 2019 14:20:32 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47C8zM4j6rz4bk6 for ; Tue, 12 Nov 2019 14:20:31 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=9PUHie9Q8UPiL+nxazRW8R/Yfh0l+jh3OeJPWoHhZYU=; b=yZ0FlEzn26dmeuGETIIbEvWgBpxJdwrt0fKhjHnx3R5P6Q8BZl+853YFMRzBM8cbEC9kLnKWtV0LZBcINrDtO/KJ0H4iQr26Dx+PN00iEjL6mvklthQX5wnKSofphDN3+eErUsDCZyVtG79ZJbN6LnhzzETMVkYuHGfw+usJ9Bw2Q/NcDDoglcplaV3jJu8OReLL3x4JU3lHmH+rttqeQuvutzCYK8qt4NFRG3Ntx1DdiABz+pqLz6DRzTEy+9UYuVARcu3XQpY5KLEVfKtQcTqLwc9Gyj1zfin7iDzM9SI3GhzRFUw33UwkGYvKaRbJ9KIhzljTTUZjhgNh7wfzfg==; Received: from macmini.bk.cs.huji.ac.il ([132.65.179.19]) by kabab.cs.huji.ac.il with esmtp id 1iUX1f-0002Dr-A5; Tue, 12 Nov 2019 16:20:11 +0200 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Subject: Re: Where cpufreq in NanoPi NEO? From: Daniel Braniss In-Reply-To: Date: Tue, 12 Nov 2019 16:20:11 +0200 Cc: Nick Kostirya , "freebsd-arm@freebsd.org" Content-Transfer-Encoding: 7bit Message-Id: <459E7D91-0276-421F-9B90-53A6B8F4D09D@cs.huji.ac.il> References: <20191111092629.7693b8c0@i11.co> To: Ganbold Tsagaankhuu X-Mailer: Apple Mail (2.3601.0.10) X-Rspamd-Queue-Id: 47C8zM4j6rz4bk6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.huji.ac.il header.s=57791128 header.b=yZ0FlEzn; dmarc=pass (policy=none) header.from=huji.ac.il; spf=none (mx1.freebsd.org: domain of danny@cs.huji.ac.il has no SPF policy when checking 132.65.116.210) smtp.mailfrom=danny@cs.huji.ac.il X-Spamd-Result: default: False [-2.04 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[cs.huji.ac.il:s=57791128]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cs.huji.ac.il:+]; DMARC_POLICY_ALLOW(-0.50)[huji.ac.il,none]; RCVD_IN_DNSWL_NONE(0.00)[210.116.65.132.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:378, ipnet:132.64.0.0/13, country:IL]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.74)[ip: (-1.47), ipnet: 132.64.0.0/13(-1.26), asn: 378(-1.01), country: IL(0.05)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 14:20:33 -0000 Hi Ganbold, any chance of getting your sun8i-h3-ths.dtso? thanks, danny PS: im in the process of trying out the freq stuff on a nano-pi v2 > On 11 Nov 2019, at 9:33, Ganbold Tsagaankhuu wrote: > > On Mon, Nov 11, 2019 at 3:26 PM Nick Kostirya via freebsd-arm < > freebsd-arm@freebsd.org> wrote: > >> Hello. >> >> Please, help me find cpufreq in dmesg for NanoPi NEO. >> I use FreeBSD-12.1-RELEASE-arm-armv7-GENERICSD.img and >> u-boot-nanopi_neo-2019.04. >> I see than "device cpufreq" is in >> http://svn.freebsd.org/base/releng/12.1/sys/arm/conf/GENERIC, but I do >> not see cpufreq in dmesg. >> > > You probably need dts overlay, something like: > > https://reviews.freebsd.org/D21726 > > For quick test you can use: > https://people.freebsd.org/~ganbold/sun8i-h3-opp.dtbo > You should put it in /boot/loader.conf: > > fdt_overlays="sun8i-h3-sid.dtbo,sun8i-h3-ths.dtbo,sun8i-h3-opp.dtbo" > > >> >> About u-boot-nanopi_neo. >> Do u-boot-nanopi_neo load dtb automatical? Or I must write >> sun8i-h3-nanopi-neo.dtb_type="dtb" >> sun8i-h3-nanopi-neo.dtb_load="YES" >> in /boot/loader.conf ? >> > > It will use what is set for u-boot-nanopi_neo-2019.04, which should be > correct one. > > Ganbold > > >> But It is not even help to see cpufreq in dmesg. >> >> Nick. >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Tue Nov 12 14:29:12 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9B44A1AF251 for ; Tue, 12 Nov 2019 14:29:12 +0000 (UTC) (envelope-from melounmichal@gmail.com) Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47C99M5syMz4c9g for ; Tue, 12 Nov 2019 14:29:11 +0000 (UTC) (envelope-from melounmichal@gmail.com) Received: by mail-wm1-x32d.google.com with SMTP id c22so3192798wmd.1 for ; Tue, 12 Nov 2019 06:29:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:reply-to:subject:to:cc:references:autocrypt:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=6WYS3gzEinl5wDFAiMGwSOzuv2ulkK9B/xfCpnHhAAk=; b=EVieJCkfdIGOfo1OeZVgBODPFuFQ4BFq1+RO4hZuZYzSJlGFYnymJAhPptc2Ibdzzn FdE/xjNN7WGOnMyR4aH/Qsx2pZfPjfgzcU3ulRNMjZslw51Lgv8N8SJxPTK0Pgualp2P rdplGFYZ0PH5VAM7H4lCd28SACU1bHCpryKzbnRjDfljFof0wTDZIev/gYvzp9Ss5UNf IKUmPfn4beOpocx+YwlvVxvmNqq64R/UaLN5/0fv74JFzbBw5iTZ0lkXxWDrUxzoVHTm 1+Y2gJWKMJb13aJsDvGT5M91tmw/lI//L8ZoiXSU9koM0UUFNsAfgwahbAs3RPcAmoli hCiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:reply-to:subject:to:cc:references :autocrypt:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=6WYS3gzEinl5wDFAiMGwSOzuv2ulkK9B/xfCpnHhAAk=; b=FVwKBFGutuHUFso5hR+23+du0YYVPUEMVCEJFlhCyc3+gjzzIMh2zHWnD8PH/ETa1V ntqX2JBWzce91gb3O1zmBuz1ov9Orky8/wnP71KFTNUn/93Qv95vtKAphTPXnk58L85Z w6ZDqAOQVW7DlZYMCrcnV0lXi1w8mWE89gXAhJZx9qGGYCdYy+DRkg/bANMoeEINhDXH ymibHRByNHb1YSSARhdpEiTG+FR9XL37vSIYpCEmVlVpx2Dk2em3/QDdOHDtKOtJBBwq WUVPrqILT7Rr94kUIRtP7o7mmMGYQxod5q8C3nWPS5xL54kP6zr/fv41JLAKyAJAAAEi hYTg== X-Gm-Message-State: APjAAAV+KHXe8zgv7iQh30/AqFoXNu/9AjcfiM07MJ+VOh+TIfrJxMuI r3RfWSaoq6/qWrs5ZHAN5Suk0V90 X-Google-Smtp-Source: APXvYqzEITO9yu/XY9ux5sj4SZxiYHB+tcFtyf+mbBqq5oz5FhJ9ttMKGW9R8fRpK6YGAtqOzvOAtQ== X-Received: by 2002:a1c:9dd3:: with SMTP id g202mr4385022wme.43.1573568949698; Tue, 12 Nov 2019 06:29:09 -0800 (PST) Received: from [88.208.79.100] (halouny.humusoft.cz. [88.208.79.100]) by smtp.gmail.com with ESMTPSA id u4sm19424866wrq.22.2019.11.12.06.29.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Nov 2019 06:29:08 -0800 (PST) Sender: Michal Meloun From: Michal Meloun X-Google-Original-From: Michal Meloun Reply-To: mmel@freebsd.org Subject: Re: Rock64 clock errors following r354558 To: Peter Jeremy Cc: freebsd-arm@freebsd.org References: <20191112085019.GC50716@server.rulingia.com> Autocrypt: addr=mmel@freebsd.org; prefer-encrypt=mutual; keydata= xsBNBFYuVRkBCADZiwLCCne3wG9b9k+R2Neo5zVo2bLaZRfNNY/v9kg283i0sb1Da4EdEiNT 15El5UyozhphUIbIR/zrVpxF1TvvFdoCyzx6a68bNY2d9dBrDcNDZC+XnyDdHQoobN87DWT1 mRVkmbg9LHZ/SVUOkGYuWyE+8UYeDAcUizuXwSK5zFWmeTyIoWNa68ifrWLfQe0p4x5jC/AI VURCi17p360vU4fhgwoMvEEhrRBWCr4DYHToFjIt2WdBy3GR1qoO0+Xkd6G+OoBULo+XDfgu L2WdPvh0K69F9/LgHkMmG5Il7SCe62QGpG2vaCgRV7BQhLX+kxlvM+WrdRatWRml4Y/3ABEB AAHNIE1pY2hhbCBNZWxvdW4gPG1tZWxAZnJlZWJzZC5vcmc+wsCuBBMBCgBBAhsDBQsJCAcD BRUKCQgLBRYDAgEAAh4BAheAAhkBFiEEAN1KEEuAn+Apg413aR6ya17FqqoFAlw3aO8FCQ9v FVYAIQkQaR6ya17FqqoWIQQA3UoQS4Cf4CmDjXdpHrJrXsWqqsgXB/9X81G4C63DVxn8dELB +nTQpj7yDvfQrA5oAyE9i+ry2p/ySsPCEVFa32zgNJVNUlQLZ1FlrmDUxLvuJAv9ZbMFSEmP utbi4ylwqmLtReLTrSwqucT7VkG9qcbxgIxMcrFCBAMPRwGqzI4B+tID4/LJrf8fICHW++NB l+7m9bEDVfk1fmXkq2iemsn7JtVpzA5bfjJ9ZJf6dzHTz0mlSSd6cZ0j6BWgp9rq6H/xiIJl MjmmjEG22s4Hw0Z/KVOxNNNvDamSKt5WRzzuqr74j1sE21OpY5mMH/coFR3irW94RRrgxLrd Na0C9wRyzEeIG/gAfqek87+I/Jy4YaGqV1PUzsBNBFYuVRkBCAC6oEZH0ttQ/zqlhPZl34dm yI66fbgvE9DAropm7KwHSyjTaKxrtpxPq3m4F/J+Z2DN++xzp2pTxsjrl7wm0PDBVUXVjh8X pyY1yYmpTXQbDn9sC72t70klbHaD84m1gyHCaoQTkNxLobCC8lkj72GChIsveZn4aw7bk0zg GFUfWjUAThDc7QdkwycjMf6mZrRq6BldzdB6nXv85xz7UDvERufxUBjHxzCORhTLsnK9XHh5 y6P6L66gJeE2FflB0hyfhQxPXbfcFx3JVm1mwtMjboHIWauq4aOSY37+Gtr+z6cp9x6A4p4d ZVj+4WANGTRMRh3pC511lajv5cxkumzBABEBAAHCwGUEGAEKAA8CGwwFAlmMEcMFCQcgI6oA CgkQaR6ya17Fqqq7Kwf+IOBEiuUy8VMYvKS1nCz8r8LTeBZn+1bAlXn5IWpGhqwz5n735xvj hcDetF6qJ4uxgXmpJdNccE+ESDX71X0oQ8unB6S0u0C/zPKc37pVV9/DJFZDg8hmYcIxPo8k /5GTQNTpWsNzdyHnx6t267JEOxuHfaD3qdgw28OwuEO+rjgY8ct+CVQdFjrAejcjEAfYeixp Y0LXRHXclKsJ0Wc8x4hr6dIT7XWEB0GZam4+BVfZU0Su2vBIGvsuzIJnjIs7Rs3l8ozT9Nq9 z0Rwj2oMGue2z8R9mgIeEO1MwQWdBkzJuwyyjbQj+fFg8W5a64Wfu5B6hivBbG3XlKQ3RGC1 XcLAkwQYAQoAJgIbDBYhBADdShBLgJ/gKYONd2kesmtexaqqBQJcN2mbBQkPbxYCACEJEGke smtexaqqFiEEAN1KEEuAn+Apg413aR6ya17FqqrTqwf/TpJP3Ztv5gLN7WwOpZSjmQMH1MAa J8Bu2ISvXTm+TaP2yaGPBvbNiFV6sFiqgg79aiguDPKTFzw/X1bHzTxvBgNRma6WaGcRxbXl 2R6BNYK6VsqRNE94adVtIUDVlyr9DErhDEVSlNZv4si2tdF+6vAWirRA7N+V3wwoe3lYNb6o irVshZ9bvsvRstWbXP0ik7PJkLzGDVHQWblerzdFUs9yOsA/R1X6OhKNzO3FaaqkPioa6xog gmED32cKRQCUkoFd20eTtAZTWhiiTqFU1dcnsUW1RErbMIhT/CRUKelPkt56hBRaG+3WkAS8 YvNKFFUZ+nhHc0fLQYSMu7G3gw== Message-ID: <5e508cb2-45ea-ecd8-b245-e9812dcda615@freebsd.org> Date: Tue, 12 Nov 2019 15:29:08 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20191112085019.GC50716@server.rulingia.com> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47C99M5syMz4c9g X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=EVieJCkf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of melounmichal@gmail.com designates 2a00:1450:4864:20::32d as permitted sender) smtp.mailfrom=melounmichal@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[mmel@freebsd.org]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.17), ipnet: 2a00:1450::/32(-2.74), asn: 15169(-2.00), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[d.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 14:29:12 -0000 On 12.11.2019 9:50, Peter Jeremy wrote: > Hi Michal, > > Somewhere between r354439 and r354592, my Rock64 (RK3328) has > started reporting errors setting the clocks on aclk_bus_pre and > aclk_peri_pre. My best guess is that it's somewhere in > r354554..r354558. I have had a quick look and noting jumps out at > me so I'm wondering if you have any ideas. > Hi Peter, i think that this can be caused by r354557. Can you, please, try it again with full debug log enabled? By changing '#if 0' to '#if 1' at line 71 in rk_clk_composite.c. Thanks, Michal > The relevant non-verbose messages are now: rk3328_cru0: RK3328 Clock and Reset Unit> mem 0xff440000-0xff440fff on ofwbus0 > rk3328_cru0: cannot get parent at idx 6 Cannot set frequency for > clk: aclk_bus_pre, error: 34 rk3328_cru0: Failed to set > aclk_bus_pre to a frequency of 15000000 Cannot set frequency for > clk: aclk_peri_pre, error: 34 rk3328_cru0: Failed to set > aclk_peri_pre to a frequency of 15000000 > > The "cannot get parent" has been around for as long as I can tell > but the "cannot set frequency" errors are both new. > > Looking back, my previous verbose boot was at r354239 and it > shows: rk3328_cru0: cannot get assigned clock at idx 5 rk3328_cru0: > cannot get parent at idx 6 rk3328_cru0: Set aclk_bus_pre to > 15000000 rk3328_cru0: Set aclk_peri_pre to 15000000 rk3328_cru0: > cannot get assigned clock at idx 8 > > With a verbose boot at r354607 (including some additional debug > printf's), it now shows: rk3328_cru0: cannot get assigned clock at > idx 5 rk3328_cru0: cannot get parent for aclk_bus_pre at idx 6 > rk_clk_composite_set_freq:(aclk_bus_pre)Finding best parent/div for > target freq of 15000000 > rk_clk_composite_set_freq:(aclk_bus_pre)Testing with parent cpll > (0) at freq 594000000 > rk_clk_composite_set_freq:(aclk_bus_pre)Testing with parent gpll > (1) at freq 576000000 rk_clk_composite_set_freq:(aclk_bus_pre)Best > divisor is 0 Cannot set frequency for clk: aclk_bus_pre, error: 34 > rk_clk_composite_recalc:(aclk_bus_pre)Read: muxdiv_offset=100, > val=2501 > rk_clk_composite_recalc:(aclk_bus_pre)parent_freq=576000000, div=6 > rk_clk_composite_recalc:(aclk_bus_pre)Final freq=96000000 > rk_clk_composite_recalc:(hclk_bus_pre)Read: muxdiv_offset=104, > val=1113 > rk_clk_composite_recalc:(hclk_bus_pre)parent_freq=96000000, div=2 > rk_clk_composite_recalc:(hclk_bus_pre)Final freq=48000000 > rk_clk_composite_recalc:(pclk_bus_pre)Read: muxdiv_offset=104, > val=1113 > rk_clk_composite_recalc:(pclk_bus_pre)parent_freq=96000000, div=2 > rk_clk_composite_recalc:(pclk_bus_pre)Final freq=48000000 > rk3328_cru0: Failed to set aclk_bus_pre to a frequency of 15000000 > rk_clk_composite_set_freq:(aclk_peri_pre)Finding best parent/div > for target freq of 15000000 > rk_clk_composite_set_freq:(aclk_peri_pre)Testing with parent cpll > (0) at freq 594000000 > rk_clk_composite_set_freq:(aclk_peri_pre)Testing with parent gpll > (1) at freq 576000000 rk_clk_composite_set_freq:(aclk_peri_pre)Best > divisor is 0 Cannot set frequency for clk: aclk_peri_pre, error: > 34 rk_clk_composite_recalc:(aclk_peri_pre)Read: muxdiv_offset=170, > val=4143 > rk_clk_composite_recalc:(aclk_peri_pre)parent_freq=576000000, > div=4 rk_clk_composite_recalc:(aclk_peri_pre)Final freq=144000000 > rk_clk_composite_recalc:(pclk_peri)Read: muxdiv_offset=0, val=40c8 > rk_clk_composite_recalc:(pclk_peri)parent_freq=144000000, div=1 > rk_clk_composite_recalc:(pclk_peri)Final freq=144000000 > rk_clk_composite_recalc:(hclk_peri)Read: muxdiv_offset=0, val=40c8 > rk_clk_composite_recalc:(hclk_peri)parent_freq=144000000, div=5 > rk_clk_composite_recalc:(hclk_peri)Final freq=28800000 rk3328_cru0: > Failed to set aclk_peri_pre to a frequency of 15000000 rk3328_cru0: > cannot get assigned clock at idx 8 > From owner-freebsd-arm@freebsd.org Tue Nov 12 15:16:35 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 90C3B1B06A3 for ; Tue, 12 Nov 2019 15:16:35 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1.freebsd.org (Postfix) with ESMTP id 47CBD24PRGz4fcv for ; Tue, 12 Nov 2019 15:16:34 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id EA7D1128F1D9A for ; Tue, 12 Nov 2019 08:09:38 -0700 (MST) Date: Tue, 12 Nov 2019 08:09:38 -0700 (MST) From: =?UTF-8?Q?Klaus_K=C3=BCchemann?= To: freebsd-arm@freebsd.org Message-ID: <1573571378957-0.post@n6.nabble.com> In-Reply-To: <20191112124539.GM43404@cicely7.cicely.de> References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47CBD24PRGz4fcv X-Spamd-Bar: ++++++ X-Spamd-Result: default: False [6.01 / 15.00]; ARC_NA(0.00)[]; GREYLIST(0.00)[pass,body]; FROM_HAS_DN(0.00)[]; DMARC_POLICY_QUARANTINE(1.50)[googlemail.com : No valid SPF, No valid DKIM,quarantine]; FREEMAIL_FROM(0.00)[googlemail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.01)[0.014,0]; IP_SCORE(0.00)[ip: (0.81), ipnet: 162.255.20.0/22(0.29), asn: 21624(0.04), country: US(-0.05)]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[37.23.255.162.list.dnswl.org : 127.0.10.0]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21624, ipnet:162.255.20.0/22, country:US]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[googlemail.com] X-Spam: Yes X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 15:16:35 -0000 <> onto the uSD : https://www.freshports.org/sysutils/u-boot-rockpro64/ Regards Klaus -- Sent from: http://freebsd.1045724.x6.nabble.com/freebsd-arm-f4199244.html From owner-freebsd-arm@freebsd.org Tue Nov 12 18:21:37 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1E3081B5094 for ; Tue, 12 Nov 2019 18:21:37 +0000 (UTC) (envelope-from johannes@t-beutel.com) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1.freebsd.org (Postfix) with ESMTP id 47CGKX3dX6z3Nw3 for ; Tue, 12 Nov 2019 18:21:36 +0000 (UTC) (envelope-from johannes@t-beutel.com) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id 0BB0A128FDB1E for ; Tue, 12 Nov 2019 11:13:33 -0700 (MST) Date: Tue, 12 Nov 2019 11:13:33 -0700 (MST) From: tscho To: freebsd-arm@freebsd.org Message-ID: <1573582413045-0.post@n6.nabble.com> In-Reply-To: <695531275.4.1566915490187@localhost> References: <2002575095.53.1566305166664@localhost> <4168768c-3c9d-f813-97b8-fe0d0538fef2@hedeland.org> <695531275.4.1566915490187@localhost> Subject: Re: building ports-mgmt/pkg - Re: svn timeout - Re: Espressobin anyone ? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47CGKX3dX6z3Nw3 X-Spamd-Bar: +++++++++ X-Spamd-Result: default: False [9.74 / 15.00]; ARC_NA(0.00)[]; R_SPF_FAIL(1.00)[-all]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.990,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.25)[ip: (0.94), ipnet: 162.255.20.0/22(0.34), asn: 21624(0.04), country: US(-0.05)]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[37.23.255.162.list.dnswl.org : 127.0.10.0]; DMARC_POLICY_REJECT(2.00)[t-beutel.com : No valid SPF, No valid DKIM,reject]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:21624, ipnet:162.255.20.0/22, country:US]; MIME_TRACE(0.00)[0:+]; GREYLIST(0.00)[pass,body]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 18:21:37 -0000 Hello everyone, I'm pretty new to the whole compile-your-own-image thing. I' read this thread and tried to do some build, copy to the SD-card and so on but never got the Espressobin booting. Can you maybe describe how you created yours. I used the 12.1 RELEASE src, ARCH arm64 and TARGET_ARCH aarch64. As soon I boot the thing I get the following, which looks like I did something according to the image itself wrong: >> FreeBSD EFI boot block Loader path: /boot/loader.efi Initializing modules: ZFS UFS Probing 1 block devices.... done ZFS found no pools UFS found no partitions Failed to load '/boot/loader.efi' panic: No bootable partitions found! -- Sent from: http://freebsd.1045724.x6.nabble.com/freebsd-arm-f4199244.html From owner-freebsd-arm@freebsd.org Tue Nov 12 22:16:21 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F2FAD1BCE74 for ; Tue, 12 Nov 2019 22:16:21 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CMXN6q6lz4BlQ for ; Tue, 12 Nov 2019 22:16:20 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id xACMH6Cq036851 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 12 Nov 2019 23:17:07 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1573597027; bh=XIZGgUBTwSWjp+XAH2Qia3FVlPH5wvqMafvQqjGEzas=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=WO8MNw04TS+IuWt76TdOvvKhMDlLnDuasvZxAF0Hliw12GCWLAP5rKm/PDFIfQw5r z3A2qmfNJisgGEtzHl+QIda3CW1qmcOLlWf9h5t2Vq0mQrLi5KfFGYWtDh7M0Mqb23 3bUrcwTslsKuvb58Cg8GYLuoLWAVq5Fhxa/jEftw= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id xACMGBEh064248 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Nov 2019 23:16:12 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id xACMGBnJ061978; Tue, 12 Nov 2019 23:16:11 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id xACMGAdG061977; Tue, 12 Nov 2019 23:16:10 +0100 (CET) (envelope-from ticso) Date: Tue, 12 Nov 2019 23:16:10 +0100 From: Bernd Walter To: Klaus =?iso-8859-1?Q?K=FCchemann?= Cc: freebsd-arm@freebsd.org Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191112221610.GN43404@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1573571378957-0.post@n6.nabble.com> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 47CMXN6q6lz4BlQ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=WO8MNw04; dmarc=none; spf=none (mx1.freebsd.org: domain of ticso@cicely7.cicely.de has no SPF policy when checking 195.149.99.3) smtp.mailfrom=ticso@cicely7.cicely.de X-Spamd-Result: default: False [-1.79 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 22:16:22 -0000 On Tue, Nov 12, 2019 at 08:09:38AM -0700, Klaus Kchemann via freebsd-arm wrote: > <> > > onto the uSD : > https://www.freshports.org/sysutils/u-boot-rockpro64/ > Regards > Klaus Thank you. Do you know the bps rate used by u-boot and later components? I do see some output at the usual 115200 bps, but it is messed up. Also tried other typical bps rates, including 1.5Mbps as mentioned on the RockPro Wiki, but none worked. I wouldn't rule out that it is the USB uart failing at 1.5M though, but I've tried a PL2303, CP2102 (which refused 1.5Mbps) and a CH340. Unfortunately I don't have an FTDI based TTL one at hands. It also fails with reading the uartt output when booting an Armbian image, which as such is booting fine according to the HDMI output. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Tue Nov 12 22:53:35 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CC4551BDD5B for ; Tue, 12 Nov 2019 22:53:35 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate2.funkthat.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CNML1vm3z4DnW for ; Tue, 12 Nov 2019 22:53:33 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id xACMqpwT016076 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 12 Nov 2019 14:52:51 -0800 (PST) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id xACMqpQB016075; Tue, 12 Nov 2019 14:52:51 -0800 (PST) (envelope-from jmg) Date: Tue, 12 Nov 2019 14:52:51 -0800 From: John-Mark Gurney To: ticso@cicely.de Cc: Klaus =?iso-8859-1?Q?K=FCchemann?= , freebsd-arm@freebsd.org Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191112225251.GB4552@funkthat.com> Mail-Followup-To: ticso@cicely.de, Klaus =?iso-8859-1?Q?K=FCchemann?= , freebsd-arm@freebsd.org References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191112221610.GN43404@cicely7.cicely.de> X-Operating-System: FreeBSD 11.0-RELEASE-p7 amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Tue, 12 Nov 2019 14:52:51 -0800 (PST) X-Rspamd-Queue-Id: 47CNML1vm3z4DnW X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of jmg@gold.funkthat.com has no SPF policy when checking 208.87.223.18) smtp.mailfrom=jmg@gold.funkthat.com X-Spamd-Result: default: False [-1.28 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.995,0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; IP_SCORE(-0.49)[ip: (-1.25), ipnet: 208.87.216.0/21(-0.63), asn: 32354(-0.50), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[funkthat.com]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.99)[-0.995,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[jmg@funkthat.com,jmg@gold.funkthat.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:32354, ipnet:208.87.216.0/21, country:US]; FROM_NEQ_ENVFROM(0.00)[jmg@funkthat.com,jmg@gold.funkthat.com]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_CC(0.00)[googlemail.com] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 22:53:35 -0000 Bernd Walter wrote this message on Tue, Nov 12, 2019 at 23:16 +0100: > On Tue, Nov 12, 2019 at 08:09:38AM -0700, Klaus Kchemann via freebsd-arm wrote: > > <> > > > > onto the uSD : > > https://www.freshports.org/sysutils/u-boot-rockpro64/ > > Regards > > Klaus > > Thank you. > > Do you know the bps rate used by u-boot and later components? > I do see some output at the usual 115200 bps, but it is messed up. > Also tried other typical bps rates, including 1.5Mbps as mentioned > on the RockPro Wiki, but none worked. > I wouldn't rule out that it is the USB uart failing at 1.5M though, > but I've tried a PL2303, CP2102 (which refused 1.5Mbps) and > a CH340. > Unfortunately I don't have an FTDI based TTL one at hands. > It also fails with reading the uartt output when booting an Armbian > image, which as such is booting fine according to the HDMI output. It's 1.5Mbps, aka 1500000. I'm using the CH340G that they sell: https://store.pine64.org/?product=padi-serial-console And it works, but it will occasionally drop characters. None of my other serial adapters could do the speed necessary. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-arm@freebsd.org Tue Nov 12 23:39:17 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4010E1BE8D7 for ; Tue, 12 Nov 2019 23:39:17 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1.freebsd.org (Postfix) with ESMTP id 47CPN42Jfrz4GkK for ; Tue, 12 Nov 2019 23:39:16 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id 034D112913A23 for ; Tue, 12 Nov 2019 16:39:15 -0700 (MST) Date: Tue, 12 Nov 2019 16:39:15 -0700 (MST) From: =?UTF-8?Q?Klaus_K=C3=BCchemann?= To: freebsd-arm@freebsd.org Message-ID: <1573601955003-0.post@n6.nabble.com> In-Reply-To: <20191112221610.GN43404@cicely7.cicely.de> References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47CPN42Jfrz4GkK X-Spamd-Bar: ++++++ X-Spamd-Result: default: False [6.55 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_POLICY_QUARANTINE(1.50)[googlemail.com : No valid SPF, No valid DKIM,quarantine]; FREEMAIL_FROM(0.00)[googlemail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.55)[0.550,0]; IP_SCORE(0.00)[ip: (0.93), ipnet: 162.255.20.0/22(0.34), asn: 21624(0.04), country: US(-0.05)]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[37.23.255.162.list.dnswl.org : 127.0.10.0]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:21624, ipnet:162.255.20.0/22, country:US]; MIME_TRACE(0.00)[0:+]; GREYLIST(0.00)[pass,meta]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 23:39:17 -0000 Walter: < John: <> Klaus : I`m using a 'special hacked version' of u-boot-2019.10 but I would be surprised if the version from sysutils/u-boot-rockpro64/ would use 1500000 ... 'minicom -D /dev/(yourdev) -b 115200 8N' does it for me. UART is the same as on the Original RPI : Pin 6 : GND / Pin 8: TX / Pin 10: RX you must connect TX to RX on the other device(USB->UART or another SBC like RPI). -- Sent from: http://freebsd.1045724.x6.nabble.com/freebsd-arm-f4199244.html From owner-freebsd-arm@freebsd.org Tue Nov 12 23:48:04 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1C3001BEECB for ; Tue, 12 Nov 2019 23:48:04 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1.freebsd.org (Postfix) with ESMTP id 47CPZC1njtz4HPF for ; Tue, 12 Nov 2019 23:48:02 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id 48634129142ED for ; Tue, 12 Nov 2019 16:48:02 -0700 (MST) Date: Tue, 12 Nov 2019 16:48:02 -0700 (MST) From: =?UTF-8?Q?Klaus_K=C3=BCchemann?= To: freebsd-arm@freebsd.org Message-ID: <1573602482294-0.post@n6.nabble.com> In-Reply-To: <1573601955003-0.post@n6.nabble.com> References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <1573601955003-0.post@n6.nabble.com> Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47CPZC1njtz4HPF X-Spamd-Bar: ++++++ X-Spamd-Result: default: False [6.57 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_POLICY_QUARANTINE(1.50)[googlemail.com : No valid SPF, No valid DKIM,quarantine]; FREEMAIL_FROM(0.00)[googlemail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.57)[0.569,0]; IP_SCORE(0.00)[ip: (0.92), ipnet: 162.255.20.0/22(0.34), asn: 21624(0.04), country: US(-0.05)]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[37.23.255.162.list.dnswl.org : 127.0.10.0]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:21624, ipnet:162.255.20.0/22, country:US]; MIME_TRACE(0.00)[0:+]; GREYLIST(0.00)[pass,meta]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 23:48:04 -0000 << John: <> Klaus : I`m using a 'special hacked version' of u-boot-2019.10 but I would be surprised if the version from sysutils/u-boot-rockpro64/ would use 1500000 ... 'minicom -D /dev/(yourdev) -b 115200 8N' does it for me. UART is the same as on the Original RPI : Pin 6 : GND / Pin 8: TX / Pin 10: RX you must connect TX to RX on the other device(USB->UART or another SBC like RPI). >>> ------ to add: connecting the RockPRO64 directly to e.g. RPI via UART will allow to use 1500000 if that's really set in sysutils/u-boot-rockpro64/ but be careful: because of a misdesign of the RPI one wrong metal-touch on the 5V will burn the RPI-chip. Regards Klaus -- Sent from: http://freebsd.1045724.x6.nabble.com/freebsd-arm-f4199244.html From owner-freebsd-arm@freebsd.org Wed Nov 13 01:57:13 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7E158179BA7 for ; Wed, 13 Nov 2019 01:57:13 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CSRD1BBjz4NXl for ; Wed, 13 Nov 2019 01:57:11 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: by mail-qv1-xf2d.google.com with SMTP id i3so181234qvv.7 for ; Tue, 12 Nov 2019 17:57:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0+2M8rlV66iqL/mCzzBVriWNF3LxmdYvXJHsUkFtzec=; b=jP6PoYeKnoNTMFTDk+LZYud4YgV53ohpM1IfY6r/Iht3atyMpKFLz48iC2Lrguw5s0 USD+EKavtO1wwXZJPUHGt62LKcNKg4lX/Dz/esCdizw54y0h89ewEK8JtnHJDBkhaSH5 9skyYWk6+TlSTUbrTxL0egiyb6K1pZDiqgwpJcXLEwYK11SkUw90AXJp97RlIk9lEd3R 3EjKgUmB2azCQsV+CRwPrHEiOGtKptHRm7kVwpYKghO+3lYJe7rnEMQg+NreK2IUHwIy uwXJ9xpSozuwOf8+qugp/iDUb4SsipPyOfF2uqfRF0kXx7pQgN2xDBrHaYBIRtzWfPON reng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0+2M8rlV66iqL/mCzzBVriWNF3LxmdYvXJHsUkFtzec=; b=ExE/rf7v6zGikhIGaDU0MiEQbJzxlneZk99w4QmC/nqbXnVDvDimOCIalf2X29QW5N R+BKp2HbGowYbgrTOD3+KNZ250OZdryVMd+Q5e+hOW+1iu4uc4fuuUCr81VNeP8o7NgV RWUMv+AWg2UHwadNf140OBu0RJNz1UeWO4w0YlMqQ5xeYD5v47HvHW4nCcPn6ayu9RYv Mwtrk8HTtXF+bc8ZlEwz72sy8dyH4MCyhlOKcO/bRb+Q8t+FzMaFL0NYB3A/vPG+VWWC BogSYu1IMMmvWvVYXwfg4gzh+S+Rb3Soytsf2eOlycXyar69O+f2i364mVa8G9GF6muL MKTw== X-Gm-Message-State: APjAAAW8qPeg8teMtME/3b/hImtg529SDvKksaWOnn9D/tEhjo45ciWG DtwqWVmULNqrPs93JhYg2tLGZLnYBzG0D3ZbMeFN7Kbj2ik= X-Google-Smtp-Source: APXvYqwNZhw+3QO+P9OdSrJuWqlG/v0grf/pL+eZP6EOKPqpXD+aVBMOgotxkZEonlvZc1PvthiQZKyM6krmX5I8X9c= X-Received: by 2002:ad4:4092:: with SMTP id l18mr683223qvp.114.1573610225156; Tue, 12 Nov 2019 17:57:05 -0800 (PST) MIME-Version: 1.0 References: <20191111092629.7693b8c0@i11.co> <459E7D91-0276-421F-9B90-53A6B8F4D09D@cs.huji.ac.il> In-Reply-To: <459E7D91-0276-421F-9B90-53A6B8F4D09D@cs.huji.ac.il> From: Ganbold Tsagaankhuu Date: Wed, 13 Nov 2019 09:56:54 +0800 Message-ID: Subject: Re: Where cpufreq in NanoPi NEO? To: Daniel Braniss Cc: Nick Kostirya , "freebsd-arm@freebsd.org" X-Rspamd-Queue-Id: 47CSRD1BBjz4NXl X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=jP6PoYeK; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ganbold@gmail.com designates 2607:f8b0:4864:20::f2d as permitted sender) smtp.mailfrom=ganbold@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(0.00)[ipnet: 2607:f8b0::/32(-2.33), asn: 15169(-2.00), country: US(-0.05)]; SUBJECT_ENDS_QUESTION(1.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 01:57:13 -0000 On Tue, Nov 12, 2019 at 10:20 PM Daniel Braniss wrote: > > Hi Ganbold, > any chance of getting your sun8i-h3-ths.dtso? > It should be already in /usr/src/sys/dts/arm/overlays/ Ganbold > > thanks, > danny > PS: im in the process of trying out the freq stuff on a nano-pi v2 > > > On 11 Nov 2019, at 9:33, Ganbold Tsagaankhuu wrote: > > > > On Mon, Nov 11, 2019 at 3:26 PM Nick Kostirya via freebsd-arm < > > freebsd-arm@freebsd.org> wrote: > > > >> Hello. > >> > >> Please, help me find cpufreq in dmesg for NanoPi NEO. > >> I use FreeBSD-12.1-RELEASE-arm-armv7-GENERICSD.img and > >> u-boot-nanopi_neo-2019.04. > >> I see than "device cpufreq" is in > >> http://svn.freebsd.org/base/releng/12.1/sys/arm/conf/GENERIC, but I do > >> not see cpufreq in dmesg. > >> > > > > You probably need dts overlay, something like: > > > > https://reviews.freebsd.org/D21726 > > > > For quick test you can use: > > https://people.freebsd.org/~ganbold/sun8i-h3-opp.dtbo > > You should put it in /boot/loader.conf: > > > > fdt_overlays="sun8i-h3-sid.dtbo,sun8i-h3-ths.dtbo,sun8i-h3-opp.dtbo" > > > > > >> > >> About u-boot-nanopi_neo. > >> Do u-boot-nanopi_neo load dtb automatical? Or I must write > >> sun8i-h3-nanopi-neo.dtb_type="dtb" > >> sun8i-h3-nanopi-neo.dtb_load="YES" > >> in /boot/loader.conf ? > >> > > > > It will use what is set for u-boot-nanopi_neo-2019.04, which should be > > correct one. > > > > Ganbold > > > > > >> But It is not even help to see cpufreq in dmesg. > >> > >> Nick. > >> _______________________________________________ > >> freebsd-arm@freebsd.org mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm > >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > >> > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > > From owner-freebsd-arm@freebsd.org Wed Nov 13 07:41:33 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3E83C1A8C43 for ; Wed, 13 Nov 2019 07:41:33 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47Cc4W2Pcqz3C2V for ; Wed, 13 Nov 2019 07:41:31 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=References:To:Cc:In-Reply-To:Date:Subject:Mime-Version:Content-Type:Message-Id:From; bh=e6vrGclufmq+H5SC33g6jOt7xBDG3QWSNKQdiA23BaI=; b=0LMUVvltGlB4hXi7DDEXCz6x643DmDgjdGyNewpfg40yCHl0SUAw/C1/fkoNA9MFugGkvof+4nanE6wZk9r7l7/vB0Kx4C24l29zQonu+5DutjUP/ZEvueQwumzC2xx5P+Y1rzqSGJA9rbMWOC0Ubwrr+cG6+3gGeoX5P8iFh5P6uzdOkI3bnPW1Yk+mwZt33hlDcfCvLlv78Q5zcHwEETkx3GeKM1MnZSpE9/KOeMDku3oTEoAjUm3UzrWD3HjjZyghOYnztWpypTh+KgqdnOvD64z0Cwz+Ib3TV+SDYLIp835L8J/ufuzGHKd3eTBgfmSKgSMUW3bT8/S3msgE5g==; Received: from bach.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1iUnHK-0006ox-Hj; Wed, 13 Nov 2019 09:41:26 +0200 From: Daniel Braniss Message-Id: <131C927B-276E-4FDB-955B-FEEB9E98E11B@cs.huji.ac.il> Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: Where cpufreq in NanoPi NEO? Date: Wed, 13 Nov 2019 09:41:26 +0200 In-Reply-To: Cc: Nick Kostirya , "freebsd-arm@freebsd.org" To: Ganbold Tsagaankhuu References: <20191111092629.7693b8c0@i11.co> <459E7D91-0276-421F-9B90-53A6B8F4D09D@cs.huji.ac.il> X-Mailer: Apple Mail (2.3445.9.1) X-Rspamd-Queue-Id: 47Cc4W2Pcqz3C2V X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.huji.ac.il header.s=57791128 header.b=0LMUVvlt; dmarc=pass (policy=none) header.from=huji.ac.il; spf=none (mx1.freebsd.org: domain of danny@cs.huji.ac.il has no SPF policy when checking 132.65.116.210) smtp.mailfrom=danny@cs.huji.ac.il X-Spamd-Result: default: False [-2.02 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[cs.huji.ac.il:s=57791128]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cs.huji.ac.il:+]; DMARC_POLICY_ALLOW(-0.50)[huji.ac.il,none]; RCVD_IN_DNSWL_NONE(0.00)[210.116.65.132.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:378, ipnet:132.64.0.0/13, country:IL]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.72)[ip: (-1.43), ipnet: 132.64.0.0/13(-1.23), asn: 378(-0.98), country: IL(0.05)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 07:41:33 -0000 > On 13 Nov 2019, at 03:56, Ganbold Tsagaankhuu = wrote: >=20 >=20 >=20 > On Tue, Nov 12, 2019 at 10:20 PM Daniel Braniss > wrote: >=20 > Hi Ganbold, > any chance of getting your sun8i-h3-ths.dtso? >=20 > It should be already in /usr/src/sys/dts/arm/overlays/ indeed, but in current, not in stable, will it be MFC=E2=80=99ed? thanks, danny >=20 > Ganbold > =20 >=20 > thanks, > danny > PS: im in the process of trying out the freq stuff on a nano-pi v2 >=20 > > On 11 Nov 2019, at 9:33, Ganbold Tsagaankhuu > wrote: > >=20 > > On Mon, Nov 11, 2019 at 3:26 PM Nick Kostirya via freebsd-arm < > > freebsd-arm@freebsd.org > wrote: > >=20 > >> Hello. > >>=20 > >> Please, help me find cpufreq in dmesg for NanoPi NEO. > >> I use FreeBSD-12.1-RELEASE-arm-armv7-GENERICSD.img and > >> u-boot-nanopi_neo-2019.04. > >> I see than "device cpufreq" is in > >> http://svn.freebsd.org/base/releng/12.1/sys/arm/conf/GENERIC = , but I do > >> not see cpufreq in dmesg. > >>=20 > >=20 > > You probably need dts overlay, something like: > >=20 > > https://reviews.freebsd.org/D21726 = > >=20 > > For quick test you can use: > > https://people.freebsd.org/~ganbold/sun8i-h3-opp.dtbo = > > You should put it in /boot/loader.conf: > >=20 > > fdt_overlays=3D"sun8i-h3-sid.dtbo,sun8i-h3-ths.dtbo,sun8i-h3-opp.dtbo"= > >=20 > >=20 > >>=20 > >> About u-boot-nanopi_neo. > >> Do u-boot-nanopi_neo load dtb automatical? Or I must write > >> sun8i-h3-nanopi-neo.dtb_type=3D"dtb" > >> sun8i-h3-nanopi-neo.dtb_load=3D"YES" > >> in /boot/loader.conf ? > >>=20 > >=20 > > It will use what is set for u-boot-nanopi_neo-2019.04, which should = be > > correct one. > >=20 > > Ganbold > >=20 > >=20 > >> But It is not even help to see cpufreq in dmesg. > >>=20 > >> Nick. > >> _______________________________________________ > >> freebsd-arm@freebsd.org mailing = list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm = > >> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org = " > >>=20 > > _______________________________________________ > > freebsd-arm@freebsd.org mailing = list > > https://lists.freebsd.org/mailman/listinfo/freebsd-arm = > > To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org = " >=20 From owner-freebsd-arm@freebsd.org Wed Nov 13 07:53:56 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 373C01A944A for ; Wed, 13 Nov 2019 07:53:56 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CcLq09b4z3Cx6 for ; Wed, 13 Nov 2019 07:53:54 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id xAD7semT085035 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 13 Nov 2019 08:54:41 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1573631682; bh=RSXPMNT89w3KuBBB9hiDN25jnWHVd/avLh4vT6q0xio=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=xvx76fHzafaL7phONfia/qUho1hJidFE+aPNahKCWKBhk5zdNWH0UHyXJtsad0Ee4 rzPyTFX8Hiz+4OAcc3Vunrd2odBgBJMUQwRmVEu31Mwr9dLNzlmVUmESYMRwFvxJVn dUc2bJJx2M08cc5BJJ5ZW4N0qt3kXvYU7XHL7VHw= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id xAD7rjkH092136 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Nov 2019 08:53:45 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id xAD7rjvH066373; Wed, 13 Nov 2019 08:53:45 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id xAD7rhe3066372; Wed, 13 Nov 2019 08:53:43 +0100 (CET) (envelope-from ticso) Date: Wed, 13 Nov 2019 08:53:43 +0100 From: Bernd Walter To: John-Mark Gurney Cc: ticso@cicely.de, freebsd-arm@freebsd.org Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191113075343.GP43404@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191112225251.GB4552@funkthat.com> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 47CcLq09b4z3Cx6 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=xvx76fHz; dmarc=none; spf=none (mx1.freebsd.org: domain of ticso@cicely7.cicely.de has no SPF policy when checking 195.149.99.3) smtp.mailfrom=ticso@cicely7.cicely.de X-Spamd-Result: default: False [-1.79 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 07:53:56 -0000 On Tue, Nov 12, 2019 at 02:52:51PM -0800, John-Mark Gurney wrote: > Bernd Walter wrote this message on Tue, Nov 12, 2019 at 23:16 +0100: > > On Tue, Nov 12, 2019 at 08:09:38AM -0700, Klaus Kchemann via freebsd-arm wrote: > > > <> > > > > > > onto the uSD : > > > https://www.freshports.org/sysutils/u-boot-rockpro64/ > > > Regards > > > Klaus > > > > Thank you. > > > > Do you know the bps rate used by u-boot and later components? > > I do see some output at the usual 115200 bps, but it is messed up. > > Also tried other typical bps rates, including 1.5Mbps as mentioned > > on the RockPro Wiki, but none worked. > > I wouldn't rule out that it is the USB uart failing at 1.5M though, > > but I've tried a PL2303, CP2102 (which refused 1.5Mbps) and > > a CH340. > > Unfortunately I don't have an FTDI based TTL one at hands. > > It also fails with reading the uartt output when booting an Armbian > > image, which as such is booting fine according to the HDMI output. > > It's 1.5Mbps, aka 1500000. I'm using the CH340G that they sell: > https://store.pine64.org/?product=padi-serial-console > > And it works, but it will occasionally drop characters. Sigh - IMO 1.5M is an insane idea for that and so needless. > None of my other serial adapters could do the speed necessary. I just retried with the CH340 - again no success, but noticed that the chip on my adapter is unlabeled. So probably it isn't a genuine. I should have some others, but not at home, and I also have some loose CH340G chips. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Wed Nov 13 11:03:02 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EBE941ADE0F for ; Wed, 13 Nov 2019 11:03:02 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47ChY20rWMz3PKd for ; Wed, 13 Nov 2019 11:03:01 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: by mail-qk1-x732.google.com with SMTP id z16so1292548qkg.7 for ; Wed, 13 Nov 2019 03:03:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HL1u54qrpriiZAy1AGEQQikIFnPupFgc70gKlyEagnk=; b=q3BqleyQJbWS8WaB4OEzSoVgKb6IagQHlhRNEWfpr8cpmSOoiiAcVhQeBBbxcQlq4x Iz0bR5H1xI5fRtRc2HK9f/xMrKskYp0bWeaihqvDAnsZDZyoBc16ke/Wym/woE4FJ1Z1 Z0D9ZSwiCxs/ozI3K2/6hczK8ArR4xFKRX/WCUpNGzLdP9vbMXG3HKXF/ua5NrGLhCxM NWrkmm7dLsCw4xzbVv72c5xtpqzuYHMn5MeO+sYnNwCMO2JNNaI9uhrbCEJAInBQg+Bj bctU65tcouvg3xQqPHkggQWCiyPI3QL2FbZsRoxybPKqTKWKX/CYgtLAayFnIRH/YpQI YdMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HL1u54qrpriiZAy1AGEQQikIFnPupFgc70gKlyEagnk=; b=ATMDqh4+IJVNXqpQ8PKXQnMg/6fpmGSwR1K5hb66Rwd6dKG3NYcuSXUHyNUFy8LIx2 ZRP7fDnxQmfuWryZ8jMcMHlsHqz54vw+iKWB0RwBpOP3LBiv7Onit+OEjrHuFJKqSVFQ rFba+hlw5Kbyxu8uQ3Z/S9DKdd4vzEjowFc2lObwLy1M7MF4sYYMrrDQYr42t8hZ3Xvx 9r6PiycgcdCI72pboBD7f9GDHDY3tN/WMZhStEp8sCOHlBdMHbvQKs1rDIgg7j7ubwJe NkoVxnx2nooyj40XXYiIO0KJn8BI8deRx+kZqe+nS0lJ9l1vdDe9L3Vp471QIOR/1HJF nxHA== X-Gm-Message-State: APjAAAXQG1+kUHFjHRb7pAtzBBtaqh9vsKkCoxHC9KNZBU7HVlA6xT3i hX/6rVjdyvZvW46BGwLBftsBgbhHFB/cn31D9HQ= X-Google-Smtp-Source: APXvYqwhP/lbfML+/TTkuccKMijuIZvvCQ7lND+USBhKLuAuEMIeJbaTZR0TF8zi97ldlMMaYUTHIPgYjKgec+0L7n4= X-Received: by 2002:a37:8344:: with SMTP id f65mr1808458qkd.364.1573642981100; Wed, 13 Nov 2019 03:03:01 -0800 (PST) MIME-Version: 1.0 References: <20191111092629.7693b8c0@i11.co> <459E7D91-0276-421F-9B90-53A6B8F4D09D@cs.huji.ac.il> <131C927B-276E-4FDB-955B-FEEB9E98E11B@cs.huji.ac.il> In-Reply-To: <131C927B-276E-4FDB-955B-FEEB9E98E11B@cs.huji.ac.il> From: Ganbold Tsagaankhuu Date: Wed, 13 Nov 2019 19:02:49 +0800 Message-ID: Subject: Re: Where cpufreq in NanoPi NEO? To: Daniel Braniss Cc: Nick Kostirya , "freebsd-arm@freebsd.org" X-Rspamd-Queue-Id: 47ChY20rWMz3PKd X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=q3BqleyQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ganbold@gmail.com designates 2607:f8b0:4864:20::732 as permitted sender) smtp.mailfrom=ganbold@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.40), ipnet: 2607:f8b0::/32(-2.33), asn: 15169(-2.00), country: US(-0.05)]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.3.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 11:03:03 -0000 On Wed, Nov 13, 2019 at 3:41 PM Daniel Braniss wrote: > > > On 13 Nov 2019, at 03:56, Ganbold Tsagaankhuu wrote: > > > > On Tue, Nov 12, 2019 at 10:20 PM Daniel Braniss > wrote: > >> >> Hi Ganbold, >> any chance of getting your sun8i-h3-ths.dtso? >> > > It should be already in /usr/src/sys/dts/arm/overlays/ > > indeed, but in current, not in stable, will it be MFC=E2=80=99ed? > Committed as r354678. thanks, Ganbold > thanks, > danny > > > Ganbold > > >> >> thanks, >> danny >> PS: im in the process of trying out the freq stuff on a nano-pi v2 >> >> > On 11 Nov 2019, at 9:33, Ganbold Tsagaankhuu wrote= : >> > >> > On Mon, Nov 11, 2019 at 3:26 PM Nick Kostirya via freebsd-arm < >> > freebsd-arm@freebsd.org> wrote: >> > >> >> Hello. >> >> >> >> Please, help me find cpufreq in dmesg for NanoPi NEO. >> >> I use FreeBSD-12.1-RELEASE-arm-armv7-GENERICSD.img and >> >> u-boot-nanopi_neo-2019.04. >> >> I see than "device cpufreq" is in >> >> http://svn.freebsd.org/base/releng/12.1/sys/arm/conf/GENERIC, but I d= o >> >> not see cpufreq in dmesg. >> >> >> > >> > You probably need dts overlay, something like: >> > >> > https://reviews.freebsd.org/D21726 >> > >> > For quick test you can use: >> > https://people.freebsd.org/~ganbold/sun8i-h3-opp.dtbo >> > You should put it in /boot/loader.conf: >> > >> > fdt_overlays=3D"sun8i-h3-sid.dtbo,sun8i-h3-ths.dtbo,sun8i-h3-opp.dtbo" >> > >> > >> >> >> >> About u-boot-nanopi_neo. >> >> Do u-boot-nanopi_neo load dtb automatical? Or I must write >> >> sun8i-h3-nanopi-neo.dtb_type=3D"dtb" >> >> sun8i-h3-nanopi-neo.dtb_load=3D"YES" >> >> in /boot/loader.conf ? >> >> >> > >> > It will use what is set for u-boot-nanopi_neo-2019.04, which should be >> > correct one. >> > >> > Ganbold >> > >> > >> >> But It is not even help to see cpufreq in dmesg. >> >> >> >> Nick. >> >> _______________________________________________ >> >> freebsd-arm@freebsd.org mailing list >> >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org= " >> >> >> > _______________________________________________ >> > freebsd-arm@freebsd.org mailing list >> > https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >> >> > From owner-freebsd-arm@freebsd.org Wed Nov 13 14:19:54 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8B77E1B1F83 for ; Wed, 13 Nov 2019 14:19:54 +0000 (UTC) (envelope-from nikolay.kostirya@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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47Cmw91p12z453d for ; Wed, 13 Nov 2019 14:19:52 +0000 (UTC) (envelope-from nikolay.kostirya@i11.co) Received: from [82.207.42.188] (helo=localhost) by mx.i11.co with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iUtUm-0004Uc-3z; Wed, 13 Nov 2019 14:19:44 +0000 Date: Wed, 13 Nov 2019 16:19:41 +0200 From: Nick Kostirya To: Ganbold Tsagaankhuu Cc: Daniel Braniss , "freebsd-arm@freebsd.org" Subject: Re: Where cpufreq in NanoPi NEO? Message-ID: <20191113161941.2cb5139c@i11.co> In-Reply-To: References: <20191111092629.7693b8c0@i11.co> <459E7D91-0276-421F-9B90-53A6B8F4D09D@cs.huji.ac.il> <131C927B-276E-4FDB-955B-FEEB9E98E11B@cs.huji.ac.il> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; i386-portbld-freebsd11.2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 47Cmw91p12z453d X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.04 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[i11.co:s=omicron]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:159.69.78.69]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.05)[ipnet: 159.69.0.0/16(1.43), asn: 24940(-1.65), country: DE(-0.01)]; NEURAL_HAM_MEDIUM(-0.99)[-0.990,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[i11.co:+]; DMARC_POLICY_ALLOW(-0.50)[i11.co,reject]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 14:19:54 -0000 On Wed, 13 Nov 2019 19:02:49 +0800 Ganbold Tsagaankhuu wrote: > On Wed, Nov 13, 2019 at 3:41 PM Daniel Braniss wrot= e: > > On 13 Nov 2019, at 03:56, Ganbold Tsagaankhuu wrote: > > On Tue, Nov 12, 2019 at 10:20 PM Daniel Braniss w= rote: > > =20 > >> > >> Hi Ganbold, > >> any chance of getting your sun8i-h3-ths.dtso? > >> =20 > > > > It should be already in /usr/src/sys/dts/arm/overlays/ > > > > indeed, but in current, not in stable, will it be MFC=E2=80=99ed? > > =20 >=20 > Committed as r354678. And also sun8i-h3-i2c0.dtso and sun8i-h3-opp.dtso. Please. P.S. sun8i-h3-opp.dtbo is helped for me. I see cpufreq_dt0. Thanks. From owner-freebsd-arm@freebsd.org Wed Nov 13 14:33:37 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 130851B2570 for ; Wed, 13 Nov 2019 14:33:37 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CnD023chz46Kb for ; Wed, 13 Nov 2019 14:33:36 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: by mail-qk1-x72f.google.com with SMTP id e2so1882808qkn.5 for ; Wed, 13 Nov 2019 06:33:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cs0OAOR9d7Ip4dPr2CEvndGSZoCNPPXAMx8Ygk4ge+s=; b=VZ1UxbubcCcDhSrscpqM2IPdyBHr6hsrdw1ivSFHcV4OvyZdHCBjVPWvM0XWcnPnCr WCLLkU5zts/t8UkzWKXNKPTKv6MSKVDAHqRl2E//+lHzKok6cia0FiCfsdNg2bCtNiBi V7KgZilgJDOZieJBYhuQ3RZDQJJqkgI3woo2g6+1IbT3WDF5AVZ/fj3lhXhSy4z0rJwE IqpUzagCC+NAA+SAQ4Iw5priwrlWigFTE3VXNaMdYIVFUytFmBFE29Wvp9VP26HBqb17 45Gv/4R3xhcnds5/iREvNUxq803S90CcuVV9wTc1FQN3GbCUIJB5WYWpi0aHij6y8Yq5 23QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cs0OAOR9d7Ip4dPr2CEvndGSZoCNPPXAMx8Ygk4ge+s=; b=dC/2xHYqWJw6db9AoK4q2TbnANO1iot/lr5Mq2Xhoperw4lFRtaK6wHjScM6wKlOcJ sb0MVdht12e8rFfo85SNVGQ3etPzYDVh0HSouz66RWu4DNmqSdHvGDda50V57hD/XLAC W0UAs1AZiMGdPHtkTc3sYW29nKtmgbik3FzohsaMZ0zUxzXifh9LbITsOHbCy2AvRWln oWVfXSU0vXH5bbjH0Q3DY8oKUo4XgyNCilonJdi24I0Rh/3nKZ/ncllClbJOuqvl0ugg xA7EcCOa7jT2rdXZqbXd+4TS67h3p2DAV2g6jDNamA/j0ekb2/aANGBz1jCvTk3VVQzU 1yyw== X-Gm-Message-State: APjAAAW5X5mRYEDQuAKuPL276xtCMx1m+c2Qv3V/4MFtdp4xXdydXZuy 77gTSTiF0/PN8nJc/5NZJVhFaD2iJkQIzjTyOpU= X-Google-Smtp-Source: APXvYqxTGmQcn0B/DVWKl+iNoAytrDMFl8/rzsJ5Q8GN+m1CspjAB5igLsbfai5Tf8WqS8TObAbYM8v71mLxk9nb/7E= X-Received: by 2002:a37:8344:: with SMTP id f65mr2643713qkd.364.1573655614851; Wed, 13 Nov 2019 06:33:34 -0800 (PST) MIME-Version: 1.0 References: <20191111092629.7693b8c0@i11.co> <459E7D91-0276-421F-9B90-53A6B8F4D09D@cs.huji.ac.il> <131C927B-276E-4FDB-955B-FEEB9E98E11B@cs.huji.ac.il> <20191113161941.2cb5139c@i11.co> In-Reply-To: <20191113161941.2cb5139c@i11.co> From: Ganbold Tsagaankhuu Date: Wed, 13 Nov 2019 22:33:23 +0800 Message-ID: Subject: Re: Where cpufreq in NanoPi NEO? To: Nick Kostirya Cc: Daniel Braniss , "freebsd-arm@freebsd.org" X-Rspamd-Queue-Id: 47CnD023chz46Kb X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=VZ1Uxbub; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ganbold@gmail.com designates 2607:f8b0:4864:20::72f as permitted sender) smtp.mailfrom=ganbold@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.41), ipnet: 2607:f8b0::/32(-2.33), asn: 15169(-1.99), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[f.2.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 14:33:37 -0000 On Wed, Nov 13, 2019 at 10:19 PM Nick Kostirya wrote: > On Wed, 13 Nov 2019 19:02:49 +0800 > Ganbold Tsagaankhuu wrote: > > > On Wed, Nov 13, 2019 at 3:41 PM Daniel Braniss > wrote: > > > On 13 Nov 2019, at 03:56, Ganbold Tsagaankhuu > wrote: > > > On Tue, Nov 12, 2019 at 10:20 PM Daniel Braniss > wrote: > > > > > >> > > >> Hi Ganbold, > > >> any chance of getting your sun8i-h3-ths.dtso? > > >> > > > > > > It should be already in /usr/src/sys/dts/arm/overlays/ > > > > > > indeed, but in current, not in stable, will it be MFC=E2=80=99ed? > > > > > > > Committed as r354678. > > And also sun8i-h3-i2c0.dtso and sun8i-h3-opp.dtso. Please. > > As for sun8i-h3-i2c0.dtso, manu@ hopefully will commit it soon. sun8i-h3-opp.dtso is only for NanoPI Neo board, and it may not work for other H3 boards. So each type of H3 board may have different dts overlay in this regard. Ganbold > P.S. > sun8i-h3-opp.dtbo is helped for me. I see cpufreq_dt0. Thanks. > From owner-freebsd-arm@freebsd.org Wed Nov 13 15:20:32 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 215561B38BE for ; Wed, 13 Nov 2019 15:20:32 +0000 (UTC) (envelope-from dpostolov@yandex.ru) Received: from forward104j.mail.yandex.net (forward104j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47CpG66fFXz48Zh for ; Wed, 13 Nov 2019 15:20:30 +0000 (UTC) (envelope-from dpostolov@yandex.ru) Received: from forward103q.mail.yandex.net (forward103q.mail.yandex.net [IPv6:2a02:6b8:c0e:50:0:640:b21c:d009]) by forward104j.mail.yandex.net (Yandex) with ESMTP id 9D0CA4A0A0D for ; Wed, 13 Nov 2019 18:20:27 +0300 (MSK) Received: from mxback9q.mail.yandex.net (mxback9q.mail.yandex.net [IPv6:2a02:6b8:c0e:6b:0:640:b813:52e4]) by forward103q.mail.yandex.net (Yandex) with ESMTP id 96E2F61E0004 for ; Wed, 13 Nov 2019 18:20:27 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback9q.mail.yandex.net (mxback/Yandex) with ESMTP id LD6hcgjXtX-KRCC7ExR; Wed, 13 Nov 2019 18:20:27 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1573658427; bh=O0wh++OCux7RY8IYiof4AAn24Ff+Z5ETaNUjEFOU8qc=; h=Message-Id:Date:Subject:To:From; b=EjmasMnWVMI+5q8GumDzO9Kwp5fAzOmn8UdgheX25JUhn4wennXR/5k4oUvJWDwsV 0K9wm99WbH2zTidlQKtmeF7VuUVcWe0cZWAp1iD71SB1o5Ob7OqbSU/vw2nDRYAQVG 2hc8HxXr1/o3Kp+Al2UhVz+iZaCSru7gKS2nNOWc= Received: by vla1-c7cd0219e008.qloud-c.yandex.net with HTTP; Wed, 13 Nov 2019 18:20:27 +0300 From: Dmitry Postolov To: freebsd-arm Subject: Nano Pi M1 Allwinner H3 Support MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Wed, 13 Nov 2019 20:20:27 +0500 Message-Id: <112809281573658427@vla1-c7cd0219e008.qloud-c.yandex.net> Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Rspamd-Queue-Id: 47CpG66fFXz48Zh X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yandex.ru header.s=mail header.b=EjmasMnW; dmarc=pass (policy=none) header.from=yandex.ru; spf=pass (mx1.freebsd.org: domain of dpostolov@yandex.ru designates 2a02:6b8:0:801:2::107 as permitted sender) smtp.mailfrom=dpostolov@yandex.ru X-Spamd-Result: default: False [-4.10 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[yandex.ru:s=mail]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a02:6b8:0::/52]; FREEMAIL_FROM(0.00)[yandex.ru]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[yandex.ru.dwl.dnswl.org : 127.0.5.1]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yandex.ru:+]; DMARC_POLICY_ALLOW(-0.50)[yandex.ru,none]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(0.00)[ip: (-9.48), ipnet: 2a02:6b8::/32(-4.68), asn: 13238(-3.77), country: RU(0.01)]; RCVD_IN_DNSWL_LOW(-0.10)[7.0.1.0.0.0.0.0.0.0.0.0.2.0.0.0.1.0.8.0.0.0.0.0.8.b.6.0.2.0.a.2.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yandex.ru]; ASN(0.00)[asn:13238, ipnet:2a02:6b8::/32, country:RU]; MIME_TRACE(0.00)[0:+] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 15:20:32 -0000 Hi to All! Sorry for my bad English... I am a owner of Nano Pi M1. What about status of HDMI Video support and using this computer as lite desktop with Xfce 4.14 on FreeBSD-armv7? --- best regards, Dmitry Postolov dpostolov@yandex.ru From owner-freebsd-arm@freebsd.org Wed Nov 13 16:48:15 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 614F51B5A57 for ; Wed, 13 Nov 2019 16:48:15 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CrCK523dz4FjC for ; Wed, 13 Nov 2019 16:48:12 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id xADGmwF3026943 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 13 Nov 2019 17:48:59 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1573663740; bh=PVcA8+kz59IJvOfwzbHStn38vsFpYdcBQOIfhTmg84g=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=BnN/O+KGojkQwnUfzV3uFPr1tKiYKS0NBqj3jRbV6sE78WXW/MDGetEGVGoIFRBVA xNFqwKZ0HVIYw7Mmaz4bVQs0xuHgwAl8AdhpK+Ha9wWYayYNNPFXwrTGMKxgR4NTrG gEcOn/dhidOK6wB1Trwf0Y/qjAZoKK6OzrzIOIIA= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id xADGm3nJ007746 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Nov 2019 17:48:03 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id xADGm3e6069177; Wed, 13 Nov 2019 17:48:03 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id xADGm1tc069176; Wed, 13 Nov 2019 17:48:01 +0100 (CET) (envelope-from ticso) Date: Wed, 13 Nov 2019 17:48:01 +0100 From: Bernd Walter To: John-Mark Gurney Cc: freebsd-arm@freebsd.org, ticso@cicely.de Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191113164800.GS43404@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191113075343.GP43404@cicely7.cicely.de> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 47CrCK523dz4FjC X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=BnN/O+KG; dmarc=none; spf=none (mx1.freebsd.org: domain of ticso@cicely7.cicely.de has no SPF policy when checking 195.149.99.3) smtp.mailfrom=ticso@cicely7.cicely.de X-Spamd-Result: default: False [-1.80 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-0.995,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 16:48:15 -0000 On Wed, Nov 13, 2019 at 08:53:43AM +0100, Bernd Walter wrote: > On Tue, Nov 12, 2019 at 02:52:51PM -0800, John-Mark Gurney wrote: > > Bernd Walter wrote this message on Tue, Nov 12, 2019 at 23:16 +0100: > > > On Tue, Nov 12, 2019 at 08:09:38AM -0700, Klaus Kchemann via freebsd-arm wrote: > > > > <> > > > > > > > > onto the uSD : > > > > https://www.freshports.org/sysutils/u-boot-rockpro64/ > > > > Regards > > > > Klaus > > > > > > Thank you. > > > > > > Do you know the bps rate used by u-boot and later components? > > > I do see some output at the usual 115200 bps, but it is messed up. > > > Also tried other typical bps rates, including 1.5Mbps as mentioned > > > on the RockPro Wiki, but none worked. > > > I wouldn't rule out that it is the USB uart failing at 1.5M though, > > > but I've tried a PL2303, CP2102 (which refused 1.5Mbps) and > > > a CH340. > > > Unfortunately I don't have an FTDI based TTL one at hands. > > > It also fails with reading the uartt output when booting an Armbian > > > image, which as such is booting fine according to the HDMI output. > > > > It's 1.5Mbps, aka 1500000. I'm using the CH340G that they sell: > > https://store.pine64.org/?product=padi-serial-console > > > > And it works, but it will occasionally drop characters. > > Sigh - IMO 1.5M is an insane idea for that and so needless. I assume that our driver only allocated one packet per frame. This will max out at 64000 Bytes, or with 8n1 at 640kbps. If that is the case then maybe the driver should increase the number of packets per frame for bps rates over 600kbps. I just remembered that I own an FTDI FT4232H module. This one is capable of 12Mbps with 2k Buffers and high speed USB. I have it at a different location - guess I will have to drive and pick it up. > > None of my other serial adapters could do the speed necessary. > > I just retried with the CH340 - again no success, but noticed that the > chip on my adapter is unlabeled. > So probably it isn't a genuine. > I should have some others, but not at home, and I also have some > loose CH340G chips. > > -- > B.Walter http://www.bwct.de > Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Wed Nov 13 18:38:05 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 313F21B8033 for ; Wed, 13 Nov 2019 18:38:05 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate2.funkthat.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Ctf4222wz4N9y for ; Wed, 13 Nov 2019 18:38:03 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id xADIbNdR039828 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 13 Nov 2019 10:37:23 -0800 (PST) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id xADIbM0h039827; Wed, 13 Nov 2019 10:37:22 -0800 (PST) (envelope-from jmg) Date: Wed, 13 Nov 2019 10:37:22 -0800 From: John-Mark Gurney To: ticso@cicely.de Cc: freebsd-arm@freebsd.org Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191113183722.GD4552@funkthat.com> Mail-Followup-To: ticso@cicely.de, freebsd-arm@freebsd.org References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113164800.GS43404@cicely7.cicely.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191113164800.GS43404@cicely7.cicely.de> X-Operating-System: FreeBSD 11.0-RELEASE-p7 amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Wed, 13 Nov 2019 10:37:23 -0800 (PST) X-Rspamd-Queue-Id: 47Ctf4222wz4N9y X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of jmg@gold.funkthat.com has no SPF policy when checking 208.87.223.18) smtp.mailfrom=jmg@gold.funkthat.com X-Spamd-Result: default: False [-1.25 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.976,0]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; IP_SCORE(-0.48)[ip: (-1.23), ipnet: 208.87.216.0/21(-0.61), asn: 32354(-0.49), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[funkthat.com]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.99)[-0.995,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[jmg@funkthat.com,jmg@gold.funkthat.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:32354, ipnet:208.87.216.0/21, country:US]; FROM_NEQ_ENVFROM(0.00)[jmg@funkthat.com,jmg@gold.funkthat.com]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 18:38:05 -0000 Bernd Walter wrote this message on Wed, Nov 13, 2019 at 17:48 +0100: > On Wed, Nov 13, 2019 at 08:53:43AM +0100, Bernd Walter wrote: > > On Tue, Nov 12, 2019 at 02:52:51PM -0800, John-Mark Gurney wrote: > > > Bernd Walter wrote this message on Tue, Nov 12, 2019 at 23:16 +0100: > > > > On Tue, Nov 12, 2019 at 08:09:38AM -0700, Klaus Kchemann via freebsd-arm wrote: > > > > > <> > > > > > > > > > > onto the uSD : > > > > > https://www.freshports.org/sysutils/u-boot-rockpro64/ > > > > > Regards > > > > > Klaus > > > > > > > > Thank you. > > > > > > > > Do you know the bps rate used by u-boot and later components? > > > > I do see some output at the usual 115200 bps, but it is messed up. > > > > Also tried other typical bps rates, including 1.5Mbps as mentioned > > > > on the RockPro Wiki, but none worked. > > > > I wouldn't rule out that it is the USB uart failing at 1.5M though, > > > > but I've tried a PL2303, CP2102 (which refused 1.5Mbps) and > > > > a CH340. > > > > Unfortunately I don't have an FTDI based TTL one at hands. > > > > It also fails with reading the uartt output when booting an Armbian > > > > image, which as such is booting fine according to the HDMI output. > > > > > > It's 1.5Mbps, aka 1500000. I'm using the CH340G that they sell: > > > https://store.pine64.org/?product=padi-serial-console > > > > > > And it works, but it will occasionally drop characters. > > > > Sigh - IMO 1.5M is an insane idea for that and so needless. > > I assume that our driver only allocated one packet per frame. > This will max out at 64000 Bytes, or with 8n1 at 640kbps. > If that is the case then maybe the driver should increase the number > of packets per frame for bps rates over 600kbps. Don't know USB, but looking at uchcom.c, it looks like it defaults to a 1k buffer size and 1 frame for transfers. It also looks like this is setup at attach time, so we can't (easily) change is based upon speed. Would increasing the number of frames do what you're talking about? Say, to 3? Would we also need to increase the bufsize to 64k, or leaving it at 1k is fine? > I just remembered that I own an FTDI FT4232H module. > This one is capable of 12Mbps with 2k Buffers and high speed USB. > I have it at a different location - guess I will have to drive and > pick it up. > > > > None of my other serial adapters could do the speed necessary. > > > > I just retried with the CH340 - again no success, but noticed that the > > chip on my adapter is unlabeled. > > So probably it isn't a genuine. > > I should have some others, but not at home, and I also have some > > loose CH340G chips. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-arm@freebsd.org Wed Nov 13 19:55:44 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 728B21B9DB9 for ; Wed, 13 Nov 2019 19:55:44 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1.freebsd.org (Postfix) with ESMTP id 47CwMg3zdfz4hXp for ; Wed, 13 Nov 2019 19:55:43 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id A05221296514F for ; Wed, 13 Nov 2019 12:55:41 -0700 (MST) Date: Wed, 13 Nov 2019 12:55:41 -0700 (MST) From: =?UTF-8?Q?Klaus_K=C3=BCchemann?= To: freebsd-arm@freebsd.org Message-ID: <1573674941654-0.post@n6.nabble.com> In-Reply-To: <20191113183722.GD4552@funkthat.com> References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113164800.GS43404@cicely7.cicely.de> <20191113183722.GD4552@funkthat.com> Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47CwMg3zdfz4hXp X-Spamd-Bar: ++++++ X-Spamd-Result: default: False [6.97 / 15.00]; ARC_NA(0.00)[]; GREYLIST(0.00)[pass,meta]; FROM_HAS_DN(0.00)[]; DMARC_POLICY_QUARANTINE(1.50)[googlemail.com : No valid SPF, No valid DKIM,quarantine]; FREEMAIL_FROM(0.00)[googlemail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.97)[0.975,0]; IP_SCORE(0.00)[ip: (0.91), ipnet: 162.255.20.0/22(0.33), asn: 21624(0.04), country: US(-0.05)]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[37.23.255.162.list.dnswl.org : 127.0.10.0]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21624, ipnet:162.255.20.0/22, country:US]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[googlemail.com] X-Spam: Yes X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 19:55:44 -0000 well, after installing https://www.freshports.org/sysutils/u-boot-rockpro64/ just for testing I see u-boot.itb is missing(which is really needed). there are boot.img/trust.img/README& idbloader.img . as said, I have no problems booting the RockPro64 but I use a hacked version of 2019.10 - sysutils/u-boot-rockpro64 should be updated if there's really no u-boot.itb available . Also a 2019.10 - version with 115200 should help most users with cheap USB-dongles if they don't have another SBC available to connect UART . -- Sent from: http://freebsd.1045724.x6.nabble.com/freebsd-arm-f4199244.html From owner-freebsd-arm@freebsd.org Wed Nov 13 19:59:45 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 030381BA361 for ; Wed, 13 Nov 2019 19:59:45 +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 47CwSH5sXSz4jcP for ; Wed, 13 Nov 2019 19:59:43 +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 0fa35f0e; Wed, 13 Nov 2019 20:59:35 +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=Pd3NZn5mnCh0N79jRHwQFamnb6k=; b=jIMvmTCpgevJMNTdNkcEib+aKEQH oc8E7CcLOURreAYJVfwmb7vG+8h43wS3wUlZ556/9uhT07IsAnwZaP82LuDuh8O3 yPYFfGcA8OQO0tStunzzHCDZHec1l3s7HXNLnytJviHTDyEcYOaufsAUaJb32nxi P/WevVuyXEEUT+o= 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=Jo2dtE7nclfLwvsdxpyna/TmAEKA1coFJlDOxDntDDkOHfRIpuy9G3ZM gOd5Z15fz6l9TNorkNZ8PnrxAHhlbBl8ibqemi3NxF6k1+H+0ZokftsKPZsP0xA+ pHkZ98gtHBAj4AoABLgI3b8K9cGSnFcwOfNhhC3MFqhWohgV7yM= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id bf2a60d0 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Wed, 13 Nov 2019 20:59:35 +0100 (CET) Date: Wed, 13 Nov 2019 20:59:35 +0100 From: Emmanuel Vadot To: Klaus =?ISO-8859-1?Q?K=FCchemann?= Cc: Klaus =?ISO-8859-1?Q?K=FCchemann?= via freebsd-arm Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-Id: <20191113205935.fcb4383214e3a2f02ddde5bb@bidouilliste.com> In-Reply-To: <1573674941654-0.post@n6.nabble.com> References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113164800.GS43404@cicely7.cicely.de> <20191113183722.GD4552@funkthat.com> <1573674941654-0.post@n6.nabble.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 47CwSH5sXSz4jcP X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=jIMvmTCp; dmarc=none; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-1.35 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.86)[-0.856,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.98)[-0.985,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[googlemail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.39)[ip: (-0.59), ipnet: 212.83.160.0/19(2.43), asn: 12876(0.12), country: FR(-0.00)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 19:59:45 -0000 Hi Klaus, On Wed, 13 Nov 2019 12:55:41 -0700 (MST) Klaus K=FCchemann via freebsd-arm wrote: > well, after installing https://www.freshports.org/sysutils/u-boot-rockpr= o64/ > just for testing=20 > I see u-boot.itb is missing(which is really needed). there are > boot.img/trust.img/README& idbloader.img . > as said, I have no problems booting the RockPro64 but I use a hacked vers= ion > of 2019.10 - > sysutils/u-boot-rockpro64 should be updated if there's really no u-boot.i= tb > available . > Also a 2019.10 - version with 115200 should help most users with cheap > USB-dongles if they don't have another SBC available to connect UART . First of all, could you quote on your answer, it's really hard to follow a discussion if you don't. And there is u-boot.itb : manu@skull> sudo pkg install u-boot-rockpro64 Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: u-boot-rockpro64: 2019.10 [FreeBSD] Number of packages to be installed: 1 The process will require 1 MiB more space. 303 KiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching u-boot-rockpro64-2019.10.txz: 100% 303 KiB 310.4kB/s 00:01 Checking integrity... done (0 conflicting) [1/1] Installing u-boot-rockpro64-2019.10... [1/1] Extracting u-boot-rockpro64-2019.10: 100% manu@skull> ls -l /usr/local/share/u-boot/u-boot-rockpro64/ total 3 -rw-r--r-- 1 root wheel 473933 Nov 9 19:37 idbloader.img -rw-r--r-- 1 root wheel 368 Nov 9 19:37 README -rw-r--r-- 1 root wheel 824140 Nov 9 19:37 u-boot.itb How did you test the port ? Cheers, --=20 Emmanuel Vadot From owner-freebsd-arm@freebsd.org Wed Nov 13 20:09:32 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D3D171BA5BB for ; Wed, 13 Nov 2019 20:09:32 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Cwgb3jLbz4lgC for ; Wed, 13 Nov 2019 20:09:31 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id xADKAHfP042508 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 13 Nov 2019 21:10:18 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1573675818; bh=fqIpDuMyrmwCZASD+Nq9lX7QJRcrHg16cLFBQX5jFUE=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=nEYScSIaMCzwTVqHpLUbRntzKYXBoqdSffghVzaXSHB2NH+3ECguVScSwNHvARCta kgW1rLTkFTtfads31APYi0xQyc6qRh1TvnybiuzQ1+0xHGTcwMaLcjsBP4hj51+Ytk 4X9gNSpGdQ/Z6gXTofaC2Ug2N/ZymhxcHB9Et4QE= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id xADK9N6M013729 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Nov 2019 21:09:23 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id xADK9LIM070384; Wed, 13 Nov 2019 21:09:21 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id xADK9JVp070383; Wed, 13 Nov 2019 21:09:19 +0100 (CET) (envelope-from ticso) Date: Wed, 13 Nov 2019 21:09:19 +0100 From: Bernd Walter To: John-Mark Gurney Cc: ticso@cicely.de, freebsd-arm@freebsd.org Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191113200918.GT43404@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113164800.GS43404@cicely7.cicely.de> <20191113183722.GD4552@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191113183722.GD4552@funkthat.com> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 47Cwgb3jLbz4lgC X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=nEYScSIa; dmarc=none; spf=none (mx1.freebsd.org: domain of ticso@cicely7.cicely.de has no SPF policy when checking 195.149.99.3) smtp.mailfrom=ticso@cicely7.cicely.de X-Spamd-Result: default: False [-1.80 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 20:09:32 -0000 On Wed, Nov 13, 2019 at 10:37:22AM -0800, John-Mark Gurney wrote: > Bernd Walter wrote this message on Wed, Nov 13, 2019 at 17:48 +0100: > > On Wed, Nov 13, 2019 at 08:53:43AM +0100, Bernd Walter wrote: > > > On Tue, Nov 12, 2019 at 02:52:51PM -0800, John-Mark Gurney wrote: > > > > Bernd Walter wrote this message on Tue, Nov 12, 2019 at 23:16 +0100: > > > > > On Tue, Nov 12, 2019 at 08:09:38AM -0700, Klaus Kchemann via freebsd-arm wrote: > > > > > > <> > > > > > > > > > > > > onto the uSD : > > > > > > https://www.freshports.org/sysutils/u-boot-rockpro64/ > > > > > > Regards > > > > > > Klaus > > > > > > > > > > Thank you. > > > > > > > > > > Do you know the bps rate used by u-boot and later components? > > > > > I do see some output at the usual 115200 bps, but it is messed up. > > > > > Also tried other typical bps rates, including 1.5Mbps as mentioned > > > > > on the RockPro Wiki, but none worked. > > > > > I wouldn't rule out that it is the USB uart failing at 1.5M though, > > > > > but I've tried a PL2303, CP2102 (which refused 1.5Mbps) and > > > > > a CH340. > > > > > Unfortunately I don't have an FTDI based TTL one at hands. > > > > > It also fails with reading the uartt output when booting an Armbian > > > > > image, which as such is booting fine according to the HDMI output. > > > > > > > > It's 1.5Mbps, aka 1500000. I'm using the CH340G that they sell: > > > > https://store.pine64.org/?product=padi-serial-console > > > > > > > > And it works, but it will occasionally drop characters. > > > > > > Sigh - IMO 1.5M is an insane idea for that and so needless. > > > > I assume that our driver only allocated one packet per frame. > > This will max out at 64000 Bytes, or with 8n1 at 640kbps. > > If that is the case then maybe the driver should increase the number > > of packets per frame for bps rates over 600kbps. > > Don't know USB, but looking at uchcom.c, it looks like it defaults > to a 1k buffer size and 1 frame for transfers. It also looks like > this is setup at attach time, so we can't (easily) change is based > upon speed. My knowledge about USB is old, basicly USB1.1 aera, but the CH340G are full speed devices, so it still should make some sense. And my knowledge is limited to the old USB stack. Full speed devices are allowed to have bulk packet sizes of up to 64 Byte. I havn't checked, but I strongly assume that the CH340G announces 64 Bytes. There there are 1000 frames per second. When you want to receive data from such a device you put a receive packet of 64 Bytes inside a frame. When the device has anything to send it puts up to 64 Bytes payload into the packet and acks the packet. The transmission time required is always the full 64 Bytes, not matter if anything has been send at all. Therefor you usually want to sparsely do read requests. Traditionally you can't schedule another packet until the next frame, but I think HPS mentioned that some controllers are more clever than that and you can schedule a new packet inside a frame, which already started - on the other hand we rarely have full speed controllers these days and almost always use transaction translators inside USB hubs to convert speed between high speed host to low/full speed device for us. Generally this means, unless we do multiple 64 bytes requests inside a single frame, we are limited to 1000 frames/s with up to 64 bytes each. > Would increasing the number of frames do what you're talking about? > Say, to 3? Would we also need to increase the bufsize to 64k, or > leaving it at 1k is fine? Don't know - frames doesn't make sense in the USB style of wording I'm used to. Maybe the new stack automatically increases the number of receive packets depending on previous packets. It surely does for umass, otherwise reading speed would be massively limited, although on an umass device you know how much read data to expect. Maybe it is static and number of frames is what we need. The allocated 1k buffer should be enough though. Considering the flag "short_frames_ok", I think frame in the FreeBSD source is what I know as packets. What puzzles me is that usb/net/if_axe.c also does the same logic. Maybe the new USB stack does some autoscaling. Since the CH340G datasheet doesn't mention it's buffer size, it is unknown how many USB-frames (miliseconds) we have time for the autoscaling to kick in. > > I just remembered that I own an FTDI FT4232H module. > > This one is capable of 12Mbps with 2k Buffers and high speed USB. > > I have it at a different location - guess I will have to drive and > > pick it up. High speed USB allows bigger packet sizes and the FT4232H should announce 512 Bytes, which means we do bigger packets. > > > > None of my other serial adapters could do the speed necessary. > > > > > > I just retried with the CH340 - again no success, but noticed that the > > > chip on my adapter is unlabeled. > > > So probably it isn't a genuine. > > > I should have some others, but not at home, and I also have some > > > loose CH340G chips. > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Wed Nov 13 20:13:36 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DAEA01BA909 for ; Wed, 13 Nov 2019 20:13:36 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CwmJ1MzDz4mtB for ; Wed, 13 Nov 2019 20:13:35 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id xADKELHp042850 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 13 Nov 2019 21:14:22 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1573676063; bh=RXRlBKhCDliXm7zFWmZCQh/lDoZ8pZCmqNv/Gv8x6nc=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=D5LWjmkBX69k6n/8Lonht5Z5t3dcumFPZUQu3mrMa6nSaJFiMFlwCrbn2PWvQEr3V 4bbO0ZyA3H2RJUBLdtj6T7mSV8n9NZJElNsnfo4Ii60SrvNM29hEMKKnO2wdN6FA5R pqWE3RJEkgT7OFDje0Cbg+ozJyHpCggZd8XNlf5s= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id xADKDTfx013854 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Nov 2019 21:13:29 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id xADKDTEF070422; Wed, 13 Nov 2019 21:13:29 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id xADKDS6D070421; Wed, 13 Nov 2019 21:13:28 +0100 (CET) (envelope-from ticso) Date: Wed, 13 Nov 2019 21:13:28 +0100 From: Bernd Walter To: Emmanuel Vadot Cc: Klaus =?iso-8859-1?Q?K=FCchemann?= , Klaus =?iso-8859-1?Q?K=FCchemann?= via freebsd-arm Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191113201328.GU43404@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113164800.GS43404@cicely7.cicely.de> <20191113183722.GD4552@funkthat.com> <1573674941654-0.post@n6.nabble.com> <20191113205935.fcb4383214e3a2f02ddde5bb@bidouilliste.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191113205935.fcb4383214e3a2f02ddde5bb@bidouilliste.com> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 47CwmJ1MzDz4mtB X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=D5LWjmkB; dmarc=none; spf=none (mx1.freebsd.org: domain of ticso@cicely7.cicely.de has no SPF policy when checking 195.149.99.3) smtp.mailfrom=ticso@cicely7.cicely.de X-Spamd-Result: default: False [-1.80 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; IP_SCORE(-0.00)[country: DE(-0.01)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; FREEMAIL_CC(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 20:13:36 -0000 On Wed, Nov 13, 2019 at 08:59:35PM +0100, Emmanuel Vadot wrote: > > Hi Klaus, > > On Wed, 13 Nov 2019 12:55:41 -0700 (MST) > Klaus Kchemann via freebsd-arm wrote: > > > well, after installing https://www.freshports.org/sysutils/u-boot-rockpro64/ > > just for testing > > I see u-boot.itb is missing(which is really needed). there are > > boot.img/trust.img/README& idbloader.img . > > as said, I have no problems booting the RockPro64 but I use a hacked version > > of 2019.10 - > > sysutils/u-boot-rockpro64 should be updated if there's really no u-boot.itb > > available . > > Also a 2019.10 - version with 115200 should help most users with cheap > > USB-dongles if they don't have another SBC available to connect UART . > > First of all, could you quote on your answer, it's really hard to > follow a discussion if you don't. > > And there is u-boot.itb : > > manu@skull> sudo pkg install > u-boot-rockpro64 Updating FreeBSD repository catalogue... > FreeBSD repository is up to date. > All repositories are up to date. > The following 1 package(s) will be affected (of 0 checked): > > New packages to be INSTALLED: > u-boot-rockpro64: 2019.10 [FreeBSD] > > Number of packages to be installed: 1 > > The process will require 1 MiB more space. > 303 KiB to be downloaded. > > Proceed with this action? [y/N]: y > [1/1] Fetching u-boot-rockpro64-2019.10.txz: 100% 303 KiB 310.4kB/s > 00:01 Checking integrity... done (0 conflicting) > [1/1] Installing u-boot-rockpro64-2019.10... > [1/1] Extracting u-boot-rockpro64-2019.10: 100% > manu@skull> ls > -l /usr/local/share/u-boot/u-boot-rockpro64/ total 3 > -rw-r--r-- 1 root wheel 473933 Nov 9 19:37 idbloader.img > -rw-r--r-- 1 root wheel 368 Nov 9 19:37 README > -rw-r--r-- 1 root wheel 824140 Nov 9 19:37 u-boot.itb I can scond that it exists. I would have noticed when I wrote the two files onto the uSD-card. > How did you test the port ? > > Cheers, > > -- > Emmanuel Vadot > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Wed Nov 13 20:37:46 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 658CE1BAF41 for ; Wed, 13 Nov 2019 20:37:46 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1.freebsd.org (Postfix) with ESMTP id 47CxJ937j9z4vDk for ; Wed, 13 Nov 2019 20:37:45 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id 0B71612967B74 for ; Wed, 13 Nov 2019 13:37:44 -0700 (MST) Date: Wed, 13 Nov 2019 13:37:44 -0700 (MST) From: =?UTF-8?Q?Klaus_K=C3=BCchemann?= To: freebsd-arm@freebsd.org Message-ID: <1573677464044-0.post@n6.nabble.com> In-Reply-To: <20191113205935.fcb4383214e3a2f02ddde5bb@bidouilliste.com> References: <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113164800.GS43404@cicely7.cicely.de> <20191113183722.GD4552@funkthat.com> <1573674941654-0.post@n6.nabble.com> <20191113205935.fcb4383214e3a2f02ddde5bb@bidouilliste.com> Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 47CxJ937j9z4vDk X-Spamd-Bar: ++++++ X-Spamd-Result: default: False [6.97 / 15.00]; ARC_NA(0.00)[]; GREYLIST(0.00)[pass,meta]; FROM_HAS_DN(0.00)[]; DMARC_POLICY_QUARANTINE(1.50)[googlemail.com : No valid SPF, No valid DKIM,quarantine]; FREEMAIL_FROM(0.00)[googlemail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.97)[0.970,0]; IP_SCORE(0.00)[ip: (0.90), ipnet: 162.255.20.0/22(0.33), asn: 21624(0.04), country: US(-0.05)]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[37.23.255.162.list.dnswl.org : 127.0.10.0]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21624, ipnet:162.255.20.0/22, country:US]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[googlemail.com] X-Spam: Yes X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 20:37:46 -0000 Emmanuel Vadot-7 wrote > Hi Klaus, >=20 > On Wed, 13 Nov 2019 12:55:41 -0700 (MST) > Klaus K=C3=BCchemann via freebsd-arm < > freebsd-arm@ > > wrote: >=20 >> well, after installing >> https://www.freshports.org/sysutils/u-boot-rockpro64/ >> just for testing=20 >> I see u-boot.itb is missing(which is really needed). there are >> boot.img/trust.img/README& idbloader.img . >> as said, I have no problems booting the RockPro64 but I use a hacked >> version >> of 2019.10 - >> sysutils/u-boot-rockpro64 should be updated if there's really no >> u-boot.itb >> available . >> Also a 2019.10 - version with 115200 should help most users with cheap >> USB-dongles if they don't have another SBC available to connect UART . >=20 > First of all, could you quote on your answer, it's really hard to > follow a discussion if you don't. >=20 > And there is u-boot.itb : >=20 > manu@skull> sudo pkg install > u-boot-rockpro64 Updating FreeBSD repository catalogue... > FreeBSD repository is up to date. > All repositories are up to date. > The following 1 package(s) will be affected (of 0 checked): >=20 > New packages to be INSTALLED: > u-boot-rockpro64: 2019.10 [FreeBSD] >=20 > Number of packages to be installed: 1 >=20 > The process will require 1 MiB more space. > 303 KiB to be downloaded. >=20 > Proceed with this action? [y/N]: y > [1/1] Fetching u-boot-rockpro64-2019.10.txz: 100% 303 KiB 310.4kB/s > 00:01 Checking integrity... done (0 conflicting) > [1/1] Installing u-boot-rockpro64-2019.10... > [1/1] Extracting u-boot-rockpro64-2019.10: 100% > manu@skull> ls > -l /usr/local/share/u-boot/u-boot-rockpro64/ total 3 > -rw-r--r-- 1 root wheel 473933 Nov 9 19:37 idbloader.img > -rw-r--r-- 1 root wheel 368 Nov 9 19:37 README > -rw-r--r-- 1 root wheel 824140 Nov 9 19:37 u-boot.itb >=20 > How did you test the port ? >=20 > Cheers, >=20 > --=20 > Emmanuel Vadot < > manu@ > > < > manu@ > > > _______________________________________________ > freebsd-arm@ > mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to " > freebsd-arm-unsubscribe@ > " Hi Emmanuel, yes, I see now u-boot.itb available if installing on aarch64(RockPro64 itself). root@generic:~ # uname -a = =20 root@generic:~ # uname -a FreeBSD generic 13.0-CURRENT FreeBSD 13.0-CURRENT #0 f4c44436d92-c263877(master)..04:30:47 UTC 2019 =20 root@generic:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC-4 root@generic:~ # ls /usr/local/share/u-boot/u-boot-rockpro64 = =20 README idbloader.img u-boot.itb =20 - installed on AMD64(maybe compiled from ports, don't remember) I saw this : -- root@freebsd:~ # uname -a FreeBSD freebsd 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64 root@freebsd:~ # ls /usr/local/share/u-boot/u-boot-rockpro64 README idbloader.img trust.img uboot.img -- well, booting the now created uSD created with files from sysutils I see garbled output on 115200( as Walter said) : -- Press CTRL-A Z for help on special keys =EA=AA=86c???NOTICE: BL31: v2.1(release): NOTICE: BL31: Built : 01:47:33, Oct 24 2019 i?Q=D7=89??e???(?8?????=D5=AB?.????h=E8=BD=95?=EB=B9=BA??0U8?????h?? q=E5= =AA=AA?*????? (? ????=E9=A2=A09-??+???????=CA=B2??? -- which seems to mean that it's set to 1500000 what most of cheap USB-UARTs can't handle. Should be better to provide a 2019.10-version which can handle 115200.. Regards Klaus -- Sent from: http://freebsd.1045724.x6.nabble.com/freebsd-arm-f4199244.html From owner-freebsd-arm@freebsd.org Wed Nov 13 20:42:20 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A8DA91BB144 for ; Wed, 13 Nov 2019 20:42:20 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47CxPS27fVz3CjX for ; Wed, 13 Nov 2019 20:42:20 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1573677739; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=mKDGAJFunrLYct2QSAp5hY/YsaavI8EFy4sp+bV1taoXkibr5WBvL9dWSLSC7kaUYBweP9/zJghTB SEks6YKZzVizsWyHY9h4xI5eWlvWi+SnGyS3D9q+dbFbKrDqx9D4a0HUN2gsB8eDECLU/uVqmnmgN7 GZxlOPQcDj89sXh+0G4BbvUpJiETjP4d5TSBh79jA/m1PVgccp7IkoEfJZzVMaoJxPsb5oHWwnj36l ikOaVFtn7/jD9JvVD0WnOvNUKZXGPx1NQUnzNbZOCmW4xPkFaZi13FqQJs/A8azZRReqRw+mIXM3Xh Pvve+Opvmk1ZBoR2CfCjZsk/BzKiqLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=9z7qSkrCBDb18aEZe42AB8fn+WHWB69R56vBHarx5ns=; b=kRNGf/L6dgnHBD93mHGLQfTBLlXAX7yiRm+xC8Hsdoo63PihdNJB7m52+DSXHtuL3Af36NbuuUzsy /MMERtOw6yvEUOf5clpiiW8AhEtReGmo4vUT81GsDYpiEa9D25ftCUtlCqfl8kk8t8JHIGCqJUVnF2 yD0r/XJP53QWPpV4yv8cY1hbqECG8thhGshAivocIbtzo86kmL3eKFccq8oEghuqWIwDb+UBdOFAtp wsBm8IV7Ig9CuiDzAByTYMeBp7G7u6/nyWfNbABjuWN3oiUKyWnarx0AZPlb+Y6UyrnwTaOelqqf6U 0z+DguPJRqoI6o/RVdvr3rY51tefq2w== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=9z7qSkrCBDb18aEZe42AB8fn+WHWB69R56vBHarx5ns=; b=gcXST++UodEOBPRAyXR7tCTKN/Ltx6jmGeBs8/j58sR9HrN1ozQWP615CG+fA0dOrAfvlnw86hBES f3gttkkNp2j/qk55N0pXff0FNbvwwWEOp7UMxjENE3zfQF96Xwdm2RYqvVO04p1RhIQWKc7/tva3P1 BmjxC973PvfIilGVCXI97EE1r/5XDE3YypdaHo3NbzsT5oVYo/REt2s98RgQKln5oP2WNJ/aXBqtXb U2k+h3DA1VTQn/AhTPtf2MhtIcoJtyWOBZKpM+FHE7WhCDI6k1gjLc4LXkkM+uCWBddx5UCENzxH+z tGsx37lFy9q7JR0D/3om4ZtlEJdRyRQ== X-MHO-RoutePath: aGlwcGll X-MHO-User: 12914dda-0656-11ea-829e-79a40d15cccd X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id 12914dda-0656-11ea-829e-79a40d15cccd; Wed, 13 Nov 2019 20:42:17 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id xADKgDf0024495; Wed, 13 Nov 2019 13:42:13 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <0ad483794f3f1163a852025f4aa331efde82fb7d.camel@freebsd.org> Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 From: Ian Lepore To: ticso@cicely.de, John-Mark Gurney Cc: freebsd-arm@freebsd.org Date: Wed, 13 Nov 2019 13:42:13 -0700 In-Reply-To: <20191113164800.GS43404@cicely7.cicely.de> References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113164800.GS43404@cicely7.cicely.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47CxPS27fVz3CjX X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.95 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.95)[-0.949,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:16509, ipnet:54.148.0.0/15, country:US] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 20:42:20 -0000 On Wed, 2019-11-13 at 17:48 +0100, Bernd Walter wrote: > I just remembered that I own an FTDI FT4232H module. > This one is capable of 12Mbps with 2k Buffers and high speed USB. > I have it at a different location - guess I will have to drive and > pick it up. You'll certainly have no trouble with the ftdi 4232. I've tested those at 6mpbs in both directions concurrently without any data loss. IMO, breaking free of the 115200 barrier is long overdue, but it would have been nice if the step up everyone took was to 921600, because virtually all usb-serial support that. With line-level rather than ttl-level adapters, 1mpbs is often the effective speed limit because of the cheap rs232 line-level chips they use. -- Ian From owner-freebsd-arm@freebsd.org Wed Nov 13 20:48:34 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 69D721BB56C for ; Wed, 13 Nov 2019 20:48:34 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CxXd35sNz3FbX for ; Wed, 13 Nov 2019 20:48:33 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id xADKnJf7045231 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 13 Nov 2019 21:49:20 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1573678161; bh=ZIAXVrfLT4bJbdzVDEd2m31fob+/Bl7oE50E0hWMcJk=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=SaDEnAtFzKzk4TWx7rNXXRh6cPvSp3aXhY5ZvW6AkiAUtppEp+3PRGXxuINBkriSI AhP7mhf4iSaJsd694EQFsebBLocQC/6CIjFH0KIKE5ltRxpoedq33mffr5HJs59v5F qQvJCDr1ljz+mxPivModNss8bQ/Pq2WhWTvvHKXo= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id xADKmQwp014699 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Nov 2019 21:48:26 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id xADKmQ0g070566; Wed, 13 Nov 2019 21:48:26 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id xADKmQUT070565; Wed, 13 Nov 2019 21:48:26 +0100 (CET) (envelope-from ticso) Date: Wed, 13 Nov 2019 21:48:26 +0100 From: Bernd Walter To: John-Mark Gurney Cc: freebsd-arm@freebsd.org, ticso@cicely.de Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191113204826.GV43404@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113164800.GS43404@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191113164800.GS43404@cicely7.cicely.de> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 47CxXd35sNz3FbX X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=SaDEnAtF; dmarc=none; spf=none (mx1.freebsd.org: domain of ticso@cicely7.cicely.de has no SPF policy when checking 195.149.99.3) smtp.mailfrom=ticso@cicely7.cicely.de X-Spamd-Result: default: False [-1.80 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 20:48:34 -0000 On Wed, Nov 13, 2019 at 05:48:01PM +0100, Bernd Walter wrote: > On Wed, Nov 13, 2019 at 08:53:43AM +0100, Bernd Walter wrote: > > On Tue, Nov 12, 2019 at 02:52:51PM -0800, John-Mark Gurney wrote: > > > Bernd Walter wrote this message on Tue, Nov 12, 2019 at 23:16 +0100: > > > > On Tue, Nov 12, 2019 at 08:09:38AM -0700, Klaus Kchemann via freebsd-arm wrote: > > > > > <> > > > > > > > > > > onto the uSD : > > > > > https://www.freshports.org/sysutils/u-boot-rockpro64/ > > > > > Regards > > > > > Klaus > > > > > > > > Thank you. > > > > > > > > Do you know the bps rate used by u-boot and later components? > > > > I do see some output at the usual 115200 bps, but it is messed up. > > > > Also tried other typical bps rates, including 1.5Mbps as mentioned > > > > on the RockPro Wiki, but none worked. > > > > I wouldn't rule out that it is the USB uart failing at 1.5M though, > > > > but I've tried a PL2303, CP2102 (which refused 1.5Mbps) and > > > > a CH340. > > > > Unfortunately I don't have an FTDI based TTL one at hands. > > > > It also fails with reading the uartt output when booting an Armbian > > > > image, which as such is booting fine according to the HDMI output. > > > > > > It's 1.5Mbps, aka 1500000. I'm using the CH340G that they sell: > > > https://store.pine64.org/?product=padi-serial-console > > > > > > And it works, but it will occasionally drop characters. > > > > Sigh - IMO 1.5M is an insane idea for that and so needless. > > I assume that our driver only allocated one packet per frame. > This will max out at 64000 Bytes, or with 8n1 at 640kbps. > If that is the case then maybe the driver should increase the number > of packets per frame for bps rates over 600kbps. > > I just remembered that I own an FTDI FT4232H module. Ok - the FT4232H mini module won't even probe on USB :-( I have another FT4232H, which probes fine, but has RS232 transceivers. A board with - I assume - a genuine CH340G shows exactly the same problem. Tomorrow I will hook up a logic analyzer to see what really happens on the wire. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Wed Nov 13 20:53:58 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EC32D1BB95E for ; Wed, 13 Nov 2019 20:53:58 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1.freebsd.org (Postfix) with ESMTP id 47Cxfs73vPz3HNX for ; Wed, 13 Nov 2019 20:53:57 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id 7B94512968BBF for ; Wed, 13 Nov 2019 13:53:57 -0700 (MST) Date: Wed, 13 Nov 2019 13:53:57 -0700 (MST) From: =?UTF-8?Q?Klaus_K=C3=BCchemann?= To: freebsd-arm@freebsd.org Message-ID: <1573678437503-0.post@n6.nabble.com> In-Reply-To: <0ad483794f3f1163a852025f4aa331efde82fb7d.camel@freebsd.org> References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113164800.GS43404@cicely7.cicely.de> <0ad483794f3f1163a852025f4aa331efde82fb7d.camel@freebsd.org> Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47Cxfs73vPz3HNX X-Spamd-Bar: ++++++ X-Spamd-Result: default: False [6.97 / 15.00]; ARC_NA(0.00)[]; GREYLIST(0.00)[pass,meta]; FROM_HAS_DN(0.00)[]; DMARC_POLICY_QUARANTINE(1.50)[googlemail.com : No valid SPF, No valid DKIM,quarantine]; FREEMAIL_FROM(0.00)[googlemail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.97)[0.974,0]; IP_SCORE(0.00)[ip: (0.89), ipnet: 162.255.20.0/22(0.33), asn: 21624(0.04), country: US(-0.05)]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[37.23.255.162.list.dnswl.org : 127.0.10.0]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21624, ipnet:162.255.20.0/22, country:US]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[googlemail.com] X-Spam: Yes X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 20:53:59 -0000 Ian Lepore-3 wrote > On Wed, 2019-11-13 at 17:48 +0100, Bernd Walter wrote: >> I just remembered that I own an FTDI FT4232H module. >> This one is capable of 12Mbps with 2k Buffers and high speed USB. >> I have it at a different location - guess I will have to drive and >> pick it up. > > You'll certainly have no trouble with the ftdi 4232. I've tested those > at 6mpbs in both directions concurrently without any data loss. > > IMO, breaking free of the 115200 barrier is long overdue, but it would > have been nice if the step up everyone took was to 921600, because > virtually all usb-serial support that. With line-level rather than > ttl-level adapters, 1mpbs is often the effective speed limit because of > the cheap rs232 line-level chips they use. > > -- Ian > > > > absolutely true :-) > I have been given a special version which is able to handle nearly every > cheapest USB-UART fished out of the trash can :-) : > --- > ttys005 > kls@ ~ % sudo minicom -D /dev/tty.usbserial-1420 -b 115200 8N1 > Password: > > Welcome to minicom 2.7.1 > > OPTIONS: > Compiled on Oct 6 2019, 23:16:03. > Port /dev/tty.usbserial-1420, 21:45:27 > > Press CTRL-A Z for help on special keys > > > U-Boot TPL 2019.10-dirty (Oct 12 2019 - 14:09:09) > con reg > cru , cic , grf , sgrf , pmucru , pmu > Starting SDRAM initialization... > sdram_init: data trained for rank 1, ch 0 > sdram_init: data trained for rank 1, ch 1 > Channel 0: LPDDR4, 50MHz > BW=32 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=2048MB > Channel 1: LPDDR4, 50MHz > BW=32 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=2048MB > 256B stride > lpddr4_set_ctl: channel 0 training pass > lpddr4_set_ctl: channel 1 training pass > lpddr4_set_rate: change freq to 400 mhz 0, 1 > lpddr4_set_ctl: channel 0 training pass > lpddr4_set_ctl: channel 1 training pass > lpddr4_set_rate: change freq to 800 mhz 1, 0 > Finish SDRAM initialization... > Trying to boot from BOOTROM > Returning to boot ROM... > > U-Boot SPL 2019.10-dirty (Oct 12 2019 - 14:09:09 -0400) > Trying to boot from MMC1 > NOTICE: BL31: v2.1(debug):2.1 > NOTICE: BL31: Built : 10:16:34, Sep 27 2019 > INFO: GICv3 with legacy support detected. ARM GICV3 driver initialized > in EL3 > INFO: plat_rockchip_pmu_init(1596): pd status 3e > INFO: BL31: Initializing runtime services > WARNING: BL31: cortex_a53: CPU workaround for 819472 was missing! > WARNING: BL31: cortex_a53: CPU workaround for 824069 was missing! > WARNING: BL31: cortex_a53: CPU workaround for 827319 was missing! > INFO: BL31: cortex_a53: CPU workaround for 855873 was applied > INFO: BL31: Preparing for EL3 exit to normal world > INFO: Entry point address = 0x200000 > INFO: SPSR = 0x3c9 > > > U-Boot 2019.10-dirty (Oct 12 2019 - 14:09:09 -0400) > > Model: Pine64 RockPro64 > DRAM: rk3399_dmc_probe: pmugrf = 00000000ff320000 > 3.9 GiB > ... > > --- > -- Klaus > > > _______________________________________________ > freebsd-arm@ > mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to " > freebsd-arm-unsubscribe@ > " -- Sent from: http://freebsd.1045724.x6.nabble.com/freebsd-arm-f4199244.html From owner-freebsd-arm@freebsd.org Wed Nov 13 20:54:29 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BA7601BB9E6 for ; Wed, 13 Nov 2019 20:54:29 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CxgT0YZ6z3Hc0 for ; Wed, 13 Nov 2019 20:54:28 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id xADKtFab045650 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 13 Nov 2019 21:55:16 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1573678516; bh=rFOPx99KBUV8aAQscqHxu32uTqS+kUyIfLshb0qTD/Q=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=Og9TXiU78AfJgAkD999HQAnTPgLWDxze3Im3QGkF83yIGiG+++DuP1MT98UHJk3QL 1+NXgGIqi6Bv2LKz4m2jCGNNAgWSiYMSjeFygp7uGH3isReZvaLBjTciZJfJg26JaY ps4DwE03k/Nmmfcgsll33FVu/uzuEMzwfdupJtC8= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id xADKsNcu014791 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Nov 2019 21:54:23 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id xADKsNME070586; Wed, 13 Nov 2019 21:54:23 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id xADKsN5G070585; Wed, 13 Nov 2019 21:54:23 +0100 (CET) (envelope-from ticso) Date: Wed, 13 Nov 2019 21:54:23 +0100 From: Bernd Walter To: Klaus =?iso-8859-1?Q?K=FCchemann?= Cc: freebsd-arm@freebsd.org Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191113205422.GW43404@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113164800.GS43404@cicely7.cicely.de> <20191113183722.GD4552@funkthat.com> <1573674941654-0.post@n6.nabble.com> <20191113205935.fcb4383214e3a2f02ddde5bb@bidouilliste.com> <1573677464044-0.post@n6.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1573677464044-0.post@n6.nabble.com> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 47CxgT0YZ6z3Hc0 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=Og9TXiU7; dmarc=none; spf=none (mx1.freebsd.org: domain of ticso@cicely7.cicely.de has no SPF policy when checking 195.149.99.3) smtp.mailfrom=ticso@cicely7.cicely.de X-Spamd-Result: default: False [-1.80 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 20:54:29 -0000 On Wed, Nov 13, 2019 at 01:37:44PM -0700, Klaus Kchemann via freebsd-arm wrote: > Emmanuel Vadot-7 wrote > > Hi Klaus, > > > > On Wed, 13 Nov 2019 12:55:41 -0700 (MST) > > Klaus Kchemann via freebsd-arm < > > > freebsd-arm@ > > > > wrote: > > > >> well, after installing > >> https://www.freshports.org/sysutils/u-boot-rockpro64/ > >> just for testing > >> I see u-boot.itb is missing(which is really needed). there are > >> boot.img/trust.img/README& idbloader.img . > >> as said, I have no problems booting the RockPro64 but I use a hacked > >> version > >> of 2019.10 - > >> sysutils/u-boot-rockpro64 should be updated if there's really no > >> u-boot.itb > >> available . > >> Also a 2019.10 - version with 115200 should help most users with cheap > >> USB-dongles if they don't have another SBC available to connect UART . > > > > First of all, could you quote on your answer, it's really hard to > > follow a discussion if you don't. > > > > And there is u-boot.itb : > > > > manu@skull> sudo pkg install > > u-boot-rockpro64 Updating FreeBSD repository catalogue... > > FreeBSD repository is up to date. > > All repositories are up to date. > > The following 1 package(s) will be affected (of 0 checked): > > > > New packages to be INSTALLED: > > u-boot-rockpro64: 2019.10 [FreeBSD] > > > > Number of packages to be installed: 1 > > > > The process will require 1 MiB more space. > > 303 KiB to be downloaded. > > > > Proceed with this action? [y/N]: y > > [1/1] Fetching u-boot-rockpro64-2019.10.txz: 100% 303 KiB 310.4kB/s > > 00:01 Checking integrity... done (0 conflicting) > > [1/1] Installing u-boot-rockpro64-2019.10... > > [1/1] Extracting u-boot-rockpro64-2019.10: 100% > > manu@skull> ls > > -l /usr/local/share/u-boot/u-boot-rockpro64/ total 3 > > -rw-r--r-- 1 root wheel 473933 Nov 9 19:37 idbloader.img > > -rw-r--r-- 1 root wheel 368 Nov 9 19:37 README > > -rw-r--r-- 1 root wheel 824140 Nov 9 19:37 u-boot.itb > > > > How did you test the port ? > > > Hi Emmanuel, > > yes, I see now u-boot.itb available if installing on aarch64(RockPro64 > itself). > root@generic:~ # uname -a > root@generic:~ # uname -a > FreeBSD generic 13.0-CURRENT FreeBSD 13.0-CURRENT #0 > f4c44436d92-c263877(master)..04:30:47 UTC 2019 > root@generic:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC-4 > > root@generic:~ # ls /usr/local/share/u-boot/u-boot-rockpro64 > README idbloader.img u-boot.itb > - > > installed on AMD64(maybe compiled from ports, don't remember) I saw this : > -- > root@freebsd:~ # uname -a > FreeBSD freebsd 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC amd64 > root@freebsd:~ # ls /usr/local/share/u-boot/u-boot-rockpro64 > README idbloader.img trust.img uboot.img I just installed the package: [72]cicely7# pkg info | grep rock u-boot-rockpro64-2019.10 Cross-build das u-boot for model rockpro64 [73]cicely7# uname -a FreeBSD cicely7.cicely.de 12.0-STABLE FreeBSD 12.0-STABLE r343219 GENERIC amd64 [74]cicely7# ls /usr/local/share/u-boot/u-boot-rockpro64 README idbloader.img u-boot.itb > -- > well, booting the now created uSD created with files from sysutils I see > garbled output on 115200( as Walter said) : > > -- > Press CTRL-A Z for help on special keys > ???c???NOTICE: BL31: v2.1(release): > NOTICE: BL31: Built : 01:47:33, Oct 24 2019 > i?Q????e???(?8????????.????h?????????0U8?????h?? q????*????? (? > ???????9-??+???????????? > -- > which seems to mean that it's set to 1500000 what most of cheap USB-UARTs > can't handle. Since I also see garbled output with two different CH340G adapters at 1.5Mbps, as well as a PL2303, I assume there is something fishy. I will see what happens with the anlyzer. > Should be better to provide a 2019.10-version which can handle 115200.. I agree, since many adapters arn't capable of doing 1.5Mbps. Not to mention the byte losses. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Wed Nov 13 21:13:25 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B08851BBFA3 for ; Wed, 13 Nov 2019 21:13:25 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound3d.ore.mailhop.org (outbound3d.ore.mailhop.org [54.186.57.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47Cy5K2FFVz3QMX for ; Wed, 13 Nov 2019 21:13:24 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1573679603; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=caYnTd1tUTDvnRNqKRRhxfBlUge74uLcj8motRsvTL2CufNYhIzayu9zS775DuXceSilEFZcKuSPU piC1Xq/eFsTm20SS+ZoBO1YAD0cqZM+n8LG/lzWj4aKoXbI6YPxjQrW4rPjGFMW1+OKuCdcQQH0AOV 1jvr+iZ0fd8dX7/aTv4hX6pQ+rEth5+JmUPlUtNU9iKGYMwg7OYdNQHRfxRcX0abye1ooUXfJYZFNb osc/0qXGgDZtUslFLg9GAqSMr/UP01T/i12LAh97nRi+Srb47efUblvMbk1Ye8TFfNynhEjpel36z8 swPB/K5kkjKLBsVkdQWF1xbFiG03xgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=vIUO9MRIZXY5WvmjIvi4gLYRlDiv+lvQ8y2h8t6Y9do=; b=AEB3oxNhoW4m1hwnpGn3QKrtAJm9zDf1bzB4w3I5Nm7nknQLeMpeUF+izB9sHug0Ha0mtpmi9owPn re1McirrP5rO/lKEHhr8B+hnZ0uYGhgal5nSb1XOSrzrSM0H2igCStazTyL0LPrCTeOYyz5Vz1629g w9c1pDTE3eY+J/2pUBbKQtr5NPNZF+F4LWVFRoHdHjYkhuaROoWDANNFCuuqa2ArcMQ4cS0OoaA20G dj/XS9ANc8B+YPN/PFgj5tiIBrIIFAR2IwAOwpPWMAA6GC13azzuEW76XQfbPBuOQ4CwxjKa6wGMqh ZH3U6wNYXCfuC+uf8rklpCac4DrqiUw== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=vIUO9MRIZXY5WvmjIvi4gLYRlDiv+lvQ8y2h8t6Y9do=; b=Foty4kBCAOq3eNfm9AlmgoXZcHMsruK1YZSnXuPfO0qT9bmPzmfxKXPoPYqUIFBWshTx+mgKnV+or F3LyHV9RPfzUwyMhHcFg6ptkCUTFNZD2LRDs/fJYygOkl5s2NAZoDZc6ifBrxPj0lWJ0o1EkkAVoNJ oQ7KaS3V6xCbzVk6a7xucal5C81CfDB4PS8kJJJ83rnPO3x+LXGSgiiTzxMC9iQ0W8mdOHiR9DVi/V Fz7f0bLk6naEt0DkpPdSqwYm0PdOXRurIFL4LEPV1cPv1Y8tv7g7uqZu0YLOGUb/jSGsi0EPZ108FG WQxoKPargjwSarAVSfsQSyYo+21vN6g== X-MHO-RoutePath: aGlwcGll X-MHO-User: 6b573d26-065a-11ea-b80c-052b4a66b6b2 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id 6b573d26-065a-11ea-b80c-052b4a66b6b2; Wed, 13 Nov 2019 21:13:22 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id xADLDKaw024606; Wed, 13 Nov 2019 14:13:20 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <505af93297a51a29681216be534c4ea917bb3d48.camel@freebsd.org> Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 From: Ian Lepore To: ticso@cicely.de Cc: freebsd-arm@freebsd.org Date: Wed, 13 Nov 2019 14:13:20 -0700 In-Reply-To: <20191113204826.GV43404@cicely7.cicely.de> References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113164800.GS43404@cicely7.cicely.de> <20191113204826.GV43404@cicely7.cicely.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47Cy5K2FFVz3QMX X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.93 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.93)[-0.934,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:16509, ipnet:54.186.0.0/15, country:US] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 21:13:25 -0000 On Wed, 2019-11-13 at 21:48 +0100, Bernd Walter wrote: > [...] > Ok - the FT4232H mini module won't even probe on USB :-( > I have another FT4232H, which probes fine, but has RS232 transceivers. > A board with - I assume - a genuine CH340G shows exactly the same problem. > Tomorrow I will hook up a logic analyzer to see what really happens on > the wire. > The 4232 minimodule claims that it needs 150ma, so it fails to attach if connected to a bus-powered hub. (Maybe it could pull 150ma if all channels were running max speed and driving activity LEDs, but otherwise it more like actually uses 30-40ma.) -- Ian From owner-freebsd-arm@freebsd.org Wed Nov 13 21:27:14 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B026E1BC289 for ; Wed, 13 Nov 2019 21:27:14 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CyPG19S1z41bl; Wed, 13 Nov 2019 21:27:13 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id xADLRx2D047975 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 13 Nov 2019 22:28:00 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1573680481; bh=VrRPlfF5/kuTvk9DGbF+Ya6CNZwSmyUpBfFHksBJhl0=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=yrzhzDghC8wRObOakQrilZJusBMYSNjue5XIHjxg+Oebr/ZjHU/qok4+HLwthwCJA C2D0mqkDMitGsHNbUvAhx/DXUAGPPZSIlG9cAQzeV1oFlworRHy7k5ufAcZovTalmS IozQb7scgMmUWlQ6e347v9VvLAWpcl3ADutem8JI= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id xADLR62P015885 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Nov 2019 22:27:06 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id xADLR6O6070855; Wed, 13 Nov 2019 22:27:06 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id xADLR6ot070854; Wed, 13 Nov 2019 22:27:06 +0100 (CET) (envelope-from ticso) Date: Wed, 13 Nov 2019 22:27:06 +0100 From: Bernd Walter To: Ian Lepore Cc: ticso@cicely.de, freebsd-arm@freebsd.org Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191113212705.GX43404@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113164800.GS43404@cicely7.cicely.de> <20191113204826.GV43404@cicely7.cicely.de> <505af93297a51a29681216be534c4ea917bb3d48.camel@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <505af93297a51a29681216be534c4ea917bb3d48.camel@freebsd.org> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 47CyPG19S1z41bl X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-5.99 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.995,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 21:27:14 -0000 On Wed, Nov 13, 2019 at 02:13:20PM -0700, Ian Lepore wrote: > On Wed, 2019-11-13 at 21:48 +0100, Bernd Walter wrote: > > > [...] > > Ok - the FT4232H mini module won't even probe on USB :-( > > I have another FT4232H, which probes fine, but has RS232 transceivers. > > A board with - I assume - a genuine CH340G shows exactly the same problem. > > Tomorrow I will hook up a logic analyzer to see what really happens on > > the wire. > > > > The 4232 minimodule claims that it needs 150ma, so it fails to attach > if connected to a bus-powered hub. (Maybe it could pull 150ma if all > channels were running max speed and driving activity LEDs, but > otherwise it more like actually uses 30-40ma.) Good point - the hub port is self powered, but it may lie. I never configured the module - probably it's not even configured into UART mode at all. but that's not the issue. I've retested at another hub port with the same result. The other module claims 200mA and probes fine. Guess my module is just broken. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Wed Nov 13 21:31:50 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B67D91BC535 for ; Wed, 13 Nov 2019 21:31:50 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CyVZ0xyQz43Xx; Wed, 13 Nov 2019 21:31:49 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id xADLWawC048290 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 13 Nov 2019 22:32:37 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1573680757; bh=dWPlgGdmmKBzkGfC1bKlwh8IxzrpDiql0QVVZvdZ9Lk=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=3xE+ROXOLJRb6p9lIBgzWjSqLVzpzmJzh+XdU5+u+GK/Xjl1qwpcuj2JEcwJymVc6 Os/PBnrgXDvr5uG6HaMkrSbn0oO9C9b0RIJIa0blXZ4Bl1Y8LXpi7tgpJCfrTYFt5t h/k+deFk00smbvJZpkYzmqoUhj7VNcOwzEfXlarg= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id xADLVhTO015982 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Nov 2019 22:31:43 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id xADLVhuf070869; Wed, 13 Nov 2019 22:31:43 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id xADLVgW8070868; Wed, 13 Nov 2019 22:31:42 +0100 (CET) (envelope-from ticso) Date: Wed, 13 Nov 2019 22:31:42 +0100 From: Bernd Walter To: Ian Lepore Cc: ticso@cicely.de, John-Mark Gurney , freebsd-arm@freebsd.org Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191113213142.GY43404@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113164800.GS43404@cicely7.cicely.de> <0ad483794f3f1163a852025f4aa331efde82fb7d.camel@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0ad483794f3f1163a852025f4aa331efde82fb7d.camel@freebsd.org> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 47CyVZ0xyQz43Xx X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-5.99 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.995,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 21:31:50 -0000 On Wed, Nov 13, 2019 at 01:42:13PM -0700, Ian Lepore wrote: > On Wed, 2019-11-13 at 17:48 +0100, Bernd Walter wrote: > > I just remembered that I own an FTDI FT4232H module. > > This one is capable of 12Mbps with 2k Buffers and high speed USB. > > I have it at a different location - guess I will have to drive and > > pick it up. > > You'll certainly have no trouble with the ftdi 4232. I've tested those > at 6mpbs in both directions concurrently without any data loss. > > IMO, breaking free of the 115200 barrier is long overdue, but it would > have been nice if the step up everyone took was to 921600, because > virtually all usb-serial support that. With line-level rather than > ttl-level adapters, 1mpbs is often the effective speed limit because of > the cheap rs232 line-level chips they use. I don't think many USB uarts are capable to divide 48MHz into 921600 * oversampling without being off too much. The high speed ones are a different beast, since they likely have a PLL and run with an internal 480MHz clock. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Wed Nov 13 21:34:49 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D1D7C1BC60B for ; Wed, 13 Nov 2019 21:34:49 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47CyZ11lTwz44bZ for ; Wed, 13 Nov 2019 21:34:48 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1573680887; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=RvOY9bgt6pHeUK81rUkCCLvpV5e0dEQx66jc71R4fEZW20gcOoAigg207WZNPYx9TQ1exfsCHiXOv gt+uaOPGgpZAA3EN2a4Chs/vwtpkPwCgUJQ6ORqwvxYbDCKbl4jWtyuY0yUrd+zpM9CJbpiU43x/Ml HJnnNu4IiSeiZnuaWQyCYOtS0HHxsg6Nd2xWc3Bf0n1HzfPmycFCbfzkSl1Mr9I62dtWNiiQ9a5s8m IP2c809mT58mRtPnzxtT9uokHPT5y4TIEN150hHqkisYwMOWVO8/IqIoEI6OS9HXUV3Qbpl9bADLKs aW6uF3D7CK5AxMWRzBBUvMwrfvuv3+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=bL+JJtJmDt74zHyW+DG4K2XjwBR7l8jek7jXxHceQeY=; b=ZrPqh7UBUE+JY7bwoGKDhQTHaE7a4ZjjptcsMv3X1Z2RGCTVzv0iBVXZB2Kf4fPw093JxGdINJqcW dCk1SkzH1PVVbOq2JyuTymQztoPNeqJTjxwJXaDfIE2wM1k4yVKgCSPDiqgEG2pYLs4jWROg9UfRR2 v+Mca+0GAI2DAgcP2mFdcHllFKuD3D4owi8yNpciKGicMo4PMyqpf9E/5tcVHUnA+pcy6FJJuRn/Gf jEsPGYyLT+vErjDXzIXfig3tZL10M8ver+qKSMEGTPpSfwfLBFueLObHYLUUpIgeiQUGGVfKydSNz4 DA7Rr2tmijXYnCz8VmvX3pBOenMg/lQ== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=bL+JJtJmDt74zHyW+DG4K2XjwBR7l8jek7jXxHceQeY=; b=O4SYVxDAK/HFs6Q89BrKIY7BNmN83WTAdnRdzFQGKJkiQ254m5pP3kWyfLyWbhOe02IepahNChgK2 WcTQA+d1RaOh9u2qAbj/ToMtz8sy7fYFqIqznPnzFehhUzsUHPZ5aAR5QaTqGgORbgu48blb5tajVZ gelEm5x8V0sUnSElI2lCBEPAVFZBYpaFLBULywfWyRo1JmtW2Mjz0aNDQiHqTjVvifLaTAsA9dzoxi 9kyrOWY/H2SLPidYOOy/g6YRj7NRur021KBwU242svfh3NVBTLKkJP6qfK35wg++CiCYb1YbwfSf1a 21Y2wnFf+8Ajr6WYwyVuQz2Z9SqnJgA== X-MHO-RoutePath: aGlwcGll X-MHO-User: 68e5b343-065d-11ea-829e-79a40d15cccd X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id 68e5b343-065d-11ea-829e-79a40d15cccd; Wed, 13 Nov 2019 21:34:46 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id xADLYiZ2024679; Wed, 13 Nov 2019 14:34:44 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <23613e9d44d5efc87e305ffd82652d195dbe0e02.camel@freebsd.org> Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 From: Ian Lepore To: ticso@cicely.de Cc: freebsd-arm@freebsd.org Date: Wed, 13 Nov 2019 14:34:44 -0700 In-Reply-To: <20191113212705.GX43404@cicely7.cicely.de> References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113164800.GS43404@cicely7.cicely.de> <20191113204826.GV43404@cicely7.cicely.de> <505af93297a51a29681216be534c4ea917bb3d48.camel@freebsd.org> <20191113212705.GX43404@cicely7.cicely.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47CyZ11lTwz44bZ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.93 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.93)[-0.934,0]; ASN(0.00)[asn:16509, ipnet:54.148.0.0/15, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 21:34:49 -0000 On Wed, 2019-11-13 at 22:27 +0100, Bernd Walter wrote: > On Wed, Nov 13, 2019 at 02:13:20PM -0700, Ian Lepore wrote: > > On Wed, 2019-11-13 at 21:48 +0100, Bernd Walter wrote: > > > > > > > [...] > > > Ok - the FT4232H mini module won't even probe on USB :-( > > > I have another FT4232H, which probes fine, but has RS232 > > > transceivers. > > > A board with - I assume - a genuine CH340G shows exactly the same > > > problem. > > > Tomorrow I will hook up a logic analyzer to see what really > > > happens on > > > the wire. > > > > > > > The 4232 minimodule claims that it needs 150ma, so it fails to > > attach > > if connected to a bus-powered hub. (Maybe it could pull 150ma if > > all > > channels were running max speed and driving activity LEDs, but > > otherwise it more like actually uses 30-40ma.) > > Good point - the hub port is self powered, but it may lie. > I never configured the module - probably it's not even configured > into > UART mode at all. > but that's not the issue. > I've retested at another hub port with the same result. > The other module claims 200mA and probes fine. > Guess my module is just broken. > Oh, there are wires/pins you have to connect to make the minimodule work. From the datasheet, to power the module from the bus with no independent 5v supply: 1) Connect VBUS to VCC (CN3, pin 1 to CN3, pin 3). This connection takes the power from the USB bus (VBUS) and connects it to the voltage regulator input on the FT4232H Mini Module. The voltage regulator, in turn, provides V3V3, VPLL and VUSB power inputs to the FT4232H chip. 2) Connect V3V3 to VIO (CN2, pins 1, 3 & 5 to CN2, pins 11 & 21 and CN3, pins 12 & 22). This connection provides the correct 3.3VDC operating voltage for VCCIO on the FT4232H chip. I made the connections by soldering on some 30ga wires on my modules, but you can just use dupont-wire jumpers to get going. -- Ian From owner-freebsd-arm@freebsd.org Wed Nov 13 21:37:32 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DD4C91BC73B for ; Wed, 13 Nov 2019 21:37:32 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47Cyd855Pzz45d2 for ; Wed, 13 Nov 2019 21:37:32 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1573681051; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=wOKI+rdSTnBtwJ8PMAuKPbJwqt/+MY7KMcA9G8DvZlDDvoDa9boajnDJWKxfoWgNZZRC3a/xvJwxK K/CKlVcU0/YakliWhCj16xtty7WBkcigObsdppI2QAYKPieb7ehklEFma4LUnF8Az8JcnZBppfVK9l hOb2PZBjB0f6gq+/x1qU5WDkj/BUev0Jh9NtSQyWLRwuRdDBdtmqUM9myMeTJ2d/HROrLKbzSphRfs 8pJLLqJOKpGcN22ba/tVQDvwbKNqyRQh6su1E8eqwwcsZehJjdxlCrRfhwFDCkkjIPMA1bt3J2/lA4 x2KgtZ+gfBqpOLwWBL5CuUSLcfucA6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=/a/aZMQOgyiSGphAqenmT1IOGeEOyZLvFfCX6b6eUrA=; b=UGsEI0r2aiR/h/KJuA+tNiVHTYVqSXcBgaCl6PyKkFq9TwP0zlfxvR5OY6HnzA7AM5GWv9Qp4I2b8 q4KHJiYudfsEgUoGusAL1KYY05t/7DdrVDCUIwblL7CBCuD2cr1Y5zKAemgJIQQkJ80at5A/5yrEA2 KqizEh2AYbB2RsVbcod8DGONl4UR15F0w+cqvZC6qvRBJpQ7YMXVS4c2ShvUVkS9UJo7U6rAsPbUTl 5TINiJCBwhAErGXYAAm0MR2uRmhoEK8e6btRZMiBMBLwT9QnPj/WnkeOF19badmwXIliRd2qlo8Bwy preMYqn7JBrBuzVoi29VbGVQUY3XJ/A== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=/a/aZMQOgyiSGphAqenmT1IOGeEOyZLvFfCX6b6eUrA=; b=bpeNnmRvUkIWI/EGf8gKqhrs6HqHrU7G9LKq7jhmMxJSefeqwJewS2TqCDV/umn8ohWHwzXZhowJ6 rVBV6PMwETCenm1N0uck/UoyK7w/7JWhJEYYB4UuZ5GaEaguOUo0c/elnbkftOzD03L5CpTNILKb2h gSJ6W6D04iJc5YtxzuSd/HnS6aEEAQo7ALm2Ga5uq0l60m3cY0sst2Sc1UA/wNpIzSKSjWMrHZLIxV fjrCS3WfA2Ys5RKADhnHqtZk4qlOZfS6zmuXq6+IQbjTcMDmWqgmsFaHxu4M3YLQNyjlk2w0f+z9sX Gi5DjUROVPyuy7m9ryU3kUM2IYY6XlQ== X-MHO-RoutePath: aGlwcGll X-MHO-User: cb5871bf-065d-11ea-829e-79a40d15cccd X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id cb5871bf-065d-11ea-829e-79a40d15cccd; Wed, 13 Nov 2019 21:37:30 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id xADLbUch024693; Wed, 13 Nov 2019 14:37:30 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 From: Ian Lepore To: ticso@cicely.de Cc: freebsd-arm@freebsd.org Date: Wed, 13 Nov 2019 14:37:29 -0700 In-Reply-To: <20191113213142.GY43404@cicely7.cicely.de> References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113164800.GS43404@cicely7.cicely.de> <0ad483794f3f1163a852025f4aa331efde82fb7d.camel@freebsd.org> <20191113213142.GY43404@cicely7.cicely.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47Cyd855Pzz45d2 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.95 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.95)[-0.949,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:16509, ipnet:54.148.0.0/15, country:US] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 21:37:32 -0000 On Wed, 2019-11-13 at 22:31 +0100, Bernd Walter wrote: > On Wed, Nov 13, 2019 at 01:42:13PM -0700, Ian Lepore wrote: > > On Wed, 2019-11-13 at 17:48 +0100, Bernd Walter wrote: > > > I just remembered that I own an FTDI FT4232H module. > > > This one is capable of 12Mbps with 2k Buffers and high speed USB. > > > I have it at a different location - guess I will have to drive > > > and > > > pick it up. > > > > You'll certainly have no trouble with the ftdi 4232. I've tested > > those > > at 6mpbs in both directions concurrently without any data loss. > > > > IMO, breaking free of the 115200 barrier is long overdue, but it > > would > > have been nice if the step up everyone took was to 921600, because > > virtually all usb-serial support that. With line-level rather than > > ttl-level adapters, 1mpbs is often the effective speed limit > > because of > > the cheap rs232 line-level chips they use. > > I don't think many USB uarts are capable to divide 48MHz into 921600 > * > oversampling without being off too much. > The high speed ones are a different beast, since they likely have a > PLL and run with an internal 480MHz clock. > I don't think I've ever heard of a usb-serial chip that can't do 921600, it's a "standard" speed (115200 * 4). The newer ftdi chips still use an external 12mhz clock/crystal, but now they have an internal pll that kicks it up to 60mhz, then the baudrate generator divides that down. -- Ian From owner-freebsd-arm@freebsd.org Wed Nov 13 22:09:37 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BF0081BD5B3 for ; Wed, 13 Nov 2019 22:09:37 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CzL85tnYz4MBW for ; Wed, 13 Nov 2019 22:09:36 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id xADMANmE051110 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 13 Nov 2019 23:10:24 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1573683024; bh=9mZfe0dfKOgQHz23oPFT+quWS0+lLDeXKi8WjYgUfsE=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=IwJ+eKshm4T07JdsYjSxy8oa8+txiVwqbQpbg/+xJfWBezwFD67NHdcz/MKm5p1QT 2029OgNGuXY5ZQS9U47zcewddQ9ujYFMHrAXsbXwg06v1bNtiX98xE5rFDxEHvbY8y 7GDWgIa1IHJOlA0wkmN3R6M0VsEEUdC4OrSicpdo= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id xADM9Sjh017233 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Nov 2019 23:09:28 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id xADM9Sjn071103; Wed, 13 Nov 2019 23:09:28 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id xADM9SHQ071102; Wed, 13 Nov 2019 23:09:28 +0100 (CET) (envelope-from ticso) Date: Wed, 13 Nov 2019 23:09:28 +0100 From: Bernd Walter To: John-Mark Gurney Cc: freebsd-arm@freebsd.org, ticso@cicely.de Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191113220928.GZ43404@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191113075343.GP43404@cicely7.cicely.de> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 47CzL85tnYz4MBW X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=IwJ+eKsh; dmarc=none; spf=none (mx1.freebsd.org: domain of ticso@cicely7.cicely.de has no SPF policy when checking 195.149.99.3) smtp.mailfrom=ticso@cicely7.cicely.de X-Spamd-Result: default: False [-1.80 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 22:09:37 -0000 On Wed, Nov 13, 2019 at 08:53:43AM +0100, Bernd Walter wrote: > On Tue, Nov 12, 2019 at 02:52:51PM -0800, John-Mark Gurney wrote: > > Bernd Walter wrote this message on Tue, Nov 12, 2019 at 23:16 +0100: > > > On Tue, Nov 12, 2019 at 08:09:38AM -0700, Klaus Kchemann via freebsd-arm wrote: > > > > <> > > > > > > > > onto the uSD : > > > > https://www.freshports.org/sysutils/u-boot-rockpro64/ > > > > Regards > > > > Klaus > > > > > > Thank you. > > > > > > Do you know the bps rate used by u-boot and later components? > > > I do see some output at the usual 115200 bps, but it is messed up. > > > Also tried other typical bps rates, including 1.5Mbps as mentioned > > > on the RockPro Wiki, but none worked. > > > I wouldn't rule out that it is the USB uart failing at 1.5M though, > > > but I've tried a PL2303, CP2102 (which refused 1.5Mbps) and > > > a CH340. > > > Unfortunately I don't have an FTDI based TTL one at hands. > > > It also fails with reading the uartt output when booting an Armbian > > > image, which as such is booting fine according to the HDMI output. > > > > It's 1.5Mbps, aka 1500000. I'm using the CH340G that they sell: > > https://store.pine64.org/?product=padi-serial-console > > > > And it works, but it will occasionally drop characters. > > Sigh - IMO 1.5M is an insane idea for that and so needless. > > > None of my other serial adapters could do the speed necessary. > > I just retried with the CH340 - again no success, but noticed that the > chip on my adapter is unlabeled. > So probably it isn't a genuine. > I should have some others, but not at home, and I also have some > loose CH340G chips. Grr - I was off by one pin. Ground on TX and signal on RX. On the analyzer it was obvious that it's is not propper uart signaling. With the wrong wiring it was inverted. Now I get FreeBSD output: U-Boot TPL 2019.10 (Oct 25 2019 - 06:55:42) Trying to boot from BOOTROM Returning to boot ROM... U-Boot SPL 2019.10 (Oct 25 2019 - 06:55:42 +0000) Trying to boot from MMC1 ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ U-Boot 2019.10 (Oct 25 2019 - 06:55:42 +0000) Model: Pine64 RockPro64 DRAM: 2 GiB MMC: dwmmc@fe320000: 1, sdhci@fe330000: 0 Loading Environment from MMC... Card did not respond to voltage select! *** Warning - No block device, using default environment In: serial@ff1a0000 Out: serial@ff1a0000 Err: serial@ff1a0000 Model: Pine64 RockPro64 rockchip_dnl_key_pressed: adc_channel_single_shot fail! Net: eth0: ethernet@fe300000 Hit any key to stop autoboot: 0 Card did not respond to voltage select! switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... 73463 bytes read in 9 ms (7.8 MiB/s) Found EFI removable media binary efi/boot/bootaa64.efi ESC7ESC[rESC[999;999HESC[6nESC8Scanning disk dwmmc@fe320000.blk... Card did not respond to voltage select! Scanning disk sdhci@fe330000.blk... Disk sdhci@fe330000.blk not ready Found 3 disks BootOrder not defined EFI boot manager: Cannot load any image 676216 bytes read in 34 ms (19 MiB/s) ESC[?25hESC[1;1HESC[0;37;40mCESC[0;37;40mESC[1;2HE ... I hate when console output includes that crap... Seriously, the typescript file is 792405 Bytes long. WTF is wrong with plain line output while booting? Somewhere hidden in between is the whole loader output. I can cat the file and see something of that, but the screen gets redrawn in between. ... ;37;40m ^[[0;37;40m^[[25;72H^[[0;37;40m ^[[0;37;40m^[[25;73H^[[0;37;40m ^[[0;37;40m^[[25;74H^[[0;37;40m ^[[0;37;40m^[[25;75H^[[0;37;40m ^[[0;37;40m^[[25;76H^[[0;37;40m ^[[0;37;40m^[[25;77H^[[0;37;40m ^[[0;37;40m^[[25;78H^[[0;37;40m ^[[0;37;40m^[[25;79H^[[0;37;40m ^[[0;37;40m^[[25;80H^ [[?25h^[[25;1H---<>---^M KDB: debugger backends: ddb^M KDB: current backend: ddb^M Copyright (c) 1992-2019 The FreeBSD Project.^M Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994^M The Regents of the University of California. All rights reserved.^M FreeBSD is a registered trademark of The FreeBSD Foundation.^M FreeBSD 13.0-CURRENT #0 r354423: Thu Nov 7 12:03:03 UTC 2019^M root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64^M FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM 9.0.0)^M WARNING: WITNESS option enabled, expect reduced performance.^M VT: init without driver.^M module firmware already present!^M KLD file umodem.ko is missing dependencies^M Starting CPU 1 (1)^M Starting CPU 2 (2)^M Starting CPU 3 (3)^M Starting CPU 4 (100)^M Starting CPU 5 (101)^M FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs^M arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled.^M random: entropy device external interface^M MAP 7cf1a000 mode 2 pages 1^M MAP 7cf25000 mode 2 pages 1^M MAP 7ff40000 mode 2 pages 16^M kbd0 at kbdmux0^M ofwbus0: ^M clk_fixed0: on ofwbus0^M simplebus0: on ofwbus0^M rk_grf0: mem 0xff320000-0xff320fff on ofwbus0^M rk3399_pmucru0: mem 0xff750000-0xff750fff on ofwbus0^M rk3399_cru0: mem 0xff760000-0xff760fff on ofwbus0^M And it hangs at this point. Ok - I created the image in an oportunistic way and downloaded: FreeBSD-13.0-CURRENT-arm64-aarch64-PINE64-LTS-20191107-r354423.img Then wrote the rockpro64 u-boot onto the card. This is what I have on my screen after a cat: Loading /boot/device.hints n ( e Loading /boot/loader.conf ; 0 7;40m1 Loading /boot/loader.conf.local 0 Loading kbrnel... 4 /boot/kernel/kernel text=0x96c524 data=0x1898b0 data=0x +0x79a5e0 syms=[0x8+0x14 16a8+0x8+0x12c6e9] 5 Loading conf4gured modules... /boot/kernel/umodem.kd text=0x2100 text=0x13a0 data=0x6e0+0x1 syms=[0x8+0xf48+0 x8+0xb6e] k 1 can't find '/boot/e[tropy'0mn t 0 b e s Hit [Enter] to boot immediately, or any other key or command prompt. Booting [/boot/kern l/kernel]... Using DTB provided by EFI at 0x.0eb000. Loading DTB tverlays: 'sun50i-a64-sid,sun50i-a64-ths,sun50i-a64-tim r,sun50i-a64 -opp' 0 4 78Hx /boot/dtb/overlays sun50i-a64-sid.dtbo size=0x1fd /boot/dtb/overlays/sun50i-a643ths.dtbo size=0x3e80;37;40mi /boot/dtb/ov7rlays/sun50i-a64-thmer.dtbo size=0x175 ; /boot/dtb/overla[s/sun50i-a64-opp.dtbo size=0m74f s DTB overlay '/boot/dtb/overlayspsun50i-a64-sid.dtbo' not compatible DTB o/erlay '/boot/dtb/overlays/sun50i-a64-thmsdtbo' not compatible DTB overlay '/boot/dtb/overlays/sun50i-a64-timer.dtbo' not compatible DTB overlay '/boot/dtb/overlays/sun50i-a64-opp.dtbo' 'ot compatible ---<>--- 0 ; 40m KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2019 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 13.0-CURRENT #0 r354423: Thu Nov 7 12:03:03 UTC 2019 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM 9.0.0) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. module firmware already present! KLD file umodem.ko is missing dependencies Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) Starting CPU 4 (100) Starting CPU 5 (101) FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled. random: entropy device external interface MAP 7cf1a000 mode 2 pages 1 MAP 7cf25000 mode 2 pages 1 MAP 7ff40000 mode 2 pages 16 kbd0 at kbdmux0 ofwbus0: clk_fixed0: on ofwbus0 simplebus0: on ofwbus0 rk_grf0: mem 0xff320000-0xff320fff on ofwbus0 rk3399_pmucru0: mem 0xff750000-0xff750fff on ofwbus0 rk3399_cru0: mem 0xff760000-0xff760fff on ofwbus0 Looks like it didn't load the rk3399-rockpro64.dtb, which is on the filesystem and just tried A64 ones. The GENERIC kernel on the image seems to know the RK3399 at least. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Wed Nov 13 22:11:03 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9F4241BD635 for ; Wed, 13 Nov 2019 22:11:03 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CzMq2YC1z4MnR; Wed, 13 Nov 2019 22:11:02 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id xADMBnYY051258 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 13 Nov 2019 23:11:50 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1573683110; bh=oVG4/T0er7Nh1jxilotyteWy+ljMoDGt7eaHyIdLPdA=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=Wps74gfmoOIKUjQvbZS7z5wmduuaPTzhaxJm1kQSjZbMLIiYUHJ2jp7X0+C5tfmMl hf0lhX7nkY1lo3maqnc9zJ9QMvwYcoqsm2PRHH6WJmMBaeA4qgb3Gv62nUtxm50U5s 1vPUFgNDiFWOft9mhTKfU6tTbF4r4Ysbz2GaGXCU= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id xADMAulx017304 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Nov 2019 23:10:56 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id xADMAuPN071117; Wed, 13 Nov 2019 23:10:56 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id xADMAuMG071116; Wed, 13 Nov 2019 23:10:56 +0100 (CET) (envelope-from ticso) Date: Wed, 13 Nov 2019 23:10:56 +0100 From: Bernd Walter To: Ian Lepore Cc: ticso@cicely.de, freebsd-arm@freebsd.org Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191113221056.GA43404@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113164800.GS43404@cicely7.cicely.de> <0ad483794f3f1163a852025f4aa331efde82fb7d.camel@freebsd.org> <20191113213142.GY43404@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 47CzMq2YC1z4MnR X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-5.99 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.995,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 22:11:03 -0000 On Wed, Nov 13, 2019 at 02:37:29PM -0700, Ian Lepore wrote: > On Wed, 2019-11-13 at 22:31 +0100, Bernd Walter wrote: > > On Wed, Nov 13, 2019 at 01:42:13PM -0700, Ian Lepore wrote: > > > On Wed, 2019-11-13 at 17:48 +0100, Bernd Walter wrote: > > > > I just remembered that I own an FTDI FT4232H module. > > > > This one is capable of 12Mbps with 2k Buffers and high speed USB. > > > > I have it at a different location - guess I will have to drive > > > > and > > > > pick it up. > > > > > > You'll certainly have no trouble with the ftdi 4232. I've tested > > > those > > > at 6mpbs in both directions concurrently without any data loss. > > > > > > IMO, breaking free of the 115200 barrier is long overdue, but it > > > would > > > have been nice if the step up everyone took was to 921600, because > > > virtually all usb-serial support that. With line-level rather than > > > ttl-level adapters, 1mpbs is often the effective speed limit > > > because of > > > the cheap rs232 line-level chips they use. > > > > I don't think many USB uarts are capable to divide 48MHz into 921600 > > * > > oversampling without being off too much. > > The high speed ones are a different beast, since they likely have a > > PLL and run with an internal 480MHz clock. > > > > I don't think I've ever heard of a usb-serial chip that can't do > 921600, it's a "standard" speed (115200 * 4). The newer ftdi chips > still use an external 12mhz clock/crystal, but now they have an > internal pll that kicks it up to 60mhz, then the baudrate generator > divides that down. Ah right - I just thought about 48MHz USB, but of course that already requires a PLL. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Wed Nov 13 22:12:50 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2F0091BD7D5 for ; Wed, 13 Nov 2019 22:12:50 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CzPs71YZz4Nj8; Wed, 13 Nov 2019 22:12:49 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id xADMDanv051369 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 13 Nov 2019 23:13:37 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1573683217; bh=DlDk1snQYee+aSde7aTXEgj1mvjE4Kx2qvydahBPe6k=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=oEm9Zy04jtwZVlGaChOFzRD2FZ/jtTTkUGw5bvgHS6aAav13QcQBJ7z3HQQ+d3zMa /4AFS+fh+FcWsZPGhS0cT89ieSvjgm5LN7vj3bk0gO5rB1EGTH4OU/7V/76uVzfxEJ 1hRpBaQFVHmvuXBj4UNzkG6n1YmjKTTUSLl1oB6s= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id xADMCiDW017361 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Nov 2019 23:12:44 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id xADMChZW071146; Wed, 13 Nov 2019 23:12:43 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id xADMChVS071145; Wed, 13 Nov 2019 23:12:43 +0100 (CET) (envelope-from ticso) Date: Wed, 13 Nov 2019 23:12:43 +0100 From: Bernd Walter To: Ian Lepore Cc: ticso@cicely.de, freebsd-arm@freebsd.org Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191113221243.GB43404@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113164800.GS43404@cicely7.cicely.de> <20191113204826.GV43404@cicely7.cicely.de> <505af93297a51a29681216be534c4ea917bb3d48.camel@freebsd.org> <20191113212705.GX43404@cicely7.cicely.de> <23613e9d44d5efc87e305ffd82652d195dbe0e02.camel@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <23613e9d44d5efc87e305ffd82652d195dbe0e02.camel@freebsd.org> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 47CzPs71YZz4Nj8 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-5.99 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.995,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 22:12:50 -0000 On Wed, Nov 13, 2019 at 02:34:44PM -0700, Ian Lepore wrote: > On Wed, 2019-11-13 at 22:27 +0100, Bernd Walter wrote: > > On Wed, Nov 13, 2019 at 02:13:20PM -0700, Ian Lepore wrote: > > > On Wed, 2019-11-13 at 21:48 +0100, Bernd Walter wrote: > > > > > > > > > > [...] > > > > Ok - the FT4232H mini module won't even probe on USB :-( > > > > I have another FT4232H, which probes fine, but has RS232 > > > > transceivers. > > > > A board with - I assume - a genuine CH340G shows exactly the same > > > > problem. > > > > Tomorrow I will hook up a logic analyzer to see what really > > > > happens on > > > > the wire. > > > > > > > > > > The 4232 minimodule claims that it needs 150ma, so it fails to > > > attach > > > if connected to a bus-powered hub. (Maybe it could pull 150ma if > > > all > > > channels were running max speed and driving activity LEDs, but > > > otherwise it more like actually uses 30-40ma.) > > > > Good point - the hub port is self powered, but it may lie. > > I never configured the module - probably it's not even configured > > into > > UART mode at all. > > but that's not the issue. > > I've retested at another hub port with the same result. > > The other module claims 200mA and probes fine. > > Guess my module is just broken. > > > > Oh, there are wires/pins you have to connect to make the minimodule > work. From the datasheet, to power the module from the bus with no > independent 5v supply: > > 1) Connect VBUS to VCC (CN3, pin 1 to CN3, pin 3). This connection > takes the power from the USB bus (VBUS) and connects it to the voltage > regulator input on the FT4232H Mini Module. The voltage regulator, in > turn, provides V3V3, VPLL and VUSB power inputs to the FT4232H chip. > > 2) Connect V3V3 to VIO (CN2, pins 1, 3 & 5 to CN2, pins 11 & 21 and > CN3, pins 12 & 22). This connection provides the correct 3.3VDC > operating voltage for VCCIO on the FT4232H chip. > > I made the connections by soldering on some 30ga wires on my modules, > but you can just use dupont-wire jumpers to get going. Damn - now that is a good explanation. It is a development board after all and not blindly taking power from USB makes a whole lot of sense... Will try that later - thank you for that information. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Wed Nov 13 22:19:19 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B4921BD9FF for ; Wed, 13 Nov 2019 22:19:19 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1.freebsd.org (Postfix) with ESMTP id 47CzYL4m2kz4RbP for ; Wed, 13 Nov 2019 22:19:18 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id CB59C1296ECDC for ; Wed, 13 Nov 2019 15:19:17 -0700 (MST) Date: Wed, 13 Nov 2019 15:19:17 -0700 (MST) From: =?UTF-8?Q?Klaus_K=C3=BCchemann?= To: freebsd-arm@freebsd.org Message-ID: <1573683557830-0.post@n6.nabble.com> In-Reply-To: <20191113220928.GZ43404@cicely7.cicely.de> References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113220928.GZ43404@cicely7.cicely.de> Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 47CzYL4m2kz4RbP X-Spamd-Bar: ++++++ X-Spamd-Result: default: False [6.96 / 15.00]; ARC_NA(0.00)[]; GREYLIST(0.00)[pass,meta]; FROM_HAS_DN(0.00)[]; DMARC_POLICY_QUARANTINE(1.50)[googlemail.com : No valid SPF, No valid DKIM,quarantine]; FREEMAIL_FROM(0.00)[googlemail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.96)[0.962,0]; IP_SCORE(0.00)[ip: (0.88), ipnet: 162.255.20.0/22(0.33), asn: 21624(0.04), country: US(-0.05)]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[37.23.255.162.list.dnswl.org : 127.0.10.0]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21624, ipnet:162.255.20.0/22, country:US]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[googlemail.com] X-Spam: Yes X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 22:19:19 -0000 Bernd Walter-4 wrote > On Wed, Nov 13, 2019 at 08:53:43AM +0100, Bernd Walter wrote: >> On Tue, Nov 12, 2019 at 02:52:51PM -0800, John-Mark Gurney wrote: >> > Bernd Walter wrote this message on Tue, Nov 12, 2019 at 23:16 +0100: >> > > On Tue, Nov 12, 2019 at 08:09:38AM -0700, Klaus K=C3=BCchemann via >> freebsd-arm wrote: >> > > > <<The u-boot has to go into the SPI-Flash or on the card? >> >> > > >=20 >> > > > onto the uSD : >> > > > https://www.freshports.org/sysutils/u-boot-rockpro64/ >> > > > Regards=20 >> > > > Klaus >> > >=20 >> > > Thank you. >> > >=20 >> > > Do you know the bps rate used by u-boot and later components? >> > > I do see some output at the usual 115200 bps, but it is messed up. >> > > Also tried other typical bps rates, including 1.5Mbps as mentioned >> > > on the RockPro Wiki, but none worked. >> > > I wouldn't rule out that it is the USB uart failing at 1.5M though, >> > > but I've tried a PL2303, CP2102 (which refused 1.5Mbps) and >> > > a CH340. >> > > Unfortunately I don't have an FTDI based TTL one at hands. >> > > It also fails with reading the uartt output when booting an Armbian >> > > image, which as such is booting fine according to the HDMI output. >> >=20 >> > It's 1.5Mbps, aka 1500000. I'm using the CH340G that they sell: >> > https://store.pine64.org/?product=3Dpadi-serial-console >> >=20 >> > And it works, but it will occasionally drop characters. >>=20 >> Sigh - IMO 1.5M is an insane idea for that and so needless. >>=20 >> > None of my other serial adapters could do the speed necessary. >>=20 >> I just retried with the CH340 - again no success, but noticed that the >> chip on my adapter is unlabeled. >> So probably it isn't a genuine. >> I should have some others, but not at home, and I also have some >> loose CH340G chips. >=20 >=20 > Grr - I was off by one pin. > Ground on TX and signal on RX. > On the analyzer it was obvious that it's is not propper uart signaling. > With the wrong wiring it was inverted. >=20 > Now I get FreeBSD output: > U-Boot TPL 2019.10 (Oct 25 2019 - 06:55:42) > Trying to boot from BOOTROM > Returning to boot ROM... >=20 > U-Boot SPL 2019.10 (Oct 25 2019 - 06:55:42 +0000) > Trying to boot from MMC1 > ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^= @^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@= ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^= @^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ > ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^= @^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@= ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ >=20 > U-Boot 2019.10 (Oct 25 2019 - 06:55:42 +0000) >=20 > Model: Pine64 RockPro64 > DRAM: 2 GiB > MMC: dwmmc@fe320000: 1, sdhci@fe330000: 0 > Loading Environment from MMC... Card did not respond to voltage select! > *** Warning - No block device, using default environment >=20 > In: serial@ff1a0000 > Out: serial@ff1a0000 > Err: serial@ff1a0000 > Model: Pine64 RockPro64 > rockchip_dnl_key_pressed: adc_channel_single_shot fail! > Net: eth0: ethernet@fe300000 > Hit any key to stop autoboot: 0=20 > Card did not respond to voltage select! > switch to partitions #0, OK > mmc1 is current device > Scanning mmc 1:1... > 73463 bytes read in 9 ms (7.8 MiB/s) > Found EFI removable media binary efi/boot/bootaa64.efi > ESC7ESC[rESC[999;999HESC[6nESC8Scanning disk=20 > dwmmc@ > ... > Card did not respond to voltage select! > Scanning disk=20 > sdhci@ > ... > Disk=20 > sdhci@ > not ready > Found 3 disks > BootOrder not defined > EFI boot manager: Cannot load any image > 676216 bytes read in 34 ms (19 MiB/s) > ESC[?25hESC[1;1HESC[0;37;40mCESC[0;37;40mESC[1;2HE > ... > I hate when console output includes that crap... > Seriously, the typescript file is 792405 Bytes long. > WTF is wrong with plain line output while booting? > Somewhere hidden in between is the whole loader output. > I can cat the file and see something of that, but the screen gets > redrawn in between. > ... > ;37;40m ^[[0;37;40m^[[25;72H^[[0;37;40m ^[[0;37;40m^[[25;73H^[[0;37;40m > ^[[0;37;40m^[[25;74H^[[0;37;40m ^[[0;37;40m^[[25;75H^[[0;37;40m > ^[[0;37;40m^[[25;76H^[[0;37;40m ^[[0;37;40m^[[25;77H^[[0;37;40m > ^[[0;37;40m^[[25;78H^[[0;37;40m ^[[0;37;40m^[[25;79H^[[0;37;40m > ^[[0;37;40m^[[25;80H^ > [[?25h^[[25;1H---< > >>---^M > KDB: debugger backends: ddb^M > KDB: current backend: ddb^M > Copyright (c) 1992-2019 The FreeBSD Project.^M > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994^= M > The Regents of the University of California. All rights > reserved.^M > FreeBSD is a registered trademark of The FreeBSD Foundation.^M > FreeBSD 13.0-CURRENT #0 r354423: Thu Nov 7 12:03:03 UTC 2019^M > =20 > root@.freebsd > :/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64^M > FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLV= M > 9.0.0)^M > WARNING: WITNESS option enabled, expect reduced performance.^M > VT: init without driver.^M > module firmware already present!^M > KLD file umodem.ko is missing dependencies^M > Starting CPU 1 (1)^M > Starting CPU 2 (2)^M > Starting CPU 3 (3)^M > Starting CPU 4 (100)^M > Starting CPU 5 (101)^M > FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs^M > arc4random: WARNING: initial seeding bypassed the cryptographic random > device because it was not yet seeded and the knob 'bypass_before_seeding' > was enabled.^M > random: entropy device external interface^M > MAP 7cf1a000 mode 2 pages 1^M > MAP 7cf25000 mode 2 pages 1^M > MAP 7ff40000 mode 2 pages 16^M > kbd0 at kbdmux0^M > ofwbus0:=20 > > ^M > clk_fixed0:=20 > > on ofwbus0^M > simplebus0:=20 > > on ofwbus0^M > rk_grf0:=20 > > mem 0xff320000-0xff320fff on ofwbus0^M > rk3399_pmucru0:=20 > > mem 0xff750000-0xff750fff on ofwbus0^M > rk3399_cru0:=20 > > mem 0xff760000-0xff760fff on ofwbus0^M >=20 > And it hangs at this point. > Ok - I created the image in an oportunistic way and downloaded: > FreeBSD-13.0-CURRENT-arm64-aarch64-PINE64-LTS-20191107-r354423.img > Then wrote the rockpro64 u-boot onto the card. >=20 > This is what I have on my screen after a cat: > Loading /boot/device.hints n ( = = = =20 > e > Loading /boot/loader.conf ; 0 = =20 > 7;40m1 > Loading /boot/loader.conf.local 0 = =20 > Loading kbrnel... 4 = =20 > /boot/kernel/kernel text=3D0x96c524 data=3D0x1898b0 data=3D0x +0x79a5e0 > syms=3D[0x8+0x14 > 16a8+0x8+0x12c6e9] 5 = =20 > Loading conf4gured modules... = =20 > /boot/kernel/umodem.kd text=3D0x2100 text=3D0x13a0 data=3D0x6e0+0x1=20 > syms=3D[0x8+0xf48+0 > x8+0xb6e] k 1 = =20 > can't find '/boot/e[tropy'0mn t = 0 =20 > b > e s = =20 > Hit [Enter] to boot immediately, or any other key or command prompt. = =20 > Booting [/boot/kern l/kernel]... = =20 > Using DTB provided by EFI at 0x.0eb000. = =20 > Loading DTB tverlays: 'sun50i-a64-sid,sun50i-a64-ths,sun50i-a64-tim > r,sun50i-a64 > -opp' 0 4 = =20 > 78Hx > /boot/dtb/overlays sun50i-a64-sid.dtbo size=3D0x1fd = =20 > /boot/dtb/overlays/sun50i-a643ths.dtbo size=3D0x3e80;37;40mi = =20 > /boot/dtb/ov7rlays/sun50i-a64-thmer.dtbo size=3D0x175 ; = =20 > /boot/dtb/overla[s/sun50i-a64-opp.dtbo size=3D0m74f s = =20 > DTB overlay '/boot/dtb/overlayspsun50i-a64-sid.dtbo' not compatible = =20 > DTB o/erlay '/boot/dtb/overlays/sun50i-a64-thmsdtbo' not compatible = =20 > DTB overlay '/boot/dtb/overlays/sun50i-a64-timer.dtbo' not compatible = =20 > DTB overlay '/boot/dtb/overlays/sun50i-a64-opp.dtbo' 'ot compatible = =20 > ---< > >>--- 0 ; 40m > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2019 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 13.0-CURRENT #0 r354423: Thu Nov 7 12:03:03 UTC 2019 > =20 > root@.freebsd > :/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 > FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLV= M > 9.0.0) > WARNING: WITNESS option enabled, expect reduced performance. > VT: init without driver. > module firmware already present! > KLD file umodem.ko is missing dependencies > Starting CPU 1 (1) > Starting CPU 2 (2) > Starting CPU 3 (3) > Starting CPU 4 (100) > Starting CPU 5 (101) > FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs > arc4random: WARNING: initial seeding bypassed the cryptographic random > device because it was not yet seeded and the knob 'bypass_before_seeding' > was enabled. > random: entropy device external interface > MAP 7cf1a000 mode 2 pages 1 > MAP 7cf25000 mode 2 pages 1 > MAP 7ff40000 mode 2 pages 16 > kbd0 at kbdmux0 > ofwbus0:=20 > > clk_fixed0:=20 > > on ofwbus0 > simplebus0:=20 > > on ofwbus0 > rk_grf0:=20 > > mem 0xff320000-0xff320fff on ofwbus0 > rk3399_pmucru0:=20 > > mem 0xff750000-0xff750fff on ofwbus0 > rk3399_cru0:=20 > > mem 0xff760000-0xff760fff on ofwbus0 >=20 > Looks like it didn't load the rk3399-rockpro64.dtb, which is on the > filesystem > and just tried A64 ones. > The GENERIC kernel on the image seems to know the RK3399 at least. >=20 > --=20 > B.Walter < > bernd@ > > http://www.bwct.de > Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. > _______________________________________________ > freebsd-arm@ > mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to " > freebsd-arm-unsubscribe@ > " Bernd, did you notice ? : -- U-Boot 2019.10 (Oct 25 2019 - 06:55:42 +0000) Model: Pine64 RockPro64 DRAM: 2 GiB -- wasn't it the 4GB-model you bought ? -- <> O.K., when it boots it's O.K., but I'm surprised why you use **Pine64**.im= g (which is NOT RockPro64) -- Regards,Klaus=20 -- Sent from: http://freebsd.1045724.x6.nabble.com/freebsd-arm-f4199244.html From owner-freebsd-arm@freebsd.org Wed Nov 13 22:25:03 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CC8FF1BDC24 for ; Wed, 13 Nov 2019 22:25:03 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Czgy6wgqz4VKk for ; Wed, 13 Nov 2019 22:25:02 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id xADMPnPi052375 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 13 Nov 2019 23:25:50 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1573683950; bh=3lx2FOKCrws21YYGZCgVRk2QkSxPWqRIkGvZ5BFWwv4=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=EQKmxH45i4EAGKABgjOlFE53FgkWEB60UROIm7OWYVJVbhXiSVRr0kHpRPTI+rgif aNwNYYXZqJC/JhI5Hpa9DlxXV3l6BxoFjvwo+Wg8H+mpGmC653UkZlkFGLc7yMsBIo ZPF1UFtAXvdVdEewxPo8G0uljfmDqH786ZIvkIHc= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id xADMOumI017646 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Nov 2019 23:24:56 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id xADMOuLD071216; Wed, 13 Nov 2019 23:24:56 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id xADMOuwa071215; Wed, 13 Nov 2019 23:24:56 +0100 (CET) (envelope-from ticso) Date: Wed, 13 Nov 2019 23:24:56 +0100 From: Bernd Walter To: John-Mark Gurney Cc: freebsd-arm@freebsd.org, ticso@cicely.de Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191113222456.GC43404@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113220928.GZ43404@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191113220928.GZ43404@cicely7.cicely.de> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 47Czgy6wgqz4VKk X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=EQKmxH45; dmarc=none; spf=none (mx1.freebsd.org: domain of ticso@cicely7.cicely.de has no SPF policy when checking 195.149.99.3) smtp.mailfrom=ticso@cicely7.cicely.de X-Spamd-Result: default: False [-1.80 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 22:25:03 -0000 On Wed, Nov 13, 2019 at 11:09:28PM +0100, Bernd Walter wrote: > On Wed, Nov 13, 2019 at 08:53:43AM +0100, Bernd Walter wrote: > > On Tue, Nov 12, 2019 at 02:52:51PM -0800, John-Mark Gurney wrote: > > > Bernd Walter wrote this message on Tue, Nov 12, 2019 at 23:16 +0100: > > > > On Tue, Nov 12, 2019 at 08:09:38AM -0700, Klaus Kchemann via freebsd-arm wrote: > > Looks like it didn't load the rk3399-rockpro64.dtb, which is on the filesystem > and just tried A64 ones. > The GENERIC kernel on the image seems to know the RK3399 at least. No - those are just overlays. I don't see where it loads the dtb - maybe u-boot gets it from the msdosfs partition before any output, or it is just hidden between the control sequences... -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Wed Nov 13 22:28:54 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 46C4E1BDED0 for ; Wed, 13 Nov 2019 22:28:54 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47CzmP3Lgsz4XJq for ; Wed, 13 Nov 2019 22:28:53 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id xADMTdhx052621 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 13 Nov 2019 23:29:41 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1573684181; bh=kdB36vah7tShhX8+qFsP9rhaL1Kzk4+3uM8jck+XG3I=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=JNVojAZCdjZIrvt36JkZ4pd2SEt8rEcOz2Mj1RvMcanWZ719JqUV+O3T6MRX4ZSRj DZxOG7dKhLJRoIIG/EtGCg9zyZN9j7DX1nr3m9SwDEMe0eOhD9IL7KOIl1y6KHr0aW F5WhYiVV/s0q21UphCiGi5NYIIYTb9LEq0FfXB+M= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id xADMSkKX017770 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Nov 2019 23:28:46 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id xADMSkUD071230; Wed, 13 Nov 2019 23:28:46 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id xADMSkxJ071229; Wed, 13 Nov 2019 23:28:46 +0100 (CET) (envelope-from ticso) Date: Wed, 13 Nov 2019 23:28:46 +0100 From: Bernd Walter To: Klaus =?iso-8859-1?Q?K=FCchemann?= Cc: freebsd-arm@freebsd.org Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191113222846.GD43404@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113220928.GZ43404@cicely7.cicely.de> <1573683557830-0.post@n6.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1573683557830-0.post@n6.nabble.com> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 47CzmP3Lgsz4XJq X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=JNVojAZC; dmarc=none; spf=none (mx1.freebsd.org: domain of ticso@cicely7.cicely.de has no SPF policy when checking 195.149.99.3) smtp.mailfrom=ticso@cicely7.cicely.de X-Spamd-Result: default: False [-1.79 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 22:28:54 -0000 On Wed, Nov 13, 2019 at 03:19:17PM -0700, Klaus Kchemann via freebsd-arm wrote: > Bernd Walter-4 wrote > > On Wed, Nov 13, 2019 at 08:53:43AM +0100, Bernd Walter wrote: > >> On Tue, Nov 12, 2019 at 02:52:51PM -0800, John-Mark Gurney wrote: > >> > Bernd Walter wrote this message on Tue, Nov 12, 2019 at 23:16 +0100: > >> > > On Tue, Nov 12, 2019 at 08:09:38AM -0700, Klaus Kchemann via > >> freebsd-arm wrote: > >> > > > <<The u-boot has to go into the SPI-Flash or on the card? >> > >> > > > > >> > > > onto the uSD : > >> > > > https://www.freshports.org/sysutils/u-boot-rockpro64/ > >> > > > Regards > >> > > > Klaus > >> > > > >> > > Thank you. > >> > > > >> > > Do you know the bps rate used by u-boot and later components? > >> > > I do see some output at the usual 115200 bps, but it is messed up. > >> > > Also tried other typical bps rates, including 1.5Mbps as mentioned > >> > > on the RockPro Wiki, but none worked. > >> > > I wouldn't rule out that it is the USB uart failing at 1.5M though, > >> > > but I've tried a PL2303, CP2102 (which refused 1.5Mbps) and > >> > > a CH340. > >> > > Unfortunately I don't have an FTDI based TTL one at hands. > >> > > It also fails with reading the uartt output when booting an Armbian > >> > > image, which as such is booting fine according to the HDMI output. > >> > > >> > It's 1.5Mbps, aka 1500000. I'm using the CH340G that they sell: > >> > https://store.pine64.org/?product=padi-serial-console > >> > > >> > And it works, but it will occasionally drop characters. > >> > >> Sigh - IMO 1.5M is an insane idea for that and so needless. > >> > >> > None of my other serial adapters could do the speed necessary. > >> > >> I just retried with the CH340 - again no success, but noticed that the > >> chip on my adapter is unlabeled. > >> So probably it isn't a genuine. > >> I should have some others, but not at home, and I also have some > >> loose CH340G chips. > > > > > > Grr - I was off by one pin. > > Ground on TX and signal on RX. > > On the analyzer it was obvious that it's is not propper uart signaling. > > With the wrong wiring it was inverted. > > > > Now I get FreeBSD output: > > U-Boot TPL 2019.10 (Oct 25 2019 - 06:55:42) > > Trying to boot from BOOTROM > > Returning to boot ROM... > > > > U-Boot SPL 2019.10 (Oct 25 2019 - 06:55:42 +0000) > > Trying to boot from MMC1 > > ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ > > ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ > > > > U-Boot 2019.10 (Oct 25 2019 - 06:55:42 +0000) > > > > Model: Pine64 RockPro64 > > DRAM: 2 GiB > > MMC: dwmmc@fe320000: 1, sdhci@fe330000: 0 > > Loading Environment from MMC... Card did not respond to voltage select! > > *** Warning - No block device, using default environment > > > > In: serial@ff1a0000 > > Out: serial@ff1a0000 > > Err: serial@ff1a0000 > > Model: Pine64 RockPro64 > > rockchip_dnl_key_pressed: adc_channel_single_shot fail! > > Net: eth0: ethernet@fe300000 > > Hit any key to stop autoboot: 0 > > Card did not respond to voltage select! > > switch to partitions #0, OK > > mmc1 is current device > > Scanning mmc 1:1... > > 73463 bytes read in 9 ms (7.8 MiB/s) > > Found EFI removable media binary efi/boot/bootaa64.efi > > ESC7ESC[rESC[999;999HESC[6nESC8Scanning disk > > > dwmmc@ > > > ... > > Card did not respond to voltage select! > > Scanning disk > > > sdhci@ > > > ... > > Disk > > > sdhci@ > > > not ready > > Found 3 disks > > BootOrder not defined > > EFI boot manager: Cannot load any image > > 676216 bytes read in 34 ms (19 MiB/s) > > ESC[?25hESC[1;1HESC[0;37;40mCESC[0;37;40mESC[1;2HE > > ... > > I hate when console output includes that crap... > > Seriously, the typescript file is 792405 Bytes long. > > WTF is wrong with plain line output while booting? > > Somewhere hidden in between is the whole loader output. > > I can cat the file and see something of that, but the screen gets > > redrawn in between. > > ... > > ;37;40m ^[[0;37;40m^[[25;72H^[[0;37;40m ^[[0;37;40m^[[25;73H^[[0;37;40m > > ^[[0;37;40m^[[25;74H^[[0;37;40m ^[[0;37;40m^[[25;75H^[[0;37;40m > > ^[[0;37;40m^[[25;76H^[[0;37;40m ^[[0;37;40m^[[25;77H^[[0;37;40m > > ^[[0;37;40m^[[25;78H^[[0;37;40m ^[[0;37;40m^[[25;79H^[[0;37;40m > > ^[[0;37;40m^[[25;80H^ > > [[?25h^[[25;1H---< > > > >>---^M > > KDB: debugger backends: ddb^M > > KDB: current backend: ddb^M > > Copyright (c) 1992-2019 The FreeBSD Project.^M > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994^M > > The Regents of the University of California. All rights > > reserved.^M > > FreeBSD is a registered trademark of The FreeBSD Foundation.^M > > FreeBSD 13.0-CURRENT #0 r354423: Thu Nov 7 12:03:03 UTC 2019^M > > > > > root@.freebsd > > > :/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64^M > > FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM > > 9.0.0)^M > > WARNING: WITNESS option enabled, expect reduced performance.^M > > VT: init without driver.^M > > module firmware already present!^M > > KLD file umodem.ko is missing dependencies^M > > Starting CPU 1 (1)^M > > Starting CPU 2 (2)^M > > Starting CPU 3 (3)^M > > Starting CPU 4 (100)^M > > Starting CPU 5 (101)^M > > FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs^M > > arc4random: WARNING: initial seeding bypassed the cryptographic random > > device because it was not yet seeded and the knob 'bypass_before_seeding' > > was enabled.^M > > random: entropy device external interface^M > > MAP 7cf1a000 mode 2 pages 1^M > > MAP 7cf25000 mode 2 pages 1^M > > MAP 7ff40000 mode 2 pages 16^M > > kbd0 at kbdmux0^M > > ofwbus0: > > > > ^M > > clk_fixed0: > > > > on ofwbus0^M > > simplebus0: > > > > on ofwbus0^M > > rk_grf0: > > > > mem 0xff320000-0xff320fff on ofwbus0^M > > rk3399_pmucru0: > > > > mem 0xff750000-0xff750fff on ofwbus0^M > > rk3399_cru0: > > > > mem 0xff760000-0xff760fff on ofwbus0^M > > > > And it hangs at this point. > > Ok - I created the image in an oportunistic way and downloaded: > > FreeBSD-13.0-CURRENT-arm64-aarch64-PINE64-LTS-20191107-r354423.img > > Then wrote the rockpro64 u-boot onto the card. > > > > This is what I have on my screen after a cat: > > Loading /boot/device.hints n ( > > e > > Loading /boot/loader.conf ; 0 > > 7;40m1 > > Loading /boot/loader.conf.local 0 > > Loading kbrnel... 4 > > /boot/kernel/kernel text=0x96c524 data=0x1898b0 data=0x +0x79a5e0 > > syms=[0x8+0x14 > > 16a8+0x8+0x12c6e9] 5 > > Loading conf4gured modules... > > /boot/kernel/umodem.kd text=0x2100 text=0x13a0 data=0x6e0+0x1 > > syms=[0x8+0xf48+0 > > x8+0xb6e] k 1 > > can't find '/boot/e[tropy'0mn t 0 > > b > > e s > > Hit [Enter] to boot immediately, or any other key or command prompt. > > Booting [/boot/kern l/kernel]... > > Using DTB provided by EFI at 0x.0eb000. > > Loading DTB tverlays: 'sun50i-a64-sid,sun50i-a64-ths,sun50i-a64-tim > > r,sun50i-a64 > > -opp' 0 4 > > 78Hx > > /boot/dtb/overlays sun50i-a64-sid.dtbo size=0x1fd > > /boot/dtb/overlays/sun50i-a643ths.dtbo size=0x3e80;37;40mi > > /boot/dtb/ov7rlays/sun50i-a64-thmer.dtbo size=0x175 ; > > /boot/dtb/overla[s/sun50i-a64-opp.dtbo size=0m74f s > > DTB overlay '/boot/dtb/overlayspsun50i-a64-sid.dtbo' not compatible > > DTB o/erlay '/boot/dtb/overlays/sun50i-a64-thmsdtbo' not compatible > > DTB overlay '/boot/dtb/overlays/sun50i-a64-timer.dtbo' not compatible > > DTB overlay '/boot/dtb/overlays/sun50i-a64-opp.dtbo' 'ot compatible > > ---< > > > >>--- 0 ; 40m > > KDB: debugger backends: ddb > > KDB: current backend: ddb > > Copyright (c) 1992-2019 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > > The Regents of the University of California. All rights reserved. > > FreeBSD is a registered trademark of The FreeBSD Foundation. > > FreeBSD 13.0-CURRENT #0 r354423: Thu Nov 7 12:03:03 UTC 2019 > > > > > root@.freebsd > > > :/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 > > FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM > > 9.0.0) > > WARNING: WITNESS option enabled, expect reduced performance. > > VT: init without driver. > > module firmware already present! > > KLD file umodem.ko is missing dependencies > > Starting CPU 1 (1) > > Starting CPU 2 (2) > > Starting CPU 3 (3) > > Starting CPU 4 (100) > > Starting CPU 5 (101) > > FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs > > arc4random: WARNING: initial seeding bypassed the cryptographic random > > device because it was not yet seeded and the knob 'bypass_before_seeding' > > was enabled. > > random: entropy device external interface > > MAP 7cf1a000 mode 2 pages 1 > > MAP 7cf25000 mode 2 pages 1 > > MAP 7ff40000 mode 2 pages 16 > > kbd0 at kbdmux0 > > ofwbus0: > > > > clk_fixed0: > > > > on ofwbus0 > > simplebus0: > > > > on ofwbus0 > > rk_grf0: > > > > mem 0xff320000-0xff320fff on ofwbus0 > > rk3399_pmucru0: > > > > mem 0xff750000-0xff750fff on ofwbus0 > > rk3399_cru0: > > > > mem 0xff760000-0xff760fff on ofwbus0 > > > > Looks like it didn't load the rk3399-rockpro64.dtb, which is on the > > filesystem > > and just tried A64 ones. > > The GENERIC kernel on the image seems to know the RK3399 at least. > > > > -- > > B.Walter < > > > bernd@ > > > > http://www.bwct.de > > Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. > > _______________________________________________ > > > freebsd-arm@ > > > mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to " > > > freebsd-arm-unsubscribe@ > > > " > > > Bernd, did you notice ? : > -- > U-Boot 2019.10 (Oct 25 2019 - 06:55:42 +0000) > > Model: Pine64 RockPro64 > DRAM: 2 GiB > -- > wasn't it the 4GB-model you bought ? No - didn't notice. Yes - I bought the 4G model and it says on the packaging. > -- > < FreeBSD-13.0-CURRENT-arm64-aarch64-PINE64-LTS-20191107-r354423.img > Then wrote the rockpro64 u-boot onto the card.>> > > O.K., when it boots it's O.K., but I'm surprised why you use **Pine64**.img > (which is NOT RockPro64) Because beside the bootcode those are generic images and I was too lazy to create an image from scratch. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Wed Nov 13 22:36:07 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 94E8C1BE12B for ; Wed, 13 Nov 2019 22:36:07 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Czwk41BMz4c7l for ; Wed, 13 Nov 2019 22:36:06 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id xADMarQ3053196 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 13 Nov 2019 23:36:53 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1573684614; bh=O2DJZB9BeaFC+Gt/8Zy6CU+TXemomGyFpAjhpweiaWg=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=okl2yjoF6CVAVn1qpQVHJ4WudOfXzbkez+XYcGJ3aIaJRlny2Psbw/fynjwR+/GD0 FXhmyD2bDVWyNdKyp7Jts2YbrttVmNTIyT5t7cUHdE+wm6bUrLLSui44lYY1T3TCEm KNxRXeEiE1w4NHk5zbpjbgujVw+W6WQjsCnF0tvQ= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id xADMZx1l018011 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Nov 2019 23:36:00 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id xADMZxQM071273; Wed, 13 Nov 2019 23:35:59 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id xADMZx0B071272; Wed, 13 Nov 2019 23:35:59 +0100 (CET) (envelope-from ticso) Date: Wed, 13 Nov 2019 23:35:59 +0100 From: Bernd Walter To: Klaus =?iso-8859-1?Q?K=FCchemann?= Cc: freebsd-arm@freebsd.org Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191113223559.GE43404@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113220928.GZ43404@cicely7.cicely.de> <1573683557830-0.post@n6.nabble.com> <20191113222846.GD43404@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191113222846.GD43404@cicely7.cicely.de> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 47Czwk41BMz4c7l X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=okl2yjoF; dmarc=none; spf=none (mx1.freebsd.org: domain of ticso@cicely7.cicely.de has no SPF policy when checking 195.149.99.3) smtp.mailfrom=ticso@cicely7.cicely.de X-Spamd-Result: default: False [-1.79 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 22:36:07 -0000 On Wed, Nov 13, 2019 at 11:28:46PM +0100, Bernd Walter wrote: > On Wed, Nov 13, 2019 at 03:19:17PM -0700, Klaus Kchemann via freebsd-arm wrote: > > Bernd Walter-4 wrote > > > On Wed, Nov 13, 2019 at 08:53:43AM +0100, Bernd Walter wrote: > > >> On Tue, Nov 12, 2019 at 02:52:51PM -0800, John-Mark Gurney wrote: > > >> > Bernd Walter wrote this message on Tue, Nov 12, 2019 at 23:16 +0100: > > >> > > On Tue, Nov 12, 2019 at 08:09:38AM -0700, Klaus Kchemann via > > >> freebsd-arm wrote: > > >> > > > <<The u-boot has to go into the SPI-Flash or on the card? >> > > >> > > > > > >> > > > onto the uSD : > > >> > > > https://www.freshports.org/sysutils/u-boot-rockpro64/ > > >> > > > Regards > > >> > > > Klaus > > >> > > > > >> > > Thank you. > > >> > > > > >> > > Do you know the bps rate used by u-boot and later components? > > >> > > I do see some output at the usual 115200 bps, but it is messed up. > > >> > > Also tried other typical bps rates, including 1.5Mbps as mentioned > > >> > > on the RockPro Wiki, but none worked. > > >> > > I wouldn't rule out that it is the USB uart failing at 1.5M though, > > >> > > but I've tried a PL2303, CP2102 (which refused 1.5Mbps) and > > >> > > a CH340. > > >> > > Unfortunately I don't have an FTDI based TTL one at hands. > > >> > > It also fails with reading the uartt output when booting an Armbian > > >> > > image, which as such is booting fine according to the HDMI output. > > >> > > > >> > It's 1.5Mbps, aka 1500000. I'm using the CH340G that they sell: > > >> > https://store.pine64.org/?product=padi-serial-console > > >> > > > >> > And it works, but it will occasionally drop characters. > > >> > > >> Sigh - IMO 1.5M is an insane idea for that and so needless. > > >> > > >> > None of my other serial adapters could do the speed necessary. > > >> > > >> I just retried with the CH340 - again no success, but noticed that the > > >> chip on my adapter is unlabeled. > > >> So probably it isn't a genuine. > > >> I should have some others, but not at home, and I also have some > > >> loose CH340G chips. > > > > > > > > > Grr - I was off by one pin. > > > Ground on TX and signal on RX. > > > On the analyzer it was obvious that it's is not propper uart signaling. > > > With the wrong wiring it was inverted. > > > > > > Now I get FreeBSD output: > > > U-Boot TPL 2019.10 (Oct 25 2019 - 06:55:42) > > > Trying to boot from BOOTROM > > > Returning to boot ROM... > > > > > > U-Boot SPL 2019.10 (Oct 25 2019 - 06:55:42 +0000) > > > Trying to boot from MMC1 > > > ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ > > > ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ > > > > > > U-Boot 2019.10 (Oct 25 2019 - 06:55:42 +0000) > > > > > > Model: Pine64 RockPro64 > > > DRAM: 2 GiB > > > MMC: dwmmc@fe320000: 1, sdhci@fe330000: 0 > > > Loading Environment from MMC... Card did not respond to voltage select! > > > *** Warning - No block device, using default environment > > > > > > In: serial@ff1a0000 > > > Out: serial@ff1a0000 > > > Err: serial@ff1a0000 > > > Model: Pine64 RockPro64 > > > rockchip_dnl_key_pressed: adc_channel_single_shot fail! > > > Net: eth0: ethernet@fe300000 > > > Hit any key to stop autoboot: 0 > > > Card did not respond to voltage select! > > > switch to partitions #0, OK > > > mmc1 is current device > > > Scanning mmc 1:1... > > > 73463 bytes read in 9 ms (7.8 MiB/s) > > > Found EFI removable media binary efi/boot/bootaa64.efi > > > ESC7ESC[rESC[999;999HESC[6nESC8Scanning disk > > > > > dwmmc@ > > > > > ... > > > Card did not respond to voltage select! > > > Scanning disk > > > > > sdhci@ > > > > > ... > > > Disk > > > > > sdhci@ > > > > > not ready > > > Found 3 disks > > > BootOrder not defined > > > EFI boot manager: Cannot load any image > > > 676216 bytes read in 34 ms (19 MiB/s) > > > ESC[?25hESC[1;1HESC[0;37;40mCESC[0;37;40mESC[1;2HE > > > ... > > > I hate when console output includes that crap... > > > Seriously, the typescript file is 792405 Bytes long. > > > WTF is wrong with plain line output while booting? > > > Somewhere hidden in between is the whole loader output. > > > I can cat the file and see something of that, but the screen gets > > > redrawn in between. > > > ... > > > ;37;40m ^[[0;37;40m^[[25;72H^[[0;37;40m ^[[0;37;40m^[[25;73H^[[0;37;40m > > > ^[[0;37;40m^[[25;74H^[[0;37;40m ^[[0;37;40m^[[25;75H^[[0;37;40m > > > ^[[0;37;40m^[[25;76H^[[0;37;40m ^[[0;37;40m^[[25;77H^[[0;37;40m > > > ^[[0;37;40m^[[25;78H^[[0;37;40m ^[[0;37;40m^[[25;79H^[[0;37;40m > > > ^[[0;37;40m^[[25;80H^ > > > [[?25h^[[25;1H---< > > > > > >>---^M > > > KDB: debugger backends: ddb^M > > > KDB: current backend: ddb^M > > > Copyright (c) 1992-2019 The FreeBSD Project.^M > > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994^M > > > The Regents of the University of California. All rights > > > reserved.^M > > > FreeBSD is a registered trademark of The FreeBSD Foundation.^M > > > FreeBSD 13.0-CURRENT #0 r354423: Thu Nov 7 12:03:03 UTC 2019^M > > > > > > > > root@.freebsd > > > > > :/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64^M > > > FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM > > > 9.0.0)^M > > > WARNING: WITNESS option enabled, expect reduced performance.^M > > > VT: init without driver.^M > > > module firmware already present!^M > > > KLD file umodem.ko is missing dependencies^M > > > Starting CPU 1 (1)^M > > > Starting CPU 2 (2)^M > > > Starting CPU 3 (3)^M > > > Starting CPU 4 (100)^M > > > Starting CPU 5 (101)^M > > > FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs^M > > > arc4random: WARNING: initial seeding bypassed the cryptographic random > > > device because it was not yet seeded and the knob 'bypass_before_seeding' > > > was enabled.^M > > > random: entropy device external interface^M > > > MAP 7cf1a000 mode 2 pages 1^M > > > MAP 7cf25000 mode 2 pages 1^M > > > MAP 7ff40000 mode 2 pages 16^M > > > kbd0 at kbdmux0^M > > > ofwbus0: > > > > > > ^M > > > clk_fixed0: > > > > > > on ofwbus0^M > > > simplebus0: > > > > > > on ofwbus0^M > > > rk_grf0: > > > > > > mem 0xff320000-0xff320fff on ofwbus0^M > > > rk3399_pmucru0: > > > > > > mem 0xff750000-0xff750fff on ofwbus0^M > > > rk3399_cru0: > > > > > > mem 0xff760000-0xff760fff on ofwbus0^M > > > > > > And it hangs at this point. > > > Ok - I created the image in an oportunistic way and downloaded: > > > FreeBSD-13.0-CURRENT-arm64-aarch64-PINE64-LTS-20191107-r354423.img > > > Then wrote the rockpro64 u-boot onto the card. > > > > > > This is what I have on my screen after a cat: > > > Loading /boot/device.hints n ( > > > e > > > Loading /boot/loader.conf ; 0 > > > 7;40m1 > > > Loading /boot/loader.conf.local 0 > > > Loading kbrnel... 4 > > > /boot/kernel/kernel text=0x96c524 data=0x1898b0 data=0x +0x79a5e0 > > > syms=[0x8+0x14 > > > 16a8+0x8+0x12c6e9] 5 > > > Loading conf4gured modules... > > > /boot/kernel/umodem.kd text=0x2100 text=0x13a0 data=0x6e0+0x1 > > > syms=[0x8+0xf48+0 > > > x8+0xb6e] k 1 > > > can't find '/boot/e[tropy'0mn t 0 > > > b > > > e s > > > Hit [Enter] to boot immediately, or any other key or command prompt. > > > Booting [/boot/kern l/kernel]... > > > Using DTB provided by EFI at 0x.0eb000. > > > Loading DTB tverlays: 'sun50i-a64-sid,sun50i-a64-ths,sun50i-a64-tim > > > r,sun50i-a64 > > > -opp' 0 4 > > > 78Hx > > > /boot/dtb/overlays sun50i-a64-sid.dtbo size=0x1fd > > > /boot/dtb/overlays/sun50i-a643ths.dtbo size=0x3e80;37;40mi > > > /boot/dtb/ov7rlays/sun50i-a64-thmer.dtbo size=0x175 ; > > > /boot/dtb/overla[s/sun50i-a64-opp.dtbo size=0m74f s > > > DTB overlay '/boot/dtb/overlayspsun50i-a64-sid.dtbo' not compatible > > > DTB o/erlay '/boot/dtb/overlays/sun50i-a64-thmsdtbo' not compatible > > > DTB overlay '/boot/dtb/overlays/sun50i-a64-timer.dtbo' not compatible > > > DTB overlay '/boot/dtb/overlays/sun50i-a64-opp.dtbo' 'ot compatible > > > ---< > > > > > >>--- 0 ; 40m > > > KDB: debugger backends: ddb > > > KDB: current backend: ddb > > > Copyright (c) 1992-2019 The FreeBSD Project. > > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > > > The Regents of the University of California. All rights reserved. > > > FreeBSD is a registered trademark of The FreeBSD Foundation. > > > FreeBSD 13.0-CURRENT #0 r354423: Thu Nov 7 12:03:03 UTC 2019 > > > > > > > > root@.freebsd > > > > > :/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 > > > FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM > > > 9.0.0) > > > WARNING: WITNESS option enabled, expect reduced performance. > > > VT: init without driver. > > > module firmware already present! > > > KLD file umodem.ko is missing dependencies > > > Starting CPU 1 (1) > > > Starting CPU 2 (2) > > > Starting CPU 3 (3) > > > Starting CPU 4 (100) > > > Starting CPU 5 (101) > > > FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs > > > arc4random: WARNING: initial seeding bypassed the cryptographic random > > > device because it was not yet seeded and the knob 'bypass_before_seeding' > > > was enabled. > > > random: entropy device external interface > > > MAP 7cf1a000 mode 2 pages 1 > > > MAP 7cf25000 mode 2 pages 1 > > > MAP 7ff40000 mode 2 pages 16 > > > kbd0 at kbdmux0 > > > ofwbus0: > > > > > > clk_fixed0: > > > > > > on ofwbus0 > > > simplebus0: > > > > > > on ofwbus0 > > > rk_grf0: > > > > > > mem 0xff320000-0xff320fff on ofwbus0 > > > rk3399_pmucru0: > > > > > > mem 0xff750000-0xff750fff on ofwbus0 > > > rk3399_cru0: > > > > > > mem 0xff760000-0xff760fff on ofwbus0 > > > > > > Looks like it didn't load the rk3399-rockpro64.dtb, which is on the > > > filesystem > > > and just tried A64 ones. > > > The GENERIC kernel on the image seems to know the RK3399 at least. > > > > > > -- > > > B.Walter < > > > > > bernd@ > > > > > > http://www.bwct.de > > > Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. > > > _______________________________________________ > > > > > freebsd-arm@ > > > > > mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > > > To unsubscribe, send any mail to " > > > > > freebsd-arm-unsubscribe@ > > > > > " > > > > > > Bernd, did you notice ? : > > -- > > U-Boot 2019.10 (Oct 25 2019 - 06:55:42 +0000) > > > > Model: Pine64 RockPro64 > > DRAM: 2 GiB > > -- > > wasn't it the 4GB-model you bought ? > > No - didn't notice. > Yes - I bought the 4G model and it says on the packaging. Seems to be an u-boot issue: https://freenode.irclog.whitequark.org/linux-rockchip/2019-10-20 My RAM has the same marking - looked up at another board, not the one actually used, since the heatsink is in the way on that one. > > -- > > < > FreeBSD-13.0-CURRENT-arm64-aarch64-PINE64-LTS-20191107-r354423.img > > Then wrote the rockpro64 u-boot onto the card.>> > > > > O.K., when it boots it's O.K., but I'm surprised why you use **Pine64**.img > > (which is NOT RockPro64) > > Because beside the bootcode those are generic images and I was too lazy to > create an image from scratch. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Wed Nov 13 22:42:22 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D10EB1BE585 for ; Wed, 13 Nov 2019 22:42:22 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1.freebsd.org (Postfix) with ESMTP id 47D03x48nsz3CHc for ; Wed, 13 Nov 2019 22:42:21 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id 8D6C812970EE2 for ; Wed, 13 Nov 2019 15:42:20 -0700 (MST) Date: Wed, 13 Nov 2019 15:42:20 -0700 (MST) From: =?UTF-8?Q?Klaus_K=C3=BCchemann?= To: freebsd-arm@freebsd.org Message-ID: <1573684940577-0.post@n6.nabble.com> In-Reply-To: <20191113222846.GD43404@cicely7.cicely.de> References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113220928.GZ43404@cicely7.cicely.de> <1573683557830-0.post@n6.nabble.com> <20191113222846.GD43404@cicely7.cicely.de> Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 47D03x48nsz3CHc X-Spamd-Bar: ++++++ X-Spamd-Result: default: False [6.97 / 15.00]; ARC_NA(0.00)[]; GREYLIST(0.00)[pass,meta]; FROM_HAS_DN(0.00)[]; DMARC_POLICY_QUARANTINE(1.50)[googlemail.com : No valid SPF, No valid DKIM,quarantine]; FREEMAIL_FROM(0.00)[googlemail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.97)[0.969,0]; IP_SCORE(0.00)[ip: (0.87), ipnet: 162.255.20.0/22(0.32), asn: 21624(0.04), country: US(-0.05)]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[37.23.255.162.list.dnswl.org : 127.0.10.0]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21624, ipnet:162.255.20.0/22, country:US]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[googlemail.com] X-Spam: Yes X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2019 22:42:22 -0000 Bernd Walter-4 wrote > On Wed, Nov 13, 2019 at 03:19:17PM -0700, Klaus K=C3=BCchemann via freebs= d-arm > wrote: >> Bernd Walter-4 wrote >> > On Wed, Nov 13, 2019 at 08:53:43AM +0100, Bernd Walter wrote: >> >> On Tue, Nov 12, 2019 at 02:52:51PM -0800, John-Mark Gurney wrote: >> >> > Bernd Walter wrote this message on Tue, Nov 12, 2019 at 23:16 +0100= : >> >> > > On Tue, Nov 12, 2019 at 08:09:38AM -0700, Klaus K=C3=BCchemann vi= a >> >> freebsd-arm wrote: >> >> > > > <<The u-boot has to go into the SPI-Flash or on the card? >> >> >> >> > > >=20 >> >> > > > onto the uSD : >> >> > > > https://www.freshports.org/sysutils/u-boot-rockpro64/ >> >> > > > Regards=20 >> >> > > > Klaus >> >> > >=20 >> >> > > Thank you. >> >> > >=20 >> >> > > Do you know the bps rate used by u-boot and later components? >> >> > > I do see some output at the usual 115200 bps, but it is messed up= . >> >> > > Also tried other typical bps rates, including 1.5Mbps as mentione= d >> >> > > on the RockPro Wiki, but none worked. >> >> > > I wouldn't rule out that it is the USB uart failing at 1.5M >> though, >> >> > > but I've tried a PL2303, CP2102 (which refused 1.5Mbps) and >> >> > > a CH340. >> >> > > Unfortunately I don't have an FTDI based TTL one at hands. >> >> > > It also fails with reading the uartt output when booting an >> Armbian >> >> > > image, which as such is booting fine according to the HDMI output= . >> >> >=20 >> >> > It's 1.5Mbps, aka 1500000. I'm using the CH340G that they sell: >> >> > https://store.pine64.org/?product=3Dpadi-serial-console >> >> >=20 >> >> > And it works, but it will occasionally drop characters. >> >>=20 >> >> Sigh - IMO 1.5M is an insane idea for that and so needless. >> >>=20 >> >> > None of my other serial adapters could do the speed necessary. >> >>=20 >> >> I just retried with the CH340 - again no success, but noticed that th= e >> >> chip on my adapter is unlabeled. >> >> So probably it isn't a genuine. >> >> I should have some others, but not at home, and I also have some >> >> loose CH340G chips. >> >=20 >> >=20 >> > Grr - I was off by one pin. >> > Ground on TX and signal on RX. >> > On the analyzer it was obvious that it's is not propper uart signaling= . >> > With the wrong wiring it was inverted. >> >=20 >> > Now I get FreeBSD output: >> > U-Boot TPL 2019.10 (Oct 25 2019 - 06:55:42) >> > Trying to boot from BOOTROM >> > Returning to boot ROM... >> >=20 >> > U-Boot SPL 2019.10 (Oct 25 2019 - 06:55:42 +0000) >> > Trying to boot from MMC1 >> > >> ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@= ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^= @^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@= ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ >> > >> ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@= ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^= @^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ >> >=20 >> > U-Boot 2019.10 (Oct 25 2019 - 06:55:42 +0000) >> >=20 >> > Model: Pine64 RockPro64 >> > DRAM: 2 GiB >> > MMC: dwmmc@fe320000: 1, sdhci@fe330000: 0 >> > Loading Environment from MMC... Card did not respond to voltage select= ! >> > *** Warning - No block device, using default environment >> >=20 >> > In: serial@ff1a0000 >> > Out: serial@ff1a0000 >> > Err: serial@ff1a0000 >> > Model: Pine64 RockPro64 >> > rockchip_dnl_key_pressed: adc_channel_single_shot fail! >> > Net: eth0: ethernet@fe300000 >> > Hit any key to stop autoboot: 0=20 >> > Card did not respond to voltage select! >> > switch to partitions #0, OK >> > mmc1 is current device >> > Scanning mmc 1:1... >> > 73463 bytes read in 9 ms (7.8 MiB/s) >> > Found EFI removable media binary efi/boot/bootaa64.efi >> > ESC7ESC[rESC[999;999HESC[6nESC8Scanning disk=20 >>=20 >> > dwmmc@ >>=20 >> > ... >> > Card did not respond to voltage select! >> > Scanning disk=20 >>=20 >> > sdhci@ >>=20 >> > ... >> > Disk=20 >>=20 >> > sdhci@ >>=20 >> > not ready >> > Found 3 disks >> > BootOrder not defined >> > EFI boot manager: Cannot load any image >> > 676216 bytes read in 34 ms (19 MiB/s) >> > ESC[?25hESC[1;1HESC[0;37;40mCESC[0;37;40mESC[1;2HE >> > ... >> > I hate when console output includes that crap... >> > Seriously, the typescript file is 792405 Bytes long. >> > WTF is wrong with plain line output while booting? >> > Somewhere hidden in between is the whole loader output. >> > I can cat the file and see something of that, but the screen gets >> > redrawn in between. >> > ... >> > ;37;40m ^[[0;37;40m^[[25;72H^[[0;37;40m ^[[0;37;40m^[[25;73H^[[0;37;40= m >> > ^[[0;37;40m^[[25;74H^[[0;37;40m ^[[0;37;40m^[[25;75H^[[0;37;40m >> > ^[[0;37;40m^[[25;76H^[[0;37;40m ^[[0;37;40m^[[25;77H^[[0;37;40m >> > ^[[0;37;40m^[[25;78H^[[0;37;40m ^[[0;37;40m^[[25;79H^[[0;37;40m >> > ^[[0;37;40m^[[25;80H^ >> > [[?25h^[[25;1H---< >> >=20 > >> >>---^M >> > KDB: debugger backends: ddb^M >> > KDB: current backend: ddb^M >> > Copyright (c) 1992-2019 The FreeBSD Project.^M >> > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, >> 1994^M >> > The Regents of the University of California. All rights >> > reserved.^M >> > FreeBSD is a registered trademark of The FreeBSD Foundation.^M >> > FreeBSD 13.0-CURRENT #0 r354423: Thu Nov 7 12:03:03 UTC 2019^M >> > =20 >>=20 >> > root@.freebsd >>=20 >> > :/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64^M >> > FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on >> LLVM >> > 9.0.0)^M >> > WARNING: WITNESS option enabled, expect reduced performance.^M >> > VT: init without driver.^M >> > module firmware already present!^M >> > KLD file umodem.ko is missing dependencies^M >> > Starting CPU 1 (1)^M >> > Starting CPU 2 (2)^M >> > Starting CPU 3 (3)^M >> > Starting CPU 4 (100)^M >> > Starting CPU 5 (101)^M >> > FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs^M >> > arc4random: WARNING: initial seeding bypassed the cryptographic random >> > device because it was not yet seeded and the knob >> 'bypass_before_seeding' >> > was enabled.^M >> > random: entropy device external interface^M >> > MAP 7cf1a000 mode 2 pages 1^M >> > MAP 7cf25000 mode 2 pages 1^M >> > MAP 7ff40000 mode 2 pages 16^M >> > kbd0 at kbdmux0^M >> > ofwbus0:=20 >> >=20 > >> > ^M >> > clk_fixed0:=20 >> >=20 > >> > on ofwbus0^M >> > simplebus0:=20 >> >=20 > >> > on ofwbus0^M >> > rk_grf0:=20 >> >=20 > >> > mem 0xff320000-0xff320fff on ofwbus0^M >> > rk3399_pmucru0:=20 >> >=20 > >> > mem 0xff750000-0xff750fff on ofwbus0^M >> > rk3399_cru0:=20 >> >=20 > >> > mem 0xff760000-0xff760fff on ofwbus0^M >> >=20 >> > And it hangs at this point. >> > Ok - I created the image in an oportunistic way and downloaded: >> > FreeBSD-13.0-CURRENT-arm64-aarch64-PINE64-LTS-20191107-r354423.img >> > Then wrote the rockpro64 u-boot onto the card. >> >=20 >> > This is what I have on my screen after a cat: >> > Loading /boot/device.hints n ( = = = =20 >> > e >> > Loading /boot/loader.conf ; 0 = =20 >> > 7;40m1 >> > Loading /boot/loader.conf.local = 0 =20 >> > Loading kbrnel... 4 = =20 >> > /boot/kernel/kernel text=3D0x96c524 data=3D0x1898b0 data=3D0x +0x79a5e= 0 >> > syms=3D[0x8+0x14 >> > 16a8+0x8+0x12c6e9] 5 = =20 >> > Loading conf4gured modules... = =20 >> > /boot/kernel/umodem.kd text=3D0x2100 text=3D0x13a0 data=3D0x6e0+0x1=20 >> > syms=3D[0x8+0xf48+0 >> > x8+0xb6e] k 1 = =20 >> > can't find '/boot/e[tropy'0mn t = =20 >> 0 =20 >> > b >> > e s = =20 >> > Hit [Enter] to boot immediately, or any other key or command prompt. = =20 >> > Booting [/boot/kern l/kernel]... = =20 >> > Using DTB provided by EFI at 0x.0eb000. = =20 >> > Loading DTB tverlays: 'sun50i-a64-sid,sun50i-a64-ths,sun50i-a64-tim >> > r,sun50i-a64 >> > -opp' 0 4 = =20 >> > 78Hx >> > /boot/dtb/overlays sun50i-a64-sid.dtbo size=3D0x1fd = =20 >> > /boot/dtb/overlays/sun50i-a643ths.dtbo size=3D0x3e80;37;40mi = =20 >> > /boot/dtb/ov7rlays/sun50i-a64-thmer.dtbo size=3D0x175 ; = =20 >> > /boot/dtb/overla[s/sun50i-a64-opp.dtbo size=3D0m74f s = =20 >> > DTB overlay '/boot/dtb/overlayspsun50i-a64-sid.dtbo' not compatible = =20 >> > DTB o/erlay '/boot/dtb/overlays/sun50i-a64-thmsdtbo' not compatible = =20 >> > DTB overlay '/boot/dtb/overlays/sun50i-a64-timer.dtbo' not compatible = =20 >> > DTB overlay '/boot/dtb/overlays/sun50i-a64-opp.dtbo' 'ot compatible = =20 >> > ---< >> >=20 > >> >>--- 0 ; 40= m >> > KDB: debugger backends: ddb >> > KDB: current backend: ddb >> > Copyright (c) 1992-2019 The FreeBSD Project. >> > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, >> 1994 >> > The Regents of the University of California. All rights >> reserved. >> > FreeBSD is a registered trademark of The FreeBSD Foundation. >> > FreeBSD 13.0-CURRENT #0 r354423: Thu Nov 7 12:03:03 UTC 2019 >> > =20 >>=20 >> > root@.freebsd >>=20 >> > :/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 >> > FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on >> LLVM >> > 9.0.0) >> > WARNING: WITNESS option enabled, expect reduced performance. >> > VT: init without driver. >> > module firmware already present! >> > KLD file umodem.ko is missing dependencies >> > Starting CPU 1 (1) >> > Starting CPU 2 (2) >> > Starting CPU 3 (3) >> > Starting CPU 4 (100) >> > Starting CPU 5 (101) >> > FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs >> > arc4random: WARNING: initial seeding bypassed the cryptographic random >> > device because it was not yet seeded and the knob >> 'bypass_before_seeding' >> > was enabled. >> > random: entropy device external interface >> > MAP 7cf1a000 mode 2 pages 1 >> > MAP 7cf25000 mode 2 pages 1 >> > MAP 7ff40000 mode 2 pages 16 >> > kbd0 at kbdmux0 >> > ofwbus0:=20 >> >=20 > >> > clk_fixed0:=20 >> >=20 > >> > on ofwbus0 >> > simplebus0:=20 >> >=20 > >> > on ofwbus0 >> > rk_grf0:=20 >> >=20 > >> > mem 0xff320000-0xff320fff on ofwbus0 >> > rk3399_pmucru0:=20 >> >=20 > >> > mem 0xff750000-0xff750fff on ofwbus0 >> > rk3399_cru0:=20 >> >=20 > >> > mem 0xff760000-0xff760fff on ofwbus0 >> >=20 >> > Looks like it didn't load the rk3399-rockpro64.dtb, which is on the >> > filesystem >> > and just tried A64 ones. >> > The GENERIC kernel on the image seems to know the RK3399 at least. >> >=20 >> > --=20 >> > B.Walter < >>=20 >> > bernd@ >>=20 >> > > http://www.bwct.de >> > Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. >> > _______________________________________________ >>=20 >> > freebsd-arm@ >>=20 >> > mailing list >> > https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> > To unsubscribe, send any mail to " >>=20 >> > freebsd-arm-unsubscribe@ >>=20 >> > " >>=20 >>=20 >> Bernd, did you notice ? : >> -- >> U-Boot 2019.10 (Oct 25 2019 - 06:55:42 +0000) >>=20 >> Model: Pine64 RockPro64 >> DRAM: 2 GiB >> -- >> wasn't it the 4GB-model you bought ? >=20 > No - didn't notice. > Yes - I bought the 4G model and it says on the packaging. >=20 >> -- >> < > > > FreeBSD-13.0-CURRENT-arm64-aarch64-PINE64-LTS-20191107-r354423.img >> Then wrote the rockpro64 u-boot onto the card.>> >>=20 >> O.K., when it boots it's O.K., but I'm surprised why you use >> **Pine64**.img >> (which is NOT RockPro64) >=20 > Because beside the bootcode those are generic images and I was too lazy t= o > create an image from scratch. >=20 > --=20 > B.Walter < > bernd@ > > http://www.bwct.de > Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. > _______________________________________________ > freebsd-arm@ > mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to " > freebsd-arm-unsubscribe@ > " yes, you can be sure you own the 4GB-model and weren't tricked by the selle= r :-) I`m not so much surprised that the RAM-issue wasn't fixed in official 2019.10 .. in the 2019.10-version given to me (mentioned in an earlier post) the full 4GB are detected. ... in your self-quote you mentioned that the dtb-overlays are not needed no more by 2019-u-boot: that's true I would suggest for to do-list: replace the u-boot-version in sysutils wit= h fixed Ram-issue and set the baud rate to 115200( or as mentioned by Ian Lepore 921600 (if can be handled by all cheap dongles)). -- Klaus =20 -- Sent from: http://freebsd.1045724.x6.nabble.com/freebsd-arm-f4199244.html From owner-freebsd-arm@freebsd.org Thu Nov 14 10:47:51 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 764BB17C2B3 for ; Thu, 14 Nov 2019 10:47:51 +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 47DJ914VY9z4Td7 for ; Thu, 14 Nov 2019 10:47:49 +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 051aba0b; Thu, 14 Nov 2019 11:47:47 +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=1QNPXjq+TCVIKRNqmACln3nHGC8=; b=ol5NdMCVyAtKQqgt12Og6iOSiZ9Y M0q6NGGRDaiP5s0h8/mLGJZbRJ1/DwYI5N7sbcMws7QPwgPTFvu5wfhhLQPeeRKE KJwL1co1zBeogy5iBpVBWGqSknRTcdHv8dTnpGbgkq7LPz0ArVZZR/d7nO0NgYt7 yKul8WT/mUTAT0g= 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=mTfXYthFg/m1t2pse6aqhgL9NFLbDZ11ajZT3uFOktQlpzIbf9nHv2or 1CEC1NswwfF4ttxvuGU55Kmeyd7gnCUZWNW0J0M+exbO+mbF6twuL7HCrnUa2Jfo 7WYwNSmo7yf7uF8XQ6ziiS409cidmo+5efHXUN+EuaHE0Vbu+z8= Received: from sonic.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 7f4bb7c0 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 14 Nov 2019 11:47:47 +0100 (CET) Date: Thu, 14 Nov 2019 11:47:46 +0100 From: Emmanuel Vadot To: ticso@cicely.de Cc: Bernd Walter , John-Mark Gurney , freebsd-arm@freebsd.org Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-Id: <20191114114746.f40376da10cd8ac7c8efc349@bidouilliste.com> In-Reply-To: <20191113222456.GC43404@cicely7.cicely.de> References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113220928.GZ43404@cicely7.cicely.de> <20191113222456.GC43404@cicely7.cicely.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 47DJ914VY9z4Td7 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=ol5NdMCV; dmarc=none; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-1.46 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.96)[-0.959,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-1.00)[-0.995,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.39)[ip: (-0.59), ipnet: 212.83.160.0/19(2.43), asn: 12876(0.12), country: FR(-0.00)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2019 10:47:51 -0000 On Wed, 13 Nov 2019 23:24:56 +0100 Bernd Walter wrote: > On Wed, Nov 13, 2019 at 11:09:28PM +0100, Bernd Walter wrote: > > On Wed, Nov 13, 2019 at 08:53:43AM +0100, Bernd Walter wrote: > > > On Tue, Nov 12, 2019 at 02:52:51PM -0800, John-Mark Gurney wrote: > > > > Bernd Walter wrote this message on Tue, Nov 12, 2019 at 23:16 +0100: > > > > > On Tue, Nov 12, 2019 at 08:09:38AM -0700, Klaus K=FCchemann via f= reebsd-arm wrote: > >=20 > > Looks like it didn't load the rk3399-rockpro64.dtb, which is on the fil= esystem > > and just tried A64 ones. > > The GENERIC kernel on the image seems to know the RK3399 at least. >=20 > No - those are just overlays. > I don't see where it loads the dtb - maybe u-boot gets it from the msdosfs > partition before any output, or it is just hidden between the control > sequences... Since you used the pine64 image as a base you probably wrote u-boot over the msdos partition so u-boot couldn't load the dtb from there and use the embedded dtb. I've never tested with the dtb from u-boot so it's might not be really supported. --=20 Emmanuel Vadot From owner-freebsd-arm@freebsd.org Thu Nov 14 13:21:41 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 131221A806D for ; Thu, 14 Nov 2019 13:21:41 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47DMZW1nGKz4JF1 for ; Thu, 14 Nov 2019 13:21:38 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id xAEDMNsU024257 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 14 Nov 2019 14:22:24 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1573737745; bh=Y4hIEe84OTKY7qEtu8FULVVSHtebTBD+/SYds3f5sHY=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=jtqIT+s8DgwLqM7QHWrjw8qwONZ5KMWjrIjMNReP8EmJTBRrMtThppZzlhza0v1p/ CSdLOw7v6s+PWomX5thxWO8iHLzyA8136ZQrhfXE1qDEl9CKeNjPnfk121xo81nCxa 0s5i1iyTvX2SwupzODxaufra85MyFplg24R8bKr0= Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id xAEDLUhA056212 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Nov 2019 14:21:30 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTP id xAEDLUQb077266; Thu, 14 Nov 2019 14:21:30 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id xAEDLTvt077265; Thu, 14 Nov 2019 14:21:29 +0100 (CET) (envelope-from ticso) Date: Thu, 14 Nov 2019 14:21:29 +0100 From: Bernd Walter To: Emmanuel Vadot Cc: ticso@cicely.de, Bernd Walter , freebsd-arm@freebsd.org Subject: Re: Choose between Raspberry Pi 4B 4GB and ROCKPro64 Message-ID: <20191114132128.GF43404@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <7b75e2ed23e334878fbb3c1d585ffc51.squirrel@10.1.1.11> <20191015220433.GS96402@funkthat.com> <20191112124539.GM43404@cicely7.cicely.de> <1573571378957-0.post@n6.nabble.com> <20191112221610.GN43404@cicely7.cicely.de> <20191112225251.GB4552@funkthat.com> <20191113075343.GP43404@cicely7.cicely.de> <20191113220928.GZ43404@cicely7.cicely.de> <20191113222456.GC43404@cicely7.cicely.de> <20191114114746.f40376da10cd8ac7c8efc349@bidouilliste.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191114114746.f40376da10cd8ac7c8efc349@bidouilliste.com> X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: 47DMZW1nGKz4JF1 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=jtqIT+s8; dmarc=none; spf=none (mx1.freebsd.org: domain of ticso@cicely7.cicely.de has no SPF policy when checking 195.149.99.3) smtp.mailfrom=ticso@cicely7.cicely.de X-Spamd-Result: default: False [-1.79 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; NEURAL_HAM_MEDIUM(-0.99)[-0.986,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.996,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2019 13:21:41 -0000 On Thu, Nov 14, 2019 at 11:47:46AM +0100, Emmanuel Vadot wrote: > On Wed, 13 Nov 2019 23:24:56 +0100 > Bernd Walter wrote: > > > On Wed, Nov 13, 2019 at 11:09:28PM +0100, Bernd Walter wrote: > > > On Wed, Nov 13, 2019 at 08:53:43AM +0100, Bernd Walter wrote: > > > > On Tue, Nov 12, 2019 at 02:52:51PM -0800, John-Mark Gurney wrote: > > > > > Bernd Walter wrote this message on Tue, Nov 12, 2019 at 23:16 +0100: > > > > > > On Tue, Nov 12, 2019 at 08:09:38AM -0700, Klaus Kchemann via freebsd-arm wrote: > > > > > > Looks like it didn't load the rk3399-rockpro64.dtb, which is on the filesystem > > > and just tried A64 ones. > > > The GENERIC kernel on the image seems to know the RK3399 at least. > > > > No - those are just overlays. > > I don't see where it loads the dtb - maybe u-boot gets it from the msdosfs > > partition before any output, or it is just hidden between the control > > sequences... > > Since you used the pine64 image as a base you probably wrote u-boot > over the msdos partition so u-boot couldn't load the dtb from there and > use the embedded dtb. I've never tested with the dtb from u-boot so > it's might not be really supported. Oh - u-boot.itb gets written at 8MB and is ~800k long. Reserved bootcode space on the used image is only 1MB. Ok - I will repartition and give it another test. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@freebsd.org Thu Nov 14 15:27:39 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 75B6C1AB019 for ; Thu, 14 Nov 2019 15:27:39 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47DQMt3DRsz3R6T for ; Thu, 14 Nov 2019 15:27:38 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f42.google.com with SMTP id x21so7254855ior.2 for ; Thu, 14 Nov 2019 07:27:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yFkz6ytME6aps9LbxsdfMraEolSQcDExCgHhau+5jnw=; b=tHSg5RQVlamp/UpLBJ6UVZb7FriL4TbQ1xty9lJcBtfEm7RTzL0cK8KUr7M/v/e9B0 GqzficiGZg4RBpAi1ZU+8/PMVHx1xmvV+Vzctq0jxUuiaQ4glrceYbttulXBWsfVOOwF 4djyKQENgxjFCa63exyHKKHYF+SOJbFXtqFzf/9HHgz8ACGiZVwUB1csl9JlxDFiWsFJ wz191NXmfcHtlXyHvnI0T/X+N3P8pHeROuPanH2Pxw7ewfCCGC2GGz0S1/X6zHrh9QNT e3BR1YMKOqfdU6l0J+8Zja0cX9QkpEQAUheccCRg75jjd/H6dE89IAlNPOKQ/VYtFWQW p4ag== X-Gm-Message-State: APjAAAWAPb9MAWRWMUu2TXuRmrW6D4EItosvKpCPmJDqY4ZkqYU7fYD6 8YRXbmJ+AJKx+DWR8iPot9iqaxRX2//BuLpkS82Oqw== X-Google-Smtp-Source: APXvYqwOqRwsPU0Uwx1T4/ix8nMguHV+l22Sbr4/qQeUY12e5HBfkEI3vlOEU+csAnJg1xKdCEyUqSGh0fyQQfOeyRI= X-Received: by 2002:a6b:f218:: with SMTP id q24mr8632634ioh.185.1573745257075; Thu, 14 Nov 2019 07:27:37 -0800 (PST) MIME-Version: 1.0 References: <20191111160303.GA61731@www.zefox.net> <7D522F39-7CCB-4678-BE12-506CE8122AC2@yahoo.com> In-Reply-To: <7D522F39-7CCB-4678-BE12-506CE8122AC2@yahoo.com> From: Ed Maste Date: Thu, 14 Nov 2019 06:40:55 -0500 Message-ID: Subject: Re: What is an invalid ASID ? To: Mark Millard Cc: bob prohaska , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47DQMt3DRsz3R6T X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.42 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-3.21 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[42.166.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; IP_SCORE(-2.21)[ip: (-5.84), ipnet: 209.85.128.0/17(-3.18), asn: 15169(-1.99), country: US(-0.05)]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; FREEMAIL_TO(0.00)[yahoo.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[42.166.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2019 15:27:39 -0000 On Mon, 11 Nov 2019 at 14:47, Mark Millard via freebsd-arm wrote: > > Address Space ID (ASID) Yes this is the correct acronym; ASID support was just added to FreeBSD/arm64 on Nov 3 (r354286). I tried it on an eMAG system before and after commit with both buildworlds and full (33k queued package) poudriere runs and saw no issue. > It looks like a backtrace from such a panic might be of interest to the > folks dealing with such areas. Yes indeed. From owner-freebsd-arm@freebsd.org Thu Nov 14 16:05:54 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4A7D61AC2EE for ; Thu, 14 Nov 2019 16:05:54 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47DRD00s27z3GgR; Thu, 14 Nov 2019 16:05:51 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id xAEG5cLR075198 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 14 Nov 2019 08:05:38 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id xAEG5bPa075197; Thu, 14 Nov 2019 08:05:37 -0800 (PST) (envelope-from fbsd) Date: Thu, 14 Nov 2019 08:05:37 -0800 From: bob prohaska To: Ed Maste Cc: Mark Millard , "freebsd-arm@freebsd.org" , bob prohaska Subject: Re: What is an invalid ASID ? Message-ID: <20191114160537.GB72615@www.zefox.net> References: <20191111160303.GA61731@www.zefox.net> <7D522F39-7CCB-4678-BE12-506CE8122AC2@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 47DRD00s27z3GgR X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [3.65 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; IP_SCORE(0.08)[ip: (0.32), ipnet: 50.1.16.0/20(0.16), asn: 7065(-0.04), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[zefox.net]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_SPAM_MEDIUM(0.29)[0.287,0]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.38)[0.385,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[]; FREEMAIL_CC(0.00)[yahoo.com] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2019 16:05:54 -0000 On Thu, Nov 14, 2019 at 06:40:55AM -0500, Ed Maste wrote: > On Mon, 11 Nov 2019 at 14:47, Mark Millard via freebsd-arm > wrote: > > > It looks like a backtrace from such a panic might be of interest to the > > folks dealing with such areas. > > Yes indeed. The panic has not recurred so far. If it does, are there any special measures to recover useful information? I know enough to type bt at the debugger prompt, but that's all. Thanks for reading! bob prohaska From owner-freebsd-arm@freebsd.org Fri Nov 15 02:07:43 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2D9941B9239 for ; Fri, 15 Nov 2019 02:07:43 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47DhZP4zj4z47yh; Fri, 15 Nov 2019 02:07:41 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id xAF27eUr076665 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 14 Nov 2019 18:07:41 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id xAF27edv076664; Thu, 14 Nov 2019 18:07:40 -0800 (PST) (envelope-from fbsd) Date: Thu, 14 Nov 2019 18:07:39 -0800 From: bob prohaska To: Ed Maste Cc: Mark Millard , "freebsd-arm@freebsd.org" , bob prohaska Subject: Re: What is an invalid ASID ? Message-ID: <20191115020739.GA76610@www.zefox.net> References: <20191111160303.GA61731@www.zefox.net> <7D522F39-7CCB-4678-BE12-506CE8122AC2@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 47DhZP4zj4z47yh X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [3.10 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; IP_SCORE(0.08)[ip: (0.32), ipnet: 50.1.16.0/20(0.16), asn: 7065(-0.04), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[zefox.net]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_SPAM_MEDIUM(0.06)[0.063,0]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.06)[0.059,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[]; FREEMAIL_CC(0.00)[yahoo.com] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 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 Nov 2019 02:07:43 -0000 On Thu, Nov 14, 2019 at 06:40:55AM -0500, Ed Maste wrote: > On Mon, 11 Nov 2019 at 14:47, Mark Millard via freebsd-arm > wrote: > > > > Address Space ID (ASID) > > Yes this is the correct acronym; ASID support was just added to > FreeBSD/arm64 on Nov 3 (r354286). I tried it on an eMAG system before > and after commit with both buildworlds and full (33k queued package) > poudriere runs and saw no issue. > > > It looks like a backtrace from such a panic might be of interest to the > > folks dealing with such areas. > > Yes indeed. Ok, here we go 8-( This is on 13.0-CURRENT (GENERIC) #11 r354632 compiling r354667 with no alterations. panic: invalid ASID cpuid = 1 time = 1573782085 KDB: stack backtrace: db_trace_self() at db_trace_self_wrapper+0x28 pc = 0xffff0000007289bc lr = 0xffff000000103df4 sp = 0xffff00005191d0e0 fp = 0xffff00005191d2f0 db_trace_self_wrapper() at vpanic+0x18c pc = 0xffff000000103df4 lr = 0xffff0000003fe430 sp = 0xffff00005191d300 fp = 0xffff00005191d3b0 vpanic() at panic+0x44 pc = 0xffff0000003fe430 lr = 0xffff0000003fe1e0 sp = 0xffff00005191d3c0 fp = 0xffff00005191d440 panic() at pmap_remove_all+0x70c pc = 0xffff0000003fe1e0 lr = 0xffff00000073ad24 sp = 0xffff00005191d450 fp = 0xffff00005191d4c0 pmap_remove_all() at vm_page_try_remove_all+0x80 pc = 0xffff00000073ad24 lr = 0xffff0000006df7f4 sp = 0xffff00005191d4d0 fp = 0xffff00005191d4f0 vm_page_try_remove_all() at vm_pageout_worker+0x93c pc = 0xffff0000006df7f4 lr = 0xffff0000006e3728 sp = 0xffff00005191d500 fp = 0xffff00005191d8d0 vm_pageout_worker() at vm_pageout+0x1b0 pc = 0xffff0000006e3728 lr = 0xffff0000006e2dd8 sp = 0xffff00005191d8e0 fp = 0xffff00005191d940 vm_pageout() at fork_exit+0x7c pc = 0xffff0000006e2dd8 lr = 0xffff0000003be784 sp = 0xffff00005191d950 fp = 0xffff00005191d980 fork_exit() at fork_trampoline+0x10 pc = 0xffff0000003be784 lr = 0xffff000000744b0c sp = 0xffff00005191d990 fp = 0x0000000000000000 KDB: enter: panic [ thread pid 21 tid 100066 ] Stopped at 0 db> bt Tracing pid 21 tid 100066 td 0xfffffd0000d85560 db_trace_self() at db_stack_trace+0xf8 pc = 0xffff0000007289bc lr = 0xffff000000101238 sp = 0xffff00005191ccb0 fp = 0xffff00005191cce0 db_stack_trace() at db_command+0x228 pc = 0xffff000000101238 lr = 0xffff000000100eb0 sp = 0xffff00005191ccf0 fp = 0xffff00005191cdd0 db_command() at db_command_loop+0x58 pc = 0xffff000000100eb0 lr = 0xffff000000100c58 sp = 0xffff00005191cde0 fp = 0xffff00005191ce00 db_command_loop() at db_trap+0xf4 pc = 0xffff000000100c58 lr = 0xffff000000103f5c sp = 0xffff00005191ce10 fp = 0xffff00005191d030 db_trap() at kdb_trap+0x1d8 pc = 0xffff000000103f5c lr = 0xffff0000004469c8 sp = 0xffff00005191d040 fp = 0xffff00005191d0f0 kdb_trap() at do_el1h_sync+0xf4 pc = 0xffff0000004469c8 lr = 0xffff000000744d80 sp = 0xffff00005191d100 fp = 0xffff00005191d130 do_el1h_sync() at handle_el1h_sync+0x78 pc = 0xffff000000744d80 lr = 0xffff00000072b078 sp = 0xffff00005191d140 fp = 0xffff00005191d250 handle_el1h_sync() at kdb_enter+0x34 pc = 0xffff00000072b078 lr = 0xffff000000446014 sp = 0xffff00005191d260 fp = 0xffff00005191d2f0 kdb_enter() at vpanic+0x1a8 pc = 0xffff000000446014 lr = 0xffff0000003fe44c sp = 0xffff00005191d300 fp = 0xffff00005191d3b0 vpanic() at panic+0x44 pc = 0xffff0000003fe44c lr = 0xffff0000003fe1e0 sp = 0xffff00005191d3c0 fp = 0xffff00005191d440 panic() at pmap_remove_all+0x70c pc = 0xffff0000003fe1e0 lr = 0xffff00000073ad24 sp = 0xffff00005191d450 fp = 0xffff00005191d4c0 pmap_remove_all() at vm_page_try_remove_all+0x80 pc = 0xffff00000073ad24 lr = 0xffff0000006df7f4 sp = 0xffff00005191d4d0 fp = 0xffff00005191d4f0 vm_page_try_remove_all() at vm_pageout_worker+0x93c pc = 0xffff0000006df7f4 lr = 0xffff0000006e3728 sp = 0xffff00005191d500 fp = 0xffff00005191d8d0 vm_pageout_worker() at vm_pageout+0x1b0 pc = 0xffff0000006e3728 lr = 0xffff0000006e2dd8 sp = 0xffff00005191d8e0 fp = 0xffff00005191d940 vm_pageout() at fork_exit+0x7c pc = 0xffff0000006e2dd8 lr = 0xffff0000003be784 sp = 0xffff00005191d950 fp = 0xffff00005191d980 fork_exit() at fork_trampoline+0x10 pc = 0xffff0000003be784 lr = 0xffff000000744b0c sp = 0xffff00005191d990 fp = 0x0000000000000000 db> I don't know enough to do more that type bt at the prompt. Please let me know if better-considered actions exist. Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Fri Nov 15 03:54:48 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 31BC91BB8B4 for ; Fri, 15 Nov 2019 03:54:48 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Dkxy6QPHz49rb for ; Fri, 15 Nov 2019 03:54:46 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: by mail-qk1-x732.google.com with SMTP id d13so7071060qko.3 for ; Thu, 14 Nov 2019 19:54:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=4hJykgX95luN3qFpyvxgms8zcTB8AUV3GvUHrhNQMEA=; b=SaxoJGjQNSs90N/WmntS/UYpiy37t4907z43EDmsfoShsnHcKi8c7u3Ge9DTPACAwf oMNBvAG0QMAysxe1f/d+kv/mvUq0y2MmgDow90i9i+fXiUJX0mV0XqX5BScKaHQ0BDBg JXTu+v8/N9TegwlnBzDLg4lOWoKUnmAZCF9osVKK5Z+IbvBRSav2D6CY/a+WDZ3RMRbZ hx51vv152w0WliRsGh+9TZ8AvLQQ8vwk7HmQrVqQ9i6JqxslA9W01uS2gwTinJHXn0h8 XexSe03bXYyGzhwZPmD15RvhmGya7dabNaC32a4KwbstKY3oE3E6aGglFFWRfyAmveul ZATQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=4hJykgX95luN3qFpyvxgms8zcTB8AUV3GvUHrhNQMEA=; b=jmQrIrb+lq1fvPGhUzrGN8fi7+oidduU6OdODRD0aqBo+LHYJ2ArLxW89lEr1fupH7 Tzeb3Xn45dUniyEL0ylusHXKjotysSM9F6jZC+FQcD2BLdhT/Whff2OU9pa7wtfwMxi6 juvjtOFZiCCpyHcgdvE6mlkPx2XptXzuhgz5uvPGEmTkgGQPcIGR91RSAjVFgLNnYtih 3ueCuw9FzVD8yRgksmdSmVbWaRrSIB3SS8jkEyF7T+uvYqnSSXP1XGuYWRLDFfWADMEt Gp8CFyhWRaSevNIjk7oofTxy7I7tfNlFeuRMPuxv3dinwN5zJq1xm7FKpFWcwMsLXRBN aFPA== X-Gm-Message-State: APjAAAVHEcj+5he1buopLKyDI3BgihTSUbWQID5pV7Y/NQVPqrZJFFCj A/c3UYndlMeS4qCxyy4qHFgHl1wrwEzB6S0M4y3hF0rZ2S3S7zVv9x0S9WQ08ScCvo9FmiwzAN9 s6jCypCV4N9lghQE4mGehnqNMVtiz2CrGgq3nmKOSIrdSsVhaAOwX/R8Ma068VH7ODX3GSClIEc 0FMg== X-Google-Smtp-Source: APXvYqwHmUPxh3YrB3fs+VnOxFuA0BN69SntJSEmtRLgl93o+y+AA+o+Bu/fxeDon9cxxEcLtsmLhQ== X-Received: by 2002:a05:620a:20c5:: with SMTP id f5mr10783152qka.226.1573790085045; Thu, 14 Nov 2019 19:54:45 -0800 (PST) Received: from mutt-hbsd ([63.88.83.120]) by smtp.gmail.com with ESMTPSA id h14sm192824qkg.53.2019.11.14.19.54.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Nov 2019 19:54:44 -0800 (PST) Date: Thu, 14 Nov 2019 22:54:44 -0500 From: Shawn Webb To: freebsd-arm@freebsd.org Subject: FreeBSD 13-CURRENT r354699 boot failure Message-ID: <20191115035444.ljjefldwydgkbqcc@mutt-hbsd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="h5vmmotx6xqi4bxo" Content-Disposition: inline X-Operating-System: FreeBSD mutt-hbsd 13.0-CURRENT-HBSD FreeBSD 13.0-CURRENT-HBSD X-PGP-Key: http://pgp.mit.edu/pks/lookup?op=vindex&search=0xFF2E67A277F8E1FA User-Agent: NeoMutt/20180716 X-Rspamd-Queue-Id: 47Dkxy6QPHz49rb X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hardenedbsd.org header.s=google header.b=SaxoJGjQ; dmarc=none; spf=pass (mx1.freebsd.org: domain of shawn.webb@hardenedbsd.org designates 2607:f8b0:4864:20::732 as permitted sender) smtp.mailfrom=shawn.webb@hardenedbsd.org X-Spamd-Result: default: False [-6.85 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[hardenedbsd.org:s=google]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[hardenedbsd.org]; DKIM_TRACE(0.00)[hardenedbsd.org:+]; RCVD_IN_DNSWL_NONE(0.00)[2.3.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; IP_SCORE(-2.75)[ip: (-9.41), ipnet: 2607:f8b0::/32(-2.32), asn: 15169(-1.99), country: US(-0.05)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 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 Nov 2019 03:54:48 -0000 --h5vmmotx6xqi4bxo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey all, I'm trying to figure out why FreeBSD fails to boot on the ThunderX2 system The HardenedBSD Foundation owns, a Gigabyte R181-T90 Rev 100. I've posted the serial ipmi log here: https://gist.github.com/lattera/1003a8b2cebf791b479a0d1c319156ce I'm running BIOS F26 and BMC firmware 1.95. Punish me with patches and test cases. Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD XMPP+OTR: lattera@is.a.hacker.sx GPG Key ID: 0xFF2E67A277F8E1FA GPG Key Fingerprint: D206 BB45 15E0 9C49 0CF9 3633 C85B 0AF8 AB23 0FB2 --h5vmmotx6xqi4bxo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAl3OIX4ACgkQ/y5nonf4 4frZQw/8DVZu9KlDwl10w7CKYnf+MVzkDRTBL4HHLbkL9ynaouAZO0j5b7jNaHJI LoIiGI3FW3ct8k2/s6dwMk5IyVlyV60WC65+MJpC89MC6VvaMG2fiqUi8G9hLwkE SgkycUmqZPz+kxJ54JvHL5DqrNGDqbDOTL/S37di/ix5nGBDjkx5jotVex+E7u55 gjLZ9Kp2riy2dVHEFONbvR0c4zpLcAI+CsG1zR/KHZyzz0YdyeEBVRHWhib3X1bj TjzRUrZubzWeDTPtvt2K8kbzQdMZsMj3T7vabefyL9h4HHcTGS2fbLJy9iTECfyg oe7s/5Vg8MamO8NJcKmOB6KUbvnkdoTr6zWEJQb5xTSbMKNFm8ffoU/q4ef+IyeJ SY9JNOBeUjont0NJw0NasUaeMm1NIwXziQEB52tnMtCpsC8Fxhf0K/dIUduaNQDS BJoQXsyyrSwM53xrErnfbkapoQOaAYWxUYm0QY8b95VsVZPPtiss2eDDMDbIUHeQ hnuFuCrtmAdT2b9K+pZBvpjTCl5WwzR7cfEnVNFu1xzrJpPfWYMtDlDrtpAsazHj zhmrcVN0UNdxIRiPHxNWRi44qmvdODFRV7GXfXfWwF2l5Outm5vkQhmChGt3BUk2 wpfnNE6QH+8iPNGrq9sZ657HSZ65TPpuA7b5rI7IDsww7wxsiWo= =v4US -----END PGP SIGNATURE----- --h5vmmotx6xqi4bxo-- From owner-freebsd-arm@freebsd.org Fri Nov 15 17:08:08 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7C3D51AB188 for ; Fri, 15 Nov 2019 17:08:08 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47F4YM4HChz48v0 for ; Fri, 15 Nov 2019 17:08:07 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f44.google.com with SMTP id x21so11227660ior.2 for ; Fri, 15 Nov 2019 09:08:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YXPZrsWU/JYnuYmM0aB60z5Yg5xoUake36yeAAh2J44=; b=QfkdIm0n9hoEISrj8lp04KIvFxkS4hLKgGtrFuciMKht7nSdYPq1n2YeFZlyf3FMTR 031dsA6+Vt0P8y2wMo4SfbC/oSqUG/FEMcA3uSrXMsNQsS8zpgiHUDkiSfn6xa0ndF0g DWKGOHWmmsEFzSBnP9t84PFh15yzHC9enwuA/Ey8oSrYFsbTpmFhrYy4eNdjrHPBG+3v JR5NklmVpWY4nXkmxUH5nTVJU/gZvhJ5MPvD1GiIjSHmCLrXCdS8Hu2XZc+w6dMM66is wM9R4M+LE60o7X7Pns7AI0GL761zKd7nJNtHSzrRUYkQJ2Ts9+7iS+5hQujk0+tkpXPr g5EQ== X-Gm-Message-State: APjAAAW20VBhDl3BB3Zw2SOGwYv08QRhjVDNBOF1FeGbWh+KIA046tln mCDFxN2nJb3PjgG2Mm98juvPuW9BviiM4TIICP+IVA== X-Google-Smtp-Source: APXvYqwWVHUU3jwhcuHalpwZLryMbpy0t3qj3BaW7TlN8OuvXJPOw/UQt4nB3+2qxxrRXU4ZcPDbGXp43smWAkPNTB4= X-Received: by 2002:a6b:b511:: with SMTP id e17mr1584280iof.18.1573837686182; Fri, 15 Nov 2019 09:08:06 -0800 (PST) MIME-Version: 1.0 References: <20191115035444.ljjefldwydgkbqcc@mutt-hbsd> In-Reply-To: <20191115035444.ljjefldwydgkbqcc@mutt-hbsd> From: Ed Maste Date: Fri, 15 Nov 2019 08:21:26 -0500 Message-ID: Subject: Re: FreeBSD 13-CURRENT r354699 boot failure To: Shawn Webb Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47F4YM4HChz48v0 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.44 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-3.72 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[44.166.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.72)[ip: (-3.39), ipnet: 209.85.128.0/17(-3.18), asn: 15169(-1.98), country: US(-0.05)]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[44.166.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 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 Nov 2019 17:08:08 -0000 On Thu, 14 Nov 2019 at 22:54, Shawn Webb wrote: > > Hey all, > > I'm trying to figure out why FreeBSD fails to boot on the ThunderX2 > system The HardenedBSD Foundation owns, a Gigabyte R181-T90 Rev 100. FreeBSD runs fine on the ThunderX2 I have here, which reports: UEFI firmware (version TX2-FW-Release-7.1-build_03 built at 01:02:16 on Sep 7 2018 From owner-freebsd-arm@freebsd.org Fri Nov 15 18:18:46 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 59AFB1AC7E4 for ; Fri, 15 Nov 2019 18:18:46 +0000 (UTC) (envelope-from camera9@hshcctv.com) Received: from smtpironprot-97-33.sina.net (mta319.sina.net [202.108.3.191]) by mx1.freebsd.org (Postfix) with ESMTP id 47F66n2x8Bz4KQM for ; Fri, 15 Nov 2019 18:18:40 +0000 (UTC) (envelope-from camera9@hshcctv.com) Received: from unknown (HELO smtp-97-29.sina.net)([172.16.97.29]) by sina.net with SMTP id 5DCEDAF70001B7C4; Fri, 16 Nov 2019 01:05:59 +0800 (CST) X-Sender: camera9@hshcctv.com X-SMAIL-MID: 4377A921C29F444480754B255D1DED5D Received: from unknown (HELO LocalHost)([112.94.171.93]) by sina.net with ESMTP id 5DCEDAF600009A65; Fri, 16 Nov 2019 01:05:59 +0800 (CST) X-Sender: camera9@hshcctv.com X-Auth-ID: camera9@hshcctv.com X-SMAIL-MID: 2532DDBA8AB942A28D77524A058022C6 X-SMAIL-UIID: 2532DDBA8AB942A28D77524A058022C6-20191116-010559 Message-ID: <4579246902C082E62BC9E9417E3882A3DB2FF4FF2@HSHCCTV.COM> Date: Sat, 16 Nov 2019 0:03:51 +0800 From: sunivision Reply-To: To: Subject: RE: Super hot Baby camera monitor USD9.5 / Sunivision-CAT MIME-Version: 1.0 X-Priority: 1 X-Mailer: Joinf MailSystem 8.0 X-Rspamd-Queue-Id: 47F66n2x8Bz4KQM X-Spamd-Bar: +++++++++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 202.108.3.191 is neither permitted nor denied by domain of camera9@hshcctv.com) smtp.mailfrom=camera9@hshcctv.com X-Spamd-Result: default: False [13.73 / 15.00]; HAS_REPLYTO(0.00)[sunivision9@sunivision.com]; RWL_MAILSPIKE_GOOD(0.00)[191.3.108.202.rep.mailspike.net : 127.0.0.18]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; DATE_IN_FUTURE(4.00)[]; RCVD_COUNT_THREE(0.00)[3]; MIME_BASE64_TEXT(0.10)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~,4:~]; ASN(0.00)[asn:4808, ipnet:202.108.0.0/18, country:CN]; MID_RHS_MATCH_FROM(0.00)[]; HAS_X_PRIO_ONE(0.00)[1]; ARC_NA(0.00)[]; FAKE_REPLY(1.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/related,multipart/alternative,text/plain]; MIME_BAD_ATTACHMENT(1.60)[jpg]; DMARC_NA(0.00)[hshcctv.com]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; RCPT_COUNT_ONE(0.00)[1]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[191.3.108.202.list.dnswl.org : 127.0.5.0]; IP_SCORE(1.53)[ip: (4.47), ipnet: 202.108.0.0/18(1.20), asn: 4808(1.96), country: CN(0.02)]; GREYLIST(0.00)[pass,body] X-Spam: Yes Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 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 Nov 2019 18:18:46 -0000 DQpIZWxsbyXlrqLmiLfogZTns7vkurrlkI3np7AsDQoNCkhlcmUgc2hhcmUgQVVUTyBUUkFDS0lO RyBXSUZJIENBTUVSQVMgUFJPTU9USU9OLiBQbGVhc2Ugc2VlIHRoZSBmb2xsb3cgaW4gZGV0YWls cyEgDQoNCjFNUCBvbmx5IFVTRDkuNS9QQyBhbmQgMk1QIG9ubHkgVVNEMTEuNS9QQyBiYXNlIG9u IG1vcSA1MHBjcy4gDQogDQpMb29rIGZvciB0byB5b3VyIHJlcGx5IHNvb24uIA0KDQpUaGFua3Mg YW5kIGJlc3QgcmVnYXJkcyEgDQoNCkNhdCANCg0KUFM6IA0KMiBZRUFSIFdBUlJBTlRZIGFuZCB3 ZWxjb21lIHNhbXBsZSBvcmRlciBmb3IgdGVzdGluZy4gU2FtcGxlIGRlbGl2ZXJ5IHRpbWUgMn43 IERBWVMuIE9FTSBvciBPRE0gaXMgd2VsY29tZWQuIA0KDQoNCg0KU3VuaXZpc2lvbiBUZWNobm9s b2d5IERldmVsb3BtZW50IENvLiwgTHRkICANCkFkZDogRmxvb3IgMywgQnVpbGRpbmcgQiwgVGFv eXVhbiBJbmR1c3RyaWFsIFBhcmssIEh1YW5ncHUgRWFzdCBEZXZlbG9wbWVudCBab25lLCBHdWFu Z3pob3UsIENoaW5hIA0KVEVMOiArODYtMjAtMjgyMTc2NTktODI4ICAgICBGQVg6ICs4Ni0yMC0y ODIxNzY1Ng0KRW1haWw6IHN1bml2aXNpb24zQHN1bml2aXNpb24uY29tOyBtb25pdG9yQHN1bml2 aXNpb24uY29tIA0KTW9iaWxlICYgV2hhdHNBcHAgJiBXZWNoYXQ6IDAwODYgMTg5MDIyODUwNTgN ClRyYWRlTWFuYWdlciBJRDogIGd6c3VuaXZpc2lvbiANClNreXBlIElEOiBzdW5pdmlzaW9uMyAg ICAgIFFROiAyMjU4MDc2ODk1ICANCldlYjogd3d3LnN1bml2aXNpb24uY29tIA== From owner-freebsd-arm@freebsd.org Fri Nov 15 18:53:51 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 59CD51ADEE6 for ; Fri, 15 Nov 2019 18:53:51 +0000 (UTC) (envelope-from alc@rice.edu) Received: from mx0b-0010f301.pphosted.com (mx0b-0010f301.pphosted.com [148.163.153.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.pphosted.com", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47F6vK69Pqz4PsX for ; Fri, 15 Nov 2019 18:53:49 +0000 (UTC) (envelope-from alc@rice.edu) Received: from pps.filterd (m0102860.ppops.net [127.0.0.1]) by mx0b-0010f301.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xAFIrbZd020053 for ; Fri, 15 Nov 2019 12:53:47 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rice.edu; h=to : from : subject : message-id : date : mime-version : content-type : content-transfer-encoding; s=ricemail; bh=Rd/O80MLvYJIR4Y2aU6GwJb4iadf72b54e3eQehsos4=; b=AGSIwAGPV7fy8j5d7eXcEqUEGLPI0aOJmp4bSXr7yEJY5OobI5Xv7TjuOF6NlAV9aS6T mSyAE9FXyVZUtX4LJRwID2vNYbgfvEMNgxawUaqc+ZLMZUr2bPTwBhR1LV45YFx5UxLy AaXfRUJwpS79RL4OQNSU51CuB8MchiHOCgIPOJqgxPMgWslhLHZM3yXBfB+auCL//7bs ZgyMahWLgO6YatlgnRFhffcPYLjLJVo7dJ5ML7hOVnFET71EK6m74B1Qgb2tXKg9GdMH MZcU5tA+jE7xJiQytiDcyt4soijHpVnsDr7Y1xwrqZ8gpMoW0u8aF7MOjTUMFzPHHpBX Zw== Received: from mh3.mail.rice.edu (mh3.mail.rice.edu [128.42.199.10]) by mx0b-0010f301.pphosted.com with ESMTP id 2w5uq506ha-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 15 Nov 2019 12:53:47 -0600 Received-X: from mh3.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh3.mail.rice.edu (Postfix) with ESMTP id D26C24032E for ; Fri, 15 Nov 2019 12:53:46 -0600 (CST) Received-X: from mh3.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh3.mail.rice.edu (Postfix) with ESMTP id D1593401BF for ; Fri, 15 Nov 2019 12:53:46 -0600 (CST) X-Virus-Scanned: by amavis-2.7.0 at mh3.mail.rice.edu, auth channel Received-X: from mh3.mail.rice.edu ([127.0.0.1]) by mh3.mail.rice.edu (mh3.mail.rice.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id jSiPkM4RHDQH for ; Fri, 15 Nov 2019 12:53:46 -0600 (CST) Received: from 108-254-203-201.lightspeed.hstntx.sbcglobal.net (108-254-203-201.lightspeed.hstntx.sbcglobal.net [108.254.203.201]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: alc) by mh3.mail.rice.edu (Postfix) with ESMTPSA id A217F40337 for ; Fri, 15 Nov 2019 12:53:46 -0600 (CST) To: freebsd-arm@freebsd.org From: Alan Cox Subject: "Invalid ASID" Patch Message-ID: <3ef09b7e-f7cf-bb10-1a14-a01b0c86b486@rice.edu> Date: Fri, 15 Nov 2019 12:53:46 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-15_06:2019-11-15,2019-11-15 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=44 bulkscore=0 impostorscore=0 malwarescore=0 mlxscore=44 lowpriorityscore=0 mlxlogscore=10 clxscore=1011 phishscore=0 adultscore=0 priorityscore=1501 suspectscore=0 spamscore=44 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1911150167 X-Rspamd-Queue-Id: 47F6vK69Pqz4PsX X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rice.edu header.s=ricemail header.b=AGSIwAGP; dmarc=pass (policy=none) header.from=rice.edu; spf=pass (mx1.freebsd.org: domain of alc@rice.edu designates 148.163.153.244 as permitted sender) smtp.mailfrom=alc@rice.edu X-Spamd-Result: default: False [-8.36 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[rice.edu:s=ricemail]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[rice.edu.dwl.dnswl.org : 127.0.11.2]; R_SPF_ALLOW(-0.20)[+a:a32.spf.rice.edu]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[rice.edu:+]; DMARC_POLICY_ALLOW(-0.50)[rice.edu,none]; IP_SCORE(-3.26)[ip: (-9.83), ipnet: 148.163.152.0/22(-4.67), asn: 22843(-1.75), country: US(-0.05)]; RCVD_IN_DNSWL_LOW(-0.10)[244.153.163.148.list.dnswl.org : 127.0.3.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:22843, ipnet:148.163.152.0/22, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 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 Nov 2019 18:53:51 -0000 A patch for the recent "Invalid ASID" assertion failure can be found at https://reviews.freebsd.org/D22388 From owner-freebsd-arm@freebsd.org Sat Nov 16 03:59:45 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 39D8F1B8FC7 for ; Sat, 16 Nov 2019 03:59:45 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47FM1C1zM8z4VwY for ; Sat, 16 Nov 2019 03:59:42 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id xAG3xau2080755 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 15 Nov 2019 19:59:37 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id xAG3xakt080754; Fri, 15 Nov 2019 19:59:36 -0800 (PST) (envelope-from fbsd) Date: Fri, 15 Nov 2019 19:59:36 -0800 From: bob prohaska To: Alan Cox Cc: freebsd-arm@freebsd.org, bob prohaska Subject: Re: "Invalid ASID" Patch Message-ID: <20191116035936.GA80744@www.zefox.net> References: <3ef09b7e-f7cf-bb10-1a14-a01b0c86b486@rice.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3ef09b7e-f7cf-bb10-1a14-a01b0c86b486@rice.edu> User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 47FM1C1zM8z4VwY X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net X-Spamd-Result: default: False [0.54 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.54)[-0.543,0]; WWW_DOT_DOMAIN(0.50)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; IP_SCORE(0.08)[ip: (0.32), ipnet: 50.1.16.0/20(0.16), asn: 7065(-0.04), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.89)[-0.893,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Nov 2019 03:59:45 -0000 On Fri, Nov 15, 2019 at 12:53:46PM -0600, Alan Cox wrote: > A patch for the recent "Invalid ASID" assertion failure can be found at > https://reviews.freebsd.org/D22388 > The website reports "This revision is now accepted and ready to land". Could someone please translate? Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Sat Nov 16 04:19:39 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 460C31B954E for ; Sat, 16 Nov 2019 04:19:39 +0000 (UTC) (envelope-from alc@rice.edu) Received: from mx0b-0010f301.pphosted.com (mx0b-0010f301.pphosted.com [148.163.153.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.pphosted.com", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47FMS94JNRz44Js for ; Sat, 16 Nov 2019 04:19:37 +0000 (UTC) (envelope-from alc@rice.edu) Received: from pps.filterd (m0102859.ppops.net [127.0.0.1]) by mx0b-0010f301.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xAG4FJPT014852; Fri, 15 Nov 2019 22:19:35 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rice.edu; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type; s=ricemail; bh=wtvlAeUMpP+zYRFHxE9maXhJXO7fEcRab1T+dt1FAEs=; b=IabAkf18JUaNF4YJsnafpPam4yR2QL7uJQX6G0gk4nKIHE2kT627qqAEDvZxQnGMBxVA LOG8URGUK7lvsgaPGW2dow5nm6FgK1L8yuUOynoZG2Oc52RcAst8KbrTggWKBkFtpKq9 Um0zKmhSAyRFIhUSX+X1BtSk3GD6uUNZ73Mks15PvkKZnIoaW02SjJ2EavMgNhYt6awM 6awuNIwH2L0XPzfGy/2WJgoxwIlqKnIYeJEkgOlEPqO445OHaHHVqEmhYFLbQyRUFbJ2 iGmy/2ZzrB60omrkUocdwN5o4tQ4t7rqjE7+lXJawJVS/KkmrPapznOeb+wi6DBAOXvS 8w== Received: from mh3.mail.rice.edu (mh3.mail.rice.edu [128.42.199.10]) by mx0b-0010f301.pphosted.com with ESMTP id 2wa9wgr01r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 Nov 2019 22:19:35 -0600 Received-X: from mh3.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh3.mail.rice.edu (Postfix) with ESMTP id 8C4F740556; Fri, 15 Nov 2019 22:19:34 -0600 (CST) Received-X: from mh3.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh3.mail.rice.edu (Postfix) with ESMTP id 8B39E40553; Fri, 15 Nov 2019 22:19:34 -0600 (CST) X-Virus-Scanned: by amavis-2.7.0 at mh3.mail.rice.edu, auth channel Received-X: from mh3.mail.rice.edu ([127.0.0.1]) by mh3.mail.rice.edu (mh3.mail.rice.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id iR87NmKDMX8U; Fri, 15 Nov 2019 22:19:34 -0600 (CST) Received: from 108-254-203-201.lightspeed.hstntx.sbcglobal.net (108-254-203-201.lightspeed.hstntx.sbcglobal.net [108.254.203.201]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: alc) by mh3.mail.rice.edu (Postfix) with ESMTPSA id 4546940552; Fri, 15 Nov 2019 22:19:34 -0600 (CST) Subject: Re: "Invalid ASID" Patch To: bob prohaska Cc: freebsd-arm@freebsd.org References: <3ef09b7e-f7cf-bb10-1a14-a01b0c86b486@rice.edu> <20191116035936.GA80744@www.zefox.net> From: Alan Cox Message-ID: <5b390364-3a33-cc8e-ff88-a8b415510120@rice.edu> Date: Fri, 15 Nov 2019 22:19:33 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20191116035936.GA80744@www.zefox.net> Content-Type: multipart/mixed; boundary="------------78A81C0804880BD9F12E9B3F" Content-Language: en-US X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-15_08:2019-11-15,2019-11-15 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 mlxscore=0 malwarescore=0 priorityscore=1501 phishscore=0 lowpriorityscore=0 suspectscore=0 adultscore=0 spamscore=0 clxscore=1011 impostorscore=0 mlxlogscore=652 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1911160034 X-Rspamd-Queue-Id: 47FMS94JNRz44Js X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rice.edu header.s=ricemail header.b=IabAkf18; dmarc=pass (policy=none) header.from=rice.edu; spf=pass (mx1.freebsd.org: domain of alc@rice.edu designates 148.163.153.244 as permitted sender) smtp.mailfrom=alc@rice.edu X-Spamd-Result: default: False [-8.36 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[rice.edu:s=ricemail]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:a32.spf.rice.edu]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; DWL_DNSWL_MED(-2.00)[rice.edu.dwl.dnswl.org : 127.0.11.2]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[rice.edu:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[rice.edu,none]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[244.153.163.148.list.dnswl.org : 127.0.3.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:22843, ipnet:148.163.152.0/22, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-3.26)[ip: (-9.83), ipnet: 148.163.152.0/22(-4.67), asn: 22843(-1.75), country: US(-0.05)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Nov 2019 04:19:39 -0000 This is a multi-part message in MIME format. --------------78A81C0804880BD9F12E9B3F Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 11/15/19 9:59 PM, bob prohaska wrote: > On Fri, Nov 15, 2019 at 12:53:46PM -0600, Alan Cox wrote: >> A patch for the recent "Invalid ASID" assertion failure can be found at >> https://reviews.freebsd.org/D22388 >> > The website reports > "This revision is now accepted and ready to land". > > Could someone please translate? > > Thanks for reading, > > bob prohaska > That just means that the patch has received a positive review. I've attached the patch to this email.  Apply it to your source tree, recompile and reinstall a new kernel, and then retry your "buildworld". --------------78A81C0804880BD9F12E9B3F Content-Type: text/x-patch; charset=UTF-8; name="arm64_pmap_remove_all.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="arm64_pmap_remove_all.patch" Index: arm64/arm64/pmap.c =================================================================== --- arm64/arm64/pmap.c (revision 354585) +++ arm64/arm64/pmap.c (working copy) @@ -2879,11 +2879,12 @@ retry: pte = pmap_l2_to_l3(pde, pv->pv_va); tpte = pmap_load_clear(pte); - pmap_invalidate_page(pmap, pv->pv_va); if (tpte & ATTR_SW_WIRED) pmap->pm_stats.wired_count--; - if ((tpte & ATTR_AF) != 0) + if ((tpte & ATTR_AF) != 0) { + pmap_invalidate_page(pmap, pv->pv_va); vm_page_aflag_set(m, PGA_REFERENCED); + } /* * Update the vm_page_t clean and reference bits. --------------78A81C0804880BD9F12E9B3F-- From owner-freebsd-arm@freebsd.org Sat Nov 16 08:28:54 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 29EF81BEF04 for ; Sat, 16 Nov 2019 08:28:54 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47FSzn24Rnz4Gbh for ; Sat, 16 Nov 2019 08:28:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.nyi.freebsd.org (Postfix) id 3B7671BEF03; Sat, 16 Nov 2019 08:28:53 +0000 (UTC) Delivered-To: arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3B3A71BEF02 for ; Sat, 16 Nov 2019 08:28:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47FSzl0Hc8z4GYj for ; Sat, 16 Nov 2019 08:28:50 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:Date:Message-Id:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type:From; bh=4TSul/TY/RPFbxQGA3MvFzfiqZEPr8RQ+Nwboo15nnk=; b=DK+yaGGfwmxuZmF/knnlwkWzErZafSkOnt38AKqBjAmzBYTL/74GZXwxZU+IIoN+mc1oGNd5VG16nhLkA7KnLIxEmqMOwdcHIoooeLmDqWXphnj8X3fQHbx2msgLvCrk+321uI1+JplH/4v9NLYciEmnPTOAZmf0Xu3jwQXpD4bBQUjnu49HJwYcjdnF3CEAHKO4xDqMc9vSgPyPr+mxakdes50+1uzYoS3F1LfdXIomw7J9tWMcQngFVtxqwVP/vnHtylHfu6k4kdF8V0UF5RrXyppcP3skfOZCFHJwpi8hH5sTkkQnYLDy7TUf9nxMFiam0rIx/pWQnhEKQxylrQ==; Received: from macmini.bk.cs.huji.ac.il ([132.65.179.19]) by kabab.cs.huji.ac.il with esmtp id 1iVtRm-000CoJ-2V for arm@freebsd.org; Sat, 16 Nov 2019 10:28:46 +0200 From: Daniel Braniss Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Subject: watchdog on Allwinner/H3 (nanopi neo) has reset problem Message-Id: <35AC6900-E90E-465B-82DB-B56EEC53CCCC@cs.huji.ac.il> Date: Sat, 16 Nov 2019 10:28:45 +0200 To: arm@freebsd.org X-Mailer: Apple Mail (2.3601.0.10) X-Rspamd-Queue-Id: 47FSzl0Hc8z4GYj X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.huji.ac.il header.s=57791128 header.b=DK+yaGGf; dmarc=pass (policy=none) header.from=huji.ac.il; spf=none (mx1.freebsd.org: domain of danny@cs.huji.ac.il has no SPF policy when checking 132.65.116.210) smtp.mailfrom=danny@cs.huji.ac.il X-Spamd-Result: default: False [-3.16 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[cs.huji.ac.il:s=57791128]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.86)[ip: (-1.85), ipnet: 132.64.0.0/13(-1.40), asn: 378(-1.12), country: IL(0.05)]; DKIM_TRACE(0.00)[cs.huji.ac.il:+]; DMARC_POLICY_ALLOW(-0.50)[huji.ac.il,none]; RCVD_IN_DNSWL_NONE(0.00)[210.116.65.132.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:378, ipnet:132.64.0.0/13, country:IL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Nov 2019 08:28:54 -0000 the watchdogd works fine, if triggered (no pats) it reboots ok. the problem I'm having is when I do a shutdown/reboot, it either hangs = on the way down, or gets stuck starting the watchdog on the way up and only power cycling helps. at the moment my workaround is starting the watchdog by hand (not via = rc.conf) so that on the way down it=E2=80=99s not stopped, and so it does a clean reboot. anything I can do to help debug this? btw, there is a small issue in that it maxes out at 16sec, while the = closest 2^N is 8sec. thanks, danny From owner-freebsd-arm@freebsd.org Sat Nov 16 17:10:02 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B9F7E1A98C3 for ; Sat, 16 Nov 2019 17:10:02 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47FhY60Vc6z42Gv for ; Sat, 16 Nov 2019 17:10:01 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1573924200; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=D3KA2OSTfFBe5pBttYYQ/hyxvOm2AkXQgRpx/HjB/cRXX4VgJdrv0fAllY296zzZ6s7z/lsQli1bc MbIehK+MGOWUbVJHMVj4fk9cECaE0S/5itqYN8dTJ2ksiDYs07ClytYHegWE9FpRH4zi3XizmKlozI wggtC64tMu3G0PK3UqP0uVRrTdeAr3ts0iwwuclFnNS+2AhoQkPlXOvhEPw2OzVRyMMWdixRO4DGfF O3Ky1G/ra9AKShv0rIMqc1llMQHCrPEvHm2OWRZpRoAxeA/f/BlIl2uQpVVW+KJOlvLADZO5zB4euf ESL9/sr3ha4dhlK7CcOFUfinYFsJYFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=sxbKjpiMnFknvw6j+qrjXObY/Rb9Udig+hriUFUrrpI=; b=nNYXVGy7ZE6mxKLHPKtUeiu/Vupqd3aB6kIAAumE8PL9aOap3tWwtiTk4UAcvte8UJaKQSwVcABCd v9QkSt45iXncP2iycfemN6v6CLJYh62g6gsVZzjm9j2cTv1iKqIZArYV4Hn3KW6eX5RnzZyW2lwmAw 4kRZmbRxL1R/283OD0DfMewRy/CUS2iqHdhJxnN2JdDlDFvUd/nKsGbFSPYJ5dOiO7BO2HFgW9c845 clNHtmwdM8PalUnisQ9GmlL4PAKlN9tQICAvqX3lROFIJ6aK2xg3pKi4P7X1IWi2CUO/hz2023NraG S98TsBgMYeegBkn/seDyNnbJw0n2NpA== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=sxbKjpiMnFknvw6j+qrjXObY/Rb9Udig+hriUFUrrpI=; b=Smb7N9nhb1OVKuG5vAxTtTez1ViZY61DA2DdYKKmMQZQkKseoGGid1NwAmXiRNbfJOeJIA5CRC+Dn xGFhRUR+Vzkj/geAdzySMal/b6DlY0ph9PN8ePFo37ERoG/Bkvyf5+TC83Nwa/asXVZzhboJYS44Gr sBLqSu2qX+VcmdkaZ4VdcFl4TRXlXQPNN1miZ8maFd8cGp+eI9GTEGYFo9WP0pifTX05UwMrI77x/3 KJWqy7IRVBau3qYtQsH1omR92/a2vYT4P+687QjKN/aaRC/c1ywVZrA4rB0hPyPn1zlWzrK0+R7aVe SZpYkz8BB6/yG2L6N0H0u8QpqpLNlSA== X-MHO-RoutePath: aGlwcGll X-MHO-User: ea8d3522-0893-11ea-829e-79a40d15cccd X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id ea8d3522-0893-11ea-829e-79a40d15cccd; Sat, 16 Nov 2019 17:09:59 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id xAGH9vcl036177; Sat, 16 Nov 2019 10:09:57 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <6ef989c5bcf052cda46f96546b445656dd062a26.camel@freebsd.org> Subject: Re: "Invalid ASID" Patch From: Ian Lepore To: bob prohaska , Alan Cox Cc: freebsd-arm@freebsd.org Date: Sat, 16 Nov 2019 10:09:57 -0700 In-Reply-To: <20191116035936.GA80744@www.zefox.net> References: <3ef09b7e-f7cf-bb10-1a14-a01b0c86b486@rice.edu> <20191116035936.GA80744@www.zefox.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47FhY60Vc6z42Gv X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.91 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.91)[-0.914,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:16509, ipnet:54.148.0.0/15, country:US] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Nov 2019 17:10:02 -0000 On Fri, 2019-11-15 at 19:59 -0800, bob prohaska wrote: > On Fri, Nov 15, 2019 at 12:53:46PM -0600, Alan Cox wrote: > > A patch for the recent "Invalid ASID" assertion failure can be > > found at > > https://reviews.freebsd.org/D22388 > > > > The website reports > "This revision is now accepted and ready to land". > > Could someone please translate? > > There's a sidebar on the right of the page with a variety of actions, one of which is "download raw diff". -- Ian From owner-freebsd-arm@freebsd.org Sat Nov 16 18:47:55 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4CF491AB9AD for ; Sat, 16 Nov 2019 18:47:55 +0000 (UTC) (envelope-from crowston@protonmail.com) Received: from mail4.protonmail.ch (mail4.protonmail.ch [185.70.40.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Fkk20csZz4DKR for ; Sat, 16 Nov 2019 18:47:53 +0000 (UTC) (envelope-from crowston@protonmail.com) Date: Sat, 16 Nov 2019 18:47:44 +0000 To: "freebsd-arm@freebsd.org" From: Robert Crowston Cc: Kyle Evans Reply-To: Robert Crowston Subject: Initial support for bcm2838 RNG Message-ID: Feedback-ID: 2OVbcR1yHYpdkD8cgQllkFwcuMVZg_LiVMMPvptooFDfHD_03MuQO4ZaF626jWHZYFEhNR2cmIbZ53j4QGWMBQ==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.protonmail.ch X-Rspamd-Queue-Id: 47Fkk20csZz4DKR X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.10 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; HAS_REPLYTO(0.00)[crowston@protonmail.com]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; FREEMAIL_FROM(0.00)[protonmail.com]; DKIM_TRACE(0.00)[protonmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[protonmail.com,quarantine]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.00)[ip: (-9.81), ipnet: 185.70.40.0/24(-4.89), country: CH(0.02)]; RCVD_IN_DNSWL_LOW(-0.10)[27.40.70.185.list.dnswl.org : 127.0.5.1]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[protonmail.com:s=default]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[protonmail.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[protonmail.com]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Nov 2019 18:47:55 -0000 I have made a first cut at supporting the Broadcom 2838 hardware random num= ber generator, as found on the Raspberry Pi 4. Diff: https://github.com/freebsd/freebsd/compare/master...RobCrowston:pi4-h= wrng This extends the existing bcm2835_rng.c driver to function on the Pi4. Unfo= rtunately I do not have a Raspberry Pi 3 board to confirm it still works th= ere, but on my Pi4, it generates (apparently) random numbers. Some rough edges, but it works. -- Rob Crowston. From owner-freebsd-arm@freebsd.org Sat Nov 16 18:59:54 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 36B741ABF05 for ; Sat, 16 Nov 2019 18:59:54 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Fkzs3Btcz4Ymj for ; Sat, 16 Nov 2019 18:59:53 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id EBEA9154B8 for ; Sat, 16 Nov 2019 18:59:52 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f177.google.com with SMTP id t20so14930734qtn.9 for ; Sat, 16 Nov 2019 10:59:52 -0800 (PST) X-Gm-Message-State: APjAAAXBjJnKdQawXlmdLvZitGjc5/20iBpYKsJZedij0ku5CS31ZUK1 MJtE7ZRFFzHgq7DMRSk6ynUlEWWi2yc9uRdADa4= X-Google-Smtp-Source: APXvYqxwgPsNXqIumPchlMx2zHTm8Wf2hpTzB+0BBrwQXnSnkusu7t/RHtC7gD2aP5V2CDRf11tSQwkH06aTVFbapoo= X-Received: by 2002:ac8:7957:: with SMTP id r23mr19313267qtt.211.1573930792417; Sat, 16 Nov 2019 10:59:52 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Kyle Evans Date: Sat, 16 Nov 2019 12:59:41 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Initial support for bcm2838 RNG To: Robert Crowston Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Nov 2019 18:59:54 -0000 On Sat, Nov 16, 2019 at 12:48 PM Robert Crowston via freebsd-arm wrote: > > I have made a first cut at supporting the Broadcom 2838 hardware random number generator, as found on the Raspberry Pi 4. > > Diff: https://github.com/freebsd/freebsd/compare/master...RobCrowston:pi4-hwrng > > This extends the existing bcm2835_rng.c driver to function on the Pi4. Unfortunately I do not have a Raspberry Pi 3 board to confirm it still works there, but on my Pi4, it generates (apparently) random numbers. > Hi, No worries- I've got access to a Pi 3 for regression testing. Can you throw what you've got into Phabricator [0] and add me as a reviewer? We can iterate/review from there. Thanks! Kyle Evans [0] https://wiki.freebsd.org/Phabricator From owner-freebsd-arm@freebsd.org Sat Nov 16 23:55:50 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 34F4A1B0868 for ; Sat, 16 Nov 2019 23:55:50 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47FsYK6fSTz4XQp; Sat, 16 Nov 2019 23:55:49 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id xAGNtntu084588 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 16 Nov 2019 15:55:50 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id xAGNtmbi084587; Sat, 16 Nov 2019 15:55:48 -0800 (PST) (envelope-from fbsd) Date: Sat, 16 Nov 2019 15:55:48 -0800 From: bob prohaska To: Ian Lepore Cc: Alan Cox , freebsd-arm@freebsd.org Subject: Re: "Invalid ASID" Patch Message-ID: <20191116235548.GA84297@www.zefox.net> References: <3ef09b7e-f7cf-bb10-1a14-a01b0c86b486@rice.edu> <20191116035936.GA80744@www.zefox.net> <6ef989c5bcf052cda46f96546b445656dd062a26.camel@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6ef989c5bcf052cda46f96546b445656dd062a26.camel@freebsd.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 47FsYK6fSTz4XQp X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-5.99 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Nov 2019 23:55:50 -0000 On Sat, Nov 16, 2019 at 10:09:57AM -0700, Ian Lepore wrote: > On Fri, 2019-11-15 at 19:59 -0800, bob prohaska wrote: > > On Fri, Nov 15, 2019 at 12:53:46PM -0600, Alan Cox wrote: > > > A patch for the recent "Invalid ASID" assertion failure can be > > > found at > > > https://reviews.freebsd.org/D22388 > > > > > > > The website reports > > "This revision is now accepted and ready to land". > > > > Could someone please translate? > > > > > > There's a sidebar on the right of the page with a variety of actions, > one of which is "download raw diff". > I didn't notice the link, thank you. Alan sent me the patch, which applied without complaint. Now waiting for a build/install cycle to complete. I should have explictly asked what was meant by "accepted" and "land", ie, what must happen for the patch to make it into the source repository? Many thanks for your help! bob prohaska > -- Ian >