From owner-freebsd-arm@freebsd.org Mon Feb 26 21:42:23 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 35C11F24DB5 for ; Mon, 26 Feb 2018 21:42:23 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B33D16AFD3 for ; Mon, 26 Feb 2018 21:42:22 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id c0bbad91 for ; Mon, 26 Feb 2018 22:42:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=mail; bh=t232RWfxfoOsAn/q2vzt2GF/2 xg=; b=t8FZAqCk8dFSB9+Hei1Hxgvnu3HsdHStliGvRM5CkZkgp+k9NKB2OpXQ7 6vCDUG8nnNGKPBWFDopCypObVU9U7gc65YB3yAMLf+UEDqJBE23s0JP86VWGPZhC zdyJuy0/Gjhao+1n62dj78s76q4N9lw7/sssmaoHOYvnu5Pej4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=mail; b=p/BYmrrkL8KsHck1WJM pC1NSgewVln4aq3lGRwfENVlRkYhZaCxl+sBqfpMf0HNmrpxe7hIvUcsGhO2VtAG ed6ZO7a2Mqhl6U4VM6oG+cv6Q9ECBi178rwpoeOEWRKkCNsXVpY/tsJzMODzHISV EM8ImS4k/cgyWyWsXmnqXqsk= Received: from arcadia.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id aad2895c TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO for ; Mon, 26 Feb 2018 22:42:14 +0100 (CET) Date: Mon, 26 Feb 2018 22:42:14 +0100 From: Emmanuel Vadot To: freebsd-arm@freebsd.org Subject: Rock64 status Message-Id: <20180226224214.64b14ec9f016f713cd8dec6f@bidouilliste.com> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2018 21:42:23 -0000 Hi arm@ I've just pushed the start of the Rock64 bits in the tree. Here is the current status : - Full boot to multiuser - Some clocks are supported - SD is supported (perf is around ~5MB/s for read and write) - eMMC isn't supported, we need regulators first - OTG seems to be probed but I haven't tested - OHCI work but we don't support the usb phy so it only works because the bootloader setup that for us Bootloader status : I don't plan to provide a port for this board, this board have an SPI flash which can hold u-boot for us. Hopefully this spi will be written in factory at some point, for now it isn't. >From https://github.com/ayufan-rock64/linux-build/releases download the image "u-boot-flash-spi-rock64.img.xz", dd that on an sdcard and boot your Rock64, this will flash u-boot on the spi and you won't need u-boot on the sdcard after that. This u-boot is based on 2017.09 which have some problems with EFI block devices, this means that using boot1.efi or loader.efi from the sdcard will fail. However netbooting works like a charm and for now this is perfect for me as I don't want to swap sdcard when doing kernel dev. I hope that the u-boot status will change soon. Current work : - Working on phase clock for the SD/MMC, this will probably give better performance. Futur work (mostly in order): - I2C driver - PMIC driver - Do a proper usbphy driver - Split generic-ehci in two parts : ACPI and FDT - ??? - Profit If you have any question or wanna help don't hesitate to answer this email. -- Emmanuel Vadot