[PATCH] tools: mtk_image: add an option to set device header offset

2021-03-08 Thread Weijie Gao
This patch adds an option which allows setting the device header offset. This is useful if this tool is used to generate ATF BL2 image of mt7622 for SD cards. Signed-off-by: Weijie Gao --- tools/mtk_image.c | 50 --- 1 file changed, 47 insertions(+),

RE: [PATCH 2/2] mmc: fsl_esdhc_imx: remove redundant cmd11 related code.

2021-03-08 Thread Bough Chen
> -Original Message- > From: Bough Chen > Sent: 2021年3月8日 17:50 > To: ZHIZHIKIN Andrey ; Peng Fan > ; u-boot@lists.denx.de; sba...@denx.de > Cc: dl-uboot-imx ; thar...@gateworks.com; > feste...@gmail.com; Ye Li > Subject: RE: [PATCH 2/2] mmc: fsl_esdhc_imx: remove redundant cmd11 >

Re: [PATCH v2 18/19] video: sunxi: Add DW HDMI PHY driver

2021-03-08 Thread Jernej Škrabec
Dne ponedeljek, 08. marec 2021 ob 08:57:31 CET je Jagan Teki napisal(a): > On Sun, Mar 7, 2021 at 1:25 AM Jernej Skrabec wrote: > > This commit adds standalone driver for DW HDMI PHY. It deprecates code > > which is included in sunxi dw-hdmi platform driver. > > > > Signed-off-by: Jernej

Re: [PATCH v2 09/19] video: sunxi: de2: switch to public uclass functions

2021-03-08 Thread Jernej Škrabec
Dne torek, 09. marec 2021 ob 01:40:32 CET je Andre Przywara napisal(a): > On Sun, 07 Mar 2021 08:35:23 +0100 > Jernej Škrabec wrote: > > Hi, > > > Dne nedelja, 07. marec 2021 ob 02:32:52 CET je Andre Przywara napisal(a): > > > On Sat, 6 Mar 2021 20:54:27 +0100 > > > > > > Jernej Skrabec

Please pull u-boot-x86

2021-03-08 Thread Bin Meng
-20210308' of https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic (2021-03-08 07:41:50 -0500) are available in the git repository at: https://source.denx.de/u-boot/custodians/u-boot-x86 for you to fetch changes up to 736ecc643de4b329e2edcb3207edd58bf7ed0d9d: x86: Select advanced Intel code

Re: [PATCH u-boot 16/39] build: use thin archives instead of incremental linking

2021-03-08 Thread Bin Meng
Hi Marek, On Tue, Mar 9, 2021 at 9:24 AM Bin Meng wrote: > > Hi Marek, > > On Mon, Mar 8, 2021 at 11:22 PM Marek Behún wrote: > > > > On Mon, 8 Mar 2021 22:30:17 +0800 > > Bin Meng wrote: > > > > > Hi Marek, > > > > > > On Mon, Mar 8, 2021 at 9:24 PM Marek Behún wrote: > > > > > > > > On Mon,

Re: [EXT] Re: [PATCH] usb: ehci-hcd: Add IAA handshake for removing async QH

