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: [GIT PULL] Please pull u-boot-dfu-20231124

2023-11-25 Thread Tom Rini
On Fri, Nov 24, 2023 at 11:39:39AM +0100, Mattijs Korpershoek wrote: > Hi Tom, > > Here are some fixes for master including: > > - Fix reinit for ChipIdea controller > - Add missing newline in fastboot error handling > > This CI job is at > https://source.denx.de/u-boot/custodians/u-boot-dfu/-

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: Licensing discrepancies or ambiguities

2023-11-25 Thread Vagrant Cascadian
On 2023-11-21, Tom Rini wrote: > On Tue, Nov 21, 2023 at 11:10:57AM -0800, Vagrant Cascadian wrote: > >> I've been reviewing the copyright and license information for Das U-Boot >> in preparation for uploading to Debian, and found a few surprises. >> >> tools/libfdt/fdt_rw.c: /* SPDX-License-Iden

Re: [GIT PULL] Please pull u-boot-dfu-next-20231124

2023-11-25 Thread Tom Rini
On Fri, Nov 24, 2023 at 11:44:14AM +0100, Mattijs Korpershoek wrote: > Hi Tom, > > Here are some developments for next including: > > - Make dfu entity name size configurable in KConfig > - Implement start-stop for UMS (graceful shutdown via eject) > - Improve help messages for cmd/bind > - Impr

Re: [PATCH v2 1/4] arm: dts: npcm845-evb: fix/add node and aliases

2023-11-25 Thread Tom Rini
On Tue, Nov 14, 2023 at 04:51:56PM +0800, Jim Liu wrote: > Modify spi and usb aliases name. > Add dt-binding for usb phy define and fix usb phy reset error. > Add tpm/otpee and host_intf node. > > Signed-off-by: Jim Liu For the series, applied to u-boot/next, thanks! -- Tom signature.asc De

Re: [PATCH] boards: Disable NET on platforms without NETDEVICES

2023-11-25 Thread Tom Rini
On Fri, Nov 17, 2023 at 10:47:57AM -0500, Tom Rini wrote: > None of these platforms enabled a networking devices, and disabled > CMD_NET. Given that we used to gate network support on CMD_NET rather > than NET, we disable CONFIG_NET on these platforms now. > > Signed-off-by: Tom Rini > Reviewed-

Re: [PATCH] net: Make NET imply NETDEVICES

2023-11-25 Thread Tom Rini
On Wed, Nov 08, 2023 at 07:12:25PM -0500, Tom Rini wrote: > Normally, when NET is enabled, CMD_NET will then be enabled and in turn > NETDEVICES will (likely) be enabled via imply. However, if we disable > CMDLINE in a defconfig we now no longer get CMD_NET enabling NETDEVICES > for us. This sugge

Re: [PATCH 1/6] siemens,am335x: clean-up draco targets

2023-11-25 Thread Tom Rini
On Wed, Nov 08, 2023 at 03:53:17PM +0100, Enrico Leto wrote: > Draco is a family of 3 boards: thuban, rastaban & etamin. Rename all > targets of the family adding the draco- prefix to increase readibility > and simplify future commits about concerning all boards of the family. > > The name draco

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 v2] remoteproc: k3-dsp: Avoid reloading of firmware

2023-11-25 Thread Udit Kumar
DSP core is going into abnormal state when load callback is called after starting of DSP core. Reload of firmware needs core to be stopped first, followed by load. So avoid loading of firmware, when core is started. Signed-off-by: Udit Kumar --- Change log: Changes in v2: - Added details for in_u

[PATCH v4 8/8] doc: spl: Add info regarding memory reservation

2023-11-25 Thread Devarsh Thakkar
Add details regarding scheme which need to be followed in SPL and further stages for those regions which need to be preserved across bootstages. Signed-off-by: Devarsh Thakkar --- V1->V3: No change. V4: Split this to separate patch and add more details regarding memory reservation scheme that ne

[PATCH v4 7/8] doc: spl: Add info for missing Kconfigs

2023-11-25 Thread Devarsh Thakkar
Add info regarding splash screen, video, bloblist and GPIO related Kconfigs which were missing in the documentation. Signed-off-by: Devarsh Thakkar --- V2: No change V3: No change V4: Patch split from parent --- doc/develop/spl.rst | 9 + 1 file changed, 9 insertions(+) diff --git a/doc

