Re: [PATCH v11 8/9] doc:eficonfig: add documentation for eficonfig command

2022-08-18 Thread Takahiro Akashi
On Fri, Aug 19, 2022 at 03:15:09PM +0900, Masahisa Kojima wrote: > Hi Akashi-san, > > On Fri, 19 Aug 2022 at 14:57, Takahiro Akashi > wrote: > > > > On Wed, Aug 17, 2022 at 06:36:13PM +0900, Masahisa Kojima wrote: > > > Add documentation for eficonfig command. > > > > > > Signed-off-by: Masahisa

Re: [PATCH v11 8/9] doc:eficonfig: add documentation for eficonfig command

2022-08-18 Thread Masahisa Kojima
Hi Akashi-san, On Fri, 19 Aug 2022 at 14:57, Takahiro Akashi wrote: > > On Wed, Aug 17, 2022 at 06:36:13PM +0900, Masahisa Kojima wrote: > > Add documentation for eficonfig command. > > > > Signed-off-by: Masahisa Kojima > > --- > > No update since v10 > > > > Changes in v10: > > - describe how

Re: [PATCH] efi_loader: disk: remove unused field

2022-08-18 Thread Heinrich Schuchardt
On 8/19/22 02:48, AKASHI Takahiro wrote: The field, ifname, in efi_disk_obj is set but never used anywhere. Just remove it. Signed-off-by: AKASHI Takahiro Reviewed-by: Heinrich Schuchardt

Re: [PATCH v11 8/9] doc:eficonfig: add documentation for eficonfig command

2022-08-18 Thread Takahiro Akashi
On Wed, Aug 17, 2022 at 06:36:13PM +0900, Masahisa Kojima wrote: > Add documentation for eficonfig command. > > Signed-off-by: Masahisa Kojima > --- > No update since v10 > > Changes in v10: > - describe how to boot system after editting by eficonfig > > Changes in v8: > - command name is chang

[PATCH v1 5/5] verdin-imx8mp: various config additions and improvements

2022-08-18 Thread Marcel Ziswiler
From: Marcel Ziswiler - integrate bootcount using SNVS_LP general purpose register LPGPR0 - enable CRC32 and MD5 - enable time commands - enable GPIO LED support - enable further eMMC HS400 functionality - enable fixed PHY and MDIO driver model - enable USB host functionality - enable thermal man

[PATCH v1 4/5] verdin-imx8mm: various config additions and improvements

2022-08-18 Thread Marcel Ziswiler
From: Marcel Ziswiler - integrate bootcount using SNVS_LP general purpose register LPGPR0 - enable link-time optimisation - explicitly set a boot delay of one second - enable CRC32 and MD5 - enable command for low-level access to data in a partition - enable time commands - enable PMIC commands -

[PATCH v1 3/5] verdin-imx8mm: improve and extend boot devices

2022-08-18 Thread Marcel Ziswiler
From: Marcel Ziswiler - Annotate boot devices available in spl_board_boot_device(). - Drop SD3_BOOT/MMC3_BOOT not available for boot on Verdin iMX8M Mini. Signed-off-by: Marcel Ziswiler --- board/toradex/verdin-imx8mm/spl.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff -

[PATCH v1 2/5] verdin-imx8mm: prepare for optional job ring driver model

2022-08-18 Thread Marcel Ziswiler
From: Marcel Ziswiler Prepare for optional job ring driver model. Sec may be initialized based on the job ring information processed from the device tree. Signed-off-by: Marcel Ziswiler --- board/toradex/verdin-imx8mm/spl.c | 9 + 1 file changed, 9 insertions(+) diff --git a/board/to

[PATCH v1 1/5] verdin-imx8mm: verdin-imx8mp: update env memory layout

2022-08-18 Thread Marcel Ziswiler
From: Marcel Ziswiler Update the distro config env memory layout for the Verdin iMX8M Mini and Verdin iMX8M Plus: - loadaddr=0x4820 allows for 128MB area for uncompressing (ie FIT images, kernel_comp_addr_r, kernel_comp_size) - fdt_addr_r = loadaddr + 128MB - allows for 128MB kernel - scri

[PATCH v1 0/5] verdin-imx8mm: verdin-imx8mp: various additions and improvements

