Re: [PATCH] i2c: ihs: intel: Fix typo in comments (actual)

2022-04-20 Thread Heiko Schocher
Hello Michal, On 19.04.22 15:01, Michal Simek wrote: > s/actucal/actual/g > > Signed-off-by: Michal Simek > --- > > drivers/i2c/ihs_i2c.c | 2 +- > drivers/i2c/intel_i2c.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Heiko Schocher Thanks! bye, Heiko -- DENX

Re: [PATCH] misc: atsha204a: Add support for atsha204 chip

2022-04-20 Thread Heiko Schocher
Hello Pali, On 05.04.22 16:10, Pali Rohár wrote: > On Tuesday 05 April 2022 15:52:17 Stefan Roese wrote: >> On 4/5/22 15:28, Pali Rohár wrote: >>> On Tuesday 05 April 2022 15:14:52 Stefan Roese wrote: On 4/5/22 14:49, Pali Rohár wrote: > atsha204 chip is predecessor of atsha204a chip.

[PATCH v1] sunxi: Make SYS_VENDOR, SYS_BOARD, SYS_CONFIG_NAME configurable

2022-04-20 Thread qianfanguijin
From: qianfan Zhao The board is not configurable if use sunxi soc. Add Kconfig items and make custom board available. Signed-off-by: qianfan Zhao --- arch/arm/mach-sunxi/Kconfig | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/mach-sunxi/Kconfig

Re: [PATCH] net: marvell: mvgbe: Set PHY page 0 before phy_connect

2022-04-20 Thread Tony Dinh
Hi Stefan, On Tue, Apr 19, 2022 at 1:47 PM Tony Dinh wrote: > > Hi Stefan, > > On Tue, Apr 19, 2022 at 3:29 AM Stefan Roese wrote: > > > > Hi Tony, > > > > On 4/12/22 22:18, Tony Dinh wrote: > > > For most Kirkwood boards, the PHY page is already set to page 0 > > > (in register 22) before

Re: [PATCH 5/7] efi_loader: PARTITION_UUIDS should be optional

2022-04-20 Thread AKASHI Takahiro
On Wed, Apr 20, 2022 at 09:37:39AM +0200, Heinrich Schuchardt wrote: > On 4/19/22 03:01, AKASHI Takahiro wrote: > > In the current implementation, partition table support (either GPT or DOS) > > is not mandatory. So CONFIG_PARTITION_UUIDS should not be enabled > > (selected) unconditionally. > >

[PATCH] sunxi: fix initial environment loading without MMC

2022-04-20 Thread Andre Przywara
Commit e42dad4168fe ("sunxi: use boot source for determining environment location") changed our implementation of env_get_location() and enabled it for every board, even those without MMC support (like the C.H.I.P. boards). However the default fallback location of ENVL_FAT does not cope very well

Re: [PATCH 6/7] efi_loader: disk: compile efi_disk when CONFIG_BLK

2022-04-20 Thread AKASHI Takahiro
On Wed, Apr 20, 2022 at 09:42:00AM +0200, Heinrich Schuchardt wrote: > On 4/19/22 03:01, AKASHI Takahiro wrote: > > Now we can build efi_loader with block device support (CONFIG_BLK) and > > without CONFIG_PARTITIONS. > > So change Makefile. > > > > Signed-off-by: AKASHI Takahiro > > --- > >

Re: [PATCH 4/7] sunxi: use boot source for determining environment location

2022-04-20 Thread Andre Przywara
On Fri, 15 Apr 2022 12:28:22 -0500 Chris Morgan wrote: Hi Chris, > On Tue, Jan 11, 2022 at 12:46:04PM +, Andre Przywara wrote: > > Currently we only support to load the environment from raw MMC or FAT > > locations on Allwinner boards. With the advent of SPI flash we probably > > also want

Re: [PATCH 2/2] imx8mn/8mp: Select ENV_IS_NOWHERE

2022-04-20 Thread Marek Vasut
On 4/21/22 00:03, Fabio Estevam wrote: Hi Marek, Hi, On Wed, Apr 20, 2022 at 6:42 PM Marek Vasut wrote: I suspect this happens because arch/arm/mach-imx/imx8m/soc.c env_get_location() contains " ... default: return ENVL_NOWHERE; " right ? I wonder what would happen if you were to

Re: [PATCH 2/2] imx8mn/8mp: Select ENV_IS_NOWHERE

2022-04-20 Thread Fabio Estevam
Hi Marek, On Wed, Apr 20, 2022 at 6:42 PM Marek Vasut wrote: > I suspect this happens because > > arch/arm/mach-imx/imx8m/soc.c env_get_location() > > contains > " > ... > default: > return ENVL_NOWHERE; > " > > right ? > > I wonder what would happen if you were to add: > > case USB_BOOT: >

