From owner-freebsd-arm@freebsd.org Wed Nov 13 11:03:02 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 EBE941ADE0F for ; Wed, 13 Nov 2019 11:03:02 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (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 47ChY20rWMz3PKd for ; Wed, 13 Nov 2019 11:03:01 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: by mail-qk1-x732.google.com with SMTP id z16so1292548qkg.7 for ; Wed, 13 Nov 2019 03:03:01 -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=HL1u54qrpriiZAy1AGEQQikIFnPupFgc70gKlyEagnk=; b=q3BqleyQJbWS8WaB4OEzSoVgKb6IagQHlhRNEWfpr8cpmSOoiiAcVhQeBBbxcQlq4x Iz0bR5H1xI5fRtRc2HK9f/xMrKskYp0bWeaihqvDAnsZDZyoBc16ke/Wym/woE4FJ1Z1 Z0D9ZSwiCxs/ozI3K2/6hczK8ArR4xFKRX/WCUpNGzLdP9vbMXG3HKXF/ua5NrGLhCxM NWrkmm7dLsCw4xzbVv72c5xtpqzuYHMn5MeO+sYnNwCMO2JNNaI9uhrbCEJAInBQg+Bj bctU65tcouvg3xQqPHkggQWCiyPI3QL2FbZsRoxybPKqTKWKX/CYgtLAayFnIRH/YpQI YdMQ== 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=HL1u54qrpriiZAy1AGEQQikIFnPupFgc70gKlyEagnk=; b=ATMDqh4+IJVNXqpQ8PKXQnMg/6fpmGSwR1K5hb66Rwd6dKG3NYcuSXUHyNUFy8LIx2 ZRP7fDnxQmfuWryZ8jMcMHlsHqz54vw+iKWB0RwBpOP3LBiv7Onit+OEjrHuFJKqSVFQ rFba+hlw5Kbyxu8uQ3Z/S9DKdd4vzEjowFc2lObwLy1M7MF4sYYMrrDQYr42t8hZ3Xvx 9r6PiycgcdCI72pboBD7f9GDHDY3tN/WMZhStEp8sCOHlBdMHbvQKs1rDIgg7j7ubwJe NkoVxnx2nooyj40XXYiIO0KJn8BI8deRx+kZqe+nS0lJ9l1vdDe9L3Vp471QIOR/1HJF nxHA== X-Gm-Message-State: APjAAAXQG1+kUHFjHRb7pAtzBBtaqh9vsKkCoxHC9KNZBU7HVlA6xT3i hX/6rVjdyvZvW46BGwLBftsBgbhHFB/cn31D9HQ= X-Google-Smtp-Source: APXvYqwhP/lbfML+/TTkuccKMijuIZvvCQ7lND+USBhKLuAuEMIeJbaTZR0TF8zi97ldlMMaYUTHIPgYjKgec+0L7n4= X-Received: by 2002:a37:8344:: with SMTP id f65mr1808458qkd.364.1573642981100; Wed, 13 Nov 2019 03:03:01 -0800 (PST) MIME-Version: 1.0 References: <20191111092629.7693b8c0@i11.co> <459E7D91-0276-421F-9B90-53A6B8F4D09D@cs.huji.ac.il> <131C927B-276E-4FDB-955B-FEEB9E98E11B@cs.huji.ac.il> In-Reply-To: <131C927B-276E-4FDB-955B-FEEB9E98E11B@cs.huji.ac.il> From: Ganbold Tsagaankhuu Date: Wed, 13 Nov 2019 19:02:49 +0800 Message-ID: Subject: Re: Where cpufreq in NanoPi NEO? To: Daniel Braniss Cc: Nick Kostirya , "freebsd-arm@freebsd.org" X-Rspamd-Queue-Id: 47ChY20rWMz3PKd X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=q3BqleyQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ganbold@gmail.com designates 2607:f8b0:4864:20::732 as permitted sender) smtp.mailfrom=ganbold@gmail.com X-Spamd-Result: default: False [-2.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]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.40), ipnet: 2607:f8b0::/32(-2.33), asn: 15169(-2.00), country: US(-0.05)]; SUBJECT_ENDS_QUESTION(1.00)[]; 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)[]; RCPT_COUNT_THREE(0.00)[3]; 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)[2.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]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] 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: Wed, 13 Nov 2019 11:03:03 -0000 On Wed, Nov 13, 2019 at 3:41 PM Daniel Braniss wrote: > > > On 13 Nov 2019, at 03:56, Ganbold Tsagaankhuu wrote: > > > > On Tue, Nov 12, 2019 at 10:20 PM Daniel Braniss > wrote: > >> >> Hi Ganbold, >> any chance of getting your sun8i-h3-ths.dtso? >> > > It should be already in /usr/src/sys/dts/arm/overlays/ > > indeed, but in current, not in stable, will it be MFC=E2=80=99ed? > Committed as r354678. thanks, Ganbold > thanks, > danny > > > Ganbold > > >> >> thanks, >> danny >> PS: im in the process of trying out the freq stuff on a nano-pi v2 >> >> > On 11 Nov 2019, at 9:33, Ganbold Tsagaankhuu wrote= : >> > >> > 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 d= o >> >> 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=3D"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=3D"dtb" >> >> sun8i-h3-nanopi-neo.dtb_load=3D"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= " >> >> >> > _______________________________________________ >> > 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" >> >> >