2022-08-18 Thread Marcel Ziswiler
From: Marcel Ziswiler Various additions and improvements for the Verdin iMX8M Mini and Verdin iMX8M Plus: - updated env memory layout - verdin-imx8mm: prepare for optional job ring driver model - verdin-imx8mm: improve and extend boot devices - various config additions and improvements Marcel

Re: [PATCH v11 6/9] bootmenu: add removable media entries

2022-08-18 Thread Masahisa Kojima
Hi Akashi-san, On Fri, 19 Aug 2022 at 10:31, Takahiro Akashi wrote: > > On Wed, Aug 17, 2022 at 06:36:11PM +0900, Masahisa Kojima wrote: > > UEFI specification requires booting from removal media using > > a architecture-specific default image name such as BOOTAA64.EFI. > > This commit adds the r

Re: [PATCH v11 6/9] bootmenu: add removable media entries

2022-08-18 Thread Takahiro Akashi
On Wed, Aug 17, 2022 at 06:36:11PM +0900, Masahisa Kojima wrote: > UEFI specification requires booting from removal media using > a architecture-specific default image name such as BOOTAA64.EFI. > This commit adds the removable media entries into bootmenu, > so that user can select the removable me

[PATCH] efi_loader: disk: remove unused field

2022-08-18 Thread AKASHI Takahiro
The field, ifname, in efi_disk_obj is set but never used anywhere. Just remove it. Signed-off-by: AKASHI Takahiro --- lib/efi_loader/efi_disk.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_loader/efi_disk.c index 1d700b2a6

Re: [PATCH v2] dm: core: Do not stop uclass iteration on error.

2022-08-18 Thread Michal Suchánek
On Thu, Aug 18, 2022 at 11:49:53AM -0600, Simon Glass wrote: > Hi Michal, > > On Wed, 17 Aug 2022 at 02:28, Michal Suchanek wrote: > > > > When probing a device fails NULL pointer is returned, and other devices > > cannot be iterated. Skip to next device on error instead. > > > > Fixes: 6494d708b

[PATCH v4] cmd: Add pause command

2022-08-18 Thread Samuel Dionne-Riel
This command is being introduced with the goal of allowing user-friendly "generic use case" U-Boot builds to pause until user input under some situations. The main use case would be when a boot failure happens, to pause until the user has had time to acknowledge the current state. Tested using:

Re: [PATCH v8 06/13] FWU: Add helper functions for accessing FWU metadata

2022-08-18 Thread Simon Glass
Hi Sughosh, On Wed, 17 Aug 2022 at 06:44, Sughosh Ganu wrote: > > Add weak functions for getting the update index value and dfu > alternate number needed for FWU Multi Bank update > functionality. > > The current implementation for getting the update index value is for > platforms with 2 banks. I

Re: [PATCH v8 02/13] FWU: Add FWU metadata structure and driver for accessing metadata

2022-08-18 Thread Simon Glass
pHi Sughosh, On Thu, 18 Aug 2022 at 05:03, Sughosh Ganu wrote: > > hi Simon, > > On Thu, 18 Aug 2022 at 06:43, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Wed, 17 Aug 2022 at 06:44, Sughosh Ganu wrote: > > > > > > In the FWU Multi Bank Update feature, the information about the > > > updat

Re: [PATCH v2] dm: core: Do not stop uclass iteration on error.

2022-08-18 Thread Simon Glass
Hi Michal, On Wed, 17 Aug 2022 at 02:28, Michal Suchanek wrote: > > When probing a device fails NULL pointer is returned, and other devices > cannot be iterated. Skip to next device on error instead. > > Fixes: 6494d708bf ("dm: Add base driver model support") > Signed-off-by: Michal Suchanek > -

Re: [PATCH v3] cmd: Add pause command

2022-08-18 Thread Simon Glass
Hi Samuel, On Wed, 17 Aug 2022 at 20:16, Samuel Dionne-Riel wrote: > > This command is being introduced with the goal of allowing user-friendly > "generic use case" U-Boot builds to pause until user input under some > situations. > > The main use case would be when a boot failure happens, to paus

Re: [PATCH v8 08/13] FWU: Add boot time checks as highlighted by the FWU specification

2022-08-18 Thread Simon Glass
Hi Sughosh, On Thu, 18 Aug 2022 at 05:42, Sughosh Ganu wrote: > > hi Simon, > > On Thu, 18 Aug 2022 at 08:51, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Wed, 17 Aug 2022 at 06:44, Sughosh Ganu wrote: > > > > > > The FWU Multi Bank Update specification requires the Update Agent to > > > c