[PATCH] tools/imagetool: Fix segfault when tparams->verify_header is NULL

2022-04-20 Thread Nicolas Heemeryck
On some image types like i.MX8 and i.MX8M, the verify_header function is not implemented. Before this commit, no check on tparams->verify_header was done causing a segfault if NULL. Now, a proper error message is printed. Signed-off-by: Nicolas Heemeryck --- tools/imagetool.c | 40

Re: RFC: Adding U-Boot version in FDT chosen node

2022-04-20 Thread Mark Kettenis
> Date: Wed, 20 Apr 2022 19:01:43 +0200 > From: Francesco Dolcini > > +Tom > > On Mon, Apr 11, 2022 at 08:17:55PM +0200, Francesco Dolcini wrote: > > Hello all, > > I have a need to pass the u-boot version string to the operating > > system and I'm thinking at adding `u-boot,version` property

Re: [PATCH 2/2] imx8mn/8mp: Select ENV_IS_NOWHERE

2022-04-20 Thread Marek Vasut
On 4/20/22 23:07, Fabio Estevam wrote: From: Fabio Estevam Currently, on i.MX8MN/i.MX8MP (Bootrom version 2) it is not possible to load U-Boot via serial download mode, unless CONFIG_ENV_IS_NOWHERE is selected. This was noticed before by Adam Ford and fixed on the imx8mn beacon board in

Re: im8mn: Loading U-Boot via serial download mode

2022-04-20 Thread Adam Ford
On Wed, Apr 20, 2022 at 3:16 PM Fabio Estevam wrote: > > Hi Michael, > > On Wed, Apr 20, 2022 at 4:53 PM Michael Nazzareno Trimarchi > wrote: > > >> Set CONFIG_ENV_IS_NOWHERE=y and rebuild. It will likely boot. > > > > > > That code should be dropped because it's really buggy. We already sent

[PATCH 2/2] imx8mn/8mp: Select ENV_IS_NOWHERE

2022-04-20 Thread Fabio Estevam
From: Fabio Estevam Currently, on i.MX8MN/i.MX8MP (Bootrom version 2) it is not possible to load U-Boot via serial download mode, unless CONFIG_ENV_IS_NOWHERE is selected. This was noticed before by Adam Ford and fixed on the imx8mn beacon board in commit 2c7ebf7778cf ("imx: imx8mn_beacon: Fix

[PATCH 1/2] imx8mn_ddr4_evk: Add USB Mass Storage support

2022-04-20 Thread Fabio Estevam
From: Fabio Estevam Add USB Mass Storage support, which is a convenient way to flash the eMMC card, for example. Signed-off-by: Fabio Estevam --- configs/imx8mn_ddr4_evk_defconfig | 12 1 file changed, 12 insertions(+) diff --git a/configs/imx8mn_ddr4_evk_defconfig

Re: im8mn: Loading U-Boot via serial download mode

2022-04-20 Thread Fabio Estevam
Hi Michael, On Wed, Apr 20, 2022 at 4:53 PM Michael Nazzareno Trimarchi wrote: >> Set CONFIG_ENV_IS_NOWHERE=y and rebuild. It will likely boot. > > > That code should be dropped because it's really buggy. We already sent > several patches. I prefer some registered mechanism and not those

Re: [PATCH 1/5] clk: meson: add minimal driver for axg-ao clocks

2022-04-20 Thread Sean Anderson
On 4/20/22 1:54 PM, Vyacheslav Bocharov wrote: Add minimal driver AO clocks on meson AXG family. Only ADC related clocks are supported. Signed-off-by: Vyacheslav Bocharov --- drivers/clk/meson/Makefile | 1 + drivers/clk/meson/axg-ao.c | 83 ++ 2 files

Re: im8mn: Loading U-Boot via serial download mode

2022-04-20 Thread Fabio Estevam
Hi Adam, On Wed, Apr 20, 2022 at 4:49 PM Adam Ford wrote: > I had to set the environmental variable for ENV is nowhere. There was > a bunch of discussion about the fact that the 8MN and 8MP have some > special code which makes the environmental variable location depend on > the boot device. A

Re: im8mn: Loading U-Boot via serial download mode

2022-04-20 Thread Michael Nazzareno Trimarchi
Hi Il mer 20 apr 2022, 21:49 Adam Ford ha scritto: > On Wed, Apr 20, 2022 at 2:40 PM Fabio Estevam wrote: > > > > Hi Adam, > > > > Looking at your imx8mn beacon patches, it seems you managed to boot > > the imx8mn beacon board via serial download mode. > > > > I am trying to achieve the same

Re: im8mn: Loading U-Boot via serial download mode

2022-04-20 Thread Adam Ford
On Wed, Apr 20, 2022 at 2:40 PM Fabio Estevam wrote: > > Hi Adam, > > Looking at your imx8mn beacon patches, it seems you managed to boot > the imx8mn beacon board via serial download mode. > > I am trying to achieve the same on an imx8mn-evk running top of tree > U-Boot and added the following

im8mn: Loading U-Boot via serial download mode

2022-04-20 Thread Fabio Estevam
Hi Adam, Looking at your imx8mn beacon patches, it seems you managed to boot the imx8mn beacon board via serial download mode. I am trying to achieve the same on an imx8mn-evk running top of tree U-Boot and added the following changes: --- a/configs/imx8mn_evk_defconfig +++

Re: [PATCH 1/2] Kconfig: Change SYS_MALLOC_F_LEN default to 0x2000

2022-04-20 Thread Tom Rini
On Thu, Apr 07, 2022 at 12:33:23PM -0400, Tom Rini wrote: > The most commonly used value today is 0x2000 and not 0x400. Rework the > Kconfig logic to use this more frequently used value as the default. > > Cc: Andrew F. Davis > Cc: Alex Nemirovsky > Cc: Alexey Brodkin > Cc: Alison Wang >

Re: [PATCH v2] cmd: gpio: Add `gpio read` subcommand

2022-04-20 Thread Tom Rini
On Mon, Apr 11, 2022 at 12:02:09PM +0200, Diego Rondini wrote: > As explained in commit 4af2a33ee5b9 ("cmd: gpio: Make `gpio input` > return pin value again") the `gpio input` is used in scripts to obtain > the value of a pin, despite the fact that CMD_RET_FAILURE is > indistinguishable from a

Re: [PATCH v2] image: fdt: Fix DT relocation handling with multiple DRAM banks with gap

2022-04-20 Thread Tom Rini
On Fri, Apr 08, 2022 at 02:09:19AM +0200, Marek Vasut wrote: > The current implementation of boot_relocate_fdt() places DT at the > highest usable DRAM address, which is calculated as: > env_get_bootm_low() + env_get_bootm_mapsize() > which by default becomes gd->ram_base + gd->ram_size. > >

Re: [PATCH 2/2] am33xx: Update SYS_MALLOC_F_LEN to use 0x2000 as the default

2022-04-20 Thread Tom Rini
On Thu, Apr 07, 2022 at 12:33:24PM -0400, Tom Rini wrote: > A number of platforms here had already been increasing the size a bit, > so lets moving all of them up. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] ram: k3-ddrss: Allow use of dt provided initial frequency

