Re: [PATCH v1 2/2] doc: board: starfive: Add more info about supported driver

2023-09-04 Thread Dennis Gilmore
On Tue, Aug 22, 2023 at 9:34 AM Shengyu Qu wrote: > Since PLDA PCIE driver is added and VL805 support is enabled in > defconfig for Starfive Visionfive 2, modify the document to keep > consistent. > > Signed-off-by: Shengyu Qu > Tested-by: Dennis Gilmore > --- >

Re: [PATCH v1 1/2] configs: starfive: Enable PCIE auto enum and NVME/USB stuff for Starfive Visionfive 2

2023-09-04 Thread Dennis Gilmore
On Tue, Aug 22, 2023 at 9:34 AM Shengyu Qu wrote: > Although PCIE driver already exists, board defconfig isn't configured to > enable PCIE enum on boot, thus USB storage device and NVME drive are not > supported by default. So modify defconfig to enable PCIE auto enum, then > start USB subsystem

RE: [PATCH v2 3/3] timer: riscv_aclint_timer: add timer_get_boot_us for BOOTSTAGE

2023-09-04 Thread Chanho Park
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Tuesday, September 5, 2023 1:49 AM > To: Chanho Park > Cc: Rick Chen ; Leo ; u- > b...@lists.denx.de > Subject: Re: [PATCH v2 3/3] timer: riscv_aclint_timer: add > timer_get_boot_us for BOOTSTAGE > > Hi Chanho, > > On Mon, 28

[PATCH] cmd: sf: Fix the flash_is_unlocked api size parameter

2023-09-04 Thread Venkatesh Yadav Abbarapu
When we pass the size parameter to the command "sf erase", flash_is_unlocked() api is getting updated with length which is incorrect. Fix this flash_is_unlocked() api by passing the size parameter. ZynqMP> sf erase 0 10 len=0x800 which is flash size size=0x10 We need to update the

[PULL] u-boot-riscv/master

