Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2022 10:28:39 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        freebsd-arm@freebsd.org, freebsd-uboot@freebsd.org
Subject:   Re: u-boot debug, was: Re: U-boot on RPI3, sees disk but won't boot it
Message-ID:  <20220928172839.GA75564@www.zefox.net>
In-Reply-To: <81F58716-72CE-45E8-951A-B7B92AD0FE95@yahoo.com>
References:  <650FD030-783D-46C4-8CC9-50D608569898@yahoo.com> <81C8A094-8492-41DC-A74E-486A9225A2A3@googlemail.com> <760FE9D5-7A1D-40C2-B4CC-E90B300F5B3B@yahoo.com> <20220927232930.GC72077@www.zefox.net> <9F57D5D0-F715-4DD2-A05C-FB2B9E8B5C30@yahoo.com> <20220928015721.GA73356@www.zefox.net> <C657BE65-ADCC-479B-B756-445D0825E0FA@yahoo.com> <E0BDFF06-3998-48E0-B04D-3B4A11F4A9AE@yahoo.com> <20220928045145.GB73356@www.zefox.net> <81F58716-72CE-45E8-951A-B7B92AD0FE95@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[removed Klaus from cc, added freebsd-uboot@freebsd.org] 
On Tue, Sep 27, 2022 at 10:45:36PM -0700, Mark Millard wrote:
> 
> There are almost 2 hours between 20:04:31 -0700
> and the 21:51 when your Email arrived.
> 

The delay between compile and email seems ok. 

> None of the output that I reported as showing up
> shows in your report. YOu can look at:
> 
> https://lists.freebsd.org/archives/freebsd-arm/2022-September/001804.html
> 
> to see the U-Boot output that I got (via use in
> an RPi4B).
> 
> Are you sure that the u-boot.bin on the msdosfs
> has the new content?
> 

I'm still doing something wrong, but haven't found it yet. 
After cleaninug up old files and re-running make and make 
install, find locates:

root@pelorus:~ # sum /boot/msdos/u-boot.bin
4933 570 /boot/msdos/u-boot.bin

root@pelorus:~ # sum /usr/local/share/u-boot/u-boot-rpi-arm64/u-boot.bin
4933 570 /usr/local/share/u-boot/u-boot-rpi-arm64/u-boot.bin

root@pelorus:~ # sum /usr/ports/sysutils/u-boot-rpi-arm64/work/u-boot-2022.04/u-boot.bin
4933 570 /usr/ports/sysutils/u-boot-rpi-arm64/work/u-boot-2022.04/u-boot.bin

root@pelorus:~ # sum /usr/ports/sysutils/u-boot-rpi-arm64/work/stage/usr/local/share/u-boot/u-boot-rpi-arm64/u-boot.bin
4933 570 /usr/ports/sysutils/u-boot-rpi-arm64/work/stage/usr/local/share/u-boot/u-boot-rpi-arm64/u-boot.bin

At the same time:
root@pelorus:~ # ls /usr/ports/sysutils/u-boot-rpi-arm64/files
patch-common_usb.c       patch-common_usb__storage.c             patch-lib_efi__loader_efi__console.c
patch-common_usb__hub.c  patch-include_configs_rpi.h             rpi_arm64_fragment

There' still no additional output from u-boot, although with enough
re-trying the machine still boots: 

U-Boot 2022.04 (Sep 28 2022 - 09:02:56 -0700)

DRAM:  948 MiB
RPI 3 Model B (0xa02082)
Core:  69 devices, 10 uclasses, devicetree: board
MMC:   mmc@7e300000: 2
Loading Environment from FAT... In:    serial
Out:   vidconsole
Err:   vidconsole
Net:   No ethernet found.
starting USB...
Bus usb@7e980000: USB DWC2
scanning bus usb@7e980000 for devices... 6 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
Hit any key to stop autoboot:  0 
MMC Device 0 not found
no mmc device at slot 0
MMC Device 1 not found
no mmc device at slot 1
Card did not respond to voltage select! : -110

Device 0: Vendor: SABRENT  Rev: 1214 Prod: 
            Type: Hard Disk
            Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
[normal boot follows]

A file copying error on my part seems most likely. I'll try again
this afternoon.

Thanks for your patience!

bob prohaska




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220928172839.GA75564>