Re: [PATCH v8 10/13] FWU: cmd: Add a command to read FWU metadata

2022-08-18 Thread Simon Glass
Hi Sughosh, On Thu, 18 Aug 2022 at 05:53, Sughosh Ganu wrote: > > hi Simon, > > On Thu, 18 Aug 2022 at 08:51, Simon Glass wrote: > > > > Hi Sugosh, > > > > On Wed, 17 Aug 2022 at 06:44, Sughosh Ganu wrote: > > > > > > Add a command to read the metadata as specified in the FWU > > > specificatio

Re: [PATCH v8 03/13] FWU: Add FWU metadata access driver for GPT partitioned block devices

2022-08-18 Thread Simon Glass
Hi Sughosh, On Thu, 18 Aug 2022 at 05:39, Sughosh Ganu wrote: > > hi Simon, > > On Thu, 18 Aug 2022 at 08:51, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Wed, 17 Aug 2022 at 06:44, Sughosh Ganu wrote: > > > > > > In the FWU Multi Bank Update feature, the information about the > > > updata

Re: DHCP and TFTP

2022-08-18 Thread Simon Glass
Hi Jim, On Thu, 18 Aug 2022 at 06:54, Jim Schaettle wrote: > > Hello! I have U-Boot installed on the SD card of my Orange Pi. It works great, using SRVLOC to get the address of the server, DHCP to get an IP address, and TFTP to get the application files. > > I also have a rack of 48 Orange Pi dev

RE: DHCP and TFTP

2022-08-18 Thread Greg Leonberg
You should possibly be able to call the DHCP init the same way it is done in cmd/net.c function netboot_common size = net_loop(proto); if (size < 0) { bootstage_error(BOOTSTAGE_ID_NET_NETLOOP_OK); return CMD_RET_FAILURE; } boots

[PATCH] Makefile: Use relative paths for debugging symbols.

2022-08-18 Thread Vagrant Cascadian
From: Vagrant Cascadian The KBUILD_CFLAGS and KBUILD_AFLAGS variables are adjusted to use -ffile-prefix-map and --debug-prefix-map, respectively, to use relative paths for occurrences of __FILE__ and debug paths. This enables reproducible builds regardless of the absolute path to the build direc

Re: [PATCH v3] cmd: cat: add new command

2022-08-18 Thread Heinrich Schuchardt
On 8/18/22 18:54, Roger Knecht wrote: Add cat command to print file content to standard out Signed-off-by: Roger Knecht --- v3: - Disable 'cat' by default (CONFIG_CMD_CAT=n) - Enable 'cat' in sandbox and sandbox64 defconfig - Use map_to_sysmem() to fix "phys_to_virt: Cannot map sandbox ad

Re: [PATCH v8 05/13] stm32mp1: dk2: Add image information for capsule updates

2022-08-18 Thread Yann Gautier
On 8/18/22 14:06, Sughosh Ganu wrote: hi Yann, On Thu, 18 Aug 2022 at 13:35, Yann Gautier wrote: On 8/17/22 14:43, Sughosh Ganu wrote: Enabling capsule update functionality on the platform requires populating information on the images that are to be updated using the functionality. Do so for

[PATCH v2 14/28] arch: rockchip: Add cru header for rv1126

2022-08-18 Thread Jagan Teki
Add clock and reset unit header include for rv1126. Signed-off-by: Jagan Teki --- Changes for v2: - none .../include/asm/arch-rockchip/cru_rv1126.h| 459 ++ 1 file changed, 459 insertions(+) create mode 100644 arch/arm/include/asm/arch-rockchip/cru_rv1126.h diff --git a/ar

[PATCH v2 28/28] board: Add Edgeble AI Edge Compute Module 0 Carrier

2022-08-18 Thread Jagan Teki
Edge Compute Module 0 Carrier is an industrial form factor evaluation board from Edgeble AI. General features: - microSD slot - 2x MIPI CSI2 connectors - MIPI DSI connector - 2x USB Host - 1x USB OTG - Ethernet - mini PCIe - Onboard PoE - RS485, RS232, CAN - Micro Phone array - Speaker - RTC batte

[PATCH v2 27/28] ARM: dts: rockchip: Add rv1126-u-boot.dtsi

