From nobody Mon May 16 09:20:22 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7969A1ADF0B2 for ; Mon, 16 May 2022 09:20:31 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L1tyQ2fVMz3nl3; Mon, 16 May 2022 09:20:30 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1652692823; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IaV6FdyUGYx2B/4OvEnhJDPNcfSVyrgH8Iayhz8WLRA=; b=CiVFo15vwEyE2szumani0NZ5OAOVcj0Z5eGTLG5TJgkBPTbOgQT9YCYJvOGQH6hljaIhMb 1gxxJm2J9rbIl70F2INRZh7ZKFnAVXxd5/3VUy2rGvWdEQ1bl7Rjx46HpAZaJ1gXjkNT8f xQlxned0o23oNdYvWb5VoDKyGefrCZU= Received: from amy.home (lfbn-mon-1-549-108.w2-4.abo.wanadoo.fr [2.4.130.108]) by mx.blih.net (OpenSMTPD) with ESMTPSA id eb557371 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 16 May 2022 09:20:23 +0000 (UTC) Date: Mon, 16 May 2022 11:20:22 +0200 From: Emmanuel Vadot To: Alexey Dokuchaev Cc: Micha?? G??rny , freebsd-arm@freebsd.org Subject: Re: Hang while trying to boot armv7 on qemu-system-arm Message-Id: <20220516112022.d806878fff7fb35d1decd774@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4L1tyQ2fVMz3nl3 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b=CiVFo15v; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-3.46 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; FREEFALL_USER(0.00)[manu]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ip4:212.83.155.74/32]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.96)[-0.962]; MLMMJ_DEST(0.00)[freebsd-arm]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[2.4.130.108:received] X-ThisMailContainsUnwantedMimeParts: N Status: O Content-Length: 1404 Lines: 40 On Mon, 16 May 2022 09:11:05 +0000 Alexey Dokuchaev wrote: > On Wed, Jan 27, 2021 at 03:21:50PM +0100, Micha?? G??rny wrote: > > Hi, > > > > [...] I've been trying to boot armv7 via qemu following the recipe on > > wiki [1] but without success. > > > > I've been trying the armv7 images from FTP, 12.2 in GENERICSD and RPI2 > > variants, and 12.1 in GENERICSD variant. In all cases, the system > > seemed to hang [after these lines]: > > > > Hit [Enter] to boot immediately, or any other key for command prompt. > > Booting [/boot/kernel/kernel]... > > Using DTB provided by EFI at 0x47dfd000. > > Kernel entry at 0x57e00180... > > Kernel args: (null) > > I've just tried following the same wiki recipe with GENERICSD images > for 12.3 and 13.1-RC4, with the same outcome, regardless of the QEMU > version. How to proceed from here? Is wiki recipe missing important > details? If it works for someone, could you guys share exact versions > of QEMU, U-Boot, FreeBSD version and image type you're using? Thanks, > > ./danfe > > > [1] https://wiki.freebsd.org/QemuRecipes#armv7 > GENERICSD doesn't have the QEMU u-boot. We cannot add it as it have the same name than the u-boot file for RPI-B. So what you need to do is to pkg install u-boot-qemu-arm and copy the u-boot.bin from there in the image. Cheers, -- Emmanuel Vadot