[PATCH v4 6/8] video: Fill video handoff in video post probe

2023-11-25 Thread Devarsh Thakkar
Fill video handoff fields in video_post_probe as at this point we have full framebuffer-related information. Also fill all the fields available in video hand-off struct as those were missing earlier and U-boot framework expects them to be filled for some of the functionalities. Reported-by: Simon

[PATCH v4 5/8] video: Skip framebuffer reservation if already reserved

2023-11-25 Thread Devarsh Thakkar
Skip framebufer reservation if it was already reserved from previous stage and whose information was passed using a bloblist. Return error in case framebuffer information received from bloblist is invalid i.e NULL or empty. While at it, improve the debug message to make it more clear that address

[PATCH v4 4/8] common/board_f: Catch bloblist before starting resevations

2023-11-25 Thread Devarsh Thakkar
Start reservations needed for init sequence only after catching bloblists from previous stage. This is to avoid catching bloblists in the middle causing gaps while u-boot is reserving. Adjust the relocaddr as per video hand-off information received from previous stage so that further reservations

[PATCH v4 3/8] board: ti: am62x: evm: Remove video_setup from spl_board_init

2023-11-25 Thread Devarsh Thakkar
Remove video_setup from evm_init sequence since video memory is getting called at an earlier place to make sure video memory is reserved at the end of RAM. Suggested-by: Simon Glass Signed-off-by: Devarsh Thakkar Reviewed-by: Simon Glass --- V2: No change V3: No change V4: Add Reviewed-by ---

[PATCH v4 1/8] spl: Enforce framebuffer reservation from end of RAM

2023-11-25 Thread Devarsh Thakkar
Add an API which enforces framebuffer reservation from end of RAM. This is done so that next stage can directly skip this region before carrying out further reservations. Signed-off-by: Devarsh Thakkar --- V2: No change. V3: Change spl_reserve_video to spl_reserve_video_from_ram_top which enforc

[PATCH v4 0/8] Move framebuffer reservation for SPL to RAM end

2023-11-25 Thread Devarsh Thakkar
Move video memory reservation for SPL at end of RAM so that it does not interefere with reservations for next stage so that the next stage need not have holes in between for passed regions and instead it can maintain continuity in reservations. Also catch the bloblist before starting reservations

[PATCH v4 2/8] arm: mach-k3: common: Reserve video memory from end of the RAM

2023-11-25 Thread Devarsh Thakkar
Setup video memory before page table reservation using "spl_reserve_video_from_ram_top" which ensures framebuffer memory gets reserved from the end of RAM. This is done to enable the next stage to directly skip the pre-reserved area from previous stage right from the end of RAM without having to m

Re: orangepi zero3

2023-11-25 Thread Mikhail Kalashnikov
On 24.11.2023 03:11, 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:ing Piotr and

Re: [PATCH v2 5/6] video: Fill video handoff in video post probe

2023-11-25 Thread Devarsh Thakkar
Hi Simon, Thanks for the review. On 13/11/23 01:31, Simon Glass wrote: > Hi Devarsh, > > On Fri, 10 Nov 2023 at 08:29, Devarsh Thakkar wrote: >> >> Fill video handoff fields in video_post_probe >> as at this point we have full framebuffer-related >> information. >> >> Also fill all the fields a

Re: [PATCH] mtd: nand: omap_gpmc: Fix NAND in SPL for AM335x

2023-11-25 Thread Michael Nazzareno Trimarchi
Hi Roger On Sat, Nov 25, 2023 at 12:16 PM Roger Quadros wrote: > > AM335x uses a special driver "am335x_spl_bch.c" as SPL > NAND loader. This driver expects 1 sector at a time ECC > and doesn't work well with multi-sector ECC that was implemented in > commit 04fcd2587321 ("mtd: rawnand: omap_gpmc

[PATCH] mtd: nand: omap_gpmc: Fix NAND in SPL for AM335x

2023-11-25 Thread Roger Quadros
AM335x uses a special driver "am335x_spl_bch.c" as SPL NAND loader. This driver expects 1 sector at a time ECC and doesn't work well with multi-sector ECC that was implemented in commit 04fcd2587321 ("mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based correction") Switch back to 1 sector at a time read