2022-04-20 Thread Tom Rini
On Fri, Apr 08, 2022 at 04:46:50PM -0500, Dave Gerlach wrote: > Allow device tree to provide ti,ddr-freq0 to be used as the initial DDR > frequency that is set for lpddr4 before initialization of the > controller. Make this optional and continue to use PLL bypass frequency > as is done currently

Re: [PATCH v2] ram: k3-ddrss: Fix register name and explain its usage

2022-04-20 Thread Tom Rini
On Wed, Apr 06, 2022 at 11:56:47AM +0200, Dominic Rath wrote: > From: Dominic Rath > > The k3-ddrss driver wants to configure the DDRSS_V2A_CTL_REG to reflect > the maximum possible SDRAM of 2 GB for AM64x (instead of the register's > default that says 8 GB, which the AM64x DDR controller

Re: [PATCH v2 1/1] imx8mm-cl-iot-gate: Remove redundant board_fix_fdt()

2022-04-20 Thread Fabio Estevam
Hi Paul, On Wed, Apr 20, 2022 at 12:37 PM Ying-Chun Liu wrote: > > From: "Ying-Chun Liu (PaulLiu)" > > In arch/arm/mach-imx/imx8m/soc.c there's an implementation of > board_fix_fdt() introduced by commit 35bb60787b88. Remove the > redundant one to avoid failed to build from source when enabling

Re: [PATCH] spl: spl_sdp: don't call board_usb_init twice

2022-04-20 Thread Angus Ainslie
Hi On 2022-01-17 06:11, Angus Ainslie wrote: When CONFIG_DM_USB is not defined then usb_gadget_initialize is just a call to board_usb_init. Calling board_usb_init twice causes the USB to fail so make sure the second invocation is not compiled in when CONFIG_DM_USB is not defined.

Re: [PATCH v3] drivers: spi-nor: Add JEDEC id for W25Q16JV

2022-04-20 Thread Angus Ainslie
Hi Jagan, [snip] On 2022-01-20 06:39, Jagan Teki wrote: Okay, I'm merging v3. let me know if you have any questions? I didn't see this go in yet. Should it be in u-boot master ? Thanks Angus Thanks, Jagan.

Re: [PATCH u-boot-mvebu v3 0/5] arm: mvebu: a37xx: Add support for reading OTP

2022-04-20 Thread Pali Rohár
On Tuesday 08 March 2022 12:57:37 Stefan Roese wrote: > On 3/8/22 12:42, Pali Rohár wrote: > > Hello! Is v3 series Ok now? > > I don't have any objections. I plan to pull this patch series in the > next merge window, as we are at rc3 now already. PING? > Thanks, > Stefan > > > On Wednesday 23

Re: [PATCH v2] board: purism: add the Purism Librem5 phone

2022-04-20 Thread Angus Ainslie
Hi Stefano, On 2022-04-11 09:21, Stefano Babic wrote: Hi Angus, build is not started after merging your board. It is checked that symbols (CONFIG_) defined in Kbuild are not sert in header file, that is include/configs/librem5.h. I can recognize several of them, like CONFIG_SYS_MALLOC_F_LEN,

[PATCH v3] board: purism: add the Purism Librem5 phone

2022-04-20 Thread Angus Ainslie
Initial commit of Librem5 u-boot and SPL Signed-off-by: Angus Ainslie Co-developed-by: Sebastian Krzyszkowiak Signed-off-by: Sebastian Krzyszkowiak --- All of the pre-requisite patches for this board are now upstream or in review. Changes since v2: Cleanup Kconfig symbols used in librem5.h

[PATCH 5/5] board: amlogic: jethub j100: enable saradc in config

2022-04-20 Thread Vyacheslav Bocharov
Enable ADC in board config file Signed-off-by: Vyacheslav Bocharov --- configs/jethub_j100_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/jethub_j100_defconfig b/configs/jethub_j100_defconfig index 1c6db9f6a0..a30940bf1c 100644 --- a/configs/jethub_j100_defconfig +++

[PATCH 4/5] board: amlogic: jethub j100: enable saradc in dts

2022-04-20 Thread Vyacheslav Bocharov
Prepare to use ADC channel 1 to check the hardware revision of the board. Signed-off-by: Vyacheslav Bocharov --- arch/arm/dts/meson-axg-jethome-jethub-j100.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/meson-axg-jethome-jethub-j100.dts

[PATCH 3/5] adc: meson-saradc: add AXG variant

2022-04-20 Thread Vyacheslav Bocharov
Add support for the SARADC variant found on the AXG SoCs family. Signed-off-by: Vyacheslav Bocharov --- drivers/adc/meson-saradc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/adc/meson-saradc.c b/drivers/adc/meson-saradc.c index 1a45a3a265..37023512f0 100644 ---

[PATCH 1/5] clk: meson: add minimal driver for axg-ao clocks

2022-04-20 Thread Vyacheslav Bocharov
Add minimal driver AO clocks on meson AXG family. Only ADC related clocks are supported. Signed-off-by: Vyacheslav Bocharov --- drivers/clk/meson/Makefile | 1 + drivers/clk/meson/axg-ao.c | 83 ++ 2 files changed, 84 insertions(+) create mode 100644

[PATCH 2/5] clk: meson: fix driver name for g12a-ao clocks

2022-04-20 Thread Vyacheslav Bocharov
Update the clk-g12a-ao driver from "axg" to "g12a" Signed-off-by: Vyacheslav Bocharov --- drivers/clk/meson/g12a-ao.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/meson/g12a-ao.c b/drivers/clk/meson/g12a-ao.c index 0148529e04..17b11eb52a 100644 ---

[PATCH 0/5] meson: add clk and adc support for JetHub D1 (j100)

2022-04-20 Thread Vyacheslav Bocharov
Prepare to use ADC channel 1 in JetHub D1 (j100) to check the hardware revision of the board. - add support for AXG in saradc driver - add simple clk-ao driver for AXG (base is taken from g12a) - enable saradc in dts and board config file - fix typo in the g12a-clk-ao driver name Vyacheslav

Re: RFC: Adding U-Boot version in FDT chosen node

2022-04-20 Thread Tom Rini
On Wed, Apr 20, 2022 at 07:01:43PM +0200, Francesco Dolcini wrote: > +Tom > > On Mon, Apr 11, 2022 at 08:17:55PM +0200, Francesco Dolcini wrote: > > Hello all, > > I have a need to pass the u-boot version string to the operating > > system and I'm thinking at adding `u-boot,version` property

Re: [PATCH V3] board: bsh: imx8mn_bsh_smm_s2/s2pro: enable DM_SERIAL

2022-04-20 Thread Ariel D'Alessandro
Hi Michael, On 4/18/22 03:53, Michael Trimarchi wrote: > Enable DM_SERIAL for both U_Boot and the SPL. The uart4 and its pinmux > are already marked with u-boot,dm-spl but we need to move the call to > preloader_console_init() after spl_init() to avoid a board hang > as dm can't be used until

Re: RFC: Adding U-Boot version in FDT chosen node

2022-04-20 Thread Francesco Dolcini
+Tom On Mon, Apr 11, 2022 at 08:17:55PM +0200, Francesco Dolcini wrote: > Hello all, > I have a need to pass the u-boot version string to the operating > system and I'm thinking at adding `u-boot,version` property storing > `version_string` in it in the FDT `chosen` node. > > Is this something

[PATCH v2 1/1] imx8mm-cl-iot-gate: Remove redundant board_fix_fdt()

2022-04-20 Thread Ying-Chun Liu
From: "Ying-Chun Liu (PaulLiu)" In arch/arm/mach-imx/imx8m/soc.c there's an implementation of board_fix_fdt() introduced by commit 35bb60787b88. Remove the redundant one to avoid failed to build from source when enabling CONFIG_OF_BOARD_FIXUP. Signed-off-by: Ying-Chun Liu (PaulLiu) Cc: Fabio

[PATCH v2 0/1] imx8mm-cl-iot-gate: Remove redundant board_fix_fdt()

2022-04-20 Thread Ying-Chun Liu
From: "Ying-Chun Liu (PaulLiu)" Previously there's no implementation of board_fix_fdt(). But commit 35bb60787b88 introduced one in arch/arm/mach-imx/imx8m/soc.c. Since the board_fix_fdt() in imx8mm-cl-iot-gate is empty, we should remove it and use the one from soc.c. v2: reword commit comment

[RFC PATCH] imx: hab: Support FIT images with external data

2022-04-20 Thread Ariel D'Alessandro
The IVT table is located right after the FIT image. If the FIT image is generated using external data, the total size needs to be computed including the FIT struct and external data lengths. Signed-off-by: Ariel D'Alessandro --- arch/arm/mach-imx/hab.c | 3 ++- boot/image-fit.c| 44

Re: [PATCH] mtd: spi-nor-ids: Add support for W25Q512JV

2022-04-20 Thread Jaap Crezee
Hi Dhananjay, On 1/9/22 00:47, Dhananjay Phadke wrote: Will send v2 to use "w25q512jvm" name to be consistent with other DTR parts. Any follow-up on this? regards, Jaap Crezee

Re: [PATCH v1] imx: imx8qm-rom7720: switch to binman

2022-04-20 Thread Tom Rini
On Wed, Jan 26, 2022 at 04:52:04PM +0100, Oliver Graute wrote: > Switch to use binman to pack images > > Signed-off-by: Oliver Graute > --- > arch/arm/dts/imx8qm-rom7720-a1.dts| 1 + > arch/arm/dts/imx8qm-u-boot.dtsi | 133 ++ >

Re: [PATCH 1/1] imx8mm-cl-iot-gate: Remove redundant board_fix_fdt()

2022-04-20 Thread Fabio Estevam
Hi Paul, On Wed, Apr 20, 2022 at 11:23 AM Ying-Chun Liu wrote: > > From: "Ying-Chun Liu (PaulLiu)" > > In arch/arm/mach-imx/imx8m/soc.c there's an implementation of Please mention that commit 35bb60787b88 ("imx: imx8mp: disable fused IP for UltraLite") was the one that introduced

[PATCH 1/1] imx8mm-cl-iot-gate: Remove redundant board_fix_fdt()

2022-04-20 Thread Ying-Chun Liu
From: "Ying-Chun Liu (PaulLiu)" In arch/arm/mach-imx/imx8m/soc.c there's an implementation of board_fix_fdt(). Remove the redundant one to avoid FTBFS. Signed-off-by: Ying-Chun Liu (PaulLiu) Cc: uboot-imx --- board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c | 5 - 1 file changed, 5

[PATCH 0/1] imx8mm-cl-iot-gate: Remove redundant board_fix_fdt()

2022-04-20 Thread Ying-Chun Liu
From: "Ying-Chun Liu (PaulLiu)" Previously there's no implementation of board_fix_fdt(). But recently there's one in arch/arm/mach-imx/imx8m/soc.c. Since the board_fix_fdt() in imx8mm-cl-iot-gate is empty, we should remove it and use the one from soc.c. Ying-Chun Liu (PaulLiu) (1):

Re: [PATCH 1/1] drivers: add memory disk support

2022-04-20 Thread Tom Rini
On Wed, Apr 20, 2022 at 08:58:25AM +0200, Heinrich Schuchardt wrote: > > > On 4/20/22 00:59, Tom Rini wrote: > > On Tue, Apr 19, 2022 at 11:55:00PM +0200, Heinrich Schuchardt wrote: > > > On 4/19/22 23:26, Tom Rini wrote: > > > > On Tue, Apr 19, 2022 at 11:16:41PM +0200, Heinrich Schuchardt

Re: [PATCH] usb: dwc3: Add missing dependency on DWC3 for DWC3 gadget

2022-04-20 Thread Michal Simek
pá 1. 4. 2022 v 11:46 odesílatel Michal Simek napsal: > > There is not covered dependency on DWC3. > > Signed-off-by: Michal Simek > --- > > drivers/usb/host/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig > index

Re: [PATCH 1/1] drivers: add memory disk support

2022-04-20 Thread Tom Rini
On Wed, Apr 20, 2022 at 08:48:28AM +0200, Heinrich Schuchardt wrote: > > > On 4/20/22 01:01, Tom Rini wrote: > > On Wed, Apr 20, 2022 at 12:20:43AM +0200, Heinrich Schuchardt wrote: > > > On 4/19/22 23:54, Simon Glass wrote: > > > > Hi Heinrich, > > > > > > > > On Tue, 19 Apr 2022 at 15:14,

Re: [PATCH v2] image-fdt: save name of FIT configuration in '/chosen' node

2022-04-20 Thread Tom Rini
On Tue, Apr 12, 2022 at 09:00:43PM +0100, Daniel Golle wrote: > It can be useful for the OS (Linux) to know which configuration has > been chosen by U-Boot when launching a FIT image. > Store the name of the FIT configuration node used in a new string > property called 'u-boot,bootconf' in the

Re: [PATCH] configs: Enable EXT4 and ISO partitions for the DeveloperBox

2022-04-20 Thread Tom Rini
On Wed, Apr 13, 2022 at 12:16:44AM +0300, Ilias Apalodimas wrote: > Since this box is SystemReady compliant enable ISO_PARTITION which is > needed to start some installers (e.g Fedora). While at it enable EXT4 > as well which is a common filesystem for targets > > Signed-off-by: Ilias

Re: [PATCH 1/1] image-fit: don't check free() argument

2022-04-20 Thread Tom Rini
On Mon, Apr 11, 2022 at 08:08:03PM +0200, Heinrich Schuchardt wrote: > * free() checks if its argument is NULL. Remove duplicate checks. > * Remove duplicate free(ovcopy). > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH] tools: add boot/ to .gitignore

