usb3 device not detected on usb2 port

2024-01-30 Thread Stephen Graf
I am using an orangepizero3 and trying to boot from spi flash and then a usb3 SSD on usb-1 port, which is usb2. U-boot does not detect the usb3 SSD drive. I have been booting Armbian regularly from an old usb2 hard disk drive in the same way. After Armbian starts the usb3 SSD drive is detecte

Re: [PATCH v2 0/3] sunxi: add OrangePi Zero 3 board support

2023-12-03 Thread Stephen Graf
I have tested a newly built u-boot with the patches you provided and it works well. It is the same configuration as what I have been testing with for the last few weeks. I loaded the U-boot to SPI flash and tested with the SD card removed from the system and put in a USB card reader. The outpu

[PATCH 1/1] correct documentation for SPI flashing

2023-12-01 Thread Stephen Graf
The mtd_debug write does not work in this context. The flashcp command does work, provides both the erase and write functions and with the verbose option gives good feedback. Signed-off-by: Stephen Graf --- doc/board/allwinner/sunxi.rst | 3 +-- 1 file changed, 1 insertions(+), 2 deletions

Re: mdt_debug write

2023-11-29 Thread Stephen Graf
Is the attached patch file going in the right direction? On 2023-11-29 3:57 p.m., Andre Przywara wrote: Hi Stephen, On 28/11/2023 20:07, Stephen Graf wrote: Below is the console log from trying to use mtd_debug write. It returned immediately with a strange success message. root

Re: mdt_debug write

2023-11-29 Thread Stephen Graf
: Hi Stephen, On 28/11/2023 20:07, Stephen Graf wrote: Below is the consol log from trying to use mtd_debug write. It returned immediately with a strange success message. root@orangepizero3:~# mtd_debug write /dev/mtd0 0 0xf /home/sysadmin/u-boot-sunxi-with-spl.bin file_to_flash: fread, size

OrangePI Zero3 memory timing testing

2023-11-29 Thread Stephen Graf
Some testing results: With the default DRAM timing of 30x24=720, most often when my system boots it comes up with DRAM 2G, but I have a 1G system. Once in a while the boot shows 1G. When it shows 2G the linux OS also shows 2G and continuing does not make much sense. On one boot where u-boot

mdt_debug write

2023-11-28 Thread Stephen Graf
Below is the consol log from trying to use mtd_debug write. It returned immediately with a strange success message. root@orangepizero3:~# mtd_debug write /dev/mtd0 0 0xf /home/sysadmin/u-boot-sunxi-with-spl.bin file_to_flash: fread, size 0xf, n 0xf fread(): Success I then used the

Re: [PATCH 3/3] sunxi: H616: Add OrangePi Zero 3 board support

2023-11-27 Thread Stephen Graf
= 0x0 dram_tpr2 = 0x0 dram_tpr3 = 0x0 dram_tpr6 = 0x35808080 dram_tpr10 = 0x402f6663 dram_tpr11 = 0x36363535 dram_tpr12 = 0x10101110 dram_tpr13 = 0x2080C60 On 2023-11-27 5:37 p.m., Andre Przywara wrote: On Mon, 27 Nov 2023 14:31:19 -0800 Stephen Graf wrote: Hi, Since the last test I rebuilt u-boot w

Re: [PATCH 3/3] sunxi: H616: Add OrangePi Zero 3 board support

2023-11-27 Thread Stephen Graf
Stephen Graf wrote: Hi, Since the last test I rebuilt u-boot without the "CONFIG_DRAM_CLK=792" in the defconfig and got the wrong DRAM size problem (showing 2G instead of 1G). I had to do a power down/up to see this. Are you planning to add this parameter to your patch? This symptom

Re: [PATCH 3/3] sunxi: H616: Add OrangePi Zero 3 board support

2023-11-27 Thread Stephen Graf
dirty (Nov 27 2023 - 12:25:33 -0800) Allwin ner Technology CPU: Allwinner H616 (SUN50I) Model: OrangePi Zero3 DRAM: 2 GiB On 2023-11-27 12:21 p.m., Stephen Graf wrote: Yes I forgot about the zBIT patch. With this patch also included I

Re: [PATCH 3/3] sunxi: H616: Add OrangePi Zero 3 board support

2023-11-27 Thread Stephen Graf
inutils for Debian) 2.40) #1 SMP Sat Nov 25 18:37:47 UTC 2023 On 2023-11-26 4:23 a.m., Andre Przywara wrote: On Sat, 25 Nov 2023 20:27:05 -0800 Stephen Graf wrote: Hi Stephen, I built u-boot with the additional parameter for usb and it works, I think. There was one message that might be of

Re: [PATCH 3/3] sunxi: H616: Add OrangePi Zero 3 board support

2023-11-25 Thread Stephen Graf
I built u-boot with the additional parameter for usb and it works, I think. There was one message that might be of concern " Card did not respond to voltage select! : -110". I am not sure of the details of the boot.cmd. The output below came from the supplier image on an SD plugged into a USB c

Re: orangepi zero3

2023-11-24 Thread Stephen Graf
ng: T T T On 2023-11-23 4:11 p.m., Andre Przywara wrote: On Thu, 23 Nov 2023 11:12:25 -0800 Stephen Graf wrote: Hi Stephen, Thank you for your reply. Thanks for coming back. Please keep the list(s) on CC:, as this is also interesting for others, and more eyes help to find issues faster. CC:i

add orangepi zero3 to u-boot

2023-11-22 Thread Stephen Graf
I have been able to build a working (tested on my orangepi zero3 1G) u-boot for the orangepi zero3 with the following defconfig. Would it be possible to add this config to the working boards.  I would test it again with an official build. The dtb/dts is in linux 6.6 and in u-boot. The H618 pro

orangepi zero3

2023-11-22 Thread Stephen Graf
I have been able to build a working (on my orangepi zero3 1G) u-boot for the orangepi zero3 with the following defconfig. Would it be possible to add this config to the working boards.  I would test it again with an official build. The dtb/dts is in linux and in u-boot. The H618 processor is s