2022-08-18 Thread Jagan Teki
Add u-boot,dm-spl and u-boot,dm-pre-reloc related properties for Rockchip RV1126 SoC. Both eMMC and SD boot are tested in Edge Compute Module 0. Signed-off-by: Jagan Teki --- Changes for v2: - none arch/arm/dts/rv1126-u-boot.dtsi | 62 + 1 file changed, 62 inser

[PATCH v2 26/28] ARM: dts: rockchip: rv1126: Add Edgeble AI Edge Compute Module 0 Carrier

2022-08-18 Thread Jagan Teki
Edge Compute Module 0 Carrier is an industrial form factor evaluation board from Edgeble AI. General features: - microSD slot - 2x MIPI CSI2 connectors - MIPI DSI connector - 2x USB Host - 1x USB OTG - Ethernet - mini PCIe - Onboard PoE - RS485, RS232, CAN - Micro Phone array - Speaker - RTC batte

[PATCH v2 25/28] ARM: dts: rockchip: rv1126: Add Edgeble AI Edge Compute Module 0

2022-08-18 Thread Jagan Teki
Edge Compute Module 0 is a 96boards SoM-CB compute module based on Rockchip RV1126 from Edgeble AI. General features: - Rockchip RV1126 - 2/4GB LPDDR4 - 16GB eMMC - Fn-link 8223A-SR WiFi/BT Edge Compute Module 0 needs to mount on top of Edgeble AI Carrier boards for creating complete platform sol

[PATCH v2 24/28] rockchip: mkimage: Add rv1126 support

2022-08-18 Thread Jagan Teki
Add support for rv1126 package header in mkimage tool. Signed-off-by: Jagan Teki --- Changes for v2: - none tools/rkcommon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/rkcommon.c b/tools/rkcommon.c index 1325aa83cb..f18b6fad95 100644 --- a/tools/rkcommon.c +++ b/tools/rkcommon.c

[PATCH v2 23/28] configs: rockchip: Add rv1126 common config

2022-08-18 Thread Jagan Teki
Add common rv1126 include config. Signed-off-by: Jagan Teki --- Changes for v2: - none include/configs/rv1126_common.h | 42 + 1 file changed, 42 insertions(+) create mode 100644 include/configs/rv1126_common.h diff --git a/include/configs/rv1126_common.h b/inc

[PATCH v2 22/28] arm: rockchip: rv1126: Set dram area unsecure for SPL

2022-08-18 Thread Jagan Teki
Unsecure the dram area so that MMC, USB, and SFC controllers can able to read data from dram. Signed-off-by: Jason Zhu Signed-off-by: Jagan Teki --- Changes for v2: - use IS_ENABLED arch/arm/mach-rockchip/rv1126/rv1126.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/ar

[PATCH v2 21/28] arm: rockchip: Add RV1126 arch core support

2022-08-18 Thread Jagan Teki
Rockchip RV1126 is a high-performance vision processor SoC for IPC/CVR, especially for AI related application. Add arch core support for it. Signed-off-by: Jagan Teki --- Changes for v2: - none arch/arm/include/asm/arch-rv1126/boot0.h | 11 arch/arm/include/asm/arch-rv1126/gpio.h

[PATCH v2 20/28] ARM: dts: rockchip: Add Rockchip RV1126 SoC

2022-08-18 Thread Jagan Teki
RV1126 is a high-performance vision processor SoC for IPC/CVR, especially for AI related application. It is based on quad-core ARM Cortex-A7 32-bit core which integrates NEON and FPU. There is a 32KB I-cache and 32KB D-cache for each core and 512KB unified L2 cache. It has build-in NPU supports IN

[PATCH v2 19/28] ARM: dts: rockchip: Add Rockchip RV1126 pinctrl

2022-08-18 Thread Jagan Teki
Add pinctrl definitions for Rockchip RV1126. Signed-off-by: Jagan Teki --- Changes for v2: - none arch/arm/dts/rv1126-pinctrl.dtsi | 302 +++ 1 file changed, 302 insertions(+) create mode 100644 arch/arm/dts/rv1126-pinctrl.dtsi diff --git a/arch/arm/dts/rv1126-pinc

[PATCH v2 16/28] clk: rockchip: Add rv1126 clk support

