From owner-freebsd-arm@freebsd.org Tue Aug 14 13:24:20 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 CFB1210781C2 for ; Tue, 14 Aug 2018 13:24:20 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from hraggstad.unrelenting.technology (hraggstad.unrelenting.technology [71.19.146.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hraggstad.unrelenting.technology", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ADAC8E9E0 for ; Tue, 14 Aug 2018 13:24:19 +0000 (UTC) (envelope-from greg@unrelenting.technology) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=unrelenting.technology; h=date:from:subject:to:message-id; s=default; bh=ELHXcRsdpa3jBwPgHQ3pIDoynSa5h7BOQQVk4wjO3hs=; b=oThPZUaKofHiYrR6UGp9kw/RnA2rrHJs+D1IjnHULkGewFbmMaxP4Pc5UIMFfTxAx0Fnn7Z4y1yFDhM0vVJH2OOVTjVf6pfCrpRhQalcp56vgl5an/vD9GbWEmHMzB9KiEMHhz1WXhQ4O/wAEExSziFB1/V8iBx3yLPYQQjPTSY= Received: by hraggstad.unrelenting.technology (OpenSMTPD) with ESMTPSA id 3e257be8 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Tue, 14 Aug 2018 13:24:03 +0000 (UTC) Date: Tue, 14 Aug 2018 16:23:57 +0300 From: Greg V Subject: Re: Rockchip RK3399 (ROCKPro64) boots to multiuser To: Ganbold Tsagaankhuu Cc: freebsd-arm Message-Id: <1534253037.1656.0@hraggstad.unrelenting.technology> In-Reply-To: References: <1533577708.4175.0@hraggstad.unrelenting.technology> X-Mailer: geary/0.12.2 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: quoted-printable 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:24:21 -0000 On Tue, Aug 14, 2018 at 2:01 PM, Ganbold Tsagaankhuu=20 wrote: > Greg, >=20 > On Tue, Aug 7, 2018 at 1:48 AM, Greg V =20 > wrote: >> Hi, >>=20 >> I managed to boot FreeBSD on the Rockchip RK3399 SoC (Pine64=20 >> ROCKPro64 board): >>=20 >> https://gist.github.com/myfreeweb/5f5b9e56f9a0fd1d63a46c34886f5ad1 >>=20 >> As with the ROCK64, boot is over the network. To boot, dd ayufan's=20 >> ubuntu image onto an sdcard and Ctrl-C the linux boot on the kernel=20 >> selection screen. U-Boot on SPI flash is not available yet. >>=20 >> Unfortunately, performance is very disappointing =97 I think the big=20 >> cluster's default frequency is very low. >> (Everything runs faster if cpuset to the LITTLE cores.) >>=20 >> Looks like we'll need a driver for the "rockchip,rk808" PMIC to make=20 >> cpufreq_dt work=85 >> Also my attempt at the clock driver is very incomplete ;) >=20 > Can you change the patches according to style(9) for phabricator=20 > 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=20 https://twitter.com/manuvadot/status/1027152057051041793 so you can=20 expect proper versions of these "soon" :) (btw is the style(9) thing about how I put the various clock setting=20 structs on one line? :D) =