Re: [PATCH 2/2 v2] board: starfive: support Pine64 Star64 board

2024-05-10 Thread E Shattow
On Wed, May 8, 2024 at 10:15 PM H Bell wrote: > > > Add documentation files > > Signed-off-by: Henry Bell > Cc: ycli...@andestech.com > Cc: heinrich.schucha...@canonical.com > --- > > Changes since v1 > > - New patch > --- > doc/board/starfive/index.rst | 1 + >

Re: [PATCH v4 5/5] starfive: add mac vendor sub-command

2024-05-10 Thread E Shattow
On comparing raw bytes from manufacturer data in EEPROM to having done mac initialize and each of the commands incl. 'mac vendor' to construct again that data, looks good. On Thu, May 9, 2024 at 10:52 PM Heinrich Schuchardt wrote: > > As boards from multiple vendors (Milk-V, StarFive, Pine64)

Re: [PATCH v2 03/28] mbedtls: add mbedtls into the build system

2024-05-10 Thread Tom Rini
On Fri, May 10, 2024 at 09:09:13PM -0400, Raymond Mao wrote: > Hi Tom, > > On Thu, 9 May 2024 at 11:43, Tom Rini wrote: > > > On Thu, May 09, 2024 at 11:36:37AM -0400, Raymond Mao wrote: > > > Hi Tom, > > > > > > On Thu, 9 May 2024 at 11:31, Tom Rini wrote: > > > > > > > On Thu, May 09, 2024

Re: [PATCH v2 03/28] mbedtls: add mbedtls into the build system

2024-05-10 Thread Raymond Mao
Hi Tom, On Thu, 9 May 2024 at 11:43, Tom Rini wrote: > On Thu, May 09, 2024 at 11:36:37AM -0400, Raymond Mao wrote: > > Hi Tom, > > > > On Thu, 9 May 2024 at 11:31, Tom Rini wrote: > > > > > On Thu, May 09, 2024 at 11:23:11AM -0400, Raymond Mao wrote: > > > > Hi Tom, > > > > > > > > On Thu, 9

Re: [PATCH v2] rockchip: rv1126: Migrate to OF_UPSTREAM

2024-05-10 Thread Tim Lunn
Hi Anand, On 5/10/24 14:43, Anand Moon wrote: Migrate RV1126 boards that exists in Linux v6.8 to use OF_UPSTREAM. Following targets is migrated to use OF_UPSTREAM: - rv1126-edgeble-neu2 : Board is an industrial form factor IO board. - sonoff-ihost-rv1126 : Gateway

[PATCH v2] arm: mach-k3: Move code specific to a SoC into that SoC's directory

2024-05-10 Thread Andrew Davis
Each SoC now has a directory in mach-k3, let's move the SoC specific files into their respective directories. Signed-off-by: Andrew Davis --- Changes for v2: - Rebased on latest -next arch/arm/mach-k3/Makefile | 24 ++--- arch/arm/mach-k3/am62ax/Makefile

Re: [PATCH 0/3] arm: dts: am62-beagleplay: Fix Beagleplay Ethernet

2024-05-10 Thread Tom Rini
On Fri, May 10, 2024 at 02:00:56PM -0600, Tom Rini wrote: > On Fri, May 10, 2024 at 02:58:37PM -0500, Nishanth Menon wrote: > > On 13:33-20240510, Tom Rini wrote: > > [...] > > > > > > > > [1] arm64: dts: ti: beagleplay: Fix Ethern

Re: [PATCH 0/3] arm: dts: am62-beagleplay: Fix Beagleplay Ethernet

2024-05-10 Thread Tom Rini
On Fri, May 10, 2024 at 02:58:37PM -0500, Nishanth Menon wrote: > On 13:33-20240510, Tom Rini wrote: > [...] > > > > > > [1] arm64: dts: ti: beagleplay: Fix Ethernet PHY RESET GPIOs > > > commit: 0b1133ee36ecbf3b02f69cc4e8a169f1b6019e40 > > >

Re: [PATCH 0/3] arm: dts: am62-beagleplay: Fix Beagleplay Ethernet

2024-05-10 Thread Nishanth Menon
On 13:33-20240510, Tom Rini wrote: [...] > > > > [1] arm64: dts: ti: beagleplay: Fix Ethernet PHY RESET GPIOs > > commit: 0b1133ee36ecbf3b02f69cc4e8a169f1b6019e40 > > Ah, since it's been merged to -next now, Nishanth, what do you want to > do? No biggie.. it i

Re: [PATCH] net: ti: am65-cpsw-nuss: don't touch DMA after stop

2024-05-10 Thread Sverdlin, Alexander
Hi Roger! On Fri, 2024-05-10 at 12:11 +0300, Roger Quadros wrote: > > Contrary to doc/develop/driver-model/ethernet.rst contract, eth_ops > > .free_pkt can be called after .stop, there are several error paths in TFTP, > > for instance: > > Doesn't this mean we need to fix TFTP instead of

[PATCH] pinctrl: Fix pinctrl_gpio_get_pinctrl_and_offset()

2024-05-10 Thread Jonas Karlman
Linux kernel Documentation/devicetree/bindings/gpio/gpio.txt define the format of the gpio-ranges prop as: The format is: <[pin controller phandle], [GPIO controller offset], [pin controller offset], [number of pins]>; Example: gpio-ranges = < 0 20 10>, < 10 50 20>;

Re: [PATCH 0/3] arm: dts: am62-beagleplay: Fix Beagleplay Ethernet

2024-05-10 Thread Tom Rini
On Fri, May 10, 2024 at 10:24:41PM +0300, Roger Quadros wrote: > > > On 10/05/2024 16:08, Tom Rini wrote: > > On Fri, May 10, 2024 at 12:55:15PM +0300, Roger Quadros wrote: > >> Tom, > >> > >> On 25/04/2024 15:20, Roger Quadros wrote: > >>> Sync AM62 device tree files with Linux v6.9-rc5 and >

Re: [PATCH 0/2] Add AM64x Support to PRUSS and PRU_RPROC driver

2024-05-10 Thread Tom Rini
On Tue, 30 Apr 2024 16:16:31 +0530, MD Danish Anwar wrote: > This series adds AM64x related compatibles to PRUSS and PRU_RPROC drivers. > This series is a prerequisite for ICSSG Ethernet driver. > > Once Support for AM64x is added to PRUSS and PRU_RPROC driver, I'll send > another series to

Re: [PATCH] arm: mach-k3: Move code specific to a SoC into that SoC's directory

2024-05-10 Thread Tom Rini
On Thu, Apr 25, 2024 at 04:38:32PM -0500, Andrew Davis wrote: > Each SoC now has a directory in mach-k3, let's move the SoC specific > files into their respective directories. > > Signed-off-by: Andrew Davis Please rebase this on top of current -next, thanks. -- Tom signature.asc

Re: [PATCH v2 0/2] Generate all SR boot binaries

2024-05-10 Thread Tom Rini
On Fri, 26 Apr 2024 03:36:57 +0530, Neha Malcom Francis wrote: > Add support for missing HS SRs in the build for J721E and J7200. > > Boot logs (updated for v2): > https://gist.github.com/nehamalcom/e652752623537aced8cf31308015d7c9 > > Changes since v2: > - removed redundant HS-SE SR2.0

Re: [PATCH 0/2] *** Commonize board code for K3 based SoMs ***

2024-05-10 Thread Tom Rini
On Wed, 24 Apr 2024 14:53:33 +0200, Wadim Egorov wrote: > Factor out code that we can reuse across all our K3 based SoMs. > 2nd patch of this series require patch [1] to be applied first. > > [1] https://lists.denx.de/pipermail/u-boot/2024-April/552021.html > > Wadim Egorov (2): > board:

Re: [PATCH] arm: mach-k3: am642: Provide a way to obtain boot device for non SPLs

2024-05-10 Thread Tom Rini
On Wed, 24 Apr 2024 14:43:20 +0200, Wadim Egorov wrote: > Let's provide get_boot_device() for AM64, similar to what we did > in commit 2f9095e2bf59 ("arm: mach-k3: am625: Provide a way to obtain boot > device for non SPLs") for AM62. > > Applied to u-boot/next, thanks! -- Tom

Re: [PATCH 0/3] arm: dts: am62-beagleplay: Fix Beagleplay Ethernet