2022-08-18 Thread Jagan Teki
Add clock driver support for Rockchip RV1126 SoC. Signed-off-by: Joseph Chen Signed-off-by: Jagan Teki --- Changes for v2: - update cru header drivers/clk/rockchip/Makefile |1 + drivers/clk/rockchip/clk_rv1126.c | 1889 + 2 files changed, 1890 insertions(+)

[PATCH v2 18/28] arm: rockchip: Add grf header for rv1126

2022-08-18 Thread Jagan Teki
Add GRF header for Rockchip RV1126. Signed-off-by: Jagan Teki --- Changes for v2: - none .../include/asm/arch-rockchip/grf_rv1126.h| 251 ++ 1 file changed, 251 insertions(+) create mode 100644 arch/arm/include/asm/arch-rockchip/grf_rv1126.h diff --git a/arch/arm/include/a

[PATCH v2 15/28] dt-bindings: clk: Add dt-binding header for RV1126

2022-08-18 Thread Jagan Teki
Add the dt-bindings header for the Rockchip RV1126, that gets shared between the clock controller and the clock references in the dts. Signed-off-by: Finley Xiao Signed-off-by: Jagan Teki --- Changes for v2: - update cru header .../dt-bindings/clock/rockchip,rv1126-cru.h | 632 ++

[PATCH v2 17/28] dt-bindings: power: Add power-domain header for rv1126

2022-08-18 Thread Jagan Teki
Add power-domain header for RV1126 SoC from description in TRM. Signed-off-by: Elaine Zhang Signed-off-by: Jagan Teki --- Changes for v2: - update filename .../dt-bindings/power/rockchip,rv1126-power.h | 35 +++ 1 file changed, 35 insertions(+) create mode 100644 include/dt-bi

[PATCH v2 13/28] pinctrl: rockchip: Add rv1126 support

2022-08-18 Thread Jagan Teki
Add pinctrl driver for Rockchip RV1126. Signed-off-by: Jianqun Xu Signed-off-by: Jagan Teki --- Changes for v2: - none drivers/pinctrl/rockchip/Makefile | 1 + drivers/pinctrl/rockchip/pinctrl-rv1126.c | 416 ++ 2 files changed, 417 insertions(+) create mode 1006

[PATCH v2 12/28] pinctrl: rockchip: Add pinctrl route types

2022-08-18 Thread Jagan Teki
Some pins in rockchip are routed via Top GRF and PMU GRF instead of direct regmap. Add support to handle all these routing paths so that the SoC pinctrl drivers will use them accordingly. Signed-off-by: Jianqun Xu Signed-off-by: Jagan Teki --- Changes for v2: - none drivers/pinctrl/rockchip/p

[PATCH v2 11/28] ram: rockchip: Add rv1126 lpddr4 support

2022-08-18 Thread Jagan Teki
Add LPDDR4 detection timings and support for RV1126. Signed-off-by: Jagan Teki --- Changes for v2: - none .../sdram-rv1126-lpddr4-detect-1056.inc | 78 +++ .../sdram-rv1126-lpddr4-detect-328.inc| 78 +++ .../sdram-rv1126-lpddr4-detect-396.inc

[PATCH v2 10/28] ram: rockchip: rv1126: Control ddr init prints via DEBUG

2022-08-18 Thread Jagan Teki
Control the ddr init print messages via RAM_ROCKCHIP_DEBUG instead of printing by default. This gives an option to configs to enable these prints or not. Signed-off-by: Jagan Teki --- Changes for v2: - none drivers/ram/rockchip/sdram_rv1126.c | 38 +++-- 1 file changed,

[PATCH v2 08/28] ram: rockchip: Add rv1126 ddr loader params

2022-08-18 Thread Jagan Teki
Add DDR loader parameters for Rockchip RV1126 SoC. Signed-off-by: YouMin Chen Signed-off-by: Jagan Teki --- Changes for v2: - none .../rockchip/sdram-rv1126-loader_params.inc | 198 ++ 1 file changed, 198 insertions(+) create mode 100644 drivers/ram/rockchip/sdram-rv1126-loa

[PATCH v2 07/28] ram: rockchip: Add rv1126 ddr3 support

2022-08-18 Thread Jagan Teki
Add DDR3 detection timings for Rockchip RV1126 SoC. Signed-off-by: YouMin Chen Signed-off-by: Jagan Teki --- Changes for v2: - none .../sdram-rv1126-ddr3-detect-1056.inc | 72 +++ .../rockchip/sdram-rv1126-ddr3-detect-328.inc | 72 +++ .../rockchip/sdram

