From owner-freebsd-arm@freebsd.org Mon Nov 11 07:33:57 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 051701AD823 for ; Mon, 11 Nov 2019 07:33:57 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (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 47BN0g6ZC0z3MqT for ; Mon, 11 Nov 2019 07:33:55 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: by mail-qk1-x730.google.com with SMTP id e187so10404231qkf.4 for ; Sun, 10 Nov 2019 23:33:55 -0800 (PST) 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=tL4eIfvfiZDNMWuWqPNG9nkV7qLNqkQ6gehIFvuSba0=; b=cz8/1ZAWKb/N+ILP57kR4c5PNZWv4I6486rJas2AEL5nUA1zOIeQFOkTk/4hDscu3y rAwWzTY503+rgwFUtVP84jaPUurafN+qM5W3WCIHY7pSDma2Wt3nqJOZFEJ8ulxOegU/ +vj6nujPE7cjWrufdiWlpS601rK0/r6VsRrS8CzDmTh5OjrQNrcWcUoLuya/Oz5yNltO /JopA4aIdzLdG3BHD9P/JZCXzM91e/WWQ45YlwwOyoSoh7+fKfYdV/ZKxrnLVZACNRJm fvN9IATSIqYwC2gijzMemVHupDbrKYB6lMhPUqmvyER1LS1v7zdwBlWVU8qA0WIDaCed uDGQ== 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=tL4eIfvfiZDNMWuWqPNG9nkV7qLNqkQ6gehIFvuSba0=; b=Oh5FviCJlRDt8TVv828hn/XehMfZ8C5BY9YcCX+g5ZYXkGzQZfiaQjAQrmoYkL7/mj W7PpoYsucATWlbBWaaahr9d3FkfWvharyHomHplC2G4ZEIQkgGbT7CrB0xeElskDuJFw Vo8QpjxV7l52x7xSeE3iXRgNjHpsxxzFsCqNUVXgB6mVxabIWFtntm01SDtCcRTG5eQE TA5uWekzbTldSjo8z+zDdaNdxkvf8MT+t2VOUMPrelm75YpEreWhBUl2tigEm+xQfQ6F 9FvGq6xnS5JTqa5xS7Ox/hLxS9DBX5m93KeNCjEyWQbu2Tf4tQOEBf0/6gKwisL8BO2i O2LQ== X-Gm-Message-State: APjAAAWGODIUzDTscs3C5c7kxerrVM/jTqJzyI/vYj1I/zq/Prh/JHJW m9S9UksWYufgtGKTuunz53acwJ7vunNTABe2GUA= X-Google-Smtp-Source: APXvYqzzpXh8jbsG6qCd/WqEK1fNJYL6X1JlqeH/T2jTjtVjmtCe+D/JibIVwk/IQD8sneQdQ+xV+K1I/aDZRNZpa0k= X-Received: by 2002:a05:620a:708:: with SMTP id 8mr9405021qkc.369.1573457634823; Sun, 10 Nov 2019 23:33:54 -0800 (PST) MIME-Version: 1.0 References: <20191111092629.7693b8c0@i11.co> In-Reply-To: <20191111092629.7693b8c0@i11.co> From: Ganbold Tsagaankhuu Date: Mon, 11 Nov 2019 15:33:43 +0800 Message-ID: Subject: Re: Where cpufreq in NanoPi NEO? To: Nick Kostirya Cc: "freebsd-arm@freebsd.org" X-Rspamd-Queue-Id: 47BN0g6ZC0z3MqT X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=cz8/1ZAW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ganbold@gmail.com designates 2607:f8b0:4864:20::730 as permitted sender) smtp.mailfrom=ganbold@gmail.com X-Spamd-Result: default: False [-1.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[13]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.34), ipnet: 2607:f8b0::/32(-2.34), asn: 15169(-2.00), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; 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]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[0.3.7.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]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] 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: Mon, 11 Nov 2019 07:33:57 -0000 On Mon, Nov 11, 2019 at 3:26 PM Nick Kostirya via freebsd-arm < freebsd-arm@freebsd.org> wrote: > Hello. > > Please, help me find cpufreq in dmesg for NanoPi NEO. > I use FreeBSD-12.1-RELEASE-arm-armv7-GENERICSD.img and > u-boot-nanopi_neo-2019.04. > I see than "device cpufreq" is in > http://svn.freebsd.org/base/releng/12.1/sys/arm/conf/GENERIC, but I do > not see cpufreq in dmesg. > You probably need dts overlay, something like: https://reviews.freebsd.org/D21726 For quick test you can use: https://people.freebsd.org/~ganbold/sun8i-h3-opp.dtbo You should put it in /boot/loader.conf: fdt_overlays="sun8i-h3-sid.dtbo,sun8i-h3-ths.dtbo,sun8i-h3-opp.dtbo" > > About u-boot-nanopi_neo. > Do u-boot-nanopi_neo load dtb automatical? Or I must write > sun8i-h3-nanopi-neo.dtb_type="dtb" > sun8i-h3-nanopi-neo.dtb_load="YES" > in /boot/loader.conf ? > It will use what is set for u-boot-nanopi_neo-2019.04, which should be correct one. Ganbold > But It is not even help to see cpufreq in dmesg. > > Nick. > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >