Re: [PATCH 1/3] phy: stm32-usbphyc: add counter of PLL consumer

2022-05-17 Thread Patrick DELAUNAY
Hi Sean, On 5/11/22 18:48, Sean Anderson wrote: On 5/10/22 5:51 AM, Amelie Delaunay wrote: Hi Patrick, Hi Sean, On 5/9/22 16:37, Patrick DELAUNAY wrote: Hi Sean, On 5/8/22 20:21, Sean Anderson wrote: On 4/26/22 8:37 AM, Patrick Delaunay wrote: Add the counter of the PLL user n_pll_cons

Re: [PATCH 2/2] mmc: fsl_esdhc: Add new config option for default fallback mode

2022-05-17 Thread Pali Rohár
On Tuesday 17 May 2022 08:40:48 Jaehoon Chung wrote: > On 5/12/22 03:27, Pali Rohár wrote: > > Currently default fallback SDHC mode is 1-bit. Add new config option > > CONFIG_SYS_FSL_ESDHC_DEFAULT_BUS_WIDTH to allow specifying default fallback > > mode. This is useful e.g. for SPL builds which

Re: i.MX8MP usb status

2022-05-17 Thread Tommaso Merciai
On Mon, May 16, 2022 at 12:50:34PM -0300, Fabio Estevam wrote: > Hi Marcel, > > On 16/05/2022 12:41, Marcel Ziswiler wrote: > > > Talking about uuu, has anybody managed to get that going on the i.MX > > 8M Mini yet? Regular USB device/host > > functionality works great but last I tried gadget

Re: [PATCH] mvebu: uDPU: include fixed-phy support

2022-05-17 Thread Stefan Roese
On 06.05.22 13:54, Robert Marko wrote: uDPU relies on using fixed-phy for the SFP support, and since the fixed-phy parsing was moved to the generic driver instead of mvneta networking stopped working on uDPU with: uDPU>> dhcp dm_eth_phy_connect failed This is due to the conversion commit not

Re: [PATCH 0/5] arm: mvebu: turris_omnia: Fix hangup in debug UART

2022-05-17 Thread Stefan Roese
On 06.05.22 11:05, Pali Rohár wrote: If proper U-Boot on Turris Omnia tries to print something on debug UART then CPU hangs. Reason is that debug UART in proper U-Boot for Turris Omnia has incorrect configuration of base register. Base register is different in SPL and also in different stages of

Re: [PATCH] arm: mvebu: turris_{omnia,mox}: Enable CONFIG_NETCONSOLE

2022-05-17 Thread Stefan Roese
On 09.05.22 11:12, Pali Rohár wrote: This allows to use U-Boot console on Turris devices via network. Signed-off-by: Pali Rohár Applied to u-boot-marvell/master Thanks, Stefan --- configs/turris_mox_defconfig | 1 + configs/turris_omnia_defconfig | 1 + 2 files changed, 2

Re: [PATCH v2 04/12] linker_lists: Rename sections to remove . prefix

2022-05-17 Thread Heinrich Schuchardt
On 4/14/22 15:59, Andrew Scull wrote: Rename the sections used to implement linker lists so they begin with '__u_boot_list' rather than '.u_boot_list'. The double underscore at the start is still distinct from the single underscore used by the symbol names. Having a '.' in the section names

[PATCH v1] i2c: nuvoton: Add NPCM7xx i2c driver

2022-05-17 Thread Jim Liu
Add Nuvoton BMC NPCM750 i2c driver Signed-off-by: Jim Liu --- drivers/i2c/Kconfig| 5 + drivers/i2c/Makefile | 1 + drivers/i2c/npcm-i2c.c | 632 + 3 files changed, 638 insertions(+) create mode 100644 drivers/i2c/npcm-i2c.c diff --git

Re: [PATCH 1/2] tpm: core: Set timeouts before requesting locality

2022-05-17 Thread Ilias Apalodimas
Hi Eddie, Thanks for the patches. I am currently traveling so apologies for the slow replies. This one looks good, I'll have a look at the rest once I get back On Fri, 13 May 2022 at 19:30, Eddie James wrote: > > Requesting the locality uses the timeout values, so they need > to be set

Re: [PATCH] arm: mvebu: Remove unused ARMADA_64BIT

2022-05-17 Thread Stefan Roese
On 05.05.22 04:09, Chris Packham wrote: Nothing selects ARMADA_64BIT. Instead the 64-bit SoCs just select ARM64 directly. Remove the unused config item. Signed-off-by: Chris Packham Applied to u-boot-marvell/master Thanks, Stefan --- arch/arm/mach-mvebu/Kconfig | 4 1 file

Re: [PATCH] cmd: mvebu: Hide bubt specific options when bubt is disabled

2022-05-17 Thread Stefan Roese
On 03.05.22 11:13, Pali Rohár wrote: CONFIG_MVEBU_NAND_BOOT, CONFIG_MVEBU_SPI_BOOT, CONFIG_MVEBU_MMC_BOOT and CONFIG_MVEBU_UBOOT_DFLT_NAME are unused when CONFIG_CMD_MVEBU_BUBT is not enabled. So hide them. Signed-off-by: Pali Rohár Applied to u-boot-marvell/master Thanks, Stefan ---

Re: [PATCH 7/5] serial: Add new config option TPL_DEBUG_UART_BASE

2022-05-17 Thread Stefan Roese
On 16.05.22 18:49, Pali Rohár wrote: TPL_DEBUG_UART_BASE is same as DEBUG_UART_BASE, but applies only for TPL. Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan --- drivers/serial/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git

[PATCH] dm: core: convert of_machine_is_compatible to livetree

2022-05-17 Thread Patrick Delaunay
Replace in the function of_machine_is_compatible(), the used API fdt_node_check_compatible() by ofnode_device_is_compatible() to support a live tree. Signed-off-by: Patrick Delaunay --- drivers/core/device.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

Re: [PATCH v1 1/2] spi: stm32_qspi: Always check SR_TCF flags in stm32_qspi_wait_cmd()

2022-05-17 Thread Patrick DELAUNAY
Hi Patrice, On 5/12/22 09:17, Patrice Chotard wrote: Currently, SR_TCF flag is checked in case there is data, this criteria is not correct. SR_TCF flags is set when programmed number of bytes have been transferred to the memory device ("bytes" comprised command and data send to the SPI

[PATCH v1] pinctrl: nuvoton: Add NPCM7xx pinctrl driver

2022-05-17 Thread Jim Liu
Add Nuvoton BMC NPCM750 Pinmux and Pinconf support. Signed-off-by: Jim Liu --- drivers/pinctrl/Kconfig |1 + drivers/pinctrl/Makefile |1 + drivers/pinctrl/nuvoton/Kconfig |7 + drivers/pinctrl/nuvoton/Makefile |4 +

Please pull u-boot-marvell/master

2022-05-17 Thread Stefan Roese
Hi Tom, please pull this next batch of mostly Marvell related patches: - Misc Kconfig cleanups (Chris & Pali) - turris_omnia: Fix hangup in debug UART (this introduces TPL/SPL_DEBUG_UART_BASE) Pali - mvebu: uDPU: include

Re: [PATCH v1 2/2] spi: stm32_qspi: Remove SR_BUSY bit check before sending command

2022-05-17 Thread Patrick DELAUNAY
Hi Patrice On 5/12/22 09:17, Patrice Chotard wrote: Waiting for SR_BUSY bit when receiving a new command is not needed. SR_BUSY bit is already managed in the previous command treatment. Signed-off-by: Patrice Chotard --- drivers/spi/stm32_qspi.c | 4 1 file changed, 4 deletions(-)

Re: [PATCH 1/2] pinctrl: probe pinctrl drivers during post-bind

2022-05-17 Thread Stefan Roese
On 06.05.22 20:01, Robert Marko wrote: Currently, pinctrl drivers only get probed if pinconf is actually being used, however on SoC-s like Armada 3720 pinctrl driver is a also the GPIO driver. So, if the pinctrl driver doesn't get probed GPIO-s won't get registered and thus they cannot be used.

[PATCH v1] mmc: nuvoton: Add NPCM7xx mmc driver

2022-05-17 Thread Jim Liu
Add Nuvoton BMC NPCM750 mmc control driver. Signed-off-by: Jim Liu --- drivers/mmc/Kconfig | 12 ++ drivers/mmc/Makefile | 1 + drivers/mmc/npcm_sdhci.c | 89 3 files changed, 102 insertions(+) create mode 100644 drivers/mmc/npcm_sdhci.c

[PATCH 2/4] spi: synquacer: wait until slave is deselected

2022-05-17 Thread Masahisa Kojima
synquacer_cs_set() function does not wait the chip select is deasserted when the driver sets the DMSTOP to deselect the slave. This commit checks the Slave Select Released(SRS) bit to wait until the slave is deselected. Signed-off-by: Masahisa Kojima Signed-off-by: Satoru Okamoto ---

[PATCH 4/4] spi: synquacer: simplify tx completion checking

2022-05-17 Thread Masahisa Kojima
There is a TX-FIFO and Shift Register empty(TFES) status bit in spi controller. This commit checks the TFES bit to wait the TX transfer completes. Signed-off-by: Masahisa Kojima Signed-off-by: Satoru Okamoto --- drivers/spi/spi-synquacer.c | 10 -- 1 file changed, 4 insertions(+), 6

[PATCH 3/4] spi: synquacer: DMSTART bit must not be set while transferring

2022-05-17 Thread Masahisa Kojima
DMSTART bit must not be set while there is active transfer. This commit sets the DMSTART bit only when the transfer begins. Signed-off-by: Masahisa Kojima Signed-off-by: Satoru Okamoto --- drivers/spi/spi-synquacer.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 2/2] mmc: fsl_esdhc: Add new config option for default fallback mode