[PATCH v2 06/28] ram: rockchip: Update ddr pctl regs for px30

2022-08-18 Thread Jagan Teki
Add full ddr pctl registers and bit masks for px30. Signed-off-by: YouMin Chen Signed-off-by: Jagan Teki --- Changes for v2: - none .../asm/arch-rockchip/sdram_pctl_px30.h | 100 +- drivers/ram/rockchip/sdram_pctl_px30.c| 6 +- 2 files changed, 101 insertions(+)

[PATCH v2 05/28] ram: rockchip: Update high row detection for full bw

2022-08-18 Thread Jagan Teki
High row detection for non-8bit bw requires axi split. So, update the existing high row detection code in order to support full bw chips. Signed-off-by: YouMin Chen Signed-off-by: Jagan Teki --- Changes for v2: - none .../include/asm/arch-rockchip/sdram_common.h | 2 +- drivers/ram/rockchip

[PATCH v2 04/28] ram: rockchip: Compute ddr capacity based on grf split

2022-08-18 Thread Jagan Teki
DDR chip capacity is computed based on GRF split in some Rockchip SoC's like PX30 and RV1126. Add split argument in ddr print info so-that the respective ddr driver will pass the grf split. Signed-off-by: YouMin Chen Signed-off-by: Jagan Teki --- Changes for v2: - none arch/arm/include/asm/ar

[PATCH v2 03/28] tools: rkcommon: Correct SPL size for px30

2022-08-18 Thread Jagan Teki
Rockchip PX30 has 16KB sram, bootrom reserved 4KB as stack. Correct it. Signed-off-by: Jagan Teki --- Changes for v2: - none tools/rkcommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/rkcommon.c b/tools/rkcommon.c index 0db45c2d41..1325aa83cb 100644 --- a/tools/

[PATCH v2 02/28] ram: rockchip: Add common ddr type configs

2022-08-18 Thread Jagan Teki
We have common ddr types in rockchip or in general. So use the common ddr type names instead of per Rockchip SoC to avoid confusion. The respective ddr type names will use on the associated ddr SoC driver as these drivers are built per SoC at a time. Signed-off-by: Jagan Teki --- Changes for v2:

[PATCH v2 01/28] ram: Mark ram-uclass depend on TPL_DM or SPL_DM

2022-08-18 Thread Jagan Teki
ram-uclass is building irrespective of whether TPL_DM or SPL_DM is enabled. So control the ram uclass build based on TPL/SPL_DM. Signed-off-by: Jagan Teki --- Changes for v2: - none drivers/ram/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ram/Makefile b/d

[PATCH v2 00/28] ARM: Add Rockchip RV1126 support

2022-08-18 Thread Jagan Teki
RV1126 is a high-performance vision processor SoC for IPC/CVR, especially for AI related application. This patch series add basic core support for Rockchip RV1126 and boot from eMMC and SD. Linux support is under review for the same [2] and v1 can be [3]. Tested RV1126 in Edgeble AI Edge Compute

Re: [PATCH v2 2/2] rockchip: rk3399: remove duplicate call to regulators_enable_boot_on

2022-08-18 Thread Jagan Teki
On Fri, Jul 22, 2022 at 3:39 PM Quentin Schulz wrote: > > From: Quentin Schulz > > An earlier commit makes the common SPL code call > regulators_enable_boot_on and regulators_enable_boot_off before > iterating over possible boot media for U-Boot proper. There is therefore > no need to do this in

Re: [PATCH v3 1/2] rockchip: rk3399: fix incorrect ifdef check on SPL_DM_REGULATOR

2022-08-18 Thread Jagan Teki
On Fri, Jul 22, 2022 at 3:00 PM Quentin Schulz wrote: > > From: Quentin Schulz > > The check to perform is on CONFIG_SPL_DM_REGULATOR and not > SPL_DM_REGULATOR. Also switch to in-code check instead of ifdefs. > > Fixes: 07586ee4322a ("rockchip: rk3399: Support common spl_board_init") > Cc: Quent

Re: Fwd: [PATCH] [RFC] cmd: i2c: fix default address len for DM_I2C