2024-05-10 Thread Roger Quadros
On 10/05/2024 16:08, Tom Rini wrote: > On Fri, May 10, 2024 at 12:55:15PM +0300, Roger Quadros wrote: >> Tom, >> >> On 25/04/2024 15:20, Roger Quadros wrote: >>> Sync AM62 device tree files with Linux v6.9-rc5 and >>> add in the missing bits in -u-boot.dtsi to get CPSW >>> Ethernet working. >>>

Re: [PATCH v4 2/5] board: add support for Milk-V Mars CM

2024-05-10 Thread E Shattow
Hi Shengyu, On Fri, May 10, 2024 at 8:39 AM Shengyu Qu wrote: > > Sorry, seems this is a false warning as fdt_fixup_ethernet() would do this. > > Best regards > If you need to set a network mac address in U-Boot for an extra network port (i.e. PCIe attached) this may be: env set eth2addr

Re: [PATCH v2 4/7] dts: beagleplay: binman: Include firmware capsules binman nodes

2024-05-10 Thread Tom Rini
On Fri, Apr 19, 2024 at 04:28:16PM -0500, Jonathan Humphreys wrote: > Fill in the BeaglePlay's capsule GUID properties of the base binman capsule > nodes. > > Signed-off-by: Jonathan Humphreys > --- > arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 27 >

Re: [PATCH 4/4] arm: EFI linker script text section alignment

2024-05-10 Thread Raymond Mao
Hi Ilias, On Thu, 9 May 2024 at 14:15, Ilias Apalodimas wrote: > Hi Raymond, > > Try not to post the same patches without the fixes that were asked > [0], at least not without an explanation. > > On Thu, 9 May 2024 at 17:38, Raymond Mao wrote: > > > > Add text section alignment to fix sbsign

Re: imx8mp: Flashing U-Boot into eMMC hardware partition via UUU

2024-05-10 Thread Michael Nazzareno Trimarchi
Hi Fabio On Fri, May 10, 2024 at 5:10 PM Fabio Estevam wrote: > > Hi Michael, > > On Fri, May 10, 2024 at 11:28 AM Michael Nazzareno Trimarchi > wrote: > > > You can just change as you want. We have this file in buildroot, uuu > > can run command on the device > > using FB command. Example how

Re: [PATCH v4 2/5] board: add support for Milk-V Mars CM

2024-05-10 Thread Shengyu Qu
Sorry, seems this is a false warning as fdt_fixup_ethernet() would do this. Best regards 在 2024/5/10 23:01, Shengyu Qu 写道: Btw I didn't have a code path to pass the MAC address to kernel. So does it actually exist? Best regards, Shengyu 在 2024/5/10 13:52, Heinrich Schuchardt 写道: We already

Re: imx8mp: Flashing U-Boot into eMMC hardware partition via UUU

2024-05-10 Thread Fabio Estevam
Hi Michael, On Fri, May 10, 2024 at 11:28 AM Michael Nazzareno Trimarchi wrote: > You can just change as you want. We have this file in buildroot, uuu > can run command on the device > using FB command. Example how call it Thanks for sharing the example. I adapted the UUU script like this:

Re: [PATCH v4 2/5] board: add support for Milk-V Mars CM

2024-05-10 Thread Shengyu Qu
在 2024/5/10 23:01, Shengyu Qu 写道: Btw I didn't have a code path to pass the MAC address to kernel. So does Typo, have->find it actually exist? Best regards, Shengyu OpenPGP_0xE3520CC91929C8E7.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital

Re: [PATCH v4 2/5] board: add support for Milk-V Mars CM

2024-05-10 Thread Shengyu Qu
Btw I didn't have a code path to pass the MAC address to kernel. So does it actually exist? Best regards, Shengyu 在 2024/5/10 13:52, Heinrich Schuchardt 写道: We already support the VisionFive 2 and the Milk-V Mars board by patching the VisionFive 2 device tree. With this patch the same is done

Re: imx8mp: Flashing U-Boot into eMMC hardware partition via UUU