2022-05-17 Thread Jaehoon Chung
On 5/17/22 16:27, Pali Rohár wrote: > On Tuesday 17 May 2022 08:40:48 Jaehoon Chung wrote: >> On 5/12/22 03:27, Pali Rohár wrote: >>> Currently default fallback SDHC mode is 1-bit. Add new config option >>> CONFIG_SYS_FSL_ESDHC_DEFAULT_BUS_WIDTH to allow specifying default fallback >>> mode. This

Re: [PATCH] ARM: dts: stm32: Configure Buck3 voltage per PMIC NVM on Avenger96

2022-05-17 Thread Patrick DELAUNAY
Hi, On 5/11/22 23:09, Marek Vasut wrote: The Avenger96 board comes in multiple regulator configurations. - rev.100 or rev.200 have Buck3 preconfigured to 3V3 operation on boot and contains extra Enpirion EP53A8LQI DCDC converter which supplies the IO. Reduce Buck3 voltage to 2V9 to

[PATCH 1/4] spi: synquacer: busy variable must be initialized before use

2022-05-17 Thread Masahisa Kojima
"busy" variable is ORed without being initialized, must be zeroed before use. Signed-off-by: Masahisa Kojima Signed-off-by: Satoru Okamoto --- drivers/spi/spi-synquacer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-synquacer.c

[PATCH 0/4] spi-synquacer fixes and improvement

2022-05-17 Thread Masahisa Kojima
When we support SPI-NAND flash with spi-synquacer driver, we encounter several issues. This series fixes the spi-synquacer driver to make SPI-NAND flash device work. This series also includes some improvement and simplifies the implementation. Masahisa Kojima (4): spi: synquacer: busy variable

Re: [PATCH v1] mmc: nuvoton: Add NPCM7xx mmc driver

2022-05-17 Thread Jaehoon Chung
Hi, On 5/17/22 17:26, Jim Liu wrote: > Add Nuvoton BMC NPCM750 mmc control driver. There is no where this driver is building. If you have more patch to upstream, I think that it's better to send as patchset than now. Best Regards, Jaehoon Chung > > Signed-off-by: Jim Liu > --- >

[PATCH v1] net: nuvoton : Add NPCM7xx EMAC driver

2022-05-17 Thread Jim Liu
NPCM750 provides identical ethernet MAC controllers for WAN/LAN applications. Signed-off-by: Jim Liu --- drivers/net/Kconfig | 5 + drivers/net/Makefile | 1 + drivers/net/npcm750_eth.c | 745 ++ 3 files changed, 751 insertions(+) create mode

Re: [PATCH 0/4] stm32mp: add minimal RCC support for STM32MP13

2022-05-17 Thread Patrick DELAUNAY
Hi, On 5/11/22 18:44, Sean Anderson wrote: Hi Patrick, On 5/10/22 3:51 AM, Patrick Delaunay wrote: Add a minimal support for STM32MP13 RCC, the reset and clock controller - update of the RCC MISC driver to bind the correct clock and reset driver - reset driver, same than STM32MP15x =