2022-08-18 Thread Nicolas IOOSS
Hello all, On Tue, Aug 16, 2022 at 1:47 PM Simon Glass wrote: > > Hi Tim, > > On Tue, 16 Aug 2022 at 13:50, Tim Harvey wrote: > > > > On Mon, Aug 15, 2022 at 3:16 PM Simon Glass wrote: > > > > > > Hi Tim, > > > > > > On Mon, 15 Aug 2022 at 11:48, Tim Harvey wrote: > > > > > > > > On Sat, Aug

DHCP and TFTP

2022-08-18 Thread Jim Schaettle
Hello! I have U-Boot installed on the SD card of my Orange Pi. It works great, using SRVLOC to get the address of the server, DHCP to get an IP address, and TFTP to get the application files. I also have a rack of 48 Orange Pi devices with the same U-Boot code in their SD cards. They all have a

[PATCH v6 0/3] ARM: imx6: dh-imx6: Enable d-cache early in SPL

2022-08-18 Thread Philip Oberfichtner
This patch series enables d-cache in SPL for i.MX6 based boards from DH in order to improve boot time. This can only be achieved after migrating the corresponding symbols to Kconfig, which is done in patch 1/3 and 2/3. Changes in v6: - Once more improve the dcache_disable() comment Cha

Re: [PATCH v8 05/13] stm32mp1: dk2: Add image information for capsule updates

2022-08-18 Thread Sughosh Ganu
hi Yann, On Thu, 18 Aug 2022 at 13:35, Yann Gautier wrote: > > On 8/17/22 14:43, Sughosh Ganu wrote: > > Enabling capsule update functionality on the platform requires > > populating information on the images that are to be updated using the > > functionality. Do so for the DK2 board. > > > > Sig

Re: [PATCH v8 10/13] FWU: cmd: Add a command to read FWU metadata

2022-08-18 Thread Sughosh Ganu
hi Simon, On Thu, 18 Aug 2022 at 08:51, Simon Glass wrote: > > Hi Sugosh, > > On Wed, 17 Aug 2022 at 06:44, Sughosh Ganu wrote: > > > > Add a command to read the metadata as specified in the FWU > > specification and print the fields of the metadata. > > > > Signed-off-by: Sughosh Ganu > > Revi

Re: [PATCH v8 08/13] FWU: Add boot time checks as highlighted by the FWU specification

2022-08-18 Thread Sughosh Ganu
hi Simon, On Thu, 18 Aug 2022 at 08:51, Simon Glass wrote: > > Hi Sughosh, > > On Wed, 17 Aug 2022 at 06:44, Sughosh Ganu wrote: > > > > The FWU Multi Bank Update specification requires the Update Agent to > > carry out certain checks at the time of platform boot. The Update > > Agent is the com

Re: [PATCH v8 03/13] FWU: Add FWU metadata access driver for GPT partitioned block devices

2022-08-18 Thread Sughosh Ganu
hi Simon, On Thu, 18 Aug 2022 at 08:51, Simon Glass wrote: > > Hi Sughosh, > > On Wed, 17 Aug 2022 at 06:44, Sughosh Ganu wrote: > > > > In the FWU Multi Bank Update feature, the information about the > > updatable images is stored as part of the metadata, on a separate > > partition. Add a driv

Re: [PATCH v8 02/13] FWU: Add FWU metadata structure and driver for accessing metadata

2022-08-18 Thread Sughosh Ganu
hi Simon, On Thu, 18 Aug 2022 at 06:43, Simon Glass wrote: > > Hi Sughosh, > > On Wed, 17 Aug 2022 at 06:44, Sughosh Ganu wrote: > > > > In the FWU Multi Bank Update feature, the information about the > > updatable images is stored as part of the metadata, which is stored on > > a dedicated part

Re: [PATCH] clk: at91: sam9x60: change parent clock from mck_pres to mck_div

