Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2022 10:09:20 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: U-boot on RPI3, sees disk but won't boot it
Message-ID:  <67A2266D-9BF5-42B6-8597-C2CA8FCFD7B4@yahoo.com>
In-Reply-To: <852A7B4F-EE5C-4E41-A95E-0CD2FE3B9339@yahoo.com>
References:  <20220919221553.GA33878@www.zefox.net> <9A2A4E83-22F2-4441-82BF-0B8E6718ED34@yahoo.com> <20220921154240.GA37735@www.zefox.net> <8CC2A42B-21AC-44C6-BD02-44D320CADF63@yahoo.com> <852A7B4F-EE5C-4E41-A95E-0CD2FE3B9339@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2022-Sep-21, at 09:43, Mark Millard <marklmi@yahoo.com> wrote:

> The whitepsace on my patches did not survive. Trying again:
>=20
> # cat =
/usr/ports/sysutils/u-boot-rpi-arm64/files/patch-include_configs_rpi.h
> --- include/configs/rpi.h.orig	2022-01-22 06:03:55.862541000 =
-0800
> +++ include/configs/rpi.h	2022-01-22 06:03:05.435341000 -0800
> @@ -210,6 +210,8 @@
> 	ENV_DEVICE_SETTINGS \
> 	ENV_DFU_SETTINGS \
> 	ENV_MEM_LAYOUT_SETTINGS \
> +	"usb_pgood_delay=3D2000\0" \
> +	"usb_ready_retry=3D5\0" \
> 	BOOTENV
>=20
>=20
>=20
> # cat =
/usr/ports/sysutils/u-boot-rpi4/files/patch-include_configs_rpi.h
> --- include/configs/rpi.h.orig	2022-01-22 06:03:55.862541000 =
-0800
> +++ include/configs/rpi.h	2022-01-22 06:03:05.435341000 -0800
> @@ -210,6 +210,8 @@
> 	ENV_DEVICE_SETTINGS \
> 	ENV_DFU_SETTINGS \
> 	ENV_MEM_LAYOUT_SETTINGS \
> +	"usb_pgood_delay=3D2000\0" \
> +	"usb_ready_retry=3D5\0" \
> 	BOOTENV
>=20
>=20
>=20
> # cat =
/usr/ports/sysutils/u-boot-rpi3/files/patch-include_configs_rpi.h
> --- include/configs/rpi.h.orig	2022-01-22 06:03:55.862541000 =
-0800
> +++ include/configs/rpi.h	2022-01-22 06:03:05.435341000 -0800
> @@ -210,6 +210,8 @@
> 	ENV_DEVICE_SETTINGS \
> 	ENV_DFU_SETTINGS \
> 	ENV_MEM_LAYOUT_SETTINGS \
> +	"usb_pgood_delay=3D2000\0" \
> +	"usb_ready_retry=3D5\0" \
> 	BOOTENV
>=20
>=20
>=20
> I do not know if this will actually provide the space/tab sequences
> correctly or not but we will see.
>=20

Nope: still lost the space as the first character of any line that
had one there.

Add a space before any tab that starts a line. Add a space to
the 2 empty lines after BOOTENV. That should restore the original
content. The 2 "+"-then-tab lines should not have to be changed.


=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?67A2266D-9BF5-42B6-8597-C2CA8FCFD7B4>