From owner-freebsd-arm@freebsd.org Tue Aug 14 13:30:12 2018 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 95B9A10782CF for ; Tue, 14 Aug 2018 13:30:12 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-qt0-x229.google.com (mail-qt0-x229.google.com [IPv6:2607:f8b0:400d:c0d::229]) (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 0F4138EADD for ; Tue, 14 Aug 2018 13:30:12 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: by mail-qt0-x229.google.com with SMTP id h4-v6so21051784qtj.7 for ; Tue, 14 Aug 2018 06:30:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BsIfcrdLGWdywFl6s+BMyVWH7PCa+bIjOupc1OhoG2c=; b=lqEdQ2Ts6068hOSjrbgRryfVVk21SDYC0WnA8MfaHVJN1juhrJ5GxYHcGoAFEr4c4g KD2vBrakXRXGyNIEJdeA6KOoI6HDxMU4dsW82zBs+lKftRoFmEFP092cG+LYa68s4wOL kmYz1PeG8yfN04tfVhvOZrmHamVSfK1yUCoop1z003xlS4ouczCdwARczNIhFqos2dPU MUFEDZVnPx+hBVaPEBb5La7n90dFA/U/AL2K6M4gpav+5MTFvVdsuuk4HUAPpdt6xB5E W9YkowkxQydN6b/J3ujopYZzTsy+hFALIzfC1vNNgEpwfrVZcIREFouXPtiu/hCW53jS NIFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BsIfcrdLGWdywFl6s+BMyVWH7PCa+bIjOupc1OhoG2c=; b=ryYewNFU70Q1iUcx8Ab9WiRSZsbwhM0MDac3RHgaj0rLiihGvz0Zezq95kkboITGru PzoRqFGuV/oc09KOr2IFDeJaEwlHgy5mAZfEhPfL3X36pma426j+yl/qQ0L4/K3Z2Iak Y0EVhqoFt3KF5FQQPmQBlSSXQiJ3w1E6WkiQIgry6jE68vb7MTtvOlDxKwMqHRA9z7Y8 KiDd7B03kfaq5Vm0taVW1/zT8+4r6PMfkEmcmQTe9ZlGD8wqRWoBkT/cI+mZ2scHuQyB TXXXDmPFjiAHNgfIzAcD/cj4YjiMUABiAsCZt6cJe3giosnnnidpndLXVFIzqeYy6MTn byLQ== X-Gm-Message-State: AOUpUlH2eLEA5AhqjL9soOWpAtgbr/1FmJXWvLYzVY3nFFCAzoqUI+tc ZLqYaBl+0lfTq0bViK+kCNRJpwva2G4ju4lLIq4q6D4Y8tg= X-Google-Smtp-Source: AA+uWPwAq2SFOyqlyOix6/FSYSZI2jHEZ0aT/eIIhUBuRpAT3T9RQHQ+4rm234+cAx/8G2hMhefu01/sFq8FSORjM8Q= X-Received: by 2002:ac8:29a4:: with SMTP id 33-v6mr21952826qts.354.1534253411577; Tue, 14 Aug 2018 06:30:11 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:aed:29c3:0:0:0:0:0 with HTTP; Tue, 14 Aug 2018 06:30:11 -0700 (PDT) In-Reply-To: <1534253037.1656.0@hraggstad.unrelenting.technology> References: <1533577708.4175.0@hraggstad.unrelenting.technology> <1534253037.1656.0@hraggstad.unrelenting.technology> From: Ganbold Tsagaankhuu Date: Tue, 14 Aug 2018 21:30:11 +0800 Message-ID: Subject: Re: Rockchip RK3399 (ROCKPro64) boots to multiuser To: Greg V Cc: freebsd-arm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 13:30:12 -0000 Greg, On Tue, Aug 14, 2018 at 9:23 PM, Greg V wrote= : > > > On Tue, Aug 14, 2018 at 2:01 PM, Ganbold Tsagaankhuu > wrote: > >> Greg, >> >> On Tue, Aug 7, 2018 at 1:48 AM, Greg V >> wrote: >> >>> Hi, >>> >>> I managed to boot FreeBSD on the Rockchip RK3399 SoC (Pine64 ROCKPro64 >>> board): >>> >>> https://gist.github.com/myfreeweb/5f5b9e56f9a0fd1d63a46c34886f5ad1 >>> >>> As with the ROCK64, boot is over the network. To boot, dd ayufan's >>> ubuntu image onto an sdcard and Ctrl-C the linux boot on the kernel >>> selection screen. U-Boot on SPI flash is not available yet. >>> >>> Unfortunately, performance is very disappointing =E2=80=94 I think the = big >>> cluster's default frequency is very low. >>> (Everything runs faster if cpuset to the LITTLE cores.) >>> >>> Looks like we'll need a driver for the "rockchip,rk808" PMIC to make >>> cpufreq_dt work=E2=80=A6 >>> Also my attempt at the clock driver is very incomplete ;) >>> >> >> Can you change the patches according to style(9) for phabricator review = ( >> https://reviews.freebsd.org) and send them to me? >> I think full files should be fine too. >> > > My patches are rather incomplete and janky, don't do anything with them. > manu@ got a ROCKPro64 recently https://twitter.com/manuvadot/ > status/1027152057051041793 so you can expect proper versions of these > "soon" :) > I meant to say that we can rather use your patches if no one did it yet. Emmanuel, Do you have proper patches yet? > > (btw is the style(9) thing about how I put the various clock setting > structs on one line? :D) > > Yes :) thanks, Ganbold