2023-09-04 Thread Leo Liang
Hi Tom, The following changes since commit 493fd3363f6da6a784514657d689c7cda0f390d5: nokia_rx51: Remove platform (2023-09-04 21:14:32 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-riscv.git for you to fetch changes up to

Re: [PATCH 1/2] riscv: Rework riscv_cpu_probe for current event macros

2023-09-04 Thread Leo Liang
Hi Tom, On Mon, Sep 04, 2023 at 03:06:34PM -0400, Tom Rini wrote: > This function should now be a EVENT_SPY_SIMPLE call, update it. > > Signed-off-by: Tom Rini > --- > arch/riscv/cpu/cpu.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/riscv/cpu/cpu.c

Re: [PATCH v2 2/2] risc-v: implement DBCN based debug console

2023-09-04 Thread Leo Liang
On Mon, Sep 04, 2023 at 01:24:04PM +0200, Heinrich Schuchardt wrote: > Use the DBCN SBI extension to implement a debug console. > Make it the default for S-mode RISC-V. > > Signed-off-by: Heinrich Schuchardt > --- > v2: > check that we are in S-mode > --- > drivers/serial/Kconfig |

Re: [PATCH 2/2] nokia_rx51: Remove platform

2023-09-04 Thread Tom Rini
On Mon, Sep 04, 2023 at 09:12:28PM -0400, Tom Rini wrote: > This platform is behind on migrations (it is the sole user of the oldest > legacy version of the USB gadget stack and is long overdue for > migration) and with Pali no longer being a maintainer, we remove this > platform. > >

Re: [PATCH 1/2] MAINTAINERS: Drop Pali Rohár

2023-09-04 Thread Tom Rini
On Mon, Sep 04, 2023 at 09:12:27PM -0400, Tom Rini wrote: > Remove Pali from his listed maintainer entries due to his publicly > visible actions on the mailing list. > > Signed-off-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

[PATCH 2/2] nokia_rx51: Remove platform

2023-09-04 Thread Tom Rini
This platform is behind on migrations (it is the sole user of the oldest legacy version of the USB gadget stack and is long overdue for migration) and with Pali no longer being a maintainer, we remove this platform. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 19 -

[PATCH 1/2] MAINTAINERS: Drop Pali Rohár

2023-09-04 Thread Tom Rini
Remove Pali from his listed maintainer entries due to his publicly visible actions on the mailing list. Signed-off-by: Tom Rini --- MAINTAINERS | 1 - board/CZ.NIC/turris_mox/MAINTAINERS | 1 - board/CZ.NIC/turris_omnia/MAINTAINERS | 1 - board/nokia/rx51/MAINTAINERS

[PATCH 0/2] Remove Pali Rohár from MAINTAINERS

2023-09-04 Thread Tom Rini
Pali, Your actions on the mailing list the past several months speak for themselves. I do not feel the need to summarize them again at this point. You are a persona non grata to this community at this point and I am now removing you from the MAINTAINERS files because of this. The rx51 platform is

RE: [PATCH v2 0/2] risc-v: implement DBCN based debug console

2023-09-04 Thread Chanho Park
Hi, > -Original Message- > From: Heinrich Schuchardt > Sent: Monday, September 4, 2023 8:24 PM > To: Rick Chen ; Leo > Cc: Bin Meng ; Anup Patel ; > Chanho Park ; u-boot@lists.denx.de; Heinrich > Schuchardt > Subject: [PATCH v2 0/2] risc-v: implement DBCN based debug console > >

Re: [PATCH] bootstd: Drop some TODOs

2023-09-04 Thread Tony Dinh
Hi Simon, On Fri, Aug 25, 2023 at 5:51 PM Tony Dinh wrote: > > Hi Simon, > > On Fri, Aug 25, 2023 at 4:53 PM Simon Glass wrote: > > > > Hi Tony, > > > > On Fri, 25 Aug 2023 at 14:17, Tony Dinh wrote: > > > > > > Hi Simon, > > > > > > On Thu, Aug 24, 2023 at 6:48 PM Simon Glass wrote: > > > >

Re: [PATCH 32/32] pci: serial: Support reading PCI-register size with base

2023-09-04 Thread Pali Rohár
I'm not your bitch, and I would not do any feedback for somebody who decided that do not want feedback from me. Why you are contacting me then? Just to provoke me? Either you want a feedback and will not ignore it. Or you do not want a feedback and then you would not contact me. I see that Simon

[PATCH] sunxi: board: provide CPU idle states to loaded OS

2023-09-04 Thread Andrey Skvortsov
When using SCPI as the PSCI backend, firmware can wake up the CPUs and cluster from sleep, so CPU idle states are available for loaded OS to use. TF-A modifies DTB to advertise available CPU idle states, when SCPI is detected. This change copies nodes added by TF-A to any new dtb that is used for

Re: [PATCH 32/32] pci: serial: Support reading PCI-register size with base

2023-09-04 Thread Tom Rini
Simon has filtered your emails, which I believe he even told you, after how much you were berating him in a previous thread. That's why he's not responding and I'm answering your only relevant to this thread question so far. He cc'd you because a file you're listed as maintainer on was changed.

Re: [PATCH 32/32] pci: serial: Support reading PCI-register size with base

2023-09-04 Thread Pali Rohár
Simon, could you react here? Because Tom is complaining again that I'm not responding to this email. But this is again total nonsense from Tom as I have asked you to react 2 times, which provides that I'm not the one who does not response here. On Sunday 03 September 2023 22:39:39 Pali Rohár

Re: [PATCH 32/32] pci: serial: Support reading PCI-register size with base

2023-09-04 Thread Pali Rohár
On Monday 04 September 2023 15:55:18 Tom Rini wrote: > On Sun, Sep 03, 2023 at 10:36:15PM +0200, Pali Rohár wrote: > > You are not saying truth here, you are lying and you know it. mvebu > > changes? ignored, no answer. ppc changes? ignored no answer in 10 > > months. mmc changes, no answer at

Re: [PATCH 32/32] pci: serial: Support reading PCI-register size with base

2023-09-04 Thread Tom Rini
On Sun, Sep 03, 2023 at 10:36:15PM +0200, Pali Rohár wrote: > You are not saying truth here, you are lying and you know it. mvebu > changes? ignored, no answer. ppc changes? ignored no answer in 10 > months. mmc changes, no answer at all. rx-51 bug reports and regression > which you and your

Re: [PATCH v3 04/20] video: Move the BMP options

2023-09-04 Thread Tom Rini
On Mon, Sep 04, 2023 at 08:41:07AM -0600, Simon Glass wrote: > These appear prominently in the main menu at present. Move them to the > video Kconfig where they belong. > > Signed-off-by: Simon Glass > --- > > (no changes since v2) > > Changes in v2: > - Just move these options to

[PATCH 2/2] riscv: Correct event usage for riscv_cpu_probe/setup

2023-09-04 Thread Tom Rini
With having both an EVENT_SPY_SIMPLE setup for both riscv_cpu_probe and riscv_cpu_setup we do not need the latter function to call the former function as it will already have been done in time. Fixes: 1c55d62fb9cc ("riscv: cpu: make riscv_cpu_probe to EVT_DM_POST_INIT_R callback") Signed-off-by:

[PATCH 1/2] riscv: Rework riscv_cpu_probe for current event macros

2023-09-04 Thread Tom Rini
This function should now be a EVENT_SPY_SIMPLE call, update it. Signed-off-by: Tom Rini --- arch/riscv/cpu/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/riscv/cpu/cpu.c b/arch/riscv/cpu/cpu.c index d64aa330f206..cfe9fdc9df55 100644 --- a/arch/riscv/cpu/cpu.c

Re: [PATCH v2 3/4] cmd: gpt: fix calc_parts_list_len()

2023-09-04 Thread Heinrich Schuchardt
On 9/4/23 18:48, Simon Glass wrote: Hi Heinrich, On Sat, 2 Sept 2023 at 01:34, Heinrich Schuchardt wrote: * Avoid incrementing by moving comma into strlen("uuid_disk=,") and considering NUL byte. * Appending a UUID only adds UUID_STR_LEN bytes. Don't count the terminating NUL. * The

Re: [PATCH v2 1/4] part: rename disk_partition_type_uuid()

2023-09-04 Thread Heinrich Schuchardt
On 9/4/23 18:48, Simon Glass wrote: Hi Heinrich, On Sat, 2 Sept 2023 at 01:34, Heinrich Schuchardt wrote: Rename disk_partition_type_uuid to disk_partition_type_guid. Provide function descriptions for the getter and setter. Fixes: bcd645428c34 ("part: Add accessors for struct

Re: Binman how to build using Rockchip BL32 binary as OP-TEE

2023-09-04 Thread Jonas Karlman
Hi Massimo, On 2023-09-04 17:05, Massimo Pegorer wrote: > Hi, > > Is there any way for binman to package FIT with U-Boot TF-A and > OP-TEE, using bl32 binary provided by Rockchip as TEE? > > I've tried with TEE=/path/to/rkbin/bin/rk33/xxx_bl32_vX.YZ.bin, but > binman failed. > > In my poor

Re: [PATCH v2 4/4] cmd: gpt: fix gpt read

2023-09-04 Thread Simon Glass
On Sat, 2 Sept 2023 at 01:34, Heinrich Schuchardt wrote: > > To partition a block device the partition type GUIDs are needed but > 'gpt read' does not provide these. Add the missing parts. > > Signed-off-by: Heinrich Schuchardt > --- > v2: > use accessor for type_guid field > --- >

Re: [PATCH v2 1/4] part: rename disk_partition_type_uuid()

2023-09-04 Thread Simon Glass
Hi Heinrich, On Sat, 2 Sept 2023 at 01:34, Heinrich Schuchardt wrote: > > Rename disk_partition_type_uuid to disk_partition_type_guid. > > Provide function descriptions for the getter and setter. > > Fixes: bcd645428c34 ("part: Add accessors for struct disk_partition > type_uuid") >

Re: [PATCH] Adjust gitignore for /build

2023-09-04 Thread Simon Glass
Hi Rong, On Sun, 3 Sept 2023 at 20:50, Rong Tao wrote: > > From: Rong Tao > > /build-* can't ignore /build. How does that directory get created? > > Signed-off-by: Rong Tao > --- > .gitignore | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/.gitignore b/.gitignore >

Re: Binman how to build using Rockchip BL32 binary as OP-TEE

2023-09-04 Thread Simon Glass
Hi Massimo, On Mon, 4 Sept 2023 at 09:05, Massimo Pegorer wrote: > > Hi, > > Is there any way for binman to package FIT with U-Boot TF-A and > OP-TEE, using bl32 binary provided by Rockchip as TEE? > > I've tried with TEE=/path/to/rkbin/bin/rk33/xxx_bl32_vX.YZ.bin, but > binman failed. > > In my

Re: [PATCH] binman: Fix SyntaxWarning: invalid escape sequence '\('

2023-09-04 Thread Simon Glass
Hi Rong, On Mon, 4 Sept 2023 at 05:00, Rong Tao wrote: > > From: Rong Tao > > Reproduct warning: > > $ sudo git clean -dfx > $ make CROSS_COMPILE="" qemu-x86_64_defconfig > $ sudo make -j8 I hope you don't need sudo > ... > u-boot/tools/binman/etype/section.py:25: >

Re: [PATCH v2 3/3] timer: riscv_aclint_timer: add timer_get_boot_us for BOOTSTAGE

2023-09-04 Thread Simon Glass
Hi Chanho, On Mon, 28 Aug 2023 at 03:50, Chanho Park wrote: > > timer_get_boot_us function is required to record the boot stages as > us-based timestamp. > > Signed-off-by: Chanho Park > --- > drivers/timer/riscv_aclint_timer.c | 22 ++ > 1 file changed, 22 insertions(+) >

Re: [PATCH 08/19] boot: Move fdt_support to boot/

2023-09-04 Thread Simon Glass
Hi Devarsh, On Thu, 31 Aug 2023 at 00:02, Devarsh Thakkar wrote: > > Hi Simon, > > On 25/08/23 01:28, Simon Glass wrote: > > This relates to booting since it fixes up the devicetree for the OS. Move > > it into the boot/ directory. > > > > Signed-off-by: Simon Glass > > --- > > > >

Re: [PATCH v2 3/4] cmd: gpt: fix calc_parts_list_len()

2023-09-04 Thread Simon Glass
Hi Heinrich, On Sat, 2 Sept 2023 at 01:34, Heinrich Schuchardt wrote: > > * Avoid incrementing by moving comma into strlen("uuid_disk=,") and > considering NUL byte. > * Appending a UUID only adds UUID_STR_LEN bytes. > Don't count the terminating NUL. > * The length of the hexadecimal

Re: [PATCH v2 2/4] cmd: gpt: use UUID accessor more consistently

2023-09-04 Thread Simon Glass
On Sat, 2 Sept 2023 at 01:34, Heinrich Schuchardt wrote: > > disk_partition_uuid() and disk_partition_set_uuid() were introduced to let > us avoid the usage of #ifdef when dealing with the field uuid of > struct disk_partition. > > In allocate_disk_part() commit c5f1d005f517 ("part: Add accessors

Re: [PATCH 3/3] Azure: Add sandbox64 to CI

2023-09-04 Thread Simon Glass
On Fri, 1 Sept 2023 at 14:42, Tom Rini wrote: > > Now that sandbox64 can run and pass the regular test.py suite, add it > here as well. > > Signed-off-by: Tom Rini > --- > .azure-pipelines.yml | 5 + > 1 file changed, 5 insertions(+) > Reviewed-by: Simon Glass

Re: [PATCH v2] usb: check for companion controller in uclass

2023-09-04 Thread Marek Vasut
On 9/4/23 18:21, Fabrice Gasnier wrote: On 9/4/23 15:54, Marek Vasut wrote: On 9/4/23 14:34, Fabrice Gasnier wrote: On 9/1/23 18:00, Marek Vasut wrote: On 9/1/23 14:12, Fabrice Gasnier wrote: On 9/1/23 12:48, Marek Vasut wrote: On 9/1/23 11:52, Fabrice Gasnier wrote: EHCI is usually used

Re: [PATCH v2] usb: check for companion controller in uclass

2023-09-04 Thread Fabrice Gasnier
On 9/4/23 15:54, Marek Vasut wrote: > On 9/4/23 14:34, Fabrice Gasnier wrote: >> On 9/1/23 18:00, Marek Vasut wrote: >>> On 9/1/23 14:12, Fabrice Gasnier wrote: On 9/1/23 12:48, Marek Vasut wrote: > On 9/1/23 11:52, Fabrice Gasnier wrote: >> EHCI is usually used with companion

Re: [PATCH] arm: dts: k3-j7*: ddr: Update to 0.10 version of DDR config tool

2023-09-04 Thread Bryan Brattlof
Hi Neha! On August 28, 2023 thus sayeth Neha Malcom Francis: > Update the DDR settings to those generated using 0.10 version of Jacinto > 7 DDRSS Register Configuration tool. > > Signed-off-by: Neha Malcom Francis > --- > arch/arm/dts/k3-j721e-ddr-evm-lp4-4266.dtsi | 98 ++-- >

[PATCH] buildman: Fix full help for Python 3.8

2023-09-04 Thread Simon Glass
With Python versions older than 3.9 Buildman produces an error on start-up. Fix this with a workaround for importlib. There is already a workaround for v3.6 but I am not sure if that is still functioning. Signed-off-by: Simon Glass --- tools/buildman/main.py | 10 -- 1 file changed, 8

Re: [PATCH v2 15/17] usb: gadget: ether: Use plain udevice for UDC controller interaction

2023-09-04 Thread Mattijs Korpershoek
On lun., sept. 04, 2023 at 11:10, Marek Vasut wrote: > On 9/4/23 09:56, Mattijs Korpershoek wrote: >> On ven., sept. 01, 2023 at 11:50, Marek Vasut wrote: >> >>> Convert to plain udevice interaction with UDC controller >>> device, avoid the use of UDC uclass dev_array . >>> >>> Signed-off-by:

Re: [PATCHv7 04/15] net/lwip: implement dhcp cmd

2023-09-04 Thread Maxim Uvarov
On Wed, 23 Aug 2023 at 00:58, Simon Glass wrote: > Hi Maxim, > > On Tue, 22 Aug 2023 at 03:39, Maxim Uvarov > wrote: > > > > U-Boot recently got support for an alternative network stack using LWIP. > > Replace dhcp command with the LWIP variant while keeping the output and > > error messages

Re: [PATCH] event.h: Documented some newly added portions better

2023-09-04 Thread Tom Rini
On Mon, Sep 04, 2023 at 11:21:20AM -0400, Tom Rini wrote: > After the merge of v2023.10-rc4 to next include/event.h needs to be > fully documented in order for documentation builds to complete. Rewords > two of the event_t descriptions to be docbook style and better match the > rest of this

[PATCH] event.h: Documented some newly added portions better

2023-09-04 Thread Tom Rini
After the merge of v2023.10-rc4 to next include/event.h needs to be fully documented in order for documentation builds to complete. Rewords two of the event_t descriptions to be docbook style and better match the rest of this enum. Fix two typos (flag->flags) in other comments. Signed-off-by:

[PATCH v2] arm: imx: imx8m: imx9: Fix DRAM size calculation due to rom_pointer

2023-09-04 Thread sbabic
> If dram_init_banksize() is called from SPL, the rom_pointer, at that > point, is not correctly initialized. This causes wrong calculation of > DRAM start and size in dram_init_banksize(). The issue became apparent > only in Falcon Mode. Added an extra condition to prevent using > rom_pointer in

[PATCH] ARM: imx: Drop CONFIG_USE_BOOTCOMMAND=n on i.MX6 DHSOM

2023-09-04 Thread sbabic
> This board certainly does use default 'run distro_bootcmd' boot command, > make sure this is set in 'bootcmd' variable. > Fixes: 970bf8603b8 ("Convert CONFIG_USE_BOOTCOMMAND et al to Kconfig") > Signed-off-by: Marek Vasut > Reviewed-by: Tom Rini Applied to u-boot-imx, master, thanks ! Best

[PATCH 2/2] ARM: imx: Use default SAVED_DRAM_TIMING_BASE on Data Modul i.MX8M Plus eDM SBC

2023-09-04 Thread sbabic
> Use default SAVED_DRAM_TIMING_BASE as that is what upstream TFA expects. > Without this change, the board will fail to suspend/resume e.g. in Linux. > Signed-off-by: Marek Vasut Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 1/2] ARM: imx: Use default SAVED_DRAM_TIMING_BASE on Data Modul i.MX8M Mini eDM SBC

2023-09-04 Thread sbabic
> Use default SAVED_DRAM_TIMING_BASE as that is what upstream TFA expects. > Without this change, the board will fail to suspend/resume e.g. in Linux. > Signed-off-by: Marek Vasut Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH] ARM: imx: Use default SAVED_DRAM_TIMING_BASE on DH i.MX8M Plus DHCOM