2021-03-08 Thread Ye Li
Hi Marek, On Mon, 2021-03-08 at 09:50 +0100, Marek Vasut wrote: > Caution: EXT Email > > On 3/8/21 4:35 AM, Ye Li wrote: > [...] > > > > +static int ehci_iaa_cycle(struct ehci_ctrl *ctrl) > > +{ > > + u32 cmd, status; > > + int ret; > > + > > + /* Enable Interrupt on Async Advance

Re: [PATCH 06/20] of: extra: Introduce ofnode_phy_is_fixed_link() API

2021-03-08 Thread Bin Meng
Hi Simon, On Fri, Mar 5, 2021 at 12:08 PM Simon Glass wrote: > > +Joe Hershberger > > On Tue, 2 Mar 2021 at 10:35, Bin Meng wrote: > > > > Introduce a helper API ofnode_phy_is_fixed_link() to detect whether > > the ethernet controller connects to a fixed-link pseudo-PHY device. > > > > Note

Re: [PATCH v4 2/2] x86: coral: Show memory config and SKU ID on startup

2021-03-08 Thread Bin Meng
Hi Simon, On Sun, Feb 7, 2021 at 12:13 AM Simon Glass wrote: > > Provide the model information through sysinfo so that it shows up on > boot. For memconfig 4 pins are provided, for 16 combinations. For SKU > ID there are two options: > >- two pins provided in a ternary arrangement, for 9

Re: [PATCH u-boot 16/39] build: use thin archives instead of incremental linking

2021-03-08 Thread Bin Meng
Hi Marek, On Mon, Mar 8, 2021 at 11:22 PM Marek Behún wrote: > > On Mon, 8 Mar 2021 22:30:17 +0800 > Bin Meng wrote: > > > Hi Marek, > > > > On Mon, Mar 8, 2021 at 9:24 PM Marek Behún wrote: > > > > > > On Mon, 8 Mar 2021 19:32:10 +0800 > > > Bin Meng wrote: > > > > > > > On Mon, Mar 8, 2021

Re: [PATCH v2 09/19] video: sunxi: de2: switch to public uclass functions

2021-03-08 Thread Andre Przywara
On Sun, 07 Mar 2021 08:35:23 +0100 Jernej Škrabec wrote: Hi, > Dne nedelja, 07. marec 2021 ob 02:32:52 CET je Andre Przywara napisal(a): > > On Sat, 6 Mar 2021 20:54:27 +0100 > > > > Jernej Skrabec wrote: > > > Currently DE2 driver uses functions which are defined in internal > > >

Re: request for i.MX8MM Venice test

2021-03-08 Thread Adam Ford
On Mon, Mar 8, 2021 at 3:57 PM Tim Harvey wrote: > > On Mon, Mar 8, 2021 at 12:43 PM Adam Ford wrote: > > > > On Mon, Mar 8, 2021 at 2:35 PM Tim Harvey wrote: > > > > > > On Mon, Mar 8, 2021 at 8:47 AM Tim Harvey wrote: > > > > > > > > On Sat, Mar 6, 2021 at 6:10 PM Marek Behun wrote: > > > >

Booting a FIT: The load address of the FDT blob and overlays

2021-03-08 Thread Alex G.
Hi, I was wondering about the correct load address for a devicetree in FIT. Normally, the dtb can be anywhere in RAM, so it doesn't make sense to force it to a specific address with a 'load =' FIT directive. With bootm, the first overlay, but then fail with with: "Overlayed FDT

Re: request for i.MX8MM Venice test

2021-03-08 Thread Tim Harvey
On Mon, Mar 8, 2021 at 12:43 PM Adam Ford wrote: > > On Mon, Mar 8, 2021 at 2:35 PM Tim Harvey wrote: > > > > On Mon, Mar 8, 2021 at 8:47 AM Tim Harvey wrote: > > > > > > On Sat, Mar 6, 2021 at 6:10 PM Marek Behun wrote: > > > > > > > > [sorry for the spam, I accidentally sent this e-mail from

[PATCH 1/2] board: gateworks: venice: fix gsc_get_dev

2021-03-08 Thread Tim Harvey
use dm_i2c_probe instead of i2c_get_chip which appears to be more reliable. Signed-off-by: Tim Harvey --- board/gateworks/venice/gsc.c | 23 ++- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/board/gateworks/venice/gsc.c b/board/gateworks/venice/gsc.c index

[PATCH 2/2] board: gateworks: venice: increase CONFIG_SYS_SPL_MALLOC_SIZE

2021-03-08 Thread Tim Harvey
commit 03f1f78a9b44 ("spl: fit: Prefer a malloc()'d buffer for loading images")' changed the way buffer allocation worked for SPL to a more flexible method. For venice this caused breakage that is resolved by increasing the size of CONFIG_SYS_SPL_MALLOC_SIZE as the current FIT slighly exceeds

Re: [PATCH 1/2] power: regulator: add driver for ANATOP regulator

2021-03-08 Thread Jaehoon Chung
On 3/8/21 10:04 PM, Paul Liu wrote: > Hi Jaehoon, > > Thanks for the review. > > On Mon, 8 Mar 2021 at 07:03, Jaehoon Chung wrote: > >> Dear Ying-Chun >> >> On 3/8/21 3:18 AM, Ying-Chun Liu wrote: >>> From: "Ying-Chun Liu (PaulLiu)" >>> >>> Anatop is an integrated regulator inside i.MX6 SoC.

[PATCH v4 2/5] firmware: scmi: sandbox test for voltage regulator

2021-03-08 Thread Etienne Carriere
Implement sandbox regulator devices for SCMI voltage domains and test them in DM scmi tests. Signed-off-by: Etienne Carriere Reviewed-by: Simon Glass Reviewed-by: Jaehoon Chung --- Changes in v4: - no change Changes in v3: - applied review tags Changes in v2: - don't test

[PATCH v4 4/5] test: scmi: add local variables for scmi agent reference

2021-03-08 Thread Etienne Carriere
Add local variables agent0/agent1 to refer to SCMI sandbox context agent and ease readability of the test. For consistency, rename regul_dev to regul0_dev and remove sandbox_voltd in dm_test_scmi_voltage_domains(). Signed-off-by: Etienne Carriere --- Changes in v4 - no change Changes in v3 -

[PATCH v4 5/5] regulator: scmi: fix header file inclusion order

2021-03-08 Thread Etienne Carriere
Fix header file inclusion order in SCMI regulators driver. Signed-off-by: Etienne Carriere --- Changes in v4 - new change added to the series. --- drivers/firmware/scmi/scmi_agent-uclass.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH v4 1/5] firmware: scmi: voltage regulator

2021-03-08 Thread Etienne Carriere
Implement voltage regulators interfaced by the SCMI voltage domain protocol. The DT bindings are defined in the Linux kernel since SCMI voltage domain and regulators patches [1] and [2] integration in v5.11-rc7. Link: [1]

[PATCH v4 3/5] firmware: scmi: fix inline comments and minor coding style issues

2021-03-08 Thread Etienne Carriere
Fix inline comments and empty line in scmi driver and test files. Remove test on IS_ENABLED(CONFIG_*_SCMI) in test/dm/scmi.c since these configuration are expected enabled when CONFIG_FIRMWARE_SCMI is enabled in sandbox configuration. Signed-off-by: Etienne Carriere Reviewed-by: Simon Glass

Re: request for i.MX8MM Venice test

2021-03-08 Thread Adam Ford
On Mon, Mar 8, 2021 at 2:35 PM Tim Harvey wrote: > > On Mon, Mar 8, 2021 at 8:47 AM Tim Harvey wrote: > > > > On Sat, Mar 6, 2021 at 6:10 PM Marek Behun wrote: > > > > > > [sorry for the spam, I accidentally sent this e-mail from my personal > > > address] > > > > > > Hello Tim, > > > > > > you

Re: request for i.MX8MM Venice test

2021-03-08 Thread Tim Harvey
On Mon, Mar 8, 2021 at 8:47 AM Tim Harvey wrote: > > On Sat, Mar 6, 2021 at 6:10 PM Marek Behun wrote: > > > > [sorry for the spam, I accidentally sent this e-mail from my personal > > address] > > > > Hello Tim, > > > > you are listed as maintainer of i.MX8MM Venice board in U-Boot. > > > > I

Re: [PATCH v5 1/2] gpio: i2c-gpio: Drop use of dm_gpio_set_dir()

2021-03-08 Thread Harm Berntsen
The dm_gpio_set_dir_flags does a bitwise OR with the new flags. This means that the i2c driver cannot switch the pin from input to output or vice versa. check_dir_flags fails here: check_dir_flags: flags 0x6 has GPIOD_IS_OUT and GPIOD_IS_IN On my board, removing the logical OR in

Re: [PATCH] disk: gpt: verify alternate LBA points to last usable LBA

2021-03-08 Thread Heinrich Schuchardt
On 08.03.21 17:07, Stefan Herbrechtsmeier wrote: > From: Stefan Herbrechtsmeier > > The gpt command require the GPT backup header at the standard location > at the end of the device.Check the alternate LBA value before reading > the GPT backup header from the last usable LBA of the device. If

Re: [PATCH v2 2/4] arch: arm: update Kconfig to select IRQ when GIC_V3_ITS is enabled

2021-03-08 Thread Vladimir Oltean
On Mon, Mar 08, 2021 at 04:48:14PM +0100, Wasim Khan wrote: > From: Wasim Khan > > GIC_V3_ITS uses UCLASS_IRQ driver. Update Kconfig to select > IRQ when GIC_V3_ITS is enabled. > > Signed-off-by: Wasim Khan > Reviewed-by: Hou Zhiqiang > Reviewed-by: Simon Glass > --- Tested-by: Vladimir

Re: [PATCHv3] arm64: gic-v3-its: Clear the Pending table before enabling LPIs

2021-03-08 Thread Vladimir Oltean
On Fri, Mar 05, 2021 at 03:02:35PM +0800, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > The GICv3 RM requires "The first 1KB of memory for the LPI Pending tables > must contain only zeros on initial allocation, and this must be visible > to the Redistributors, or else the effect is

Re: [PULL u-boot] Please pull u-boot-amlogic-20210308

2021-03-08 Thread Tom Rini
2021-03-06 > 07:25:04 -0500) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic.git > u-boot-amlogic-20210308 > > for you to fetch changes up to 266637db88e37686b160722e183571567c61ad1a: > > configs: meson64:

Re: [GIT PULL] SoCFPGA changes for v2021.04-rc4

2021-03-08 Thread Tom Rini
On Mon, Mar 08, 2021 at 08:51:09AM +, Tan, Ley Foon wrote: > Hi Tom > > Please pull these changes for v2021.04-rc4. > Thanks. > > Regards > Ley Foon > > > The following changes since commit e4dba4ba6f61e8128be0b4200ca2d8cebf62180b: > > Merge

[PATCH] mmc: kconfig: Add CONFIG_SPL_MMC_VERBOSE

2021-03-08 Thread Klaus Heinrich Kiwi
When building the SPL with MMC config and CONFIG_LOGLEVEL > 7, the function mmc_select_mode() at drivers/mmc/mmc.c will call mmc_mode_name() which is only defined if CONFIG_IS_ENABLED(MMC_VERBOSE) which doesn't have a corresponding CONFIG_SPL_MMC_VERBOSE defined in Kconfig. Fixes this build

Re: request for i.MX8MM Venice test

2021-03-08 Thread Tim Harvey
On Sat, Mar 6, 2021 at 6:10 PM Marek Behun wrote: > > [sorry for the spam, I accidentally sent this e-mail from my personal > address] > > Hello Tim, > > you are listed as maintainer of i.MX8MM Venice board in U-Boot. > > I am currently working on LTO support for U-Boot, and I have > encountered

Re: [PATCH] rk3399: Add basic support for helios64

2021-03-08 Thread Christian Glombek
I've looked into this a bit over the weekend - my current WIP patch can be found here: https://src.fedoraproject.org/fork/lorbus/rpms/uboot-tools/blob/helios64/f/0001-arm-Add-support-for-Kobol-Helios64-board.patch It's essentially the entire devicetree used in Armbian, only that I had to remove

[PATCH] disk: gpt: verify alternate LBA points to last usable LBA

2021-03-08 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier The gpt command require the GPT backup header at the standard location at the end of the device. Check the alternate LBA value before reading the GPT backup header from the last usable LBA of the device. Signed-off-by: Stefan Herbrechtsmeier --- disk/part_efi.c

[PATCH v2 4/4] sandbox: enable IRQ using select for sandbox architecture

2021-03-08 Thread Wasim Khan
From: Wasim Khan Enable IRQ using select for sandbox architecture. Signed-off-by: Wasim Khan Reviewed-by: Simon Glass --- Changes in v2: - no change arch/Kconfig | 1 + configs/sandbox64_defconfig| 1 - configs/sandbox_defconfig | 1 -

[PATCH v2 3/4] arch: Kconfig: enable IRQ using select for x86 architecture

2021-03-08 Thread Wasim Khan
From: Wasim Khan use 'select' to enable IRQ as it does not have architecture specific dependency. Signed-off-by: Wasim Khan Reviewed-by: Hou Zhiqiang Reviewed-by: Simon Glass --- Changes in v2: - no change arch/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 1/4] misc: make CONFIG_IRQ selectable for all platforms

2021-03-08 Thread Wasim Khan
From: Wasim Khan UCLASS_IRQ driver is not Intel specific. Make CONFIG_IRQ selectable for all platforms. Signed-off-by: Wasim Khan Tested-by: Vladimir Oltean Reviewed-by: Simon Glass --- Changes in v2: - Corrected typo in commit description drivers/misc/Kconfig | 5 ++--- 1 file changed, 2

[PATCH v2 2/4] arch: arm: update Kconfig to select IRQ when GIC_V3_ITS is enabled

2021-03-08 Thread Wasim Khan
From: Wasim Khan GIC_V3_ITS uses UCLASS_IRQ driver. Update Kconfig to select IRQ when GIC_V3_ITS is enabled. Signed-off-by: Wasim Khan Reviewed-by: Hou Zhiqiang Reviewed-by: Simon Glass --- Changes in v2: - no change arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH u-boot 16/39] build: use thin archives instead of incremental linking

2021-03-08 Thread Marek Behún
On Mon, 8 Mar 2021 22:30:17 +0800 Bin Meng wrote: > Hi Marek, > > On Mon, Mar 8, 2021 at 9:24 PM Marek Behún wrote: > > > > On Mon, 8 Mar 2021 19:32:10 +0800 > > Bin Meng wrote: > > > > > On Mon, Mar 8, 2021 at 7:18 PM Marek Behun > > > wrote: > > > > > > > > On Mon, 8 Mar 2021 18:44:58

[PATCH] imx: imx8: Update README with somewhat correct firmware versions

2021-03-08 Thread Priit Laes
From: Priit Laes Current setup instructions for i.MX8QM MEK board include somewhat conflicting instructions, so here's an attempt to fix it. After trying both sets of firmwares, I can conclude that both of them fail to work: - no boot at all with imx-sc-firmware-0.7 / firmware-imx-7.6 -

Re: [PATCH v5 03/41] doc: Document make tcheck

2021-03-08 Thread Simon Glass
Hi Heinrich, On Sun, 7 Mar 2021 at 23:27, Heinrich Schuchardt wrote: > > Am 8. März 2021 01:34:39 MEZ schrieb Simon Glass : > >Add a comment about this option in the documentation. Also mention the > >script that runs these combinations. > > > >Signed-off-by: Simon Glass > >--- > > > >(no

Re: [PATCH v5 1/2] gpio: i2c-gpio: Drop use of dm_gpio_set_dir()

2021-03-08 Thread Simon Glass
Hi Harm, On Mon, 8 Mar 2021 at 09:35, Harm Berntsen wrote: > > I've just tested this on top of the current master (90964ab5) and this > breaks my board (Kirkwood CPU with MVEBU_GPIO=y and DM_I2C_GPIO=y). > I'll do some debugging to see what goes wrong. Thank you for that. Once we figure this

Re: [PATCH] arm: mvebu: a38x: Remove dead code ARMADA_39X

2021-03-08 Thread Stefan Roese
On 05.03.21 15:52, Pali Rohár wrote: Config option ARMADA_39X is never set so remove all dead code hidden under ifdef CONFIG_ARMADA_39X blocks. Also remove useless checks for CONFIG_ARMADA_38X define as this macro is always defined for a38x code path. Signed-off-by: Pali Rohár --- This patch

Re: [PATCH v5 1/2] gpio: i2c-gpio: Drop use of dm_gpio_set_dir()

2021-03-08 Thread Harm Berntsen
I've just tested this on top of the current master (90964ab5) and this breaks my board (Kirkwood CPU with MVEBU_GPIO=y and DM_I2C_GPIO=y). I'll do some debugging to see what goes wrong. -Original Message- From: Tom Rini To: Heiko Schocher , Harm Berntsen Cc: Simon Glass , U-Boot Mailing

Re: [PATCH u-boot 16/39] build: use thin archives instead of incremental linking

2021-03-08 Thread Bin Meng
Hi Marek, On Mon, Mar 8, 2021 at 9:24 PM Marek Behún wrote: > > On Mon, 8 Mar 2021 19:32:10 +0800 > Bin Meng wrote: > > > On Mon, Mar 8, 2021 at 7:18 PM Marek Behun wrote: > > > > > > On Mon, 8 Mar 2021 18:44:58 +0800 > > > Bin Meng wrote: > > > > > > > Could you investigate why? > > > > > >

Re: [PATCH u-boot 16/39] build: use thin archives instead of incremental linking

2021-03-08 Thread Marek Behún
On Mon, 8 Mar 2021 19:32:10 +0800 Bin Meng wrote: > On Mon, Mar 8, 2021 at 7:18 PM Marek Behun wrote: > > > > On Mon, 8 Mar 2021 18:44:58 +0800 > > Bin Meng wrote: > > > > > Could you investigate why? > > > > I could, but I don't understand why exactly I should > > - Linux is also using

Re: [PATCH v5 1/2] gpio: i2c-gpio: Drop use of dm_gpio_set_dir()

2021-03-08 Thread Tom Rini
On Mon, Mar 08, 2021 at 05:59:45AM +0100, Heiko Schocher wrote: > Hello Simon, > > On 08.03.21 04:45, Simon Glass wrote: > > This is the only driver that uses this function. Update it to use the > > alternative which is dm_gpio_set_dir_flags(). > > > > Signed-off-by: Simon Glass > > --- > > >

Re: [PATCH 1/2] power: regulator: add driver for ANATOP regulator

2021-03-08 Thread Paul Liu
Hi Jaehoon, Thanks for the review. On Mon, 8 Mar 2021 at 07:03, Jaehoon Chung wrote: > Dear Ying-Chun > > On 3/8/21 3:18 AM, Ying-Chun Liu wrote: > > From: "Ying-Chun Liu (PaulLiu)" > > > > Anatop is an integrated regulator inside i.MX6 SoC. > > There are 3 digital regulators which controls

RE: [PATCH 3/4] arch: Kconfig: enable IRQ using select for x86 architecture

2021-03-08 Thread Z.q. Hou
On Tue, 12 Jan 2021 at 02:05, Wasim Khan wrote: > > From: Wasim Khan > > use 'select' to enable IRQ as it does not have architecture specific > dependency. > > Signed-off-by: Wasim Khan > --- > arch/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Hou Zhiqiang

RE: [PATCH 2/4] arch: arm: update Kconfig to select IRQ when GIC_V3_ITS is enabled

2021-03-08 Thread Z.q. Hou
On Tue, Jan 12, 2021 at 10:05:07AM +0100, Wasim Khan wrote: > From: Wasim Khan > > GIC_V3_ITS uses UCLASS_IRQ driver. Update Kconfig to select IRQ when > GIC_V3_ITS is enabled. > > Signed-off-by: Wasim Khan > --- Reviewed-by: Hou Zhiqiang

RE: [PATCH 1/4] misc: make CONFIG_IRQ selectable for all platforms

2021-03-08 Thread Z.q. Hou
On Tue, Jan 12, 2021 at 10:05:06AM +0100, Wasim Khan wrote: > From: Wasim Khan > > UCLASS_IRQ driver is not Intel specific. Make CONFIG_IRQ selectable > for all platfroms. > > Signed-off-by: Wasim Khan > --- s/platfroms/platforms/ Regards, Zhiqiang

Re: Pull request for efi-2021-04-rc3-3

2021-03-08 Thread Tom Rini
On Sun, Mar 07, 2021 at 08:07:37PM +0100, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit e4dba4ba6f61e8128be0b4200ca2d8cebf62180b: > > Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq > (2021-03-06 07:25:04 -0500) > > are available in the Git

Re: [PATCH u-boot 16/39] build: use thin archives instead of incremental linking

2021-03-08 Thread Marek Behun
On Mon, 8 Mar 2021 19:32:10 +0800 Bin Meng wrote: > On Mon, Mar 8, 2021 at 7:18 PM Marek Behun wrote: > > > > On Mon, 8 Mar 2021 18:44:58 +0800 > > Bin Meng wrote: > > > > > Could you investigate why? > > > > I could, but I don't understand why exactly I should > > - Linux is also using

Re: [IMPORTANT] gitlab relocation / rename

2021-03-08 Thread Henning Schild
Am Sun, 28 Feb 2021 16:14:55 +0100 schrieb Wolfgang Denk via Xenomai : > Hi all, > > In message <621240.1614155...@gemini.denx.de> I wrote: > > > > We have to move all public projects off gitlab.denx.de to a new > > gitlab instance; the new host name is then source.denx.de . > > We are fully

Re: [PATCH u-boot 16/39] build: use thin archives instead of incremental linking

2021-03-08 Thread Bin Meng
On Mon, Mar 8, 2021 at 7:00 PM Pali Rohár wrote: > > On Monday 08 March 2021 18:44:58 Bin Meng wrote: > > On Mon, Mar 8, 2021 at 6:11 PM Marek Behun wrote: > > > > > > On Mon, 8 Mar 2021 17:16:03 +0800 > > > Bin Meng wrote: > > > > > > > Hi Marek, > > > > > > > > On Sun, Mar 7, 2021 at 12:26 PM

Re: [PATCH u-boot 12/39] string: make memcpy() and memset() visible to fix LTO linking errors

2021-03-08 Thread Marek Behun
On Mon, 8 Mar 2021 11:55:32 +0100 Pali Rohár wrote: > On Monday 08 March 2021 18:40:58 Bin Meng wrote: > > On Mon, Mar 8, 2021 at 6:23 PM Pali Rohár wrote: > > > > > > On Monday 08 March 2021 11:19:33 Marek Behun wrote: > > > > On Mon, 8 Mar 2021 15:56:01 +0800 > > > > Bin Meng wrote: > >

Re: [PATCH u-boot 16/39] build: use thin archives instead of incremental linking

2021-03-08 Thread Bin Meng
On Mon, Mar 8, 2021 at 7:18 PM Marek Behun wrote: > > On Mon, 8 Mar 2021 18:44:58 +0800 > Bin Meng wrote: > > > Could you investigate why? > > I could, but I don't understand why exactly I should > - Linux is also using --whole-archive > - it is working > - I have other things I would like to

[PATCH 4/4 v6] Test the ESRT creation within an existing pytest.

2021-03-08 Thread Jose Marinho
This commit slightly extends test_efi_capsule_fw3. In order to run the test the following must be added to sandbox_defconfig: +CONFIG_CMD_SF=y +CONFIG_CMD_MEMORY=y +CONFIG_CMD_FAT=y +CONFIG_DFU=y The ESRT is printed in the u-boot shell by calling efidebug esrt. The test ensures that,

[PATCH 1/4 v6] efi: Add ESRT to the EFI system table

2021-03-08 Thread Jose Marinho
The ESRT is initialised during efi_init_objlist after efi_initialize_system_table(). The ESRT is recreated from scratch at the following events: - successful UpdateCapsule; - FMP instance install. The code ensures that every ESRT entry has a unique fw_class value. Limitations: - The ESRT is not

[PATCH 3/4 v6] efi: ESRT creation tests

2021-03-08 Thread Jose Marinho
This commmit exercises the ESRT creation in a EFI selftest. A fake FMP, with TEST_ESRT_NUM_ENTRIES FW images, is installed in the system leading to the corresponding ESRT entries being populated. The ESRT entries are checked against the datastructure used to initialize the FMP. Invocation

[PATCH 2/4 v6] cmd: efi: ESRT table debug print

2021-03-08 Thread Jose Marinho
This commit enables the ESRT printing from the u-boot shell by invoking: - efidebug capsule esrt CC: Heinrich Schuchardt CC: Sughosh Ganu CC: AKASHI Takahiro CC: Ilias Apalodimas CC: Andre Przywara CC: Alexander Graf CC: n...@arm.com Signed-off-by: Jose Marinho --- cmd/efidebug.c

[PATCH 0/4 v6] Add ESRT and test ESRT creation

2021-03-08 Thread Jose Marinho
The following 4 commits add the ESRT and provide tests for the functionality. The first commit adds the ESRT as defined in the UEFI 2.8 specification. An empty ESRT is created during the execution of the efi_init_obj_list(). The ESRT is updated when: 1) a FMP protocol is installed in the

Re: [PATCH u-boot 12/39] string: make memcpy() and memset() visible to fix LTO linking errors

2021-03-08 Thread Marek Behun
On Mon, 8 Mar 2021 11:55:32 +0100 Pali Rohár wrote: > On Monday 08 March 2021 18:40:58 Bin Meng wrote: > > On Mon, Mar 8, 2021 at 6:23 PM Pali Rohár wrote: > > > > > > On Monday 08 March 2021 11:19:33 Marek Behun wrote: > > > > On Mon, 8 Mar 2021 15:56:01 +0800 > > > > Bin Meng wrote: > >

Re: Habv4 on imx8m

2021-03-08 Thread Fabio Estevam
Hi Frieder, On Mon, Mar 8, 2021 at 8:07 AM Frieder Schrempf wrote: > There are still multiple issues with HAB and CAAM for ARM64/i.MX8M. I > did some quick fixups for the most obvious ones here: [1]. > > There are still warnings for pointer size mismatches in the drivers as > they apparently

Re: [PATCH u-boot 16/39] build: use thin archives instead of incremental linking

2021-03-08 Thread Marek Behun
On Mon, 8 Mar 2021 18:44:58 +0800 Bin Meng wrote: > Could you investigate why? I could, but I don't understand why exactly I should - Linux is also using --whole-archive - it is working - I have other things I would like to work on Maybe you could look into this? :) Marek

Re: Habv4 on imx8m

2021-03-08 Thread Frieder Schrempf
On 07.03.21 12:05, Florian Mayer wrote: Hi all, On 04.03.2021 12:24, Stefano Babic wrote: On 04.03.21 12:18, Fabio Estevam wrote: Hi Frieder, On Thu, Mar 4, 2021 at 5:23 AM Frieder Schrempf wrote: Is this still on your list? It would be great if you could send a patch for this. Thanks

Re: [PATCH u-boot 11/39] binman: declare symbols externally visible

2021-03-08 Thread Marek Behun
On Mon, 8 Mar 2021 18:31:26 +0800 Bin Meng wrote: > On Mon, Mar 8, 2021 at 5:26 PM Marek Behun wrote: > > > > On Mon, 8 Mar 2021 15:47:38 +0800 > > Bin Meng wrote: > > > > > Hi Marek, > > > > > > On Sun, Mar 7, 2021 at 12:59 PM Marek Behun wrote: > > > > > > > > I forgot to drop this

Re: [PATCH u-boot 07/39] compiler.h: align the __ADDRESSABLE macro with Linux' version

2021-03-08 Thread Marek Behun
On Mon, 8 Mar 2021 18:29:29 +0800 Bin Meng wrote: > On Mon, Mar 8, 2021 at 5:23 PM Marek Behun wrote: > > > > On Mon, 8 Mar 2021 15:27:41 +0800 > > Bin Meng wrote: > > > > > > #define __ADDRESSABLE(sym) \ > > > > static void * __section(".discard.addressable") __used \ > > > > -

Re: [PATCH u-boot 16/39] build: use thin archives instead of incremental linking

2021-03-08 Thread Pali Rohár
On Monday 08 March 2021 18:44:58 Bin Meng wrote: > On Mon, Mar 8, 2021 at 6:11 PM Marek Behun wrote: > > > > On Mon, 8 Mar 2021 17:16:03 +0800 > > Bin Meng wrote: > > > > > Hi Marek, > > > > > > On Sun, Mar 7, 2021 at 12:26 PM Marek Behún wrote: > > > > > > > > Currently we use incremental

Re: [PATCH u-boot 12/39] string: make memcpy() and memset() visible to fix LTO linking errors

2021-03-08 Thread Pali Rohár
On Monday 08 March 2021 18:40:58 Bin Meng wrote: > On Mon, Mar 8, 2021 at 6:23 PM Pali Rohár wrote: > > > > On Monday 08 March 2021 11:19:33 Marek Behun wrote: > > > On Mon, 8 Mar 2021 15:56:01 +0800 > > > Bin Meng wrote: > > > > > > > Hi Marek, > > > > > > > > On Sun, Mar 7, 2021 at 12:26 PM

Re: [PATCH] cmd: part: number: remove inconsistent 0x from returned value

2021-03-08 Thread Stefan Herbrechtsmeier
Hi, Am 06.03.2021 um 21:12 schrieb Tom Rini: On Fri, Mar 05, 2021 at 07:35:24AM -0700, Simon Glass wrote: Hi, On Fri, 5 Mar 2021 at 07:33, Stefan Herbrechtsmeier wrote: Hi Eugeniu, Am 05.03.2021 um 12:52 schrieb Eugeniu Rosca: Hello Stefan, On Fri, Mar 05, 2021 at 07:39:04AM +,

Re: [PATCH u-boot 16/39] build: use thin archives instead of incremental linking

2021-03-08 Thread Bin Meng
On Mon, Mar 8, 2021 at 6:11 PM Marek Behun wrote: > > On Mon, 8 Mar 2021 17:16:03 +0800 > Bin Meng wrote: > > > Hi Marek, > > > > On Sun, Mar 7, 2021 at 12:26 PM Marek Behún wrote: > > > > > > Currently we use incremental linking (ld -r) to link several object > > > files from one directory

Re: [PATCH u-boot v1.1 15/39] Makefile, Makefile.spl: cosmetic change

2021-03-08 Thread Bin Meng
On Mon, Mar 8, 2021 at 6:12 PM Marek Behún wrote: > > Indent the linking commands so that they look cosmetically better. > > Signed-off-by: Marek Behún > --- > Makefile | 12 +++- > scripts/Makefile.spl | 17 +++-- > 2 files changed, 18 insertions(+), 11

Re: [PATCH u-boot 12/39] string: make memcpy() and memset() visible to fix LTO linking errors

2021-03-08 Thread Bin Meng
On Mon, Mar 8, 2021 at 6:23 PM Pali Rohár wrote: > > On Monday 08 March 2021 11:19:33 Marek Behun wrote: > > On Mon, 8 Mar 2021 15:56:01 +0800 > > Bin Meng wrote: > > > > > Hi Marek, > > > > > > On Sun, Mar 7, 2021 at 12:26 PM Marek Behún wrote: > > > > > > > > It seems that sometimes

Re: [PATCH u-boot 11/39] binman: declare symbols externally visible

2021-03-08 Thread Bin Meng
On Mon, Mar 8, 2021 at 5:26 PM Marek Behun wrote: > > On Mon, 8 Mar 2021 15:47:38 +0800 > Bin Meng wrote: > > > Hi Marek, > > > > On Sun, Mar 7, 2021 at 12:59 PM Marek Behun wrote: > > > > > > I forgot to drop this patch. It is not needed, please ignore it. > > > > > > > Why is this not needed

Re: [PATCH u-boot 07/39] compiler.h: align the __ADDRESSABLE macro with Linux' version

2021-03-08 Thread Bin Meng
On Mon, Mar 8, 2021 at 5:23 PM Marek Behun wrote: > > On Mon, 8 Mar 2021 15:27:41 +0800 > Bin Meng wrote: > > > > #define __ADDRESSABLE(sym) \ > > > static void * __section(".discard.addressable") __used \ > > > - __PASTE(__addressable_##sym, __LINE__) = (void *) > > > +

Re: [PATCH u-boot 12/39] string: make memcpy() and memset() visible to fix LTO linking errors

2021-03-08 Thread Pali Rohár
On Monday 08 March 2021 11:19:33 Marek Behun wrote: > On Mon, 8 Mar 2021 15:56:01 +0800 > Bin Meng wrote: > > > Hi Marek, > > > > On Sun, Mar 7, 2021 at 12:26 PM Marek Behún wrote: > > > > > > It seems that sometimes (happening on ARM64, for example with > > > turris_mox_defconfig) GCC, when

Re: [PATCH u-boot 12/39] string: make memcpy() and memset() visible to fix LTO linking errors

2021-03-08 Thread Marek Behun
On Mon, 8 Mar 2021 15:56:01 +0800 Bin Meng wrote: > Hi Marek, > > On Sun, Mar 7, 2021 at 12:26 PM Marek Behún wrote: > > > > It seems that sometimes (happening on ARM64, for example with > > turris_mox_defconfig) GCC, when linking with LTO, changes the symbol > > names of some functions, for

[PATCH u-boot v1.1 15/39] Makefile, Makefile.spl: cosmetic change

2021-03-08 Thread Marek Behún
Indent the linking commands so that they look cosmetically better. Signed-off-by: Marek Behún --- Makefile | 12 +++- scripts/Makefile.spl | 17 +++-- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index

Re: [PATCH u-boot 16/39] build: use thin archives instead of incremental linking

2021-03-08 Thread Marek Behun
On Mon, 8 Mar 2021 17:16:03 +0800 Bin Meng wrote: > Hi Marek, > > On Sun, Mar 7, 2021 at 12:26 PM Marek Behún wrote: > > > > Currently we use incremental linking (ld -r) to link several object > > files from one directory into one built-in.o object file containing the > > linked code from that

[PATCH u-boot v1.2 14.3/39] lib: crc32: put the crc_table variable into efi_runtime_rodata section

2021-03-08 Thread Marek Behún
When compiling with LTO, the compiler fails with an error saying that `crc_table` causes a section type conflict with `efi_var_buf`. This is because both are declared to be in the same section (via macro `__efi_runtime_data`), but one is const while the other is not. Put this variable into the

[PATCH u-boot v1.2 14.1/39] efi_loader: add Sphinx doc for __efi_runtime and __efi_runtime_data

2021-03-08 Thread Marek Behún
Document the macros __efi_runtime and __efi_runtime_data in Sphinx style. Signed-off-by: Marek Behún --- include/efi_loader.h | 29 ++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/include/efi_loader.h b/include/efi_loader.h index

[PATCH u-boot v1.2 14.2/39] efi_loader: add macro for const EFI runtime data

2021-03-08 Thread Marek Behún
Add macro __efi_runtime_rodata, for const variables with similar purpose as those using __efi_runtime_data. Signed-off-by: Marek Behún --- include/efi_loader.h | 17 + 1 file changed, 17 insertions(+) diff --git a/include/efi_loader.h b/include/efi_loader.h index

RE: [PATCH 2/2] mmc: fsl_esdhc_imx: remove redundant cmd11 related code.

2021-03-08 Thread Bough Chen
> -Original Message- > From: ZHIZHIKIN Andrey [mailto:andrey.zhizhi...@leica-geosystems.com] > Sent: 2021年3月3日 20:50 > To: Bough Chen ; Peng Fan ; > u-boot@lists.denx.de; sba...@denx.de > Cc: dl-uboot-imx ; thar...@gateworks.com; > feste...@gmail.com; Ye Li > Subject: RE: [PATCH 2/2]

[PULL u-boot] Please pull u-boot-amlogic-20210308

2021-03-08 Thread Neil Armstrong
-20210308 for you to fetch changes up to 266637db88e37686b160722e183571567c61ad1a: configs: meson64: add fdtoverlay_addr_r (2021-03-08 10:32:35 +0100) - button: adc: fix treshold typo - configs: meson64: add fdtoverlay_addr_r

Re: [PATCH] button: adc: fix treshold typo

2021-03-08 Thread Neil Armstrong
On 23/02/2021 19:18, Marek Szyprowski wrote: > On 23.02.2021 16:10, Neil Armstrong wrote: >> Fix the treshold typo in code by threshold. >> >> Fixes: c0165c85c3 ("button: add a simple Analog to Digital Converter device >> based button driver") >> Suggested-by: Tom Rini >> Signed-off-by: Neil

Re: [RFC/RFT 0/7] arm: meson: static ethernet init cleanup

2021-03-08 Thread Neil Armstrong
On 25/02/2021 09:44, Neil Armstrong wrote: > This serie finally removes the static ethernet link setup, MDIO mux & memory > power domain after introduction of : > - "net: add MMIO Register MDIO MUX driver" at [1] > - "net: designware: add DM_MDIO support" at [2] > - "net: add Amlogic Meson G12A

Re: [PATCH] net: add MMIO Register MDIO MUX driver

2021-03-08 Thread Neil Armstrong
On 25/02/2021 20:36, Ramon Fried wrote: > On Wed, Feb 24, 2021 at 4:02 PM Neil Armstrong > wrote: >> >> Add support for MMIO register MDIO muxes based on the Linux mdio-mux-mmioreg >> driver. >> >> Signed-off-by: Neil Armstrong >> --- >> drivers/net/Kconfig| 7 ++ >>

Re: [PATCH] net: designware: add DM_MDIO support

2021-03-08 Thread Neil Armstrong
On 25/02/2021 20:34, Ramon Fried wrote: > On Wed, Feb 24, 2021 at 4:02 PM Neil Armstrong > wrote: >> >> Add support for DM_MDIO to connect to PHY and expose a MDIO device for the >> internal MDIO bus in order to dynamically connect to MDIO PHYs with DT >> with eventual MDIO muxes in between. >>

Re: [PATCH] net: add Amlogic Meson G12A MDIO MUX driver

2021-03-08 Thread Neil Armstrong
On 25/02/2021 20:34, Ramon Fried wrote: > On Wed, Feb 24, 2021 at 6:31 PM Neil Armstrong > wrote: >> >> The Amlogic G12A & compatible SoCs embeds a mux to either communicate with >> the external PHY or the internal 10/100 PHY. >> >> This adds support for this mux as a MDIO MUX device. >> >>

Re: [PATCH] net: designware: add Amlogic Meson8b & later glue driver

2021-03-08 Thread Neil Armstrong
On 24/02/2021 20:33, Neil Armstrong wrote: > This adds a proper glue driver for the Designware DWMAC ethernet MAC IP > found in the Amlogic Meson8, GXBB, GXL, GXM, G12A, G12B & SM1 SoCs. > > This is aimed to replace the static ethernet link setup found on the board > init code for the Amlogic SoC

Re: [PATCH u-boot 11/39] binman: declare symbols externally visible

2021-03-08 Thread Marek Behun
On Mon, 8 Mar 2021 15:47:38 +0800 Bin Meng wrote: > Hi Marek, > > On Sun, Mar 7, 2021 at 12:59 PM Marek Behun wrote: > > > > I forgot to drop this patch. It is not needed, please ignore it. > > > > Why is this not needed anymore? It was not needed at all, binman does not fail when its

Re: [PATCH u-boot 07/39] compiler.h: align the __ADDRESSABLE macro with Linux' version

2021-03-08 Thread Marek Behun
On Mon, 8 Mar 2021 15:27:41 +0800 Bin Meng wrote: > > #define __ADDRESSABLE(sym) \ > > static void * __section(".discard.addressable") __used \ > > - __PASTE(__addressable_##sym, __LINE__) = (void *) > > + __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)

Re: [PATCH v5 04/10] mtd: spi-nor-core: Add support for volatile QE bit

2021-03-08 Thread Pratyush Yadav
On 08/03/21 06:10PM, Takahiro Kuwano wrote: > Hi Jagan, > > On 2/26/2021 7:42 PM, Jagan Teki wrote: > > On Fri, Feb 19, 2021 at 7:26 AM wrote: > >> > >> From: Takahiro Kuwano > >> > >> Some of Spansion/Cypress chips support volatile version of configuration > >> registers and it is recommended

Re: [PATCH u-boot 16/39] build: use thin archives instead of incremental linking

2021-03-08 Thread Bin Meng
Hi Marek, On Sun, Mar 7, 2021 at 12:26 PM Marek Behún wrote: > > Currently we use incremental linking (ld -r) to link several object > files from one directory into one built-in.o object file containing the > linked code from that directory (and its subdirectories). > > Linux has, some time ago,

Re: [PATCH u-boot 15/39] Makefile, Makefile.spl: cosmetic change

2021-03-08 Thread Bin Meng
On Sun, Mar 7, 2021 at 12:26 PM Marek Behún wrote: > > Indent the linking commands so that they look cosmetically better. > > Signed-off-by: Marek Behún > --- > Makefile | 12 +++- > scripts/Makefile.spl | 15 +-- > 2 files changed, 16 insertions(+), 11

Re: [PATCH v5 04/10] mtd: spi-nor-core: Add support for volatile QE bit

2021-03-08 Thread Takahiro Kuwano
Hi Jagan, On 2/26/2021 7:42 PM, Jagan Teki wrote: > On Fri, Feb 19, 2021 at 7:26 AM wrote: >> >> From: Takahiro Kuwano >> >> Some of Spansion/Cypress chips support volatile version of configuration >> registers and it is recommended to update volatile registers in the field >> application due

Re: [PATCH v5 09/10] mtd: spi-nor-core: Add fixups for Cypress s25hl-t/s25hs-t

2021-03-08 Thread Takahiro Kuwano
On 3/8/2021 5:54 PM, Pratyush Yadav wrote: > On 08/03/21 05:47PM, Takahiro Kuwano wrote: >> On 2/24/2021 9:40 PM, Pratyush Yadav wrote: >>> On 19/02/21 10:56AM, tkuw584...@gmail.com wrote: From: Takahiro Kuwano This patch adds Flash specific fixups and hooks for Cypress

Re: [PATCH v5 09/10] mtd: spi-nor-core: Add fixups for Cypress s25hl-t/s25hs-t

2021-03-08 Thread Pratyush Yadav
On 08/03/21 05:47PM, Takahiro Kuwano wrote: > On 2/24/2021 9:40 PM, Pratyush Yadav wrote: > > On 19/02/21 10:56AM, tkuw584...@gmail.com wrote: > >> From: Takahiro Kuwano > >> > >> This patch adds Flash specific fixups and hooks for Cypress > >> S25HL-T/S25HS-T family, based on the features

[GIT PULL] SoCFPGA changes for v2021.04-rc4

2021-03-08 Thread Tan, Ley Foon
Hi Tom Please pull these changes for v2021.04-rc4. Thanks. Regards Ley Foon The following changes since commit e4dba4ba6f61e8128be0b4200ca2d8cebf62180b: Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq (2021-03-06 07:25:04 -0500) are available in the Git repository at:

  1   2   >