From owner-freebsd-arm@freebsd.org Thu Jul 18 12:51:51 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A7EE8A8508 for ; Thu, 18 Jul 2019 12:51:51 +0000 (UTC) (envelope-from dpolyg@gmail.com) Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ADDFD88CC0 for ; Thu, 18 Jul 2019 12:51:50 +0000 (UTC) (envelope-from dpolyg@gmail.com) Received: by mail-pg1-x52b.google.com with SMTP id s1so6559451pgr.2 for ; Thu, 18 Jul 2019 05:51:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=/vOKikfXo2zgjiwtG8/ealNMyHEekc5I6PEVGszCBiU=; b=bskfe8hLmD6M201TkZkxSS1n2h9EwOOcLW6w12f760EohJXTcoNVjF9omVUyfYOd69 bwV6ne7E6nR4q7+VKqwlcjq+5eI3nePoHAulyrDRcxx+iyGqeuaKAYf4XBBbN9NtD2kU xUcjHaFenDRv5ggoC0dlt2ZUyNWTx0X/Vqx5huoCH1/PX1kqR6W17O+Ah/ia8czg+sFW kqRRlCu0QFmVHpgWwuDb5PnSMdhA5IeyO3QfdfrWTkK4prkAGVuV187f4QtZBj5V70Tt wzyo9lJvQ+P0bUCOFIzOwJtDvsnmUgN5C2N9/uy4XWAweS9Ju5kMFLs1mDZAuvOIakuF OZvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=/vOKikfXo2zgjiwtG8/ealNMyHEekc5I6PEVGszCBiU=; b=jYijoUl1m0PZDJbeQlBayC2fJ8j5nvqWCfVD8cngNf3AcLyPs5C8lb9sfcw+ylcLHO Z610VD95ygIiE13AThb+yeMbuaLq+odW0RorTz4a7pmBs59kMYlOgojZeBHTWuHr4Rui d+dEsIh1tDyD44p+xldrUsv9G/P564gE+0ZVLxLAV7CEWh4bSABDZMphBUxC+x3E27i3 mk+92RQr76UAGKD0w6atsiWU7XExTLmpBKbD49HjHGxYee0Hliz2TJrrYq7EP+u4aZVv d2Yf7T963YEoaXcQqcnH7v2SOnta0TGZNCH6XaGqewajt7SGO3H2KGYlJWrPNyB6WNhR PPSg== X-Gm-Message-State: APjAAAW5o72uL8azQ0q0Ah1BeRLehP2LepkhE3rdmBMyzs/obBiNVHEX wPPW4D3Gt0e9sk8yoanmXzxlsRAM X-Google-Smtp-Source: APXvYqwsF8fzbJ39LNNnNKdhXrTyE80IFIsrpO1osDEuyZ5ptqFnCAFwPN5cEiGAhkJ3JWpn9l1whQ== X-Received: by 2002:a63:8a43:: with SMTP id y64mr47078305pgd.104.1563454309518; Thu, 18 Jul 2019 05:51:49 -0700 (PDT) Received: from [192.168.1.100] (ngn8-ppp1551.tokyo.sannet.ne.jp. [157.192.118.27]) by smtp.googlemail.com with ESMTPSA id m20sm22045473pff.79.2019.07.18.05.51.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jul 2019 05:51:48 -0700 (PDT) Subject: Re: Booting FreeBSD on Rock64 To: Emmanuel Vadot Cc: freebsd-arm@freebsd.org References: <169de7cf-32f2-7b7b-c12e-a86a4b6a9e87@gmail.com> <20190715200127.4b649877d8baefeb5282df64@bidouilliste.com> From: Denis Polygalov Message-ID: <878b15d5-92a5-5137-121c-5a5038323857@gmail.com> Date: Thu, 18 Jul 2019 21:51:43 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190715200127.4b649877d8baefeb5282df64@bidouilliste.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: ADDFD88CC0 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=bskfe8hL; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dpolyg@gmail.com designates 2607:f8b0:4864:20::52b as permitted sender) smtp.mailfrom=dpolyg@gmail.com X-Spamd-Result: default: False [-6.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[b.2.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.80)[ip: (-8.38), ipnet: 2607:f8b0::/32(-3.15), asn: 15169(-2.44), country: US(-0.05)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2019 12:51:51 -0000 > On 16/07/2019 3:01 am, Emmanuel Vadot wrote: > How did you setup the boot ? download u-boot-flash-spi-rock64.img.xz from here: https://github.com/ayufan-rock64/linux-u-boot/releases and flash it. Remove the microSD card. Setup tftp server and nfs servers. Reset the board, interrupt u-boot and switch to manual mode. Then type in terminal: dhcp tftpboot ${kernel_addr_r} boot/loader.efi tftpboot ${fdt_addr_r} boot/dtb/rockchip/rk3399-rockpro64.dtb bootefi ${kernel_addr_r} ${fdt_addr_r} > Do you have tftpd running so u-boot can download the loader and the > dtb ? yes, I do and I can see in the tftp server logs that both boot/loader.efi and boot/dtb/rockchip/rk3399-rockpro64.dtb are downloaded successfully. > If you don't have the dtb in $TFTPDIR/dtb/rockchip/ that might be the > problem, I recall the dtb included in u-boot being incomplete. I'm using dtb that is included into the FreeBSD-13.0-CURRENT-arm64-aarch64-20190711-r349909-memstick.img > I've just booted mine after updating to r350003+c99cb2e79ed6 > without a problem. > Well, I don't see image of this release on the FreeBSD.org server. I guess you mean you compile it from source by yourself? > On 16/07/2019 4:49 am, Peter Jeremy wrote: >> I'm running a Rock64 with >> U-Boot SPL 2017.09-rockchip-ayufan-1035-gd646df03ac (Oct 26 2018 - 08:35:43) >> and booting FreeBSD diskless. I tried this old 1035 u-boot. No luck, same problem. Regards, Denis.