2024-05-10 Thread Michael Nazzareno Trimarchi
On Fri, May 10, 2024 at 4:19 PM Fabio Estevam wrote: > > Hi, > > I am using an imx8mp-evk board and I can flash the U-Boot into the > eMMC hardware partition 0 by running: > >=> tftpboot $loadaddr flash.bin >=> setexpr blkcnt $filesize + 0x1ff && setexpr blkcnt $blkcnt / 0x200 >=> mmc

Re: [RFC] pci: mediatek: add PCIe controller support for Filogic

2024-05-10 Thread Tom Rini
On Fri, May 10, 2024 at 04:07:07PM +0200, Frank Wunderlich wrote: > Am 10. Mai 2024 15:08:19 MESZ schrieb Tom Rini : > >On Fri, May 10, 2024 at 01:57:26PM +0200, Frank Wunderlich wrote: > > > >> a gentle ping...any comments? > > > >Seems fine? > > > Can we switch to OF_UPSTREAM first however? >

imx8mp: Flashing U-Boot into eMMC hardware partition via UUU

2024-05-10 Thread Fabio Estevam
Hi, I am using an imx8mp-evk board and I can flash the U-Boot into the eMMC hardware partition 0 by running: => tftpboot $loadaddr flash.bin => setexpr blkcnt $filesize + 0x1ff && setexpr blkcnt $blkcnt / 0x200 => mmc dev 2 1 => mmc write $loadaddr 0 $blkcnt Now I want to do the

Re: [RFC] pci: mediatek: add PCIe controller support for Filogic

2024-05-10 Thread Frank Wunderlich
Am 10. Mai 2024 15:08:19 MESZ schrieb Tom Rini : >On Fri, May 10, 2024 at 01:57:26PM +0200, Frank Wunderlich wrote: > >> a gentle ping...any comments? > >Seems fine? > Can we switch to OF_UPSTREAM first however? Pulling mediatek devicetrees from linux will afaik break network in uboot for

Re: [PATCH 0/3] arm: dts: am62-beagleplay: Fix Beagleplay Ethernet

2024-05-10 Thread Tom Rini
On Fri, May 10, 2024 at 12:55:15PM +0300, Roger Quadros wrote: > Tom, > > On 25/04/2024 15:20, Roger Quadros wrote: > > Sync AM62 device tree files with Linux v6.9-rc5 and > > add in the missing bits in -u-boot.dtsi to get CPSW > > Ethernet working. > > > > The last patch is marked

Re: [PATCH] doc/sphinx: Bump Jinja2 to 3.1.4

2024-05-10 Thread Tom Rini
On Fri, May 10, 2024 at 11:32:10AM +0200, Heinrich Schuchardt wrote: > On 5/6/24 23:22, Tom Rini wrote: > > While we unlikely to have an issue with CVE-2024-22195, it is simple > > enough to bump our version of Jinja2 to receive the fix, do so. > > > > Reported-by: GitHub dependabot > >

Re: [RFC] pci: mediatek: add PCIe controller support for Filogic

2024-05-10 Thread Tom Rini
On Fri, May 10, 2024 at 01:57:26PM +0200, Frank Wunderlich wrote: > a gentle ping...any comments? Seems fine? Can we switch to OF_UPSTREAM first however? -- Tom signature.asc Description: PGP signature

[PATCH] env: Invert gd->env_valid for env_mmc_save

2024-05-10 Thread jasper
From: Jasper Orschulko The A/B update strategy of the env's has a gap in the first 2 calls of saveenv. The env's are stored twice on the first memory area if: gd->env_valid == ENV_INVALID. u-boot=> saveenv Saving Environment to MMC... Writing to MMC(1)... OK u-boot=> saveenv Saving Environment

Re: [PATCH 4/4] board: ti: am62ax: Add support for remote proc load

2024-05-10 Thread Devarsh Thakkar
On 09/05/24 19:50, Hari Nagalla wrote: > Add AM62a remote proc firmware names to environment variables for > loading of C7x DSP and R5F processors. > > Signed-off-by: Hari Nagalla Reviewed-by: Devarsh Thakkar Regards Devarsh > --- > board/ti/am62ax/am62ax.env | 4 > 1 file changed, 4

Re: [PATCH 3/4] configs: am62ax: enable remote proc drivers