2022-04-20 Thread Tom Rini
On Thu, Apr 07, 2022 at 05:37:49PM +0800, Du Huanpeng wrote: > /tools/boot/ is a build product. Add it to .gitignore > > Signed-off-by: Du Huanpeng Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/1] fs/squashfs: simplify sqfs_read()

2022-04-20 Thread Tom Rini
On Mon, Apr 11, 2022 at 10:54:44PM +0200, Heinrich Schuchardt wrote: > * Don't check argument of free(). Free does this itself. > * Reduce scope of data_buffer. Remove duplicate free(). > * Avoid superfluous NULL assignment. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Miquel Raynal

Re: [PATCH] gpio: aspeed: Fix incorrect offset of read back register.

2022-04-20 Thread Tom Rini
On Wed, Apr 13, 2022 at 01:34:51PM +0800, Billy Tsai wrote: > The offset of the current read back register is the value of the gpio pin, > not the value written for the gpio output. > This patch fix it to avoid the other gpio output value controlled by the > same register being set incorrectly. >

Re: [PATCH] .mailmap: Start to use new amd.com email address

2022-04-20 Thread Tom Rini
On Thu, Apr 14, 2022 at 03:50:46PM +0200, Michal Simek wrote: > Xilinx has been acquired by AMD that's why emails should be also updated. > The patch is updating .mailmap file and also MAINTAINERS files as was done > by commit 5cd1ecb99490 ("ppc: qemu: Update MAINTAINERS for correct email >

