From nobody Sun Dec 17 19:52:51 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4StYXX5jL9z546XZ for ; Sun, 17 Dec 2023 19:53:00 +0000 (UTC) (envelope-from samm@freebsd.org) Received: from reindeer.net-art.cz (reindeer.net-art.cz [IPv6:2001:15e8:110:513c::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "reindeer.net-art.cz", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4StYXX1kWvz4Jbm for ; Sun, 17 Dec 2023 19:53:00 +0000 (UTC) (envelope-from samm@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: by reindeer.net-art.cz (Postfix, from userid 65534) id 841205F315; Sun, 17 Dec 2023 19:52:57 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on reindeer X-Spam-Level: X-Spam-Status: No, score=-1.2 required=10.0 tests=BAYES_00,SPF_HELO_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.2 Received: from owl.net-art.cz (owl.net-art.cz [IPv6:2a03:6920:0:10::101]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "owl.net-art.cz", Issuer "R3" (not verified)) by reindeer.net-art.cz (Postfix) with ESMTPS id 6E30D5EF19; Sun, 17 Dec 2023 19:52:55 +0000 (GMT) Received: from [::1] (account samm@net-art.cz HELO webmail.net-art.cz) by owl.net-art.cz (CommuniGate Pro SMTP 6.1.20) with ESMTPA id 2210245; Sun, 17 Dec 2023 20:52:51 +0100 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Date: Sun, 17 Dec 2023 20:52:51 +0100 From: Alex Samorukov To: Mark Millard Cc: freebsd-arm Subject: Re: problems on FreeBSD14 on armv6 board (RPI1-B) In-Reply-To: References: <2025707260.15114.1702739060451@localhost> <29274DE1-57D2-45D3-BEB0-CBCF7C70681D@yahoo.com> <3E19FD5D-BC1A-4BA0-970F-BF195D8F7470@yahoo.com> Message-ID: <7115fd399a58084266b71ecfbd400334@freebsd.org> X-Sender: samm@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24806, ipnet:2001:15e8::/32, country:CZ] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4StYXX1kWvz4Jbm On 2023/12/17 19:20, Mark Millard wrote: root sort of support for armv6, not > lib32 support. > > The FreeBSD build servers ( ampere[1-3] ) are not booted with > such special kernels (or worlds). But they do build armv7 on > arm64. armv7 also used to be built via qemu on amd64 and had > the same sorts of problems back then that armv6 still has. > > If you read my other notes in: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256132 > > be aware that some later notes correct my errors in my earlier > notes, making for a messy read. > Thank you for reply. I had (possibly wrong) the impression that armv7 CPU is compatible with instructions. At least i can perfectly run armv6 binaries (e.g. rpi1 chroot) on armv7, despite the fact that it is "kern.supported_archs: aarch64 armv7". Also i was using this VM for a long time, just to build packages I am using for my old rpi1 (domoticz, ebusd, fresh libraries, etc). Now I am running full bulk and it seems to work fine. I did a small patch to poudrier to make it possible [1], but it seems that upstream does not care about patches anymore. Regarding bug 256132 - so far i cant find that it impacting my builds at all - binaries are running well. I could assume that some configure scripts could try to check (and enable) some flags for armv7 while building, but I think the chances are very low and it could be handled on ad-hoc basis. Please correct me if i am missing something. Thank you, Oleksij [1] https://github.com/freebsd/poudriere/pull/1063 > > === > Mark Millard > marklmi at yahoo.com