2023-09-04 Thread sbabic
> Use default SAVED_DRAM_TIMING_BASE as that is what upstream TFA expects. > Without this change, the board will fail to suspend/resume e.g. in Linux. > Signed-off-by: Marek Vasut Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH] ARM: imx: Select 2 DRAM banks on Data Modul i.MX8M Mini eDM SBC

2023-09-04 Thread sbabic
> U-Boot splits DRAM bank spanning addresses below and above the 32bit > boundary into two DRAM banks. Since this platform may come with 4GiB > of DRAM, increase the DRAM bank count to 2. > Signed-off-by: Marek Vasut Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH 1/6] board: gateworks: venice: fix gw7904

2023-09-04 Thread sbabic
> Add missing imx8mm-venice-gw7904 to CONFIG_OF_LIST > Fixes commit 61e7f9732565 ("board: gateworks: venice: add imx8mm-gw7904 > support") > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

Binman how to build using Rockchip BL32 binary as OP-TEE

2023-09-04 Thread Massimo Pegorer
Hi, Is there any way for binman to package FIT with U-Boot TF-A and OP-TEE, using bl32 binary provided by Rockchip as TEE? I've tried with TEE=/path/to/rkbin/bin/rk33/xxx_bl32_vX.YZ.bin, but binman failed. In my poor understanding of Python code, it seems binman accepts only ELF format or a

