From owner-freebsd-arm@freebsd.org Mon Aug 6 17:48:40 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 82FCC105FD3A for ; Mon, 6 Aug 2018 17:48:40 +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 0B253816A2 for ; Mon, 6 Aug 2018 17:48:39 +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=fAzwDr+zlkwf6vggjm9maiM2vwQlHAGJ0YItqTtOgm0=; b=jYgAZEg5gm5VvEXT/OxwkXNrEE3VTwA4752Q+X4pQI9OO2PVWB3d0MPy7B3bCd3QSHM+9eJ8ON5bqUTvIfhhEcAB3wRnnX8cgc5KonxUSpozvYaUP7Ay1qi7JhE2eGPEyxciN5MH5KAtgSor/juVEGQy99Iv3KewULIvPRV+5b4= Received: by hraggstad.unrelenting.technology (OpenSMTPD) with ESMTPSA id 9013a662 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO for ; Mon, 6 Aug 2018 17:48:28 +0000 (UTC) Date: Mon, 06 Aug 2018 20:48:28 +0300 From: Greg V Subject: Rockchip RK3399 (ROCKPro64) boots to multiuser To: freebsd-arm Message-Id: <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: Mon, 06 Aug 2018 17:48:40 -0000 Hi, I managed to boot FreeBSD on the Rockchip RK3399 SoC (Pine64 ROCKPro64=20 board): https://gist.github.com/myfreeweb/5f5b9e56f9a0fd1d63a46c34886f5ad1 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. 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.) 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 ;) =