Re: [PATCH] fs: Allow to compile FS_BTRFS when SPL is enabled

2022-04-20 Thread Tom Rini
On Thu, Apr 07, 2022 at 02:53:25PM +0200, Pali Rohár wrote: > Currently there is no btrfs support in SPL. But macro CONFIG_FS_BTRFS is > defined also when building SPL. When both FS_BTRFS and SPL are enabled > then build process throw compile error. > > Fix check for btrfs code in fstypes[] to

Re: [PATCH] btrfs: Fix compilation on big endian systems

2022-04-20 Thread Tom Rini
On Thu, Apr 07, 2022 at 02:51:03PM +0200, Pali Rohár wrote: > Fix following two compile errors on big endian systems: > > CC fs/btrfs/btrfs.o > In file included from include/linux/byteorder/big_endian.h:107, > from ./arch/powerpc/include/asm/byteorder.h:82, >

Re: [PATCH v2] IOMUX: Fix access past end of console_devices

2022-04-20 Thread Tom Rini
On Wed, Apr 06, 2022 at 02:36:35PM -0400, Sean Anderson wrote: > We should only access console_devices[file][i] once we have checked that i > < cd_count[file]. Otherwise, we will access uninitialized memory at the end > of the loop. console_devices[file][i] should not be NULL, but putting the >