[PATCH 3/3] test/py: test_part: Correct the test case name

2022-05-17 Thread Bin Meng
Use test_part_types as the name instead of dm_compact. Signed-off-by: Bin Meng --- test/py/tests/test_part.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/py/tests/test_part.py b/test/py/tests/test_part.py index cba9804510..2b5184654d 100644 ---

[PATCH 1/3] test/py: Reset the console timeout value

2022-05-17 Thread Bin Meng
Reset the console timeout value as some tests may change its default value during the execution. This fixes the random case timeout issue seen in the U-Boot CI. Signed-off-by: Bin Meng --- test/py/u_boot_console_base.py | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 2/3] test/py: test_fs: Correct the test case name

2022-05-17 Thread Bin Meng
Use test_fstypes as the name instead of test_dm_compact. Signed-off-by: Bin Meng --- test/py/tests/test_fs/test_fs_cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/py/tests/test_fs/test_fs_cmd.py b/test/py/tests/test_fs/test_fs_cmd.py index

Re: [PATCH][RESEND] mtd: spi-nor-ids: Add Winbond W25Q128JW ID

2022-05-17 Thread Jagan Teki
On Mon, May 9, 2022 at 6:10 PM Marek Vasut wrote: > > On 4/25/22 06:39, Stefan Roese wrote: > > On 4/24/22 23:39, Marek Vasut wrote: > >> Add ID for Winbond W25Q128JW device. This is a 128 Mbit QSPI NOR. > >> Tested on W25Q128JWPIM part. > >> > >> Signed-off-by: Marek Vasut > >> Cc: Horatiu

[PATCH] imx8mn_evk: Add Ethernet support to the LPDDR4 variant

2022-05-17 Thread Fabio Estevam
From: Fabio Estevam The imx8mn-ddr4-evk board has Ethernet support already, but the lpddr4 board does not. Add Ethernet support for the LPDDR4 variant too. Signed-off-by: Fabio Estevam --- configs/imx8mn_evk_defconfig | 8 1 file changed, 8 insertions(+) diff --git

Re: [PATCH] ARM: dts: stm32: Configure Buck3 voltage per PMIC NVM on Avenger96