2024-05-10 Thread Devarsh Thakkar
On 09/05/24 19:50, Hari Nagalla wrote: > Enable K3-DSP and K3-R5FSS remote proc drivers for am62ax. > > Signed-off-by: Hari Nagalla Reviewed-by: Devarsh Thakkar Regards Devarsh > --- > configs/am62ax_evm_a53_defconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git

Re: [PATCH 2/4] remoteproc: k3-r5: Add support for R5F core on AM62A SoCs

2024-05-10 Thread Devarsh Thakkar
On 09/05/24 19:50, Hari Nagalla wrote: > AM62A has a R5F core in MCU voltage domain. > Extend support for R5F remote proc driver on AM62A with compatible > strings. > > Signed-off-by: Hari Nagalla Reviewed-by: Devarsh Thakkar Regards Devarsh > --- > drivers/remoteproc/ti_k3_r5f_rproc.c | 29

Aw: [RFC] pci: mediatek: add PCIe controller support for Filogic

2024-05-10 Thread Frank Wunderlich
a gentle ping...any comments? regards Frank > Gesendet: Freitag, 12. April 2024 um 16:10 Uhr > Von: "Frank Wunderlich" > An: "Tom Rini" , "Lukasz Majewski" , "Sean > Anderson" , "Ryder Lee" , "Weijie > Gao" , "Chunfeng Yun" , > "GSS_MTK_Uboot_upstream" , "John > Crispin" > Cc: "Frank

Re: [PATCH] mach-snapdragon: do carveouts for qcs404 only

2024-05-10 Thread Caleb Connolly
On 09/05/2024 14:59, Sam Day wrote: 'Ello Sumit, On Wednesday, 8 May 2024 at 4:48 PM, Sumit Garg wrote: On Wed, 8 May 2024 at 18:09, Caleb Connolly caleb.conno...@linaro.org wrote: Hi Sam, On 08/05/2024 13:40, Sam Day wrote: Salutations Sumit, On Wednesday, 8 May 2024 at 11:14 AM,

Re: [PATCH 0/3] arm: dts: am62-beagleplay: Fix Beagleplay Ethernet

2024-05-10 Thread Roger Quadros
Tom, On 25/04/2024 15:20, Roger Quadros wrote: > Sync AM62 device tree files with Linux v6.9-rc5 and > add in the missing bits in -u-boot.dtsi to get CPSW > Ethernet working. > > The last patch is marked [not-for-merge] as it is not yet > applied to Linux device tree. > > CI testing >

Re: [PATCH] doc/sphinx: Bump Jinja2 to 3.1.4

2024-05-10 Thread Heinrich Schuchardt
On 5/6/24 23:22, Tom Rini wrote: While we unlikely to have an issue with CVE-2024-22195, it is simple enough to bump our version of Jinja2 to receive the fix, do so. Reported-by: GitHub dependabot Signed-off-by: Tom Rini Tested-by: Heinrich Schuchardt Hello tom, My review queue is rather

Re: [PATCH v2] efi_loader: Fix EFI_VARIABLE_APPEND_WRITE hash check

2024-05-10 Thread Heinrich Schuchardt
On 5/8/24 13:13, Weizhao Ouyang wrote: According to UEFI v2.10 spec section 8.2.6, if a caller invokes the SetVariables() service, it will produce a digest from hash(VariableName, VendorGuid, Attributes, TimeStamp, DataNew_variable_content), then the firmware that implements the SetVariable()

Re: [PATCH] net: ti: am65-cpsw-nuss: don't touch DMA after stop

2024-05-10 Thread Roger Quadros
Hi Alexander, On 08/05/2024 21:36, A. Sverdlin wrote: > From: Alexander Sverdlin > > Contrary to doc/develop/driver-model/ethernet.rst contract, eth_ops > .free_pkt can be called after .stop, there are several error paths in TFTP, > for instance: Doesn't this mean we need to fix TFTP instead

[PATCH v2 8/8] arm: dts: k3-*-ddr: Add ss_cfg reg entry

2024-05-10 Thread Santhosh Kumar K
Add ss_cfg memory region which maps the DDRSS configuration region for the memory controller node. Signed-off-by: Santhosh Kumar K Signed-off-by: Neha Malcom Francis --- arch/arm/dts/k3-am62a-ddr.dtsi | 7 --- arch/arm/dts/k3-j721s2-ddr.dtsi | 12