Re: [PATCH] Convert CONFIG_SYS_MEM_TOP_HIDE to Kconfig

2022-04-20 Thread Tom Rini
On Wed, Apr 06, 2022 at 10:33:32AM -0400, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_SYS_MEM_TOP_HIDE > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: spl: spi: Raw Kernel Image Support for Falcon Mode Boot Via SPI Devices

2022-04-20 Thread Nathan Barrett-Morrison
Hi Sean, Unfortunately, I was testing this stuff out a few months ago and our customer has moved on from using a raw kernel and is now using FIT. I've looked at your entire patchset more closely and agree that the last patch you sent would be necessary as well. It looks like that one *should

Re: [PATCH] tools: kwboot: Fix spelling of "followed" in kwboot.1

2022-04-20 Thread Marek Behún
On Tue, 19 Apr 2022 17:48:27 -0700 Vagrant Cascadian wrote: > Fix spelling of "followed" in kwboot.1 manpage. > > Series: 2 > Signed-off-by: Vagrant Cascadian This "Series: 2" line does not belong into commit message, becuase it would end up in 'git log', which doesn't make sense :-) Instead

[PATCH] rockchip: include: configs: remove unused configs for tag and size

2022-04-20 Thread Johan Jonker
The configs ROCKCHIP_CHIP_TAG and ROCKCHIP_MAX_INIT_SIZE were originally added with rksd.c, rkspi.c and rkcommon.c in mind, but are no longer in use and replaced by struct spl_info, so remove unused configs for tag and size. Signed-off-by: Johan Jonker --- include/configs/rk3036_common.h | 3

