From owner-freebsd-mips@freebsd.org Mon Apr 29 17:20:58 2019 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C5FB1597137 for ; Mon, 29 Apr 2019 17:20:58 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh501-vm13.bullet.mail.kks.yahoo.co.jp (nh501-vm13.bullet.mail.kks.yahoo.co.jp [183.79.56.143]) by mx1.freebsd.org (Postfix) with SMTP id D958D8D464 for ; Mon, 29 Apr 2019 17:20:54 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.141] by nh501.bullet.mail.kks.yahoo.co.jp with NNFMP; 29 Apr 2019 17:18:35 -0000 Received: from [183.79.100.132] by t504.bullet.mail.kks.yahoo.co.jp with NNFMP; 29 Apr 2019 17:18:35 -0000 Received: from [127.0.0.1] by omp501.mail.kks.yahoo.co.jp with NNFMP; 29 Apr 2019 17:18:35 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 57017.40650.bm@omp501.mail.kks.yahoo.co.jp X-YMail-OSG: O4ylksQVM1kN4ARjyKQf49hsWnaY4YKaXP8ygFXuYaI.wb5.iBnJETOdKUXZzUB AOMyPYdKPy0_HiXMUPOrTaYsbpn8Khk7VczfMgJSBkF6Mvg1WtlTTsxkktvxSIZS_6.4a1Yu6EO1 EpaXtT1Lblej6yWrA_hHkXsyFlAxAFYzoif9CKRXsDo03D4fLdPOP8myive6mbqqOIDd63VKrrbe 9zTtR6ESYCmrPt5otHtLak2rTq4Lh.7YAwGzflQVmA3TIxxtmmdnc34Jxb1ShOHL5D8cdE9K1a00 asZMQesQ_bXTttXw_ws0aSc_v6D0TTmgbmaJbDlSMr7_wGxnNr..a5j9MfeDgKCqYm.X7Lhl1vTD xy2QgfFfQCLVwP6zBocdkvu51lHJ_caPCXnWldi3FlOfJkaXkHE6AXqaEF0ay_SLjY0PsjddKB4B jDy4UTWgKnZ0UbP1dWxyI0Us0ObmmYF7pUmTO.FzlQ8_Tvis1RhYcpmKIPQkdYjwAzEIoyXpP8Lp .PiDsHGExEhJlY_7pBQG893WrRjLz9KZdEEJ16TDf.5F4vfq0pyBU71Kt64SoiLgWJpJgn4qRHT9 3jvEwCkLbwcZSGy2I6AyV31VmmNu5LE.kavPpEZ0- Received: from jws704008.mail.kks.yahoo.co.jp by sendmailws513.mail.kks.yahoo.co.jp; Tue, 30 Apr 2019 02:18:34 +0000; 1556558314.483 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1556558315; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:References; bh=T37A/BIECyAnZcIeJSHsFidRg4huk7SwXRx8W4bu6WM=; b=dhS7tioVjtAVqlqnegyqy/bX5roZqTUlWcJTuedDRTMdLBkv6+AYmOjWMK0sMrtd 3iw4qlbcSYSQPqJ1lDlXp9vmwT9+vGxxXE/rV6MjJLU3kOUjFaBPRH9Bp0C+cgmIIPm ufOtzKva3KKQblcjPdQ7mWhG7hPHP+KD3BKGevaU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:References; b=myf6D9EM9BFvOWhbfZP7NM+qNngqVTinZGVbiJw9ndlCHxbdJiNQG5XFShKn/mqp 82ZLjM6FtcA3i5HOV1gAZkHZw93hTPVnlkKmnPeIiCxm9H8ffNhmK/zuEdDkKpeWDTP B7Dx2O428Dd80ysOrowMO+HldMrOUzFN+NDqsvac=; Date: Tue, 30 Apr 2019 02:18:34 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: "freebsd-mips@freebsd.org" Message-ID: <1991993923.530828.1556558314174.JavaMail.yahoo@jws704008.mail.kks.yahoo.co.jp> Subject: spigen problem MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <1991993923.530828.1556558314174.JavaMail.yahoo.ref@jws704008.mail.kks.yahoo.co.jp> X-Rspamd-Queue-Id: D958D8D464 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=dhS7tioV; dmarc=pass (policy=none) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 183.79.56.143 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [0.93 / 15.00]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; R_SPF_ALLOW(-0.20)[+ip4:183.79.56.0/23]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,none]; MX_GOOD(-0.01)[cached: mx3.mail.yahoo.co.jp]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; ASN(0.00)[asn:24572, ipnet:183.79.0.0/16, country:JP]; IP_SCORE(0.88)[ipnet: 183.79.0.0/16(2.47), asn: 24572(1.98), country: JP(-0.06)]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; NEURAL_HAM_LONG(-0.40)[-0.397,0]; NEURAL_SPAM_MEDIUM(0.57)[0.572,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.79)[0.786,0]; RCVD_IN_DNSWL_NONE(0.00)[143.56.79.183.list.dnswl.org : 127.0.5.0]; TO_DN_EQ_ADDR_ALL(0.00)[] X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 17:20:58 -0000 Hi I add small spi lcd on RT3050. This lcd controller is=C2=A0S6D0151. S6D0151 transfer is tree byte command then tree byte data. I use spigen mruby rapper. This rapper use=C2=A0SPIGENIOC_TRANSFER. I try to send tree byte command. But spi transfer is six byte. This is reason. sys/dev/spibus/spigen.c =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0error =3D copyin(st->st_command.iov_base, = transfer.tx_cmd, =C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 transfer.tx_cmd_sz =3D transfer.rx= _cmd_sz =3D st->st_command.iov_len); =C2=A0 This lcd not work six byte transfer. How do I fix this ? Regards Hiroki Mori