[PATCH v2 7/8] board: ti: Pull redundant DDR functions to a common location and Fixup DDR size when ECC is enabled

2024-05-10 Thread Santhosh Kumar K
As there are few redundant functions in board/ti/*/evm.c files, pull them to a common location of access to reuse and include the common file to access the functions. Call k3-ddrss driver through fixup_ddr_driver_for_ecc() to fixup the device tree and resize the available amount of DDR, if ECC is

[PATCH v2 6/8] configs: j7*_evm_r5_defconfig: Set NR_DRAM_BANKS to 2

2024-05-10 Thread Santhosh Kumar K
From: Neha Malcom Francis Set CONFIG_NR_DRAM_BANKS to 2 as we have two banks described in the memory/ node for lower and higher addressible DDR regions. This allows use of FDT functions from fdt_support.c to set up and fixup the memory/ node correctly. Signed-off-by: Neha Malcom Francis ---

[PATCH v2 5/8] drivers: ram: Kconfig: Add CONFIG_K3_INLINE_ECC

2024-05-10 Thread Santhosh Kumar K
From: Neha Malcom Francis Add CONFIG_K3_INLINE_ECC so that ECC functions can be compiled into R5 SPL only when the config has been enabled. Signed-off-by: Neha Malcom Francis --- drivers/ram/Kconfig | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/ram/Kconfig

[PATCH v2 4/8] ram: k3-ddrss: Enable ECC interrupts

2024-05-10 Thread Santhosh Kumar K
Enable ECC 1-bit error, 2-bit error, multiple 1-bit error interrupts by setting the respective bits in the DDRSS_V2A_INT_SET_REG register. Signed-off-by: Santhosh Kumar K --- drivers/ram/k3-ddrss/k3-ddrss.c | 8 1 file changed, 8 insertions(+) diff --git

[PATCH v2 3/8] ram: k3-ddrss: Setup ECC region start and range

2024-05-10 Thread Santhosh Kumar K
Setup the ECC region's start and range using the device private data, ddrss->ddr_bank_base[0] and ddrss->ddr_ram_size. Also, move start and range of ECC regions from 32 bits to 64 bits to accommodate for DDR greater than or equal to 4GB. Signed-off-by: Santhosh Kumar K ---

[PATCH v2 2/8] ram: k3-ddrss: Add k3_ddrss_ddr_bank_base_size_calc() to solve 'calculations restricted to 32 bits' issue

2024-05-10 Thread Santhosh Kumar K
As R5 is a 32 bit processor, the RAM banks' base and size calculation is restricted to 32 bits, which results in wrong values if bank's base is greater than 32 bits or bank's size is greater than or equal to 4GB. So, add k3_ddrss_ddr_bank_base_size_calc() to get the base address and size of RAM's

[PATCH v2 1/8] ram: k3-ddrss: Use the DDR controller BIST engine for ECC priming

2024-05-10 Thread Santhosh Kumar K
From: Georgi Vlaev The 1-bit inline ECC support in TI's DDRSS bridge requires the configured memory regions to be preloaded with a pattern before use. This is done by the k3-ddrss driver from the R5 SPL in a 'for' loop. It takes around 10 seconds to fill 2GB of memory, for example. Memset can

[PATCH v2 0/8] ECC Series

2024-05-10 Thread Santhosh Kumar K
Hello, This series is to: Add support for Inline ECC in DDR for AM64X, AM62X, AM62AX, AM62PX, J721S2 and J784S4 devices. (1/8) Enable ECC priming with BIST engine (2/8) Add a function to store base address and size of RAM's banks in a 64-bit device private data (3/8) Setup the ECC region

[PATCH] xilinx: versal: Do not prioritize boot device if driver is not enabled

2024-05-10 Thread Michal Simek
From: Venkatesh Yadav Abbarapu SOC can boot out of the device which is not accessible from APU and running this is detected as a warning, as the device is not accessible.For example getting below warning when the boot mode is OSPI and OSPI is not enabled in device tree. Invalid bus 0 (err=-19)