Re: [PATCH v2 02/14] lmb: Rename interior piece to area

2023-09-04 Thread Simon Glass
Hi Heinrich, On Fri, 1 Sept 2023 at 08:29, Simon Glass wrote: > > Hi Heinrich, > > On Fri, 1 Sept 2023 at 00:16, Heinrich Schuchardt wrote: > > > > On 9/1/23 03:13, Simon Glass wrote: > > > The lmb data structures use the word 'region' to describe the region in > > > which the allocations

Re: [PATCH v2 19/19] boot: Join ARCH_FIXUP_FDT_MEMORY with related options

2023-09-04 Thread Tom Rini
On Mon, Sep 04, 2023 at 08:43:12AM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 31 Aug 2023 at 08:01, Tom Rini wrote: > > > > On Wed, Aug 30, 2023 at 09:53:13PM -0600, Simon Glass wrote: > > > Move this to be with the other devicetree-fixup options. > > > > > > Signed-off-by: Simon Glass > >

Re: [PATCH 1/3] xilinx: versal-net: Do not setup boot_targets if driver is not enabled

2023-09-04 Thread Simon Glass
Hi Venkatesh, On Mon, 4 Sept 2023 at 07:58, Venkatesh Yadav Abbarapu wrote: > > SOC can boot in the device which is not accessible from APU and running > this is detected as error which ends up in stopping boot process. > Boot mode detection and logic around is present to setup priority > on

