Re: U-boot on RPI3, sees disk but won't boot it

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On 2022-Sep-21, at 09:43, Mark Millard <[email protected]> wrote:

> The whitepsace on my patches did not survive. Trying again:
> 
> # 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=2000\0" \
> +	"usb_ready_retry=5\0" \
> 	BOOTENV
> 
> 
> 
> # 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=2000\0" \
> +	"usb_ready_retry=5\0" \
> 	BOOTENV
> 
> 
> 
> # 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=2000\0" \
> +	"usb_ready_retry=5\0" \
> 	BOOTENV
> 
> 
> 
> I do not know if this will actually provide the space/tab sequences
> correctly or not but we will see.
> 

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.


===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.