From owner-freebsd-arm@freebsd.org Thu May 13 09:15:29 2021 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 14F09637D22; Thu, 13 May 2021 09:15:29 +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 4FgmGS56kYz4fDy; Thu, 13 May 2021 09:15:28 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1620897320; 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=XeIMZ9CaVqYAbJ1hSMKKllI0Zdk2RivAsP9F6wgsC7s=; b=psAyPm1uT11BOd/zeb5fHpMp0MRnHEcQp/gx8nknSq2LdZ/pJJe/gjrcmgyh9UT2pzo2JY XOh/nXK2OHA8RMgK2jBcV5smxD90kGCoeBdP6fLU1mKGEHfd1GCaNj+rke4ZCvuLu6m2p/ CNE1+Pz0No0VEMBGN4FAD1ZxBscN5tU= Received: from skull.home.blih.net (lfbn-idf2-1-644-4.w86-247.abo.wanadoo.fr [86.247.100.4]) by mx.blih.net (OpenSMTPD) with ESMTPSA id b9823dbd (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 13 May 2021 09:15:20 +0000 (UTC) Date: Thu, 13 May 2021 11:15:17 +0200 From: Emmanuel Vadot To: Mark Millard Cc: Mark Millard via freebsd-arm , "freebsd-arm@freebsd.org" Subject: Re: /usr/local/share/u-boot/u-boot-orangepi-plus-2e/README out of date ; orangepi-plus-2e and RPi2 v1.1 get "Kernel args: (null)" Message-Id: <20210513111517.86336633bae9568d8599f229@bidouilliste.com> In-Reply-To: <40298C05-5F50-4437-B15B-7A02EA070EAE@yahoo.com> References: <40298C05-5F50-4437-B15B-7A02EA070EAE.ref@yahoo.com> <40298C05-5F50-4437-B15B-7A02EA070EAE@yahoo.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FgmGS56kYz4fDy X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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: Thu, 13 May 2021 09:15:29 -0000 On Thu, 13 May 2021 01:52:08 -0700 Mark Millard via freebsd-arm wrote: > The updated armv7 U-Boot ports now install the likes of: > > # ls -Tldt /usr/local/share/u-boot/u-boot-orangepi-plus-2e/* > -rw-r--r-- 1 root wheel 504 May 12 07:01:10 2021 /usr/local/share/u-boot/u-boot-orangepi-plus-2e/README > -rw-r--r-- 1 root wheel 66 May 12 07:01:10 2021 /usr/local/share/u-boot/u-boot-orangepi-plus-2e/metadata > -rw-r--r-- 1 root wheel 490924 May 12 07:01:10 2021 /usr/local/share/u-boot/u-boot-orangepi-plus-2e/u-boot-sunxi-with-spl.bin > > # ls -Tldt /usr/local/share/u-boot/u-boot-rpi2/* > -rw-r--r-- 1 root wheel 767 May 12 06:39:07 2021 /usr/local/share/u-boot/u-boot-rpi2/README > -rw-r--r-- 1 root wheel 44 May 12 06:39:07 2021 /usr/local/share/u-boot/u-boot-rpi2/metadata > -rw-r--r-- 1 root wheel 475420 May 12 06:39:07 2021 /usr/local/share/u-boot/u-boot-rpi2/u-boot.bin > > So, for example, no boot.scr files ro go with ubldr.bin > any more. > > But the u-boot-orangepi-plus-2e/README says . . . > > QUOTE > This version is patched so that: > * API features are enabled. > * A boot.scr (U-Boot script) that loads ubldr.bin and execute it is included > END QUOTE > > The u-boot-rpi2/README says . . . > > QUOTE > This version is patched so that: > * ELF and API features are enabled. > * The distroboot command knows how to load FreeBSD loader(8) > * By default, it loads ubldr.bin (PIE) from file ubldr.bin on the FAT > partition to address ${kernel_addr_r}, and launches it. If ubldr.bin is > not found, it falls back on ubldr > END QUOTE > Oups, I'll update the README, thanks for noticing this. > But for the orangepi-plus-2e that I have access to I > now get: > > . . . > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > Using DTB provided by EFI at 0x47eea000. > Kernel entry at 0xb2e00200... > Kernel args: (null) This is the symptoms when caches are not flushed. U-Boot distroboot first scans for extlinux.conf, then uboot script and then EFI. So this probably means that you still have a boot.scr on the ESP, try removing that and make sure that you have the efi loader too in efi/boot/bootarm.efi. > and that is the last of the output. > > The RPi2 v1.1 is similar: > > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > Using DTB provided by EFI at 0x7ef6000. > Kernel entry at 0x33e00200... > Kernel args: (null) > > and that is the last of the output. > > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" -- Emmanuel Vadot