From owner-freebsd-arm@freebsd.org Fri Jun 21 17:09:33 2019 Return-Path: Delivered-To: freebsd-arm@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 4BC4B15B85E6 for ; Fri, 21 Jun 2019 17:09:33 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from mail.myserver.ws (mail.myserver.ws [144.217.111.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.myserver.ws", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 518B470A99 for ; Fri, 21 Jun 2019 17:09:32 +0000 (UTC) (envelope-from sm@ara-ler.com) Received: from eldorado (50-243-135-133-static.hfc.comcastbusiness.net [50.243.135.133]) (Authenticated sender: sm@ara-ler.com) by mail.myserver.ws (Postfix) with ESMTPSA id 1D2BAA4B84; Fri, 21 Jun 2019 17:08:52 +0000 (UTC) Date: Fri, 21 Jun 2019 11:08:45 -0600 From: Sergey Manucharian To: Vijay Kumar Banerjee Cc: freebsd-arm@freebsd.org Subject: Re: Writing to /dev/fb0 Message-ID: <20190621170845.GD2903@eldorado> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.12.0 (2019-05-25) X-Rspamd-Queue-Id: 518B470A99 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of sm@ara-ler.com designates 144.217.111.45 as permitted sender) smtp.mailfrom=sm@ara-ler.com X-Spamd-Result: default: False [-1.23 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.36)[-0.357,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.myserver.ws]; NEURAL_HAM_LONG(-0.97)[-0.971,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ara-ler.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mail.myserver.ws]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.14)[-0.135,0]; IP_SCORE(0.05)[ipnet: 144.217.0.0/16(-0.90), asn: 16276(1.14), country: FR(-0.01)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:16276, ipnet:144.217.0.0/16, country:FR]; MIME_TRACE(0.00)[0:+]; 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, 21 Jun 2019 17:09:33 -0000 Excerpts from Vijay Kumar Banerjee's message from Fri 21-Jun-19 22:25: > Hello everyone, > > I'm working on porting the Framebuffer driver from FreeBSD to RTEMS > for BeagleboneBlack. I am in search of a sample/test application that > I can use to directly access the fb0 device and write something to it. > > The purpose is to test the created fb0 device and work with it without > any heavy application like X. Something as minimalistic as: > `cat /dev/urandom > /dev/fb0` > But this doesn't work on the FreeBSD. Any suggestions on how to > test the fb0 device and how to write random pixels, or maybe draw a line? > The easiest thing you can do is using Qt5 – it supports BSD framebuffer out of the box: -platform: bsdfb:fb=/dev/fb0 Perfectly works here. -S.