From owner-freebsd-arm@freebsd.org Fri Nov 13 10:43:10 2020 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 83E6D2D69E9 for ; Fri, 13 Nov 2020 10:43:10 +0000 (UTC) (envelope-from pdagog@gmail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4CXZn92BBTz3l7L for ; Fri, 13 Nov 2020 10:43:09 +0000 (UTC) (envelope-from pdagog@gmail.com) Received: by mail-wr1-x42d.google.com with SMTP id k2so9281976wrx.2 for ; Fri, 13 Nov 2020 02:43:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=mZwGrEWIH9dlC5RUil6l1QcJu7jN8rQf76GzKQwe5U4=; b=bfWuHwGItqqlqnRZt/b5kBh7pWXS24biFMqe4wskE+K0xQf98bEdLSpVJ/Pqf9GljC Y0gCREg+7M9Z71omqK1HVbTQhsYvLydOW1WQcBu/YQfPjUIOk+EnQEtfdUee6ir/p1NU PjyjkFtZwarXZ3MxnKS8s1GFKQO0lipuDndR6XMFAU2OXaaY3XoXKpfPyi8eseF3yXC4 CJTOKUeSZ1IYaXu9By2c4Dg4/v4rP1+C3J6vcbEgZgMlTyJ4KoEcJsNBiOsoD2lINERq 5rHN9L2j9EMyiWAS+SGYELTpPhLH2kARGbKY45imWFeRTyrwIuZfDtuJJEqKOKjdVy1C 3RVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=mZwGrEWIH9dlC5RUil6l1QcJu7jN8rQf76GzKQwe5U4=; b=FfQhIEz0fnFoK7wS9XOuq54bS3eIHAj0JELFwJYLYZ+XeloBU9L6yqvumz6atL4NGj ADO9cvyIgdJZyOsDKtPsMQQ8jhKqYHuRgktRhwfMVAMCDq9Ks3VVT3UMbY3QsajvzgzV /s1fL/K5SFuCmSfis66eoYmzKbfVRDj/PO1qeCEKhfth3UTkgXCTZRxuFgfF6CgXyazD PJFoPTz4Zq7muptfWP3S/U0fxjdylojLp/cRVwi7ln//EDyxj5sAtkZMQE3vu/W+tW5A XAEGEFxXsI66pNws+ONA12IINc2D/Y3Iajq2ctKdj3HKvIlFXp4LEStJuXGlx+I/WtkF eChQ== X-Gm-Message-State: AOAM530W/ZVDwK/NFtJf86YdEE7m8TN0ZRceJJ/V5vksNLpVBa2yG5Zg SsFMBsiZJKfanv6cATUdpEhVggYfVj8= X-Google-Smtp-Source: ABdhPJwVEJ32tP43m2SDzCYqfKVY0UL0Lk8bfg03iWUIUz6pQuBXGB9zt9X5civPKBYPKkSpCjW9OA== X-Received: by 2002:adf:eb4f:: with SMTP id u15mr2606233wrn.165.1605264187563; Fri, 13 Nov 2020 02:43:07 -0800 (PST) Received: from localhost ([2001:470:1f13:1334:3555:a9ae:7965:8238]) by smtp.gmail.com with ESMTPSA id d2sm5317599wra.73.2020.11.13.02.43.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 02:43:06 -0800 (PST) Date: Fri, 13 Nov 2020 11:43:06 +0100 From: Pierre DAVID To: freebsd-arm@freebsd.org Subject: Re: latest method for freebsd on raspberry pi 4 (8GB) Message-ID: <20201113104306.GA322654@vagabond> References: <20201111174248.GA76342@bastion.zyxst.net> <20201111221510.GB76342@bastion.zyxst.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20201111221510.GB76342@bastion.zyxst.net> X-Rspamd-Queue-Id: 4CXZn92BBTz3l7L X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=bfWuHwGI; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of pdagog@gmail.com designates 2a00:1450:4864:20::42d as permitted sender) smtp.mailfrom=pdagog@gmail.com X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::42d:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::42d:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42d:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2020 10:43:10 -0000 On Wed, Nov 11, 2020 at 10:15:10PM +0000, tech-lists wrote: >On Wed, Nov 11, 2020 at 05:42:21PM +0000, tech-lists wrote: > >[snipped] > >managed to get it booted again like this. Thought I'd post in case anyone = got >where I was and couldn't work out what to do at first. Some file locations >have changed between this time and last and inbetween those times I ran >raspabian-64bit on it, and upgraded the firmware. What follows below allows >the rpi4 to boot as of today, from the micro sdcard. I tried writing the >modified image to a 32GB usb key but it would not boot. > >1. get latest -current snapshot for rpi3. I got >https://download.freebsd.org/ftp/snapshots/ISO-IMAGES/13.0/FreeBSD-13.0-CU= RRENT-arm64-aarch64-RPI3-20201105-ef87bd449eb.img.xz >(I don't know if 12.2-release or -stable would work) > >2. unxz the file >3. mdconfig -f the file and mount the msdos part >4. cd into the mount > >5. wget https://sourceforge.net/projects/rpi4uboot202010-fbsdonly-klaus/fi= les/u-boot.bin/download -O u-boot.bin >6. fetch https://github.com/raspberrypi/firmware/raw/master/boot/fixup4.dat >7. fetch https://github.com/raspberrypi/firmware/raw/master/boot/start4.elf >8. cd .. >9. sync >10. umount the msdos part >11. mdconfig -d -u 0 >12. put the card in the pi and boot >--=20 Why don't you simply dd the whole uncompressed image to the=20 SD-card at once? Pierre