2022-05-17 Thread Marek Vasut
On 5/17/22 14:39, Patrick DELAUNAY wrote: Hi, [...] +static int board_get_regulator_buck3_nvm_uv_av96(int *uv) +{ +    const void *fdt = gd->fdt_blob; +    struct udevice *dev; +    u8 bucks_vout = 0; +    const char *prop; +    int len, ret; + +    /* Check whether this is Avenger96 board.

Re: Broken support for 4GB DDR on 32-bit platforms

2022-05-17 Thread Tom Rini
On Tue, May 17, 2022 at 06:00:16PM +0200, Pali Rohár wrote: > On Tuesday 17 May 2022 11:52:14 Tom Rini wrote: > > On Mon, May 16, 2022 at 11:56:51PM +0200, Pali Rohár wrote: > > > On Monday 16 May 2022 08:31:43 Tom Rini wrote: > > > > On Sat, May 14, 2022 at 01:00:06AM +0200, Pali Rohár wrote: > >

Re: [PATCH] ARM: dts: stm32: Configure Buck3 voltage per PMIC NVM on Avenger96

2022-05-17 Thread Marek Vasut
On 5/17/22 17:32, Patrick DELAUNAY wrote: Hi, +static int board_get_regulator_buck3_nvm_uv_av96(int *uv) +{ +    const void *fdt = gd->fdt_blob; +    struct udevice *dev; +    u8 bucks_vout = 0; +    const char *prop; +    int len, ret; + +    /* Check whether this is Avenger96 board. */ +   

Re: Broken support for 4GB DDR on 32-bit platforms

2022-05-17 Thread Tom Rini
On Mon, May 16, 2022 at 11:56:51PM +0200, Pali Rohár wrote: > On Monday 16 May 2022 08:31:43 Tom Rini wrote: > > On Sat, May 14, 2022 at 01:00:06AM +0200, Pali Rohár wrote: > > > > > Hello! I tried to enable support for 2GB+ of DDR memory (with 4GB DDR3) > > > on powerpc P2020 board in 32-bit

[PATCH] doc: sandbox: Correct the memory size config option

2022-05-17 Thread Bin Meng
It should be CONFIG_SANDBOX_RAM_SIZE_MB. Signed-off-by: Bin Meng --- doc/arch/sandbox.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/arch/sandbox.rst b/doc/arch/sandbox.rst index bc670b98b7..246ab5b380 100644 --- a/doc/arch/sandbox.rst +++ b/doc/arch/sandbox.rst @@

Re: [PATCH] ARM: dts: stm32: Configure Buck3 voltage per PMIC NVM on Avenger96

2022-05-17 Thread Marek Vasut
On 5/17/22 15:43, Patrick DELAUNAY wrote: Hi, Hi, +static int board_get_regulator_buck3_nvm_uv_av96(int *uv) +{ +    const void *fdt = gd->fdt_blob; +    struct udevice *dev; +    u8 bucks_vout = 0; +    const char *prop; +    int len, ret; + +    /* Check whether this is Avenger96 board. */

Re: [PATCH] ARM: dts: stm32: Configure Buck3 voltage per PMIC NVM on Avenger96

2022-05-17 Thread Patrick DELAUNAY
On 5/17/22 16:32, Marek Vasut wrote: On 5/17/22 15:43, Patrick DELAUNAY wrote: Hi, Hi, +static int board_get_regulator_buck3_nvm_uv_av96(int *uv) +{ +    const void *fdt = gd->fdt_blob; +    struct udevice *dev; +    u8 bucks_vout = 0; +    const char *prop; +    int len, ret; + +    /*

[PATCH] doc: sandbox: Add a note of disabling LTO when using gdb

2022-05-17 Thread Bin Meng
Image created by LTO is not friendly to debugger, let's document this. Signed-off-by: Bin Meng --- doc/arch/sandbox.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/arch/sandbox.rst b/doc/arch/sandbox.rst index 246ab5b380..19167d22fb 100644 --- a/doc/arch/sandbox.rst +++

Re: [PATCH] ARM: dts: stm32: Configure Buck3 voltage per PMIC NVM on Avenger96

2022-05-17 Thread Patrick DELAUNAY
Hi, On 5/17/22 14:53, Marek Vasut wrote: On 5/17/22 14:39, Patrick DELAUNAY wrote: Hi, [...] +static int board_get_regulator_buck3_nvm_uv_av96(int *uv) +{ +    const void *fdt = gd->fdt_blob; +    struct udevice *dev; +    u8 bucks_vout = 0; +    const char *prop; +    int len, ret; + +   

[PATCH] phy: dp83867: add dp83867_{read,write}_mmd helpers

2022-05-17 Thread Rasmus Villemoes
Since the phy_{read,write}_mmd functions are static inlines using other static inline functions, they cause code using them to explode. Defining local wrappers cuts the size of the generated code by 50%: $ size drivers/net/phy/dp83867.o.{before,after} textdata bss dec hex

Re: Broken support for 4GB DDR on 32-bit platforms

2022-05-17 Thread Pali Rohár
On Tuesday 17 May 2022 11:52:14 Tom Rini wrote: > On Mon, May 16, 2022 at 11:56:51PM +0200, Pali Rohár wrote: > > On Monday 16 May 2022 08:31:43 Tom Rini wrote: > > > On Sat, May 14, 2022 at 01:00:06AM +0200, Pali Rohár wrote: > > > > > > > Hello! I tried to enable support for 2GB+ of DDR memory

[PATCH] Kconfig: hide options not intended for users in arch/Kconfig

2022-05-17 Thread Daniel Schwierzeck
Those options show up in menuconfig when selecting ARM or MIPS which is dangerous if a user accidently sets them. This also clutters up the menuconfig top-level screen. Because those options should only be set by SoC specific or board specific configs, make them invisible. Signed-off-by: Daniel

[PATCH] serial: smh: Fake tstc

2022-05-17 Thread Sean Anderson
ARM semihosting provides no provisions for determining if there is pending input. The only way to determine if there is console input is to do a read (and block until the user types something). For this reason, we always return true for tstc (since you will always get input if you try). However,

Re: [PATCH v5 04/25] mips: add support for noncached_alloc()

2022-05-17 Thread Daniel Schwierzeck
On 16.05.22 04:42, Weijie Gao wrote: This patch adds support for noncached_alloc() which was only supported by ARM platform. Unlike the ARM platform, MMU is not used in u-boot for MIPS. Instead, KSEG is provided to access uncached memory. So most code of this patch is copied from cache.c of

Re: [PATCH v5 01/25] mips: add asm/mipsmtregs.h for MIPS multi-threading

2022-05-17 Thread Daniel Schwierzeck
On 16.05.22 04:42, Weijie Gao wrote: To be compatible with old u-boot used by lots of MT7621 devices, the u-boot needs to boot-up MT7621's all cores, and all VPES of each core. This patch adds asm/mipsmtregs.h from linux kernel which is need for boot-up VPEs. Signed-off-by: Weijie Gao ---

Re: [PATCH v5 03/25] mips: add __image_copy_len for SPL linker script

2022-05-17 Thread Daniel Schwierzeck
On 16.05.22 04:42, Weijie Gao wrote: This patch adds __image_copy_len needed by TPL of MT7621 SoC. The __image_copy_len represents the binary blob size of both SPL/TPL binaries. To achieve this, __text_start/end are added for calculation. Signed-off-by: Weijie Gao --- v5 changes: none v4

Re: [PATCH v5 02/25] mips: add more definitions for asm/cm.h

2022-05-17 Thread Daniel Schwierzeck
On 16.05.22 04:42, Weijie Gao wrote: This patch add more definitions needed for MT7621 initialization. MT7621 needs to initialize GIC/CPC and other related parts. Signed-off-by: Weijie Gao --- v5 changes: none v4 changes: new --- arch/mips/include/asm/cm.h | 67

[PATCH] ubifs: Fix lockup/crash when reading files

2022-05-17 Thread Pali Rohár
Commit b1a14f8a1c2e ("UBIFS: Change ubifsload to not read beyond the requested size") added optimization to do not read more bytes than it is really needed. But this commit introduced incorrect handling of the hole at the end of file. This logic cause U-Boot to crash or lockup when trying to read

Re: [PATCH v2 01/11] clk: aspeed: Get HCLK frequency support

2022-05-17 Thread Cédric Le Goater
On 5/9/22 09:23, Chin-Ting Kuo wrote: User can get correct HCLK frequency during driver probe stage by adding the following configuration in the device tree. "clocks = < ASPEED_CLK_AHB>". Signed-off-by: Chin-Ting Kuo --- drivers/clk/aspeed/clk_ast2500.c | 24 1 file

Re: [PATCH v5 05/25] mips: mtmips: add support for MediaTek MT7621 SoC

2022-05-17 Thread Daniel Schwierzeck
On 16.05.22 04:42, Weijie Gao wrote: This patch adds support for MediaTek MT7621 SoC. All files are dedicated for u-boot. The default build target is u-boot-mt7621.bin. The specification of this chip: https://www.mediatek.com/products/homenetworking/mt7621 Signed-off-by: Weijie Gao --- v5

Re: [PATCH v5 22/25] spl: spl_legacy: fix the use of SPL_COPY_PAYLOAD_ONLY

2022-05-17 Thread Daniel Schwierzeck
On 16.05.22 04:44, Weijie Gao wrote: If the payload is compressed, SPL_COPY_PAYLOAD_ONLY should always be set since the payload will not be directly read to its load address. The payload will first be read to a temporary buffer, and then be decompressed to its load address, without image

Re: [PATCH v5 24/25] tools: mtk_image: add support for MT7621 NAND images

2022-05-17 Thread Daniel Schwierzeck
On 16.05.22 04:44, Weijie Gao wrote: The BootROM of MT7621 requires a image header for SPL to record its size and load address when booting from NAND. To create such an image, one can use the following command line: mkimage -T mtk_image -a 0x8020 -e 0x8020 -n "mt7621=1" -d

Re: [PATCH v5 06/25] mips: mtmips: add two reference boards for mt7621

2022-05-17 Thread Daniel Schwierzeck
On 16.05.22 04:42, Weijie Gao wrote: The mt7621_rfb board supports integrated giga PHYs plus one external giga PHYs. It also has up to 512MiB DDR3, 16MB SPI-NOR, 3 mini PCI-e x1 slots, SDXC and USB. The mt7621_nand_rfb board is almost the same as mt7621_rfb board, but it uses NAND flash and

Re: [PATCH v5 10/25] pinctrl: mtmips: add support for MediaTek MT7621 SoC

2022-05-17 Thread Daniel Schwierzeck
On 16.05.22 04:43, Weijie Gao wrote: This patch adds pinctrl support for MediaTek MT7621 SoC. The MT7621 SoC supports pinconf, but it is not the same as mt7628. Signed-off-by: Weijie Gao --- v5 changes: Remove the use of common.h v4 changes: none v3 changes: none v2 changes: none ---

Re: [PATCH v5 23/25] spl: nand: support loading legacy image with payload compressed

2022-05-17 Thread Daniel Schwierzeck
On 16.05.22 04:44, Weijie Gao wrote: Add support to load legacy image with payload compressed. This redirects the boot flow for all legacy images. If the payload is not compresses, the s/compresses/compressed/ actual behavior will remain unchanged. Signed-off-by: Weijie Gao --- v5

Re: [PATCH v6 5/6] doc:bootmenu: add description for UEFI boot support

2022-05-17 Thread Takahiro Akashi
Kojima-san, On Mon, May 16, 2022 at 08:00:41PM +0900, Masahisa Kojima wrote: > The bootmenu enumerates the UEFI boot options > for boot device selection. > > This commit adds the description how the UEFI boot work > in bootmenu. This commit also adds "Synopsis", "Description" > and

Re: [PATCH v5 07/25] doc: mediatek: add documentation for mt7621 reference boards

2022-05-17 Thread Daniel Schwierzeck
On 16.05.22 04:42, Weijie Gao wrote: The MT7621 requires external binary blob being executed during u-boot's boot-up flow. It's necessary to provide a guide here for users to correctly build the u-boot. Signed-off-by: Weijie Gao --- v5 changes: none v4 changes: new ---

Re: [PATCH v5 18/25] net: mediatek: use regmap api to modify ethsys registers

2022-05-17 Thread Daniel Schwierzeck
On 16.05.22 04:43, Weijie Gao wrote: The address returned by regmap_get_range() is not remapped. Directly r/w to this address is ok for ARM platforms since it's idential to the virtual address. But for MIPS platform only virtual address should be used for access. To solve this issue, the

Re: [PATCH v6 5/6] doc:bootmenu: add description for UEFI boot support

2022-05-17 Thread Masahisa Kojima
Hi Akashi-san, On Wed, 18 May 2022 at 10:31, Takahiro Akashi wrote: > > Kojima-san, > > On Mon, May 16, 2022 at 08:00:41PM +0900, Masahisa Kojima wrote: > > The bootmenu enumerates the UEFI boot options > > for boot device selection. > > > > This commit adds the description how the UEFI boot

Re: imx6ull: NAND boot fails when block 0x00000000 is bad

2022-05-17 Thread Thierry Bultel
Le 16/05/2022 à 09:22, Michael Nazzareno Trimarchi a écrit : Hi On Mon, May 16, 2022 at 9:10 AM Marcel Ziswiler wrote: On Mon, 2022-05-16 at 08:58 +0200, Michael Nazzareno Trimarchi wrote: Hi On Mon, May 16, 2022 at 8:51 AM Francesco Dolcini wrote: Hello, On Fri, May 13, 2022 at

Re: [PATCH 4/4] Convert CONFIG_USB_EHCI_IS_TDI to Kconfig

2022-05-17 Thread Chris Packham
Hi Marek, On Sun, Oct 10, 2021 at 2:28 AM Marek Behún wrote: > > From: Marek Behún > > On mvebu this is defined if and only if !ARM64. > I'm working on a 64-bit MVEBU board which I'll hopefully be submitting soon (just getting the Linux stuff sorted first). Was there any particular reason you

Re: [PATCH v1] mmc: nuvoton: Add NPCM7xx mmc driver

2022-05-17 Thread Jim Liu
Hi Jaehoon Thanks for your reply. NPCM750 main patch is upstream on uboot master. it can build on uboot master branch. The default config is poleg_evb_defconfig and the log is as below: U-Boot 2022.07-rc2-00065-gc387e62614 (May 18 2022 - 10:19:05 +0800) CPU:

[PATCH] driver: video: Check allocated pointers

2022-05-17 Thread Bin Meng
The codes that call STBTT_malloc() / stbtt__new_active() do not check the return value at present which may cause segfault. Signed-off-by: Bin Meng --- drivers/video/stb_truetype.h | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git