Re: [PATCH 4/5] phycore-rk3288: Avoid enabling partition support in SPL

2022-04-20 Thread Kever Yang
On 2022/3/12 03:10, Simon Glass wrote: This is not needed or used, and adds code size. Drop it. Signed-off-by: Simon Glass Reviewed-by: Kever Yang Thanks, - Kever --- configs/phycore-rk3288_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v4 01/14] rockchip: rk3228-power: sync power domain dt-binding header from Linux

2022-04-20 Thread Kever Yang
patch 9~11 dropped for they make build fail. and all other patches has applied to u-boot-rockchip. Thanks, - Kever On 2022/4/16 05:21, Johan Jonker wrote: In order to update the DT for rk3228 sync the power domain dt-binding header. This is the state as of v5.17 in Linux. Signed-off-by:

Re: [PATCH v11 00/16] Add Rikomagic MK808 board

2022-04-20 Thread Kever Yang
applied to u-boot-rockchip. Thanks, - Kever On 2022/4/16 23:09, Johan Jonker wrote: MK808 is a RK3066-based board with 1 USB host and 1 USB OTG port, HDMI and a micro-SD card slot. It also includes on-board NAND and 1GB of SDRAM. Changed V11: remove defines update defconfig align doc

[PATCH] Add support for TP-Link UE200 dongle

2022-04-20 Thread ootitov
From: Oleksii Titov Signed-off-by: Oleksii Titov --- drivers/usb/eth/r8152.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/eth/r8152.c b/drivers/usb/eth/r8152.c index d21fc682b0..1aaa5a79b3 100644 --- a/drivers/usb/eth/r8152.c +++ b/drivers/usb/eth/r8152.c @@ -48,6 +48,7

[PATCH] fdt: don't set linux,phandle

2022-04-20 Thread John Keeping
This has been deprecated for over 10 years and everything now uses the plain "phandle" property in preference. There's no need to set linux,phandle when creating phandles for nodes that do not have one. dtc changed the default to creating just phandle in version 1.4.5 released in September 2017

RE: [PATCH 7/8] mtd: spi-nor: use spi-mem dirmap API

2022-04-20 Thread Chin-Ting Kuo
Hi Pratyush, Thanks for your review. > -Original Message- > From: Pratyush Yadav > Sent: Wednesday, April 20, 2022 4:21 PM > To: Chin-Ting Kuo > Subject: Re: [PATCH 7/8] mtd: spi-nor: use spi-mem dirmap API > > On 14/04/22 07:23PM, Chin-Ting Kuo wrote: > > This adds support for the

[PATCH v2 2/2] usb: dwc3: Don't build DM drivers in SPL unless DM USB is available

2022-04-20 Thread Alban Bedel
Most platform glue drivers need DM USB, if one of these driver is enabled along with SPL without DM the build break. As the SPL might still want to use the core DWC3 put the DM glue drivers under ifdef CONFIG_$(SPL_)DM_USB. Signed-off-by: Alban Bedel --- drivers/usb/dwc3/Makefile | 9 ++---