Re: [PATCH v2 19/19] boot: Join ARCH_FIXUP_FDT_MEMORY with related options

2023-09-04 Thread Simon Glass
Hi Tom, On Thu, 31 Aug 2023 at 08:01, Tom Rini wrote: > > On Wed, Aug 30, 2023 at 09:53:13PM -0600, Simon Glass wrote: > > Move this to be with the other devicetree-fixup options. > > > > Signed-off-by: Simon Glass > > --- > > > > (no changes since v1) > > > > boot/Kconfig | 16

Re: [PATCH v2] usb: host: ohci-generic: Make usage of clock/reset bulk() API

2023-09-04 Thread Xavier Drudis Ferran
El Mon, Sep 04, 2023 at 02:20:21PM +0200, Fabrice Gasnier deia: > Make usage of clock and reset bulk API in order to simplify the code > > Reviewed-by: Marek Vasut Reviewed-by: Xavier Drudis Ferran Sorry. I don't know why I used the wrong address before. > Signed-off-by: Fabrice Gasnier >

[PATCH v3 20/20] boot: Join ARCH_FIXUP_FDT_MEMORY with related options

2023-09-04 Thread Simon Glass
Move this to be with the other devicetree-fixup options. Signed-off-by: Simon Glass --- Changes in v3: - Drop patch 'Move SYS_RX_ETH_BUFFER into the network menu' boot/Kconfig | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/boot/Kconfig b/boot/Kconfig

[PATCH v3 19/20] boot: Drop CMD_MTDPARTS condition for FDT_FIXUP_PARTITIONS

2023-09-04 Thread Simon Glass
This is not needed, so drop it. Also use a capital 'O' for the option, while we are here. Signed-off-by: Simon Glass Suggested-by: Tom Rini --- Changes in v3: - Add new patch to drop CMD_MTDPARTS condition for FDT_FIXUP_PARTITIONS boot/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH v3 18/20] boot: Join FDT_FIXUP_PARTITIONS with related options

2023-09-04 Thread Simon Glass
Move this to be with the other devicetree-fixup options. Signed-off-by: Simon Glass --- (no changes since v1) boot/Kconfig | 8 lib/Kconfig | 9 - 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/boot/Kconfig b/boot/Kconfig index 08efecb13ef6..a7dcd6b0ae07

[PATCH v3 17/20] Mark DISTRO_DEFAULTS as deprecated