2022-08-18 Thread Claudiu.Beznea
On 17.08.2022 10:04, Eugen Hristev wrote: > From: Mihai Sain > > ddrck and qspick should have mck_div as parent clocks to be in sync with > linux driver. > > Signed-off-by: Mihai Sain Reviewed-by: Claudiu Beznea > --- > drivers/clk/at91/sam9x60.c | 4 ++-- > 1 file changed, 2 insertions(+

Re: [PATCH v11 1/9] eficonfig: menu-driven addition of UEFI boot option

2022-08-18 Thread Masahisa Kojima
Hi Heinrich, On Thu, 18 Aug 2022 at 15:49, Heinrich Schuchardt wrote: > > On 8/17/22 11:36, Masahisa Kojima wrote: > > This commit add the "eficonfig" command. > > The "eficonfig" command implements the menu-driven UEFI boot option > > maintenance feature. This commit implements the addition of >

Re: [BISECTED] BeagleBone Black doesn't boot after a58147c2dbbf

2022-08-18 Thread Matwey V. Kornilov
I've played a little and now I believe that the issue is that EEPROM read addr pointer is somehow corrupted due to 1-byte address write. The EEPROM is definitely have two-byte read address accoring the datasheet. I've failed to unravel exact rule what is happening when only one address byte is set,

Re: [SPAM] [PATCH 2/2] binman: Add more documentation about binman usage

2022-08-18 Thread Simon Glass
Hi Xavier, On Mon, 8 Aug 2022 at 09:48, Xavier Drudis Ferran wrote: > > El Sun, Aug 07, 2022 at 04:33:26PM -0600, Simon Glass deia: > > This is an attempt to answer the comments provided by Xavier [1]. > > > > Thank you. Sorry if I point out silly things too. No agony intended. > > > > > +Note th

Re: [PATCH v4 1/8] binman: add support for skipping file concatenation for mkimage

2022-08-18 Thread Simon Glass
Hi Quentin, On Wed, 3 Aug 2022 at 06:19, Quentin Schulz wrote: > > From: Quentin Schulz > > Some image types handled by mkimage require the datafiles to be passed > independently (-d data1:data2) for specific handling of each. A > concatenation of datafiles prior to passing them to mkimage would

[PATCH 2/2] binman: Document how to handle dependent images

2022-08-18 Thread Simon Glass
Binman does not support this properly at present. Add documentation about it including a work-around. Signed-off-by: Simon Glass --- tools/binman/binman.rst | 50 + 1 file changed, 50 insertions(+) diff --git a/tools/binman/binman.rst b/tools/binman/binm

[PATCH 1/2] binman: Mention split-elf in the main docs

2022-08-18 Thread Simon Glass
Since we are talking about ATF, add mention of this new feature too. Signed-off-by: Simon Glass --- tools/binman/binman.rst | 4 1 file changed, 4 insertions(+) diff --git a/tools/binman/binman.rst b/tools/binman/binman.rst index 6e1fd3476f1..f85d13b700a 100644 --- a/tools/binman/binman.r

Re: [PATCH v8 05/13] stm32mp1: dk2: Add image information for capsule updates

2022-08-18 Thread Yann Gautier
On 8/17/22 14:43, Sughosh Ganu wrote: Enabling capsule update functionality on the platform requires populating information on the images that are to be updated using the functionality. Do so for the DK2 board. Signed-off-by: Sughosh Ganu Reviewed-by: Patrick Delaunay Reviewed-by: Ilias Apalod

Re: [PATCH] Makefile: Unify condition for mpc85xx reset vector

2022-08-18 Thread Pali Rohár
On Wednesday 17 August 2022 19:13:08 Simon Glass wrote: > On Wed, 3 Aug 2022 at 15:57, Pali Rohár wrote: > > > > Use 'CONFIG_MPC85XX_HAVE_RESET_VECTOR && CONFIG_OF_SEPARATE' pattern > > instead of 'CONFIG_MPC85XX_HAVE_RESET_VECTOR && !CONFIG_OF_EMBED' also in > > OBJCOPYFLAGS_u-boot-nodtb.bin as t

Re: [PATCH v11 4/9] eficonfig: add "Change Boot Order" menu entry

2022-08-18 Thread Masahisa Kojima
Hi Heinrich, On Thu, 18 Aug 2022 at 15:50, Heinrich Schuchardt wrote: > > On 8/18/22 08:17, Heinrich Schuchardt wrote: > > On 8/17/22 11:36, Masahisa Kojima wrote: > >> This commit adds the menu entry to update UEFI BootOrder variable. > >> User moves the entry with UP/DOWN key, changes the order

Re: [PATCH v2 6/7] tpm: Implement state command for Cr50

2022-08-18 Thread Ilias Apalodimas
Hi Simon, On Wed, 17 Aug 2022 at 21:54, Simon Glass wrote: > > Hi Ilias, > > On Tue, 16 Aug 2022 at 06:43, Ilias Apalodimas > wrote: > > > > Hi Simon, > > > > I know little of this device and the whole patch seems fine apart from > > the definitions and declarations of the state functions. > > >