From owner-freebsd-arm@freebsd.org Wed Aug 15 14:49:00 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 9E70B1058603 for ; Wed, 15 Aug 2018 14:49:00 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from hraggstad.unrelenting.technology (hraggstad.unrelenting.technology [IPv6:2605:2700:0:3:a800:ff:fee9:2feb]) (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 1D86D906FF for ; Wed, 15 Aug 2018 14:48:59 +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=WHX/iVYmh9rEFmJ6yxefOpMp9FEEvrZzbSVrxwG2DlY=; b=mBea4FawH2RR4pzIObpsVmKFNP7OjllmVEC1bQKCxmgajQc8id0Gr9+TqbcoZaNSAdXCTPn+OOMjB/8Jny+OS1wLaM+dF/K7UeIyE+MqjnkEa4zYn/e45mooReWR0ocL6U2QLbH2vtS63so5DUqxBoy6Hzlb6xYi4hCk2ROASNw= Received: by hraggstad.unrelenting.technology (OpenSMTPD) with ESMTPSA id dc3e7756 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Wed, 15 Aug 2018 14:48:45 +0000 (UTC) Date: Wed, 15 Aug 2018 17:48:39 +0300 From: Greg V Subject: Re: Rockchip RK3399 (ROCKPro64) boots to multiuser To: Ganbold Tsagaankhuu Cc: Emmanuel Vadot , freebsd-arm Message-Id: <1534344519.3897.0@hraggstad.unrelenting.technology> In-Reply-To: References: <1533577708.4175.0@hraggstad.unrelenting.technology> <1534253037.1656.0@hraggstad.unrelenting.technology> <20180815105602.b106e1f55a3f839880b1b60e@bidouilliste.com> 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: Wed, 15 Aug 2018 14:49:00 -0000 On Wed, Aug 15, 2018 at 5:30 PM, Ganbold Tsagaankhuu=20 wrote: >=20 >=20 > On Wed, Aug 15, 2018 at 4:56 PM, Emmanuel Vadot=20 > wrote: >> On Tue, 14 Aug 2018 21:30:11 +0800 >> Ganbold Tsagaankhuu wrote: >>=20 >> > Greg, >> > >> > On Tue, Aug 14, 2018 at 9:23 PM, Greg V=20 >> wrote: >> > >> > > >> > > >> > > On Tue, Aug 14, 2018 at 2:01 PM, Ganbold Tsagaankhuu=20 >> >> > > wrote: >> > > >> > >> Greg, >> > >> >> > >> On Tue, Aug 7, 2018 at 1:48 AM, Greg V=20 >> >> > >> wrote: >> > >> >> > >>> Hi, >> > >>> >> > >>> I managed to boot FreeBSD on the Rockchip RK3399 SoC (Pine64=20 >> ROCKPro64 >> > >>> board): >> > >>> >> > >>>=20 >> https://gist.github.com/myfreeweb/5f5b9e56f9a0fd1d63a46c34886f5ad1 >> > >>> >> > >>> As with the ROCK64, boot is over the network. To boot, dd=20 >> ayufan's >> > >>> ubuntu image onto an sdcard and Ctrl-C the linux boot on the=20 >> kernel >> > >>> selection screen. U-Boot on SPI flash is not available yet. >> > >>> >> > >>> Unfortunately, performance is very disappointing ? I think the=20 >> 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=20 >> to make >> > >>> cpufreq_dt work? >> > >>> Also my attempt at the clock driver is very incomplete ;) >> > >>> >> > >> >> > >> Can you change the patches according to style(9) for=20 >> 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=20 >> with them. >> > > manu@ got a ROCKPro64 recently https://twitter.com/manuvadot/ >> > > status/1027152057051041793 so you can expect proper versions of=20 >> these >> > > "soon" :) >> > > >> > >> > >> > I meant to say that we can rather use your patches if no one did=20 >> it yet. >> > >> > Emmanuel, >> > >> > Do you have proper patches yet? >>=20 >> No and I'm not in a hurry to put everything up for RK3399 so close=20 >> to >> freeze. >=20 > Yes, I agree. >=20 >=20 >> But if you want to clean them and put this in a review be my guest, >> I'll review them. >=20 > Ok, I will see if I'll have some time to polish it unless someone=20 > else will do it. I'm currently trying to add more clocks, I'll change the style too=85 =