[PATCH v2 1/2] usb: dwc3: core: fix warnings when building without driver model

2022-04-20 Thread Alban Bedel
Commit f150b8d28b4e (usb: dwc3: Enable undefined length INCR burst type) introduced code that assign the content of dwc->dev to a variable. But in u-boot the type of this field changes if building with driver model enabled or not. As this variable is then only used once just remove it and use the

[PATCH 0/2] usb: dwc3: Add support for standalone DWC3 nodes

2022-04-20 Thread Alban Bedel
Hi all, I recently submitted a patch to fix the support for the DWC3 controller on the imx8mq which, unlike most DWC3 implementation, doesn't use a top glue node with child DWC3 nodes. Instead it has the DWC3 node directly on the main bus. Angus Ainslie then asked why this patch was needed as he

Re: [PATCH 7/8] mtd: spi-nor: use spi-mem dirmap API

2022-04-20 Thread Pratyush Yadav
On 14/04/22 07:23PM, Chin-Ting Kuo wrote: > This adds support for the dirmap API to the spi-nor subsystem, as > introduced in Linux commit df5c210 ("mtd: spi-nor: use spi-mem > dirmap API"). > > This patch is synchronize from the following patch >

Re: [PATCH 6/8] spi-mem: Add dirmap API from Linux

2022-04-20 Thread Pratyush Yadav
On 14/04/22 07:23PM, Chin-Ting Kuo wrote: > This adds the dirmap API originally introduced in Linux commit aa167f3 > ("spi: spi-mem: Add a new API to support direct mapping"). This also > includes several follow-up patches and fixes. > > Changes from Linux include: > * Added Kconfig option > *

Re: [PATCH 2/2] arch: layerscape: Add SFP binding

2022-04-20 Thread Michael Walle
Am 2022-04-20 01:51, schrieb Sean Anderson: Could you submit a patch there to add your new compatibles? Sure. I didn't know there was an upstream binding, but I'll try and add these properties. If you'll submit the patch(es) before 5.18 is released, I think we can still add the clock as

Re: [PATCH 6/7] efi_loader: disk: compile efi_disk when CONFIG_BLK

2022-04-20 Thread Heinrich Schuchardt
On 4/19/22 03:01, AKASHI Takahiro wrote: Now we can build efi_loader with block device support (CONFIG_BLK) and without CONFIG_PARTITIONS. So change Makefile. Signed-off-by: AKASHI Takahiro --- lib/efi_loader/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] soc: xilinx: zynqmp: fix out of bounds array access

2022-04-20 Thread Michal Simek
The call to xilinx_pm_request requires an array of a larger size. Signed-off-by: Michal Simek --- The same change was done for versal by https://lore.kernel.org/r/20220416181530.2311155-1-jo...@foundries.io --- drivers/soc/soc_xilinx_zynqmp.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH 5/7] efi_loader: PARTITION_UUIDS should be optional

2022-04-20 Thread Heinrich Schuchardt
On 4/19/22 03:01, AKASHI Takahiro wrote: In the current implementation, partition table support (either GPT or DOS) is not mandatory. So CONFIG_PARTITION_UUIDS should not be enabled (selected) unconditionally. Fixes: commit 17f8cda505e3 ("efi_loader: set partition GUID in device path for

Re: [PATCH v2] soc: xilinx: versal: fix out of bounds array access

2022-04-20 Thread Michal Simek
On 4/16/22 20:15, Jorge Ramirez-Ortiz wrote: The call to xilinx_pm_request requires an array of a larger size. Signed-off-by: Jorge Ramirez-Ortiz --- drivers/soc/soc_xilinx_versal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/soc_xilinx_versal.c

Re: [PATCH 1/1] drivers: add memory disk support

2022-04-20 Thread Heinrich Schuchardt
On 4/20/22 00:59, Tom Rini wrote: On Tue, Apr 19, 2022 at 11:55:00PM +0200, Heinrich Schuchardt wrote: On 4/19/22 23:26, Tom Rini wrote: On Tue, Apr 19, 2022 at 11:16:41PM +0200, Heinrich Schuchardt wrote: In some scenarios it is desirable to package U-Boot with other files into a single

Re: [PATCH 1/1] drivers: add memory disk support

2022-04-20 Thread Heinrich Schuchardt
On 4/20/22 01:01, Tom Rini wrote: On Wed, Apr 20, 2022 at 12:20:43AM +0200, Heinrich Schuchardt wrote: On 4/19/22 23:54, Simon Glass wrote: Hi Heinrich, On Tue, 19 Apr 2022 at 15:14, Heinrich Schuchardt wrote: In some scenarios it is desirable to package U-Boot with other files into a