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

2023-11-27 Thread Stephen Graf
I did some digging into the orangepi SDK and it sort of looks like the zero3 is set up for dram_clk = 792. I use their image as a fallback and it has been stable (built linux kernel and set up debian rootfs). from https://github.com/orangepi-xunlong/orangepi-build.git external/packages/pack-ub

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

2023-11-27 Thread Stephen Graf
I got the initial defconfig that I started testing with from: https://gist.github.com/iuncuim/2150b7a5317700314393665260ca628e which has CONFIG_DRAM_CLK=792. Just a few hours ago, when I was testing without this parameter, my system misbehaved and refused to reboot. The file system was corrupt

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

2023-11-27 Thread Andre Przywara
On Mon, 27 Nov 2023 14:31:19 -0800 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 parame

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

2023-11-27 Thread Andre Przywara
On Mon, 27 Nov 2023 12:21:44 -0800 Stephen Graf wrote: Hi Stephen! > Yes I forgot about the zBIT patch. With this patch also included I built > and retested u-boot loaded from SPI flash. The two warning/error > messages disappeared and the flash worked properly and booted from a USB > device

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

2023-11-27 Thread Stephen Graf
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? U-Boot 2024.01-rc3-00012-g1fcf078f54-dirty (Nov

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

2023-11-27 Thread Stephen Graf
Yes I forgot about the zBIT patch. With this patch also included I built and retested u-boot loaded from SPI flash. The two warning/error messages disappeared and the flash worked properly and booted from a USB device. There was one message that I did not understand: "Loading Environment from

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

2023-11-26 Thread Mikhail Kalashnikov
On 26.11.2023 03:23, Andre Przywara wrote: Hi Andre, On Sat, 25 Nov 2023 20:43:12 +0300 Mikhail Kalashnikov wrote: Hi Mikhail, Hi Andre! Thanks for your patches. I started checking and noticed that USB storage was not working: => usb reset resetting USB... Bus usb@520: USB EHCI 1.00 Bus

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

2023-11-26 Thread Andre Przywara
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 concern " > Card did not respond to voltage select! : -110". This is a normal, though admittedly confusing

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

2023-11-26 Thread Bob McChesney
On Sat, Nov 25, 2023 at 08:43:12PM +0300, Mikhail Kalashnikov wrote: > Tested-by: Mikhail Kalashnikov > > On 14.11.2023 04:31, Andre Przywara wrote: > > The OrangePi Zero 3 is a small development board featuring the Allwinner > > H618 SoC, shipping with up to 4GB of DRAM, Gigabit Ethernet, a micr

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: [PATCH 3/3] sunxi: H616: Add OrangePi Zero 3 board support

2023-11-25 Thread Andre Przywara
On Sat, 25 Nov 2023 20:43:12 +0300 Mikhail Kalashnikov wrote: Hi Mikhail, > Hi Andre! > Thanks for your patches. I started checking and noticed that USB storage > was not working: > > => usb reset > resetting USB... > Bus usb@520: USB EHCI 1.00 > Bus usb@5200400: USB OHCI 1.0 > scanning b

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

2023-11-25 Thread Mikhail Kalashnikov
Hi Andre! Thanks for your patches. I started checking and noticed that USB storage was not working: => usb reset resetting USB... Bus usb@520: USB EHCI 1.00 Bus usb@5200400: USB OHCI 1.0 scanning bus usb@520 for devices... 1 USB Device(s) found scanning bus usb@5200400 for devices... 1 US

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

2023-11-13 Thread Andre Przywara
The OrangePi Zero 3 is a small development board featuring the Allwinner H618 SoC, shipping with up to 4GB of DRAM, Gigabit Ethernet, a micro-HDMI connector and two USB sockets. The board uses LPDDR4 DRAM and an X-Powers AXP313a PMIC, support for which was recently added to U-Boot. Add a defconfig