2023-09-04 Thread Simon Glass
Standard boot has been in place for a while now. Quite a few problems have been found and fixed. It seems like a good time to mark the script-based approach as deprecated and encourage people to use standard boot. Update the DISTRO_DEFAULTS Kconfig to encourage people to move to standard boot,

[PATCH v3 16/20] Kconfig: Move TEXT_BASE et al under general setup

2023-09-04 Thread Simon Glass
These don't relate to booting. Move them out of there and into the same place as the other related settings. Signed-off-by: Simon Glass --- (no changes since v1) Kconfig | 65 boot/Kconfig | 65

[PATCH v3 15/20] boot: Make standard boot a menu

2023-09-04 Thread Simon Glass
Collect these options into a menu for easier viewing. Signed-off-by: Simon Glass --- (no changes since v1) boot/Kconfig | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/boot/Kconfig b/boot/Kconfig index c9b7d3f710b6..17f54b926f05 100644 --- a/boot/Kconfig +++

[PATCH v3 14/20] spl: Tidy up load address in spl_ram

2023-09-04 Thread Simon Glass
This CONFIG is used but is not given a value by some boards. Use a default value of 0 explicitly, rather than relying on the 0 value provided by CONFIG_SPL_LOAD_FIT_ADDRESS This will allow us to make SPL_LOAD_FIT_ADDRESS depend on SPL_LOAD_FIT as it should. Signed-off-by: Simon Glass --- (no

[PATCH v3 13/20] Kconfig: Move SPL_FIT under FIT

2023-09-04 Thread Simon Glass
This option already depends on FIT, so put it under the same umbrella, so that it appears in the FIT menu. Signed-off-by: Simon Glass --- (no changes since v1) boot/Kconfig | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/boot/Kconfig b/boot/Kconfig index

[PATCH v3 12/20] Kconfig: Create a menu for FIT

2023-09-04 Thread Simon Glass
This is a major feature with a lot of options. Give it its own menu to tidy up the 'make menuconfig' display. Drop the 'depends on FIT' pieces which are now unnecessary, since they are now bracketed by an 'if FIT'. Signed-off-by: Simon Glass --- (no changes since v1) boot/Kconfig | 18

[PATCH v3 11/20] boot: Rename Android-boot text

2023-09-04 Thread Simon Glass
Phrases like 'Enable support for' are pointless since this is an option which enables things. Drop that part so it is easier to follow. Signed-off-by: Simon Glass --- (no changes since v1) boot/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/Kconfig

[PATCH v3 10/20] boot: Move some other fdt-fixup options to the same menu

2023-09-04 Thread Simon Glass
Move more options relating to fixing up a device tree into the new devicetree-fixup menu. Signed-off-by: Simon Glass --- (no changes since v1) boot/Kconfig | 55 +--- 1 file changed, 26 insertions(+), 29 deletions(-) diff --git a/boot/Kconfig

[PATCH v3 09/20] Move fdt_simplefb to boot/

2023-09-04 Thread Simon Glass
This relates to booting, so move it there. Create a new Kconfig menu for things related to devicetree fixup. Signed-off-by: Simon Glass --- (no changes since v1) boot/Kconfig| 16 boot/Makefile | 1 + {common => boot}/fdt_simplefb.c | 0

[PATCH v3 08/20] boot: Move fdt_support to boot/

2023-09-04 Thread Simon Glass
This relates to booting since it fixes up the devicetree for the OS. Move it into the boot/ directory. Signed-off-by: Simon Glass --- (no changes since v1) boot/Makefile | 3 +++ {common => boot}/fdt_support.c | 0 common/Makefile| 2 -- 3 files changed, 3

[PATCH v3 07/20] test: Move POST under a renamed Testing section

2023-09-04 Thread Simon Glass
Rename Unit tests to Testing, since it is a stretch to describe some of the tests as unit tests. Move POST there as well, so it doesn't show up by itself in the top-level menu. Signed-off-by: Simon Glass --- (no changes since v1) test/Kconfig | 12 ++-- 1 file changed, 6

[PATCH v3 06/20] FWU: Avoid showing an unselectable menu option

2023-09-04 Thread Simon Glass
Use a menuconfig to avoid showing a menu which cannot be selected in many cases. Signed-off-by: Simon Glass Acked-by: Sughosh Ganu Reviewed-by: Tom Rini --- Changes in v3: - Drop comment about an update/ directory Changes in v2: - Fix FMU typo in the subject - Drop now-unnecessary depends on

[PATCH v3 05/20] video: Move BMP options and code to video directory

2023-09-04 Thread Simon Glass
Put the options and the common BMP code with the other related Kconfig options in the drivers/video directory. Signed-off-by: Simon Glass --- (no changes since v1) drivers/video/Kconfig | 11 +++ drivers/video/Makefile | 2 ++ 2 files changed, 13 insertions(+) diff --git

[PATCH v3 04/20] video: Move the BMP options

2023-09-04 Thread Simon Glass
These appear prominently in the main menu at present. Move them to the video Kconfig where they belong. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Just move these options to driver/video for later consideration common/Kconfig| 11 ---

[PATCH v3 03/20] video: Move bmp code to drivers/video

2023-09-04 Thread Simon Glass
This relates to graphics which is only active when CONFIG_VIDEO is enabled. Move it into that directory. There is no harm in compiling it always, since it if not used it will be dropped by the linker. So drop use of the BMP Kconfig. Signed-off-by: Simon Glass --- (no changes since v2) Changes

[PATCH v3 02/20] Kconfig: Move API into general setup

2023-09-04 Thread Simon Glass
This is perhaps not a commonly used feature so should not have its own option in the main menu. Move it under general setup. Signed-off-by: Simon Glass --- (no changes since v1) Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kconfig b/Kconfig index

[PATCH v3 00/20] Kconfig: Tidy up some options

2023-09-04 Thread Simon Glass
The view from 'make menuconfig' is confusing in places. This series aims to improve the top-level menu and also the boot menu. It also groups FDT-fixup options tegether, at least the ones I could fine. Finally this series marks the distro scripts as deprecated, so people have a pointer to

[PATCH v3 01/20] lib: rational: Move the Kconfigs into the correct place

2023-09-04 Thread Simon Glass
These should not be part of the 'system tables' menu. Move them outside on their own. Signed-off-by: Simon Glass Fixes: 7d0f3fbb93c ("lib: rational: copy the rational fraction lib...") --- (no changes since v1) lib/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[ANN] U-Boot v2023.10-rc4 released

2023-09-04 Thread Tom Rini
Hey all, Once again it's release day and I've tagged and pushed -rc4, and will merge that to next as well shortly. We are firmly in the stabilization period at this point and I really want to see PRs for -next for things that aren't fixes. Adding Fixes tags would be great and helpful, but not

Re: Updates for RPi for 2023.10:

2023-09-04 Thread Tom Rini
On Mon, Sep 04, 2023 at 01:10:09PM +0100, Peter Robinson wrote: > The following changes since commit 8999257f219d1e371c2fd66f255b8782897944d9: > > Merge tag 'doc-2023-10-rc4-2' of > https://source.denx.de/u-boot/custodians/u-boot-efi (2023-09-02 > 09:08:54 -0400) > > are available in the Git

[PATCH] binman: Fix SyntaxWarning: invalid escape sequence '\('

2023-09-04 Thread Rong Tao
From: Rong Tao Reproduct warning: $ sudo git clean -dfx $ make CROSS_COMPILE="" qemu-x86_64_defconfig $ sudo make -j8 ... u-boot/tools/binman/etype/section.py:25: SyntaxWarning: invalid escape sequence '\(' """Entry that contains other entries Signed-off-by: Rong

[PATCH] Adjust gitignore for /build

2023-09-04 Thread Rong Tao
From: Rong Tao /build-* can't ignore /build. Signed-off-by: Rong Tao --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 002f95de4feb..9697f0088f80 100644 --- a/.gitignore +++ b/.gitignore @@ -35,7 +35,7 @@ *.tab.[ch] # Build

[PATCH] verdin-imx8mp: drop unused tdx easy installer ifdef

2023-09-04 Thread Hiago De Franco
From: Hiago De Franco Drop unused code related to CONFIG_TDX_EASY_INSTALLER, that existed only on toradex downstream branch. Signed-off-by: Hiago De Franco --- include/configs/verdin-imx8mp.h | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git

[PATCH 2/3] xilinx: versal: Do not setup boot_targets if driver is not enabled

2023-09-04 Thread Venkatesh Yadav Abbarapu
SOC can boot in the device which is not accessible from APU and running this is detected as error which ends up in stopping boot process. Boot mode detection and logic around is present to setup priority on boot devices that SOC boot device is likely also used for booting OS. Change logic to

[PATCH 3/3] xilinx: zynqmp: Do not setup boot_targets if driver is not enabled

2023-09-04 Thread Venkatesh Yadav Abbarapu
SOC can boot in the device which is not accessible from APU and running this is detected as error which ends up in stopping boot process. Boot mode detection and logic around is present to setup priority on boot devices that SOC boot device is likely also used for booting OS. Change logic to

[PATCH 1/3] xilinx: versal-net: Do not setup boot_targets if driver is not enabled

2023-09-04 Thread Venkatesh Yadav Abbarapu
SOC can boot in the device which is not accessible from APU and running this is detected as error which ends up in stopping boot process. Boot mode detection and logic around is present to setup priority on boot devices that SOC boot device is likely also used for booting OS. Change logic to

[PATCH 0/3] Do not setup boot_targets if driver is not enabled

2023-09-04 Thread Venkatesh Yadav Abbarapu
Fixing the boot_targets for versal-net, versal and zynqmp platforms. Venkatesh Yadav Abbarapu (3): xilinx: versal-net: Do not setup boot_targets if driver is not enabled xilinx: versal: Do not setup boot_targets if driver is not enabled xilinx: zynqmp: Do not setup boot_targets if driver is

[PATCH v2 2/2] zynqmp: config: Add proper dependencies for USB

2023-09-04 Thread Venkatesh Yadav Abbarapu
When CONFIG_CMD_USB and CONFIG_USB are disabled, still some compilation errors are seen as below. In file included from include/configs/xilinx_zynqmp.h:173, from include/config.h:3, from include/common.h:16, from env/common.c:10:

[PATCH v2 1/2] cmd: thordown: Add proper dependency for CMD_THOR_DOWNLOAD

2023-09-04 Thread Venkatesh Yadav Abbarapu
When CONFIG_CMD_USB and CONFIG_USB are disabled some compilation errors are seen as below. cmd/thordown.o: in function `usb_gadget_initialize': include/linux/usb/gadget.h:981: undefined reference to `board_usb_init' cmd/thordown.o: in function `do_thor_down': cmd/thordown.c:68: undefined

[PATCH v2 0/2] Fix dependencies of USB Kconfig options

2023-09-04 Thread Venkatesh Yadav Abbarapu
When USB device driver CONFIG_USB and CONFIG_CMD_USB are disabled, some compilation issues are seen. Also CMD_THOR_DOWNLOAD should depend on USB_GADGET_DOWNLOAD. Add dependencies to resolve those issues and compile properly. Also remove unused config CONFIG_ZYNQMP_USB. Changes in v2: - Added the

Re: [PATCH v2] usb: host: ohci-generic: Make usage of clock/reset bulk() API

2023-09-04 Thread Marek Vasut
On 9/4/23 14:20, Fabrice Gasnier wrote: Make usage of clock and reset bulk API in order to simplify the code Reviewed-by: Marek Vasut Signed-off-by: Fabrice Gasnier --- Changes in v2: - fix copy/paste on dev_err message since Marek's review comment - add Marek's review tag Likely still

Re: [PATCH v2] usb: check for companion controller in uclass

2023-09-04 Thread Marek Vasut
On 9/4/23 14:34, Fabrice Gasnier wrote: On 9/1/23 18:00, Marek Vasut wrote: On 9/1/23 14:12, Fabrice Gasnier wrote: On 9/1/23 12:48, Marek Vasut wrote: On 9/1/23 11:52, Fabrice Gasnier wrote: EHCI is usually used with companion controller (like OHCI) as companion controller. This information

Re: [PATCH] verdin-imx8mp: drop unused tdx easy installer ifdef

2023-09-04 Thread Marcel Ziswiler
Hi Hiago Thanks! On Mon, 2023-09-04 at 10:24 -0300, Hiago De Franco wrote: > From: Hiago De Franco > > Drop unused code related to CONFIG_TDX_EASY_INSTALLER, that existed only on > toradex downstream branch. > > Signed-off-by: Hiago De Franco Acked-by: Marcel Ziswiler > --- >  

Re: [PATCH v5 05/11] spl: Convert mmc to spl_load

2023-09-04 Thread Xavier Drudis Ferran
El Sun, Sep 03, 2023 at 08:17:26AM +, Jonas Karlman deia: > > Fundamentally, we can't really deal with unaligned images without a > > bounce-buffer. The method used by SPL_LOAD_FIT_IMAGE_BUFFER_SIZE will > > continue working, since we call into the FIT routines to load the image. Yes > > I

Re: [PATCH] usb: host: ohci-generic: Make usage of clock/reset bulk() API

2023-09-04 Thread Xavier Drudis Ferran
El Mon, Sep 04, 2023 at 11:25:06AM +0200, Fabrice Gasnier deia: > > IMHO, the OHCI should have failed too in this example, instead of > silently ignoring the error. Hopefully it has probed. > > The clk_get_bulk() code does a similar job compared to ohci current > code. It counts all clock

Re: [PATCH v2] usb: check for companion controller in uclass

2023-09-04 Thread Fabrice Gasnier
On 9/1/23 18:00, Marek Vasut wrote: > On 9/1/23 14:12, Fabrice Gasnier wrote: >> On 9/1/23 12:48, Marek Vasut wrote: >>> On 9/1/23 11:52, Fabrice Gasnier wrote: EHCI is usually used with companion controller (like OHCI) as companion controller. This information on the companion is

[PATCH v2] usb: host: ohci-generic: Make usage of clock/reset bulk() API

2023-09-04 Thread Fabrice Gasnier
Make usage of clock and reset bulk API in order to simplify the code Reviewed-by: Marek Vasut Signed-off-by: Fabrice Gasnier --- Changes in v2: - fix copy/paste on dev_err message since Marek's review comment - add Marek's review tag --- drivers/usb/host/ohci-generic.c | 92

Updates for RPi for 2023.10:

2023-09-04 Thread Peter Robinson
The following changes since commit 8999257f219d1e371c2fd66f255b8782897944d9: Merge tag 'doc-2023-10-rc4-2' of https://source.denx.de/u-boot/custodians/u-boot-efi (2023-09-02 09:08:54 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-raspberrypi/

[PATCH v2 2/2] risc-v: implement DBCN based debug console

2023-09-04 Thread Heinrich Schuchardt
Use the DBCN SBI extension to implement a debug console. Make it the default for S-mode RISC-V. Signed-off-by: Heinrich Schuchardt --- v2: check that we are in S-mode --- drivers/serial/Kconfig | 5 - drivers/serial/serial_sbi.c | 20 2 files changed, 24

[PATCH v2 1/2] risc-v: implement DBCN write byte

2023-09-04 Thread Heinrich Schuchardt
The DBCN extension provides a Console Write Byte call. Implement function sbi_dbcn_write_byte to invoke it. Signed-off-by: Heinrich Schuchardt Reviewed-by: Leo Yu-Chi Liang --- v2: no change --- arch/riscv/include/asm/sbi.h | 1 + arch/riscv/lib/sbi.c | 16 2

  1   2   >