From owner-freebsd-arm@freebsd.org Sun Jun 16 07:34:43 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 795D915B616B for ; Sun, 16 Jun 2019 07:34:43 +0000 (UTC) (envelope-from freebsd-arm@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2A5616CBBD for ; Sun, 16 Jun 2019 07:34:41 +0000 (UTC) (envelope-from freebsd-arm@dino.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan) by mailhost.netlabit.sk with ESMTPA; Sun, 16 Jun 2019 09:34:39 +0200 id 00DD62FC.5D05F10F.0000166B Date: Sun, 16 Jun 2019 09:34:39 +0200 From: Milan Obuch To: freebsd-arm@freebsd.org Subject: Pine64+ HDMI output note Message-ID: <20190616093439.5bcbe869@zeta.dino.sk> 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: 2A5616CBBD X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of freebsd-arm@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-arm@dino.sk X-Spamd-Result: default: False [-5.04 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[dino.sk]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[cached: mail.dino.sk]; NEURAL_HAM_SHORT(-0.85)[-0.848,0]; RCVD_IN_DNSWL_NONE(0.00)[72.65.245.84.list.dnswl.org : 127.0.10.0]; IP_SCORE(-1.88)[ip: (-6.25), ipnet: 84.245.64.0/18(-3.13), asn: 16160(-0.09), country: SK(0.07)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16160, ipnet:84.245.64.0/18, country:SK]; 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, 16 Jun 2019 07:34:43 -0000 Hi, as I am trying to use my Pine64+ for something usefull, I decided to look on video output. As I built new system natively on Pine, using what was available there in original image, I mean u-boot and related things, video output does not work. In original image, I believe it was built from r345863 sources at April 4th, there were even no /dev/ttyvN entries. In my new r348999 based system, they were present, but HDMI output was not active. Observing boot process for some time I noticed HDMI output is working up to some time in the middle of kernel device probing sequence. I examined a bit dtb blob used, dmesg messages, some source file etc. in order to understand what's going on, and tried following # dmesg | grep hdmi Clock: hdmi, parent: pll_video0(0), freq: 297000000 Clock: bus-hdmi, parent: ahb1(0), freq: 300000000 Clock: hdmi-ddc, parent: osc24M(0), freq: 24000000 simplebus0: mem 0x1ee0000-0x1eeffff irq 51 compat allwinner,sun50i-a64-dw-hdmi (no driver attached) simplebus0: mem 0x1ef0000-0x1efffff compat allwinner,sun50i-a64-hdmi-phy (no driver attached) ofwbus0: compat hdmi-connector (no driver attached) regulator: shutting down vcc-hdmi axp8xx_pmu0: Disable vcc-hdmi (dldo1) which makes me think, together with presence of getty processes attached to /dev/ttyvN devices, that all what's missing is just physical video output signal, and this is most probably caused by output buffer being shut down. So I googled a bit and found a hint, tried it - I put line hw.regulator.disable_unused=0 into /boot/loader.conf file and it works. I think it just uses HDMI output engine configured by u-boot instead of configuring it itself, as we have no driver for hdmi and hdmi-phy devices on A64 SoCs. Maybe this is just as simple as adding appropriate compatible string into arm/allwinner/a10_hdmi.c file, but I do not know if A20 and A64 cores are compatible in this area... and workaround found is just OK for me. Next step would be to try X on Pine64+... Any hint on this? I am going to try scfb video driver for this, as noted on FreeBSD/arm/Allwinner wiki page. As for this wiki page - maybe it could be updated in 'supported devices' table, in column A64 - I think framebuffer works and HDMI video too, kind of, leaving it in pre-initialised state with above mentioned workaround. Regards, Milan From owner-freebsd-arm@freebsd.org Sun Jun 16 09:32:56 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 C44DE15B8CB1 for ; Sun, 16 Jun 2019 09:32:56 +0000 (UTC) (envelope-from peo@nethead.se) Received: from ns1.nethead.se (ns1.nethead.se [5.150.237.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns1.nethead.se", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C3AEA6FE2C for ; Sun, 16 Jun 2019 09:32:55 +0000 (UTC) (envelope-from peo@nethead.se) X-Virus-Scanned: amavisd-new at Nethead AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nethead.se; s=NETHEADSE; t=1560677565; bh=//kaklRTdEavAJUZ/+8zjc/B83VNMPSLjrhmjJ1hkec=; h=To:From:Subject:Date; b=GbJaDME8Lwrc74kN/cYcCId9Jqf3q7PgCn+sjSywv7ssHIBiuoYnlUt5ueLXn5Eqa aGwAarUKV/d9pJewbDfpU1ByqLSi2Gtug5FUTO0dT5ouQaCsOfQKTk1l4/rD8nwQ1s adLxQKLgyYRwzrTLuEwp4fhHau8zIpbDShbwt/0E= To: freebsd-arm@freebsd.org From: Per olof Ljungmark Subject: RPi serial ports revisited Message-ID: Date: Sun, 16 Jun 2019 11:32:44 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: C3AEA6FE2C X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nethead.se header.s=NETHEADSE header.b=GbJaDME8; dmarc=pass (policy=none) header.from=nethead.se; spf=pass (mx1.freebsd.org: domain of peo@nethead.se designates 5.150.237.139 as permitted sender) smtp.mailfrom=peo@nethead.se X-Spamd-Result: default: False [-2.72 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.987,0]; R_DKIM_ALLOW(-0.20)[nethead.se:s=NETHEADSE]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:5.150.237.139]; TO_MATCH_ENVRCPT_ALL(0.00)[]; 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]; NEURAL_SPAM_SHORT(0.18)[0.180,0]; DKIM_TRACE(0.00)[nethead.se:+]; DMARC_POLICY_ALLOW(-0.50)[nethead.se,none]; MX_GOOD(-0.01)[nh1.nethead.se,vrt.nethead.se]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.10)[asn: 8473(0.49), country: SE(-0.01)]; ASN(0.00)[asn:8473, ipnet:5.150.192.0/18, country:SE]; MID_RHS_MATCH_FROM(0.00)[]; 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: Sun, 16 Jun 2019 09:32:56 -0000 Last year I managed with the help of this list and googling to get a Pi3 running with the Adafruit GPS Hat. That was FreeBSD 12.0-CURRENT #0 r336479 Now I've got a Raspberry Pi 3 B+ and wanted to check if I could get it to run the hat with FreeBSD 12.0-STABLE r348832 PPS arm64 Well, as it turned out, a lot of things changed since, both on the Pi and FreeBSD. I've gotten as far as I have the correct GPS output on /dev/cuau1 but I want it on /dev/cuau0 So with 12-STABLE, where and how do I switch GPIO pins between uart0 and uart1? Thanks, //per From owner-freebsd-arm@freebsd.org Sun Jun 16 13:48:22 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 A2CE715BF7AB for ; Sun, 16 Jun 2019 13:48:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B38181D09 for ; Sun, 16 Jun 2019 13:48:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5545C18FD3 for ; Sun, 16 Jun 2019 13:48:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5GDmLVl072002 for ; Sun, 16 Jun 2019 13:48:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5GDmL6k071996 for freebsd-arm@FreeBSD.org; Sun, 16 Jun 2019 13:48:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 238615] Release script fails building stripped arm image Date: Sun, 16 Jun 2019 13:48:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: daniel.engberg.lists@pyret.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.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, 16 Jun 2019 13:48:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238615 Bug ID: 238615 Summary: Release script fails building stripped arm image Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: daniel.engberg.lists@pyret.net CC: gjb@FreeBSD.org, manu@freebsd.org, re@FreeBSD.org, seanc@FreeBSD.org I've been trying to generate "slim"/non-debug image for arm using the relea= se script but it seems like settings from make.conf / src.conf are getting dro= pped somewhere in the install process. Host:=20 13.0-CURRENT r349025 (AMD64) Source: http://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/13.0/FreeBSD-13.0-C= URRENT-amd64-20190614-r349025-disc1.iso /usr/src --> Revision: 349025 Configuration file (ORANGEPI-PC.conf): #!/bin/sh EMBEDDED_TARGET_ARCH=3D"armv7" EMBEDDED_TARGET=3D"arm" EMBEDDEDBUILD=3D1 EMBEDDEDPORTS=3D"sysutils/u-boot-orangepi-pc" FAT_SIZE=3D"50m -b 1m" FAT_TYPE=3D"16" IMAGE_SIZE=3D"3072M" KERNEL=3D"GENERIC-NODEBUG" MD_ARGS=3D"-x 63 -y 255" NODOC=3D1 PART_SCHEME=3D"MBR" MAKE_CONF=3D"/etc/release-confs/make.conf" SRC_CONF=3D"/etc/release-confs/src.conf" export BOARDNAME=3D"ORANGEPI-PC" SRCBRANCH=3D"base/head@r349025" arm_install_uboot() { UBOOT_DIR=3D"/usr/local/share/u-boot/u-boot-orangepi-pc" UBOOT_FILES=3D"u-boot-sunxi-with-spl.bin" chroot ${CHROOTDIR} dd if=3D${UBOOT_DIR}/${UBOOT_FILES} \ of=3D/dev/${mddev} bs=3D1k seek=3D8 conv=3Dsync return 0 } Contents of /etc/release-confs/make.conf: WITHOUT_DEBUG=3DYES MK_PROFILE=3Dno WITH_EXTRA_TCP_STACKS=3D1 MALLOC_PRODUCTION=3Dyes Contents of /etc/release-confs/src.conf: WITHOUT_DEBUG_FILES=3Dyes WITHOUT_KERNEL_SYMBOLS=3Dyes WITHOUT_TESTS=3Dyes WITHOUT_PROFILE=3Dyes Command: root@freebsd-13-buildbox:/usr/src/release/arm # sh release.sh -c arm/ORANGEPI-PC.conf -------------------------------------------------------------- Error log=20 -------------------------------------------------------------- -------------------------------------------------------------- >>> Installing everything started on Sun Jun 16 13:34:11 UTC 2019 -------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 install make[3]: "/usr/obj/usr/src/arm.armv7/toolchain-metadata.mk" line 1: Using cached toolchain metadata from build at freebsd-13-buildbox on Sun Jun 16 12:12:54 UTC 2019 =3D=3D=3D> lib (install) =3D=3D=3D> lib/csu (install) =3D=3D=3D> lib/csu/arm (install) installing DIRS FILESDIR install -d -m 0755 -o root -g wheel=20 /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib install -o root -g wheel -m 444 crt1.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/crt1.o install -o root -g wheel -m 444 crti.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/crti.o install -o root -g wheel -m 444 crtn.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/crtn.o install -o root -g wheel -m 444 Scrt1.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/Scrt1.o install -o root -g wheel -m 444 gcrt1.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/gcrt1.o install -o root -g wheel -m 444 crtbegin.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/crtbegin.o install -o root -g wheel -m 444 crtbeginS.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/crtbeginS.o install -o root -g wheel -m 444 crtbeginT.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/crtbeginT.o install -o root -g wheel -m 444 crtend.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/crtend.o install -o root -g wheel -m 444 crtendS.o /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/lib/crtendS.o =3D=3D=3D> lib/csu/tests (install) installing DIRS testsFILESDIR install -d -m 0755 -o root -g wheel=20 /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/tests/lib/csu install -o root -g wheel -m 444 Kyuafile /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/tests/lib/csu/Kyuafi= le =3D=3D=3D> lib/csu/tests/dso (install) install -s -o root -g wheel -m 444 -S libh_csu.so /usr/obj/usr/src/arm.armv7/release/GENERIC-NODEBUG/usr/tests/lib/csu/dynami= clib// install: libh_csu.so: No such file or directory *** Error code 71 Stop. make[7]: stopped in /usr/src/lib/csu/tests/dso *** Error code 1 Stop. make[6]: stopped in /usr/src/lib/csu/tests *** Error code 1 Stop. make[5]: stopped in /usr/src/lib/csu *** Error code 1 Stop. make[4]: stopped in /usr/src/lib *** Error code 1 Stop. make[3]: stopped in /usr/src *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src umount: unmount of /scratch/dev failed: Device busy --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Tue Jun 18 06:40:23 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 1073115D08E1 for ; Tue, 18 Jun 2019 06:40:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::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.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9AF5B940EB for ; Tue, 18 Jun 2019 06:40:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D0A59F234 for ; Tue, 18 Jun 2019 06:40:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5I6eLX1030160 for ; Tue, 18 Jun 2019 06:40:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5I6eLCt030159 for freebsd-arm@FreeBSD.org; Tue, 18 Jun 2019 06:40:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 238615] Release script fails building stripped arm image Date: Tue, 18 Jun 2019 06:40:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: daniel.engberg.lists@pyret.net X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.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: Tue, 18 Jun 2019 06:40:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238615 daniel.engberg.lists@pyret.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-arm@freebsd.org Wed Jun 19 03:20:47 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 BEB6D15D043E for ; Wed, 19 Jun 2019 03:20:47 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) (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 A3D2C71FA3 for ; Wed, 19 Jun 2019 03:20:46 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: by mail-ot1-x333.google.com with SMTP id j19so17792138otq.2 for ; Tue, 18 Jun 2019 20:20:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version; bh=KI73OWo2dQaHMMvM9uuEp/JMhuHuGKHb9E2zDoh9rjc=; b=avgawlSY9nKLcLBL/23kkQUsIscdFQLHUKwX72moDvFpDLDcOixsBDMWi/lYbHe6iR P/JiVflDUm5+dVkoWHTsnhQwGeA6OxHkYdb8IQLv9AEj1VdJcC4htBf6guIdjK1iAxzD EF/9AkAURZ6fsAKdpcaJa/uarCX7/3MoT/zzSmHgSTGWihfEGuWGE39w25/FLPqX1+z6 jFMH2rgL/xcoTBjTPsyyZNuZHW/kJ4rYhSTJwcAgvS4rQuaG395e0eiQn7Fup7jCEyQw QXZwcA5iB+v2eGgeFWXKeo46Ljp0q/T8SNj10J8e0lJMe6i6GVeSJL5a/OETUwJ9be5x wFDQ== 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:message-id:in-reply-to:references :subject:mime-version; bh=KI73OWo2dQaHMMvM9uuEp/JMhuHuGKHb9E2zDoh9rjc=; b=h1s6UzjWnD9mPFUqtMP87z1HfG+8qt1Mh1bBbUOcKMmteuzd8/ThId4J+bellwQRfv kt7/1/PnuJG1UB4bzi4urrvKiiyDSXpmmehEZFsMZlWxZYaVWXkYCCeP2eARItOcqVuE Ryt7B2MDIfZX04qtzCkOPAFl7Ao9EwOshIVatqNIeIVMTynLXx4kINYjMGimIP4RUOc5 5fz4UxFmL+MOdauE0f2CW0HhparXbHoy2kasp7RYWhYEolIkXkuYbUJYmdbcGIxLbTwl VIiRqpfxfzx6SwOzcvS8RT47S2ebVkaSTcy1NgIKbNF6wP/6GT6bUWJ5C8P4KFn46sD9 oEjw== X-Gm-Message-State: APjAAAW6tqxZVGPatztu/0JJNMkvLxOu9k7Vk4UADfHKY1qtrbIbW00J iEdgIuY2iY3PfSIW6GPfjTkVhi8L X-Google-Smtp-Source: APXvYqxWAmbdBQtd90p7R25iqLIOf5rXM9V0FvAv9eGBFzMX289g5R5Z5V5XCfFTpbsN3RFYSbUgAQ== X-Received: by 2002:a9d:7259:: with SMTP id a25mr1160698otk.30.1560914444935; Tue, 18 Jun 2019 20:20:44 -0700 (PDT) Received: from [2600:100c:b227:d7e2:98ea:5a5:200::] ([2600:100c:b227:d7e2:1db5:d708:9da4:390]) by smtp.gmail.com with ESMTPSA id f5sm6296714otl.51.2019.06.18.20.20.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jun 2019 20:20:44 -0700 (PDT) Date: Tue, 18 Jun 2019 22:20:06 -0500 From: Dustin Marquess To: freebsd-arm@freebsd.org, Per olof Ljungmark Message-ID: <56b62ce2-652f-4eb7-9d7d-13dfebd041cf@Spark> In-Reply-To: References: Subject: Re: RPi serial ports revisited X-Readdle-Message-ID: 56b62ce2-652f-4eb7-9d7d-13dfebd041cf@Spark MIME-Version: 1.0 X-Rspamd-Queue-Id: A3D2C71FA3 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=avgawlSY; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dmarquess@gmail.com designates 2607:f8b0:4864:20::333 as permitted sender) smtp.mailfrom=dmarquess@gmail.com X-Spamd-Result: default: False [-5.33 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[1]; 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]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.98)[-0.985,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MIME_TRACE(0.00)[0:+,1:+]; 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]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.3.3.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]; IP_SCORE(-2.84)[ip: (-8.67), ipnet: 2607:f8b0::/32(-3.16), asn: 15169(-2.32), country: US(-0.06)]; MID_RHS_NOT_FQDN(0.50)[] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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, 19 Jun 2019 03:20:48 -0000 I had the same issue. About a year ago is was easy-ish with Gonzo=E2=80=99= s help. The last time I tried though, the newer U-Boot code was a nightma= re to get to work that way. :( -Dustin On Jun 16, 2019, 4:33 AM -0500, Per olof Ljungmark , wr= ote: > Last year I managed with the help of this list and googling to get a Pi= 3 > running with the Adafruit GPS Hat. > That was =46reeBSD 12.0-CURRENT =230 r336479 > > Now I've got a Raspberry Pi 3 B+ and wanted to check if I could get it > to run the hat with > =46reeBSD 12.0-STABLE r348832 PPS arm64 > > Well, as it turned out, a lot of things changed since, both on the Pi > and =46reeBSD. > I've gotten as far as I have the correct GPS output on /dev/cuau1 but I= > want it on /dev/cuau0 > > So with 12-STABLE, where and how do I switch GPIO pins between uart0 an= d > uart1=3F > > Thanks, > > //per > > > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > freebsd-arm=40freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to =22freebsd-arm-unsubscribe=40freebsd.o= rg=22 From owner-freebsd-arm@freebsd.org Thu Jun 20 19:44:15 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 3EA2415C6085 for ; Thu, 20 Jun 2019 19:44:15 +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 0A0929423B for ; Thu, 20 Jun 2019 19:44:13 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp59-167-167-3.static.internode.on.net [59.167.167.3]) by vtr.rulingia.com (8.15.2/8.15.2) with ESMTPS id x5KJi3GK059993 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 21 Jun 2019 05:44:10 +1000 (AEST) (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 x5KJhwj5019792 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 21 Jun 2019 05:43:58 +1000 (AEST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id x5KJhwt5019791; Fri, 21 Jun 2019 05:43:58 +1000 (AEST) (envelope-from peter) Date: Fri, 21 Jun 2019 05:43:58 +1000 From: Peter Jeremy To: Per olof Ljungmark Cc: freebsd-arm@freebsd.org Subject: Re: RPi serial ports revisited Message-ID: <20190620194358.GA19776@server.rulingia.com> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.12.0 (2019-05-25) 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, 20 Jun 2019 19:44:15 -0000 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2019-Jun-16 11:32:44 +0200, Per olof Ljungmark wrote: >I've gotten as far as I have the correct GPS output on /dev/cuau1 but I=20 >want it on /dev/cuau0 > >So with 12-STABLE, where and how do I switch GPIO pins between uart0 and= =20 >uart1? The mapping is defined in the FDT, which should be loaded as part of the boot process. In theory, it should be possible to swap the uart0 and uart1 configuration but you will then need to flip the console =66rom uart0 to uart1 as well (so it remains on the same physical pins) - and that may present more issues because the console isn't defined in a single spot. I would suggest that you might find it easier to read the GPS data off /dev/cuau1. --=20 Peter Jeremy --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAl0L4fZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzSAFg/9GCECBqLZD6v9BnQqi5eTx1a3HLfT4Vpc3VvrZkCybnxnfTSiGWMd2k0N wdojNRwO/nrmdlWK7+ppITU603seqIbvTNVxO9OEbDABBMuqVIKjiOYD/ejcl66V 7cpxG8zxOW8Pa3/ph7jcfmbqtoMwzAWCyvQcQV5IFf9bwvrwcFifWvSUszkrsTTd pzA9OJaoiQOQdXKkntxq7ampdulCbgT6eYQPm2nrYD8Za3YMKh9YvAO2fg3BeLXW Y0RoQe/IscQmAJW09kZ0+j1K5mlfMlz4vnwr4hYnRA68ONaFJsfh06I7b15d5CD2 UO2NO9anWONRS5Sx/9tSTa7ljU+OW3/B8j7G0flkxUtV4Rlig11lCCfzH6TSYXjw QDM/x4936/19Y+Wb1prWYE5RRaIWD6Su0zcreDVb7/sznBKMFMBoaApufXx9u/Ye ElKkR05KAFUd4PLYpw63VkzBFaxHiUXK2rZJseh/X2vqWVlsX9mRbMJf2EQK/AA3 2Dp5U9HGLgfnX/rzhSQj8nvaz81EEoTs5BG1kk9fofw26jnFy8xkt9aKlpPVIAXO 8TDLCmyr2t1IH4jQsAj90cLHGgfx7RBMYCko700BlVujUI9AOnWdAFQH+zJ2NHPB l9m0vB0wohFYTXE2GsIZSesULYJIWI0soe+lEgLPgfMwcMowwl0= =syqt -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS-- From owner-freebsd-arm@freebsd.org Fri Jun 21 01:35:25 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 7C49C15CCF67 for ; Fri, 21 Jun 2019 01:35:25 +0000 (UTC) (envelope-from glumpy@faintmold.icu) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id F2A16701A3 for ; Fri, 21 Jun 2019 01:35:24 +0000 (UTC) (envelope-from glumpy@faintmold.icu) Received: by mailman.ysv.freebsd.org (Postfix) id B0DEB15CCF5B; Fri, 21 Jun 2019 01:35:24 +0000 (UTC) Delivered-To: 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 8E74315CCF59 for ; Fri, 21 Jun 2019 01:35:24 +0000 (UTC) (envelope-from glumpy@faintmold.icu) Received: from faintmold.icu (j2wmmiz0.ni.net.tr [89.252.171.15]) by mx1.freebsd.org (Postfix) with ESMTP id 566647019D for ; Fri, 21 Jun 2019 01:35:23 +0000 (UTC) (envelope-from glumpy@faintmold.icu) From: " Marjorie" Date: Thu, 20 Jun 2019 20:33:03 -0500 MIME-Version: 1.0 Subject: Drink (2 a day) to end obesity To: Message-ID: X-Rspamd-Queue-Id: 566647019D X-Spamd-Bar: +++++ X-Spamd-Result: default: False [5.39 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[faintmold.icu:s=mail]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:89.252.171.15]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; HTML_SHORT_LINK_IMG_1(2.00)[]; NEURAL_SPAM_MEDIUM(0.97)[0.975,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.99)[0.987,0]; DKIM_TRACE(0.00)[faintmold.icu:+]; DMARC_POLICY_ALLOW(-0.50)[faintmold.icu,quarantine]; NEURAL_SPAM_LONG(1.00)[0.999,0]; MX_GOOD(-0.01)[cached: aspmx.l.google.com]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; IP_SCORE(1.44)[ipnet: 89.252.171.0/24(4.28), asn: 51559(2.87), country: TR(0.06)]; ASN(0.00)[asn:51559, ipnet:89.252.171.0/24, country:TR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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, 21 Jun 2019 01:35:25 -0000 We have all heard of ""Ke-to" and how it can get your body back fast. But what really is it? A new recent discovery shows that you can put your body into "Ke-to" without changing what you eat or do. You can drop up to 5x more before the new year. Read More... I want to stop receiving these or send a request to: 721 North High Point Court Apex, NC 27502 From owner-freebsd-arm@freebsd.org Fri Jun 21 10:59:55 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 52C6815D6D97; Fri, 21 Jun 2019 10:59:55 +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 6BF248AE93; Fri, 21 Jun 2019 10:59:54 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (ppp59-167-167-3.static.internode.on.net [59.167.167.3]) by vtr.rulingia.com (8.15.2/8.15.2) with ESMTPS id x5LAxis1064702 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 21 Jun 2019 20:59:50 +1000 (AEST) (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 x5LAxd6a023804 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 21 Jun 2019 20:59:39 +1000 (AEST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.15.2/8.15.2/Submit) id x5LAxdcd023803; Fri, 21 Jun 2019 20:59:39 +1000 (AEST) (envelope-from peter) Date: Fri, 21 Jun 2019 20:59:39 +1000 From: Peter Jeremy To: freebsd-current@freebsd.org, freebsd-arm@freebsd.org Subject: "panic: Duplicate alloc" in dwmmc_attach on Rock64 Message-ID: <20190621105939.GA23668@server.rulingia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.12.0 (2019-05-25) 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 10:59:55 -0000 --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Since r349169, my Rock64 has consistently panic'd whilst attaching rockchip_dwmmc1. A kernel built at r349135 works OK. The relevant output looks like: rockchip_dwmmc0: mem 0xff500000-0xff503fff irq 40 on ofwbus0 rockchip_dwmmc0: Hardware version ID is 270a mmc0: on rockchip_dwmmc0 rockchip_dwmmc1: mem 0xff520000-0xff523fff irq 42 on ofwbus0 rockchip_dwmmc1: Hardware version ID is 270a panic: Duplicate alloc of 0xfffffd000089cf50 from zone 0xfffffd0000817540(1= 6) slab 0xfffffd000089cf90(0) cpuid =3D 0 time =3D 1 KDB: stack backtrace: db_trace_self() at db_trace_self_wrapper+0x28 pc =3D 0xffff000000535d54 lr =3D 0xffff0000000df10c sp =3D 0xffff0000000104d0 fp =3D 0xffff0000000106e0 db_trace_self_wrapper() at vpanic+0x18c pc =3D 0xffff0000000df10c lr =3D 0xffff000000278218 sp =3D 0xffff0000000106f0 fp =3D 0xffff000000010790 vpanic() at panic+0x44 pc =3D 0xffff000000278218 lr =3D 0xffff000000277fc8 sp =3D 0xffff0000000107a0 fp =3D 0xffff000000010820 panic() at uma_dbg_alloc+0x144 pc =3D 0xffff000000277fc8 lr =3D 0xffff0000004fa4b0 sp =3D 0xffff000000010830 fp =3D 0xffff000000010850 uma_dbg_alloc() at uma_zalloc_arg+0x9b0 pc =3D 0xffff0000004fa4b0 lr =3D 0xffff0000004f9960 sp =3D 0xffff000000010860 fp =3D 0xffff0000000108e0 uma_zalloc_arg() at malloc+0x9c pc =3D 0xffff0000004f9960 lr =3D 0xffff000000252a8c sp =3D 0xffff0000000108f0 fp =3D 0xffff000000010920 malloc() at bounce_bus_dmamem_alloc+0x4c pc =3D 0xffff000000252a8c lr =3D 0xffff000000533b64 sp =3D 0xffff000000010930 fp =3D 0xffff000000010960 bounce_bus_dmamem_alloc() at dwmmc_attach+0x5fc pc =3D 0xffff000000533b64 lr =3D 0xffff000000556f14 sp =3D 0xffff000000010970 fp =3D 0xffff0000000109e0 dwmmc_attach() at device_attach+0x3f4 pc =3D 0xffff000000556f14 lr =3D 0xffff0000002abd8c sp =3D 0xffff0000000109f0 fp =3D 0xffff000000010a40 device_attach() at bus_generic_new_pass+0x12c pc =3D 0xffff0000002abd8c lr =3D 0xffff0000002adb40 sp =3D 0xffff000000010a50 fp =3D 0xffff000000010a80 =2E.. I've looked through all the intervening commits and don't see any smoking gun. Does anyone have any suggestions? --=20 Peter Jeremy --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAl0MuJRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzSPGg/6A0ZAlDesIxeAqXlvu81hv/uThZeswefL8htUyIUnzxZbVlcfaIIq2oQM CObVRTjNtooK0ZW5U57Dqfsm7HlmVg86eFk+4u7I5BtAdf1CZO/1/YsCrZC2vWsq 6BLw3KDyu5gNaClr//lxT+yFnOjaN1w9DOKQMZoMB3JwXeCsrSPzPBptRXW8wrZU C99U1f/Fxef6TNMU9D5DBuoWzLFBpMTEWDD4mfcW6TWMLG2oyqUUm1HxEIWyXRLO MAk3ZBfYLjcAMbLTOEGNC/hnLNfZFYGTioirwrdo6Q0Iwbyrh+X36XFiKDwPmFxb oEBS420OGOtmHmZpkOzYgldYfeOzLXlTeHxDfFAy54mOZcsWm/t8u6ZnCeW8cXwg YCiz05CK7daIOEIp1W1ShQWwd286aN9MiPJ5BLVwXb5nP08eCI1+T9Q/1FFHYg3m ZtEtoRW1/NeVckYrPjvWfB9QTgG0VDgOsMBZTIvScAU0DL8j55yRLSBPfMcu8k1r A7owP9J1I4VrdXHBfK1ZziAjRRxUo7BejHdxWFFhA+1LMcAPUkF2+UQcS4V4clqy MMvfrq1mhQ40+AeoVFMo1UvDPLbO0BVDYB+wTVsRKsi1YfTA1dpAhQ+ZSOhA319d Dy9hTeRegKUewQNY+P/fGvbfBl2pwGHHEmZuQJxPObrDUvFQXAw= =REEu -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J-- From owner-freebsd-arm@freebsd.org Fri Jun 21 13:27: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 8832515A62A9 for ; Fri, 21 Jun 2019 13:27:33 +0000 (UTC) (envelope-from daniel.engberg.lists@pyret.net) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (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 5C0CD8FE54 for ; Fri, 21 Jun 2019 13:27:27 +0000 (UTC) (envelope-from daniel.engberg.lists@pyret.net) Received: from webmail.gandi.net (webmail23.sd4.0x35.net [10.200.201.23]) (Authenticated sender: daniel.engberg@pyret.net) by relay7-d.mail.gandi.net (Postfix) with ESMTPA id 80DDA2001B; Fri, 21 Jun 2019 13:27:15 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 21 Jun 2019 15:27:15 +0200 From: Daniel Engberg To: freebsd-arm@freebsd.org Subject: Re: Pine64 native system rebuild success Message-ID: <5101eb5ef0deeb38f0c9315cdbd5c13a@pyret.net> X-Sender: daniel.engberg.lists@pyret.net User-Agent: Roundcube Webmail/1.3.8 X-Rspamd-Queue-Id: 5C0CD8FE54 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of daniel.engberg.lists@pyret.net designates 217.70.183.200 as permitted sender) smtp.mailfrom=daniel.engberg.lists@pyret.net X-Spamd-Result: default: False [-2.44 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.70.176.0/21]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.01)[spool.mail.gandi.net,fb.mail.gandi.net,spool.mail.gandi.net,fb.mail.gandi.net,spool.mail.gandi.net,fb.mail.gandi.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.51)[-0.509,0]; RCVD_IN_DNSWL_LOW(-0.10)[200.183.70.217.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; FAKE_REPLY(1.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.957,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[pyret.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-0.56)[ip: (-0.78), ipnet: 217.70.176.0/20(-1.11), asn: 29169(-0.90), country: FR(-0.01)]; 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 13:27:33 -0000 Hi Milan, I've also experimented with this a bit on both ARMv7 and ARM64/AARCH64 and added two pages to the wiki about this which may be of interest and to make information more easily available. https://wiki.freebsd.org/FreeBSD/arm/Build_image_using_release_building_infrastructure https://wiki.freebsd.org/FreeBSD/arm/Self-hosting The boards I've been using myself are Orange Pi PC and PC 2 and both work very well so impressive work done by all developers and contributors. Best regards Daniel From owner-freebsd-arm@freebsd.org Fri Jun 21 16:55:47 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 7014115B5EED for ; Fri, 21 Jun 2019 16:55:47 +0000 (UTC) (envelope-from vijaykumar9597@gmail.com) Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (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 8BE61703C2 for ; Fri, 21 Jun 2019 16:55:46 +0000 (UTC) (envelope-from vijaykumar9597@gmail.com) Received: by mail-io1-xd2d.google.com with SMTP id u13so127643iop.0 for ; Fri, 21 Jun 2019 09:55:46 -0700 (PDT) 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=6gj7ohtD729okPqcz1cJwIh8+TvSVRlDCbSEnDVFReE=; b=AVIc9KcgpCqSHsdSnfq+rk0DCIfbbUwUTJT+mTO/s4LJmCqipdp/kdiejM+SM5dLo2 +FzMmFctuY5XyU7s6mvqaqa0+Y2Vbc1k8uV8wXAe8C5toWjTHTwIgpBIBMND2T1vL43d 1Qhm73DislKW8imEuZHJV0BuG385wUa9McJ/K06ynmjVP9XBZ/PdoyR/r8c741AupIZP Pfsfmk7UWerte3pspv/Ii2/+XRMGg69H2ix3786n9zm/5qsMrtPlQ5ScIw3PZ8i6PEfv jJd4UGlIg1VOYfG26P9G1VWifqbNMLA5cOVet+GnsbdvuOyaAv21zzjzQsl/CIV7jP0S Xd1Q== 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=6gj7ohtD729okPqcz1cJwIh8+TvSVRlDCbSEnDVFReE=; b=N14thhj1m3nNakxqBkrsiSoRvX4LrW+RetW/K7yNUQoFOaEhced+S2gextMeDflzSn z1Zq1zQG9nVhsUCPxxvLxOvT7UdsQnAZz0XrT7yOsI8BDRWbhphhZegqcQa01YouM5vW TVir6LXwzgKvLebMGDJcmEd/hCkD8xe295X/171xkxB0TWOdoQUrALUwMQEbUZWplLv3 LiUvvVzEkhTXskgt+rJBDqUy93Dr67QAcW4GDaWptofoGMAp1CcQnoDYfeYedkzHhjjh ieiWShOMQpDvjEDn26GZoblLy8dG8ZNwbLoB9QcfyTO534xH7u0VOsf2M628HdCkOU61 gl9w== X-Gm-Message-State: APjAAAUR3lCKVJZ7njVHqwXRljr7nvhRuVadjJGudVEH7phJ8dy5XtuC BfCVQmEr2sPP/OlsfkEcvVLX0IklLCMu/mECib7bzLL2 X-Google-Smtp-Source: APXvYqz1iX5dfIrny/S8Zz50lJAaTWHdszl9M6dGQZ8FYdc2J+H/7tJihJWNq7+7bR3rFAym3qsJAzkxL7lM1AJKBNs= X-Received: by 2002:a5e:890f:: with SMTP id k15mr2511049ioj.121.1561136145502; Fri, 21 Jun 2019 09:55:45 -0700 (PDT) MIME-Version: 1.0 From: Vijay Kumar Banerjee Date: Fri, 21 Jun 2019 22:25:34 +0530 Message-ID: Subject: Writing to /dev/fb0 To: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 8BE61703C2 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=AVIc9Kcg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of vijaykumar9597@gmail.com designates 2607:f8b0:4864:20::d2d as permitted sender) smtp.mailfrom=vijaykumar9597@gmail.com X-Spamd-Result: default: False [-6.78 / 15.00]; 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)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; 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)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; 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)[d.2.d.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]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; IP_SCORE(-2.97)[ip: (-9.31), ipnet: 2607:f8b0::/32(-3.15), asn: 15169(-2.32), country: US(-0.06)]; NEURAL_HAM_SHORT(-0.81)[-0.806,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; 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: Fri, 21 Jun 2019 16:55:47 -0000 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? Thanks in advance, Vijay 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. From owner-freebsd-arm@freebsd.org Fri Jun 21 17:13:48 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 E3E3515B89B0 for ; Fri, 21 Jun 2019 17:13:47 +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 4D15370FAD for ; Fri, 21 Jun 2019 17:13:47 +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 BE618A4C4A; Fri, 21 Jun 2019 17:13:45 +0000 (UTC) Date: Fri, 21 Jun 2019 11:13:43 -0600 From: Sergey Manucharian To: Vijay Kumar Banerjee , freebsd-arm@freebsd.org Subject: Re: Writing to /dev/fb0 Message-ID: <20190621171343.GE2903@eldorado> References: <20190621170845.GD2903@eldorado> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190621170845.GD2903@eldorado> User-Agent: Mutt/1.12.0 (2019-05-25) X-Rspamd-Queue-Id: 4D15370FAD 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.26 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.38)[-0.379,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.972,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ara-ler.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.myserver.ws]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.15)[-0.145,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:13:48 -0000 Excerpts from Sergey Manucharian's message from Fri 21-Jun-19 11:08: > Excerpts from Vijay Kumar Banerjee's message from Fri 21-Jun-19 22:25: > > `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 Sorry for the typo, there is no colon after "platform": -platform bsdfb:fb=/dev/fb0 Ϟϻ From owner-freebsd-arm@freebsd.org Fri Jun 21 18:31:30 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 9701415BB0DB for ; Fri, 21 Jun 2019 18:31:30 +0000 (UTC) (envelope-from claim@bitteragency.icu) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1ACD472D9B for ; Fri, 21 Jun 2019 18:31:30 +0000 (UTC) (envelope-from claim@bitteragency.icu) Received: by mailman.ysv.freebsd.org (Postfix) id D1DAE15BB0D7; Fri, 21 Jun 2019 18:31:29 +0000 (UTC) Delivered-To: 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 952BA15BB0D6 for ; Fri, 21 Jun 2019 18:31:29 +0000 (UTC) (envelope-from claim@bitteragency.icu) Received: from bitteragency.icu (2y2zk2jg.ni.net.tr [89.252.172.163]) by mx1.freebsd.org (Postfix) with ESMTP id 7395F72D95 for ; Fri, 21 Jun 2019 18:31:28 +0000 (UTC) (envelope-from claim@bitteragency.icu) From: "Shark Tank Product Alert" Date: Fri, 21 Jun 2019 13:28:22 -0500 MIME-Version: 1.0 Subject: This drink is your solution to becoming skinny To: Message-ID: X-Rspamd-Queue-Id: 7395F72D95 X-Spamd-Bar: ++++ X-Spamd-Result: default: False [4.25 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bitteragency.icu:s=mail]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:89.252.172.163]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; HTML_SHORT_LINK_IMG_1(2.00)[]; NEURAL_SPAM_MEDIUM(0.89)[0.886,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.85)[0.846,0]; DKIM_TRACE(0.00)[bitteragency.icu:+]; DMARC_POLICY_ALLOW(-0.50)[bitteragency.icu,quarantine]; NEURAL_SPAM_LONG(0.94)[0.942,0]; MX_GOOD(-0.01)[aspmx.l.google.com]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; IP_SCORE(0.58)[asn: 51559(2.87), country: TR(0.06)]; ASN(0.00)[asn:51559, ipnet:89.252.172.0/24, country:TR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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, 21 Jun 2019 18:31:30 -0000 Shark Tank - ""Best Product Of 2019" Flatten Your Tummy This Amazing New Product Has Just Hit The Shark Tank! "I can't beleive it - I am proud of my body again. All I can say is THANK YOU!" You can forget diet and excercise - just drink THIS What's In The Drink? if you want to unsubscribe pleasego here. or can write to us at: 8619 South Wall Ave. Waynesboro, PA 17268 From owner-freebsd-arm@freebsd.org Fri Jun 21 18:44:53 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 A8EBD15BB770 for ; Fri, 21 Jun 2019 18:44:53 +0000 (UTC) (envelope-from vijaykumar9597@gmail.com) Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) (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 A505F734B8 for ; Fri, 21 Jun 2019 18:44:52 +0000 (UTC) (envelope-from vijaykumar9597@gmail.com) Received: by mail-io1-xd42.google.com with SMTP id e5so1162772iok.4 for ; Fri, 21 Jun 2019 11:44:52 -0700 (PDT) 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=dNXM8l4QYuNU04w51LbneqAOxGAzgXvMue06wbHEofc=; b=DQ1vsdjd114Htm1yQG08GjMpDA+oDe9K9+zNXl/AN+RRYCaHLqxu5bFcwN1du5lbtV KSijWVEVQF33RytqvOoghkF+YixtzlkmbTUh7jMYypqx7hDzCt+gmplnUd49QsZMn2lE 3ADJG9CCBVsYujpxt5X9Sci4s/Ud+zXeN1kN2k70/17QHlgtZbX9sttnlLZXwnnE6HyG Q9Y9HbMIhO5koFN85aUBJfuc9dqeFHQ0CL3usHkOwQ+2nIIZC7o4sOVh0TbFIxBhUgC6 pzonlcn1OF9uzQfPdlsoKcsQExN9yZ7Ri73494b/jC2hd3uRD0+lgrn3SE5PBkhmEhvZ Vi3g== 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=dNXM8l4QYuNU04w51LbneqAOxGAzgXvMue06wbHEofc=; b=KY6XbvXckplq+IQM6ap2ftyUfBD92TFTeTmfE6nA5awugdM9JDqf5HqWjbeKSL9FAs /d1sJ8LPpQ2CFExU+9aARbT1IpZxM55+ZFL66m3ijxhRQJEI6YPt03pU4UPvOIDwsie8 XODesJNXwai4FVn8uLtMLXQ/HCuxAneQpWIDcBLflQvC2NPDEptqJUJ2RLj85PXaaHv+ e+vf1JYEzDhSu67gl6PU7F3xuhtKBpTUNYXCJoYZ/AG3H0REqdWbvOxZl8uTXRdU+6Lt exweCOEMa5brfeDqAPD81o5FUyA7kWcXc7JbJwq46xyWDm5OlTsT12JoHxRAA/h7oq3W tX8g== X-Gm-Message-State: APjAAAVpUsoMVyx/2+qiBiUphuy1zreigpp8FgtoiC07drIgofQz5Roz p2Uhfa3JtCjG9jJfHIoyKn1p4Ftciv9dugRNDMs= X-Google-Smtp-Source: APXvYqzoEec0n2MMo83s+ACLab2bY6k2EzkQIXhF77m+R7C6BkvCPNDb4IykiAWBEDTxQ/eWFgH9XeZxzj9gVhWQyio= X-Received: by 2002:a02:a07:: with SMTP id 7mr16516868jaw.65.1561142691435; Fri, 21 Jun 2019 11:44:51 -0700 (PDT) MIME-Version: 1.0 References: <20190621170845.GD2903@eldorado> <20190621171343.GE2903@eldorado> In-Reply-To: <20190621171343.GE2903@eldorado> From: Vijay Kumar Banerjee Date: Sat, 22 Jun 2019 00:14:40 +0530 Message-ID: Subject: Re: Writing to /dev/fb0 To: Sergey Manucharian Cc: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: A505F734B8 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=DQ1vsdjd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of vijaykumar9597@gmail.com designates 2607:f8b0:4864:20::d42 as permitted sender) smtp.mailfrom=vijaykumar9597@gmail.com X-Spamd-Result: default: False [-4.68 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; 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]; NEURAL_HAM_SHORT(-0.89)[-0.892,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.4.d.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:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-0.78)[ip: (1.64), ipnet: 2607:f8b0::/32(-3.15), asn: 15169(-2.33), country: US(-0.06)]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] 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: Fri, 21 Jun 2019 18:44:53 -0000 On Fri, Jun 21, 2019 at 10:43 PM Sergey Manucharian wrote: > Excerpts from Sergey Manucharian's message from Fri 21-Jun-19 11:08: > > Excerpts from Vijay Kumar Banerjee's message from Fri 21-Jun-19 22:25: > > > `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 =E2=80=93 it supports BSD fra= mebuffer > > out of the box: > > > > -platform: bsdfb:fb=3D/dev/fb0 > > Sorry for the typo, there is no colon after "platform": > > -platform bsdfb:fb=3D/dev/fb0 > > Hi Sergey, Thanks for the quick reply. I'm searching for something even basic and simpler. I understand that Qt is very simple to create GUI apps but I need something very basic so that it's easy to _debug_ it while testing the newly ported drivers. I basically need something where I can see all steps from "draw a pixel in the top left corner" to the registers in the hardware. Also, after the successful run in the FreeBSD, the ultimate goal would be to run the test app on RTEMS and I'm not sure about Qt on RTEMS. There is definitely some port somewhere but that would give way for more bugs and it would be a tough time debugging. Is there anything which can be more basic and a simple application instead of a graphics library? Best regards, Vijay > > =CF=9E=CF=BB > > From owner-freebsd-arm@freebsd.org Fri Jun 21 18:48:02 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 DAD9515BB8B2 for ; Fri, 21 Jun 2019 18:48:02 +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 CA6607357F for ; Fri, 21 Jun 2019 18:48:01 +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 3D817A4CDB; Fri, 21 Jun 2019 18:47:58 +0000 (UTC) Date: Fri, 21 Jun 2019 12:47:54 -0600 From: Sergey Manucharian To: Vijay Kumar Banerjee Cc: freebsd-arm@freebsd.org Subject: Re: Writing to /dev/fb0 Message-ID: <20190621184754.GF2903@eldorado> References: <20190621170845.GD2903@eldorado> <20190621171343.GE2903@eldorado> 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: CA6607357F 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 [-0.86 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.34)[-0.341,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.970,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ara-ler.com]; NEURAL_SPAM_SHORT(0.22)[0.217,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.myserver.ws]; RCPT_COUNT_TWO(0.00)[2]; 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 18:48:03 -0000 Excerpts from Vijay Kumar Banerjee's message from Sat 22-Jun-19 00:14: > > Thanks for the quick reply. I'm searching for something even basic > and simpler. I understand that Qt is very simple to create GUI apps > but I need something very basic so that it's easy to _debug_ it while > testing the newly ported drivers. I basically need something where > I can see all steps from "draw a pixel in the top left corner" to the > registers in the hardware. Qt's source code is pretty easy to read and understand, you may want to check how the "bsdfb" is implemented. Ϟϻ From owner-freebsd-arm@freebsd.org Fri Jun 21 19:05:12 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 C176B15BBFB6 for ; Fri, 21 Jun 2019 19:05:12 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (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 0726A745F8 for ; Fri, 21 Jun 2019 19:05:10 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from localhost ([127.0.0.1] helo=id.bluezbox.com) by id.bluezbox.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92 (FreeBSD)) (envelope-from ) id 1heOqN-0009I6-6r; Fri, 21 Jun 2019 12:05:03 -0700 Received: (from gonzo@localhost) by id.bluezbox.com (8.15.2/8.15.2/Submit) id x5LJ52Jm035717; Fri, 21 Jun 2019 12:05:02 -0700 (PDT) (envelope-from gonzo@bluezbox.com) X-Authentication-Warning: id.bluezbox.com: gonzo set sender to gonzo@bluezbox.com using -f Date: Fri, 21 Jun 2019 12:05:02 -0700 From: Oleksandr Tymoshenko To: Vijay Kumar Banerjee Cc: Sergey Manucharian , freebsd-arm@freebsd.org Subject: Re: Writing to /dev/fb0 Message-ID: <20190621190502.GA35692@bluezbox.com> References: <20190621170845.GD2903@eldorado> <20190621171343.GE2903@eldorado> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD/11.2-RELEASE-p10 (amd64) User-Agent: Mutt/1.11.4 (2019-03-13) X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: Vijay Kumar Banerjee (vijaykumar9597@gmail.com) wrote: > On Fri, Jun 21, 2019 at 10:43 PM Sergey Manucharian wrote: > > > Excerpts from Sergey Manucharian's message from Fri 21-Jun-19 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Rspamd-Queue-Id: 0726A745F8 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of gonzo@bluezbox.com designates 45.55.20.155 as permitted sender) smtp.mailfrom=gonzo@bluezbox.com X-Spamd-Result: default: False [-5.51 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; HAS_XAW(0.00)[]; TO_DN_SOME(0.00)[]; DMARC_NA(0.00)[bluezbox.com]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[mx.bluezbox.com]; NEURAL_HAM_SHORT(-0.97)[-0.967,0]; IP_SCORE(-2.24)[ip: (-8.18), ipnet: 45.55.0.0/19(-4.09), asn: 14061(1.14), country: US(-0.06)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:45.55.0.0/19, 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, 21 Jun 2019 19:05:13 -0000 Vijay Kumar Banerjee (vijaykumar9597@gmail.com) wrote: > On Fri, Jun 21, 2019 at 10:43 PM Sergey Manucharian wrote: > > > Excerpts from Sergey Manucharian's message from Fri 21-Jun-19 11:08: > > > Excerpts from Vijay Kumar Banerjee's message from Fri 21-Jun-19 22:25: > > > > `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 > > > > Sorry for the typo, there is no colon after "platform": > > > > -platform bsdfb:fb=/dev/fb0 > > > > Hi Sergey, > > Thanks for the quick reply. I'm searching for something even basic > and simpler. I understand that Qt is very simple to create GUI apps > but I need something very basic so that it's easy to _debug_ it while > testing the newly ported drivers. I basically need something where > I can see all steps from "draw a pixel in the top left corner" to the > registers in the hardware. > > Also, after the successful run in the FreeBSD, the ultimate goal would > be to run the test app on RTEMS and I'm not sure about Qt on RTEMS. > There is definitely some port somewhere but that would give way for > more bugs and it would be a tough time debugging. > > Is there anything which can be more basic and a simple application instead > of a graphics library? Hi Vijay, You probably can convert this source file from my tslib branch to standalone app: https://github.com/gonzoua/tslib/blob/freebsd/tests/fbutils-bsd.c -- gonzo From owner-freebsd-arm@freebsd.org Fri Jun 21 19:34:30 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 10A1315BCB94 for ; Fri, 21 Jun 2019 19:34:30 +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 B956E7569D for ; Fri, 21 Jun 2019 19:34:28 +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 36C01A30D5; Fri, 21 Jun 2019 19:34:22 +0000 (UTC) Date: Fri, 21 Jun 2019 13:34:19 -0600 From: Sergey Manucharian To: Oleksandr Tymoshenko Cc: Vijay Kumar Banerjee , freebsd-arm@freebsd.org Subject: Re: Writing to /dev/fb0 Message-ID: <20190621193419.GG2903@eldorado> References: <20190621170845.GD2903@eldorado> <20190621171343.GE2903@eldorado> <20190621190502.GA35692@bluezbox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190621190502.GA35692@bluezbox.com> User-Agent: Mutt/1.12.0 (2019-05-25) X-Rspamd-Queue-Id: B956E7569D 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 [-2.40 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.84)[-0.836,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a:mail.myserver.ws]; NEURAL_HAM_LONG(-0.99)[-0.995,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[ara-ler.com]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.myserver.ws]; NEURAL_HAM_SHORT(-0.81)[-0.808,0]; IP_SCORE(0.05)[ipnet: 144.217.0.0/16(-0.90), asn: 16276(1.14), country: FR(-0.01)]; 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]; FREEMAIL_CC(0.00)[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, 21 Jun 2019 19:34:30 -0000 Excerpts from Oleksandr Tymoshenko's message from Fri 21-Jun-19 12:05: > You probably can convert this source file from my tslib branch to > standalone app: > > https://github.com/gonzoua/tslib/blob/freebsd/tests/fbutils-bsd.c > > -- Thanks, gonzo! That's really simple! I added "main" and it draws a red rectangle! int main (int argc, char** argv) { open_framebuffer(); setcolor (4, 0xff0000); rect(100, 200, 200, 300, 4); close_framebuffer(); } Vijay, Before compiling remove references to font related stuff like "put_char" and "put_string" since they need linking with a font processing library (not libfreetype). Ϟϻ From owner-freebsd-arm@freebsd.org Fri Jun 21 20:14:34 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 945DD15BE34A for ; Fri, 21 Jun 2019 20:14:34 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (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 8D3607785F for ; Fri, 21 Jun 2019 20:14:32 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from localhost ([127.0.0.1] helo=id.bluezbox.com) by id.bluezbox.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92 (FreeBSD)) (envelope-from ) id 1hePva-0009a0-Lb; Fri, 21 Jun 2019 13:14:31 -0700 Received: (from gonzo@localhost) by id.bluezbox.com (8.15.2/8.15.2/Submit) id x5LKEU7F036827; Fri, 21 Jun 2019 13:14:30 -0700 (PDT) (envelope-from gonzo@bluezbox.com) X-Authentication-Warning: id.bluezbox.com: gonzo set sender to gonzo@bluezbox.com using -f Date: Fri, 21 Jun 2019 13:14:30 -0700 From: Oleksandr Tymoshenko To: Sergey Manucharian Cc: freebsd-arm@freebsd.org Subject: Re: FocalTech FT5x06 touchpanel Message-ID: <20190621201430.GA36657@bluezbox.com> References: <20190610154742.GA44337@eldorado> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190610154742.GA44337@eldorado> X-Operating-System: FreeBSD/11.2-RELEASE-p10 (amd64) User-Agent: Mutt/1.11.4 (2019-03-13) X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: Sergey Manucharian (sm@ara-ler.com) wrote: > Does anybody have experience with this touch panel? > > https://www.newhavendisplay.com/app_notes/FT5x06.pdf > > It's using i2c interface. There is a modul [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Rspamd-Queue-Id: 8D3607785F X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of gonzo@bluezbox.com designates 45.55.20.155 as permitted sender) smtp.mailfrom=gonzo@bluezbox.com X-Spamd-Result: default: False [-5.57 / 15.00]; ARC_NA(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)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; DMARC_NA(0.00)[bluezbox.com]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx.bluezbox.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.99)[-0.994,0]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:45.55.0.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-2.26)[ip: (-8.26), ipnet: 45.55.0.0/19(-4.13), asn: 14061(1.14), country: US(-0.06)] 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 20:14:34 -0000 Sergey Manucharian (sm@ara-ler.com) wrote: > Does anybody have experience with this touch panel? > > https://www.newhavendisplay.com/app_notes/FT5x06.pdf > > It's using i2c interface. There is a module for Broadcom's > implementation (i.e. RPi specific): > .../sys/arm/broadcom/bcm2835/bcm2835_ft5406.c > > I'm using it with BBB (a Newhaven LCD7 cape). Of course, the BBB image > doesn't have that module compiled (rpi_ft5406), so I cannot check it > right away. bcm2835_ft5406 cannot be reused for BBB. On RPi the actual low-level driver that talks over I2C is running on VideoCore and ARM side just receives notifications. So to add proper support for ft5406 touchscreen on BBB you'll have to write it from scratch. -- gonzo From owner-freebsd-arm@freebsd.org Fri Jun 21 20:21:02 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 3272115BE64F for ; Fri, 21 Jun 2019 20:21:02 +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 3C55477B04 for ; Fri, 21 Jun 2019 20:21:00 +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 BCE3FA4D18; Fri, 21 Jun 2019 20:20:53 +0000 (UTC) Date: Fri, 21 Jun 2019 14:20:51 -0600 From: Sergey Manucharian To: Oleksandr Tymoshenko Cc: freebsd-arm@freebsd.org Subject: Re: FocalTech FT5x06 touchpanel Message-ID: <20190621202051.GH2903@eldorado> References: <20190610154742.GA44337@eldorado> <20190621201430.GA36657@bluezbox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190621201430.GA36657@bluezbox.com> User-Agent: Mutt/1.12.0 (2019-05-25) X-Rspamd-Queue-Id: 3C55477B04 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.51 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.35)[-0.348,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.myserver.ws]; NEURAL_HAM_LONG(-0.98)[-0.975,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ara-ler.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.myserver.ws]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.43)[-0.426,0]; IP_SCORE(0.05)[ipnet: 144.217.0.0/16(-0.90), asn: 16276(1.14), country: FR(-0.01)]; 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 20:21:02 -0000 Excerpts from Oleksandr Tymoshenko's message from Fri 21-Jun-19 13:14: > bcm2835_ft5406 cannot be reused for BBB. On RPi the actual low-level > driver that talks over I2C is running on VideoCore and ARM side just > receives notifications. So to add proper support for ft5406 touchscreen > on BBB you'll have to write it from scratch. Thanks! I already discovered that RPi's driver doesn't use i2c... I think it will be easier to port the Linux driver. I'll try to find some time to do it next couple of weeks. Ϟϻ From owner-freebsd-arm@freebsd.org Fri Jun 21 22:08:46 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 ADBBE15C1188 for ; Fri, 21 Jun 2019 22:08:46 +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 9B1BF835E4 for ; Fri, 21 Jun 2019 22:08:45 +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 1D7C1A4D4A; Fri, 21 Jun 2019 22:08:42 +0000 (UTC) Date: Fri, 21 Jun 2019 16:08:38 -0600 From: Sergey Manucharian To: Oleksandr Tymoshenko Cc: freebsd-arm@freebsd.org Subject: Re: Writing to /dev/fb0 Message-ID: <20190621220838.GI2903@eldorado> References: <20190621170845.GD2903@eldorado> <20190621171343.GE2903@eldorado> <20190621190502.GA35692@bluezbox.com> <20190621193419.GG2903@eldorado> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190621193419.GG2903@eldorado> User-Agent: Mutt/1.12.0 (2019-05-25) X-Rspamd-Queue-Id: 9B1BF835E4 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.87 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.myserver.ws]; MX_GOOD(-0.01)[cached: mail.myserver.ws]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.37)[-0.372,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:144.217.0.0/16, country:FR]; IP_SCORE(0.05)[ipnet: 144.217.0.0/16(-0.90), asn: 16276(1.14), country: FR(-0.01)]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.74)[-0.737,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.995,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ara-ler.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; 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: Fri, 21 Jun 2019 22:08:46 -0000 Excerpts from Sergey Manucharian's message from Fri 21-Jun-19 13:34: > Excerpts from Oleksandr Tymoshenko's message from Fri 21-Jun-19 12:05: > > You probably can convert this source file from my tslib branch to > > standalone app: > > > > https://github.com/gonzoua/tslib/blob/freebsd/tests/fbutils-bsd.c > > Vijay, > > Before compiling remove references to font related stuff like > "put_char" and "put_string" since they need linking with a font > processing library (not libfreetype). Strings work too - when compiled with font*.[ch] files from the same source. The fb driver spits out the following message WARNING: Device driver fb has set "memattr" inconsistently (drv 0 pmap 3). with each pixel drawn and significantly slows down the output. It'll be good to fix or at least disable that message for real practical use of direct fb access. The message itself comes from: sys/vm/device_pager.c -- Ϟϻ From owner-freebsd-arm@freebsd.org Sat Jun 22 06:16:25 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 1E1A415CCDCF for ; Sat, 22 Jun 2019 06:16:25 +0000 (UTC) (envelope-from vijaykumar9597@gmail.com) Received: from mail-io1-xd41.google.com (mail-io1-xd41.google.com [IPv6:2607:f8b0:4864:20::d41]) (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 B72CC6B959 for ; Sat, 22 Jun 2019 06:16:23 +0000 (UTC) (envelope-from vijaykumar9597@gmail.com) Received: by mail-io1-xd41.google.com with SMTP id e3so262529ioc.12 for ; Fri, 21 Jun 2019 23:16:23 -0700 (PDT) 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=jL7S0R6owBAKr64PAfXcJcN41W4O6uAvItC3RWJ7QQY=; b=HNeD0arXwZeviEPgKTXwb3ZN/3s7YJvZM8DINRYyFeUwBK5GbAqGLMHZfwqPluCvFR el2rXDiTZ6QzfUp+/kLlV/EuoSa2b6zGT3ATt0gXXcynz6rPtxTbpERSFJXf7Zu2F7zp jZ0BmYGHdjDhNJMG21wdOkgdFJt0IgiliJ8YuD9CRSbaS1VPJHbRNzEO8kj2LGwRBhBi pulvuNA+D1oyflLse0qXF0yJCY48Qt4YjWgEhGjaov8n/AMEIigteBtg4VIVDY/DtWhH TqrWxdH4xRMK+FmiCorWh9Wv9+l9HpYtcwwtdwSkFw8s/aII3Sh8Tf9y0Z1mVOtQEj7j Vktw== 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=jL7S0R6owBAKr64PAfXcJcN41W4O6uAvItC3RWJ7QQY=; b=iI5kqYG0hVx+84Ao+DozLQ5q5UtWH6TvHVkdpLT6v/SjzqdSLI9z48Uerho6DaNlGK 0sIkNLBsoAYWZPc0L+5jAUfApYB/nchs8EWRr88+BFkDcPCuuNuN5SiFvkn3UAhi7ok1 lyWsWOYWm5GNAvUYeIJQXu/zncePgiw/sJX1ZVlYLj1EowfNB8V/2J8w61PPwJNGEGV9 bBHHXmDHQ5Ej+wJ2Ha9NclN5DxLdbyRWKWT/g01I+wh5GgUgXAC7StDMr+dMo/c/s9f0 eJz8fcN0o5QYL2zNO/J+7r65v4ro8RUOqH4TaSyuP4ZRSzheZ6oZo4gyyMceKmTUWoj6 7G4Q== X-Gm-Message-State: APjAAAUDgB/t9qgRJf0WiOtuJ5HsOn6JZtaJCKo9ttj8+OqcVDxjxNH/ Sz7/ARHSFvc3VDvHBNjp8SV41xOvF0wyQ4M7UkNaxzaz X-Google-Smtp-Source: APXvYqz9BxpzO3PzJRMrwdkv6jk9rM7hCObI9ubSl0GMog31zFH0AiwNw/IMQExNMI68ItFY73AQJCQvQMIRXu/4cuk= X-Received: by 2002:a02:3308:: with SMTP id c8mr46838658jae.103.1561184182994; Fri, 21 Jun 2019 23:16:22 -0700 (PDT) MIME-Version: 1.0 References: <20190621170845.GD2903@eldorado> <20190621171343.GE2903@eldorado> <20190621190502.GA35692@bluezbox.com> <20190621193419.GG2903@eldorado> In-Reply-To: <20190621193419.GG2903@eldorado> From: Vijay Kumar Banerjee Date: Sat, 22 Jun 2019 11:46:11 +0530 Message-ID: Subject: Re: Writing to /dev/fb0 To: Sergey Manucharian Cc: Oleksandr Tymoshenko , freebsd-arm@freebsd.org X-Rspamd-Queue-Id: B72CC6B959 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=HNeD0arX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of vijaykumar9597@gmail.com designates 2607:f8b0:4864:20::d41 as permitted sender) smtp.mailfrom=vijaykumar9597@gmail.com X-Spamd-Result: default: False [-4.80 / 15.00]; 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]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; 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)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[1.4.d.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]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.958,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-0.83)[ip: (1.36), ipnet: 2607:f8b0::/32(-3.15), asn: 15169(-2.33), country: US(-0.06)]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] 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: Sat, 22 Jun 2019 06:16:25 -0000 On Sat, Jun 22, 2019 at 1:04 AM Sergey Manucharian wrote: > Excerpts from Oleksandr Tymoshenko's message from Fri 21-Jun-19 12:05: > > You probably can convert this source file from my tslib branch to > > standalone app: > > > > https://github.com/gonzoua/tslib/blob/freebsd/tests/fbutils-bsd.c > > > > -- > > Thanks, gonzo! > > That's really simple! > > I added "main" and it draws a red rectangle! > > int main (int argc, char** argv) > { > > open_framebuffer(); > setcolor (4, 0xff0000); > rect(100, 200, 200, 300, 4); > close_framebuffer(); > } > > Vijay, > > Before compiling remove references to font related stuff like > "put_char" and "put_string" since they need linking with a font > processing library (not libfreetype). > > Thanks Oleksandr and Sergey! This looks like exactly what I was searching for! > =CF=9E=CF=BB > >