From owner-freebsd-arm@freebsd.org Tue Jan 1 17:36: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 3BA5E1422EC6 for ; Tue, 1 Jan 2019 17:36:47 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from mail-vk1-xa34.google.com (mail-vk1-xa34.google.com [IPv6:2607:f8b0:4864:20::a34]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4925377471 for ; Tue, 1 Jan 2019 17:36:44 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by mail-vk1-xa34.google.com with SMTP id v70so6185565vkv.7 for ; Tue, 01 Jan 2019 09:36:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chen-org-nz.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=BYKyafAkV0D9Do1DOtbn/Ihb9/9eox9zqIwwitgFmys=; b=uBzr7yypNJP4v4Feijb/3JU9uIG5TCrsas8UE6wEuHZIbvdZ336i1gcBmKJjBnmHjf D6lbOlmV3fBVaGfBwH0VC2QZ8NaXyE8zYvAO7oxIJBpD7rEhmfz3wQecE1je340qYRXG GO/YM8tO7yvwSYHGel06O49AzslLwype7veChmn74J6EKmtCqlhV3EDeeOuq1n6CjmpN HuSRwp/0UiOhOlISceW0ODaYfLB1w0TCXLzCimKUu792JO4Aag0TkDER5o7LPyYCeL4s +oNDzsYxh1jkKPjy9ImfblaFZjH07Hy5bjmWBVcG2/R3VSnttXpsmU/N+8EAPPNAifCR z4nA== 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=BYKyafAkV0D9Do1DOtbn/Ihb9/9eox9zqIwwitgFmys=; b=HEK804rYXDiOdwhSL4tyi4O61/PPP1hes6pVTOsi9rFROeA7bPxeZWRRsmsWKtra0X 2/zAvCJ+f7nVOnSrhhH3E74nCavTW6KZod4WZGJhg76VTFJJtLUBjRSZJtHxWqRrQCfU ZC/LvP0zdEZiWjIkU9jL1R0jqfDZDKTuo8lLnBNkZMenWbc0PTlAi41RVhgc797BaF9H SUSHQh1JY46X5CHXrMtyiUFBQ8/IxKlNPTjIoysZZZgNNQ+OiGrbkTI8fPjt5Wr/awRw V/JeEF1AAWM8RSFwU+R/O78nlyEPNaWhUg6+vDQpgg8Y+YHPdiRQfZL30uJQLgqyn/vw 2ScQ== X-Gm-Message-State: AJcUukfVeled2hHZxSfo2S2GgJZsSW4EVCyFjpSRq8gXlxRq0iCAAfm1 DTFZcNnBtaMiXZoKryPJC9ozBhvEtZa3IMj5p5mCUl5BbdE= X-Google-Smtp-Source: ALg8bN5FoCvzJ3bXyrd9Ue1IOfCmO9zIDanLYuCOdcBH5SSMeR2nBy0BuqKRfJtMXDAS9tAySy+ZRnmfpC8EC9DlExA= X-Received: by 2002:a1f:95d1:: with SMTP id x200mr14541375vkd.78.1546364203773; Tue, 01 Jan 2019 09:36:43 -0800 (PST) MIME-Version: 1.0 From: Jonathan Chen Date: Wed, 2 Jan 2019 06:36:30 +1300 Message-ID: Subject: What's the difference between armv6 and armv7? To: freebsd-arm@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4925377471 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=chen-org-nz.20150623.gappssmtp.com header.s=20150623 header.b=uBzr7yyp X-Spamd-Result: default: False [-2.54 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; R_DKIM_ALLOW(-0.20)[chen-org-nz.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[chen-org-nz.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[alt1.aspmx.l.google.com]; DMARC_NA(0.00)[chen.org.nz]; RCVD_IN_DNSWL_NONE(0.00)[4.3.a.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]; R_SPF_NA(0.00)[]; NEURAL_HAM_SHORT(-0.50)[-0.503,0]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-0.73)[ipnet: 2607:f8b0::/32(-2.00), asn: 15169(-1.58), country: US(-0.08)] 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, 01 Jan 2019 17:36:47 -0000 Hi, Sorry if this sounds like a simple question, but what is the difference between armv6 and armv7 TARGET_ARCH? I had opportunity to try out both for STABLE-12 the past few days, and the resultant kernel and binaries both work for the RPI2. The file(1) output doesn't appear to offer any distinguishing features either: rpi2:~,6:35am> file /usr/bin/true /usr/bin/true: ELF 32-bit LSB executable, ARM, EABI5 version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 12.0 (1200500), FreeBSD-style, stripped Thanks -- Jonathan Chen