Re: [PATCH RFC 4/8] soc: Add information to identify the J742S2 SoC family

2024-12-22 Thread Manorit Chawdhry
Hi Udit, On 19:37-20241222, Kumar, Udit wrote: > > On 12/17/2024 4:37 PM, Manorit Chawdhry wrote: > > J742S2 has the same part number as J784S4 but JTAG_DEVICE_ID has a > > PKG bit that tells about J742S2. > > > > Add support for reading JTAG_DEVICE_ID and set fami

[PATCH v1 7/7] board: xiaomi: mocha: add Xiaomi Mi Pad A0101 support

2024-12-22 Thread Svyatoslav Ryhel
The Mi Pad is a tablet computer based on Nvidia Tegra K1 SoC which originally ran the Android operating system. The Mi Pad has a 7.9" IPS display with 1536 x 2048 (324 ppi) resolution. 2 GB of RAM and 16/64 GB of internal memory that can be supplemented with a microSDXC card giving up to 128 GB of

[PATCH v1 6/7] ARM: tegra124: implement BCT patching

2024-12-22 Thread Svyatoslav Ryhel
This function allows updating bootloader from u-boot on production devices without need in host PC. Be aware! It works only with re-crypt BCT and AES encrypted devices. Signed-off-by: Svyatoslav Ryhel --- arch/arm/mach-tegra/Kconfig | 2 +- arch/arm/mach-tegra/tegra124/Makefile | 1

[PATCH v1 4/7] video: add TI LP855x backlight driver

2024-12-22 Thread Svyatoslav Ryhel
Add support for National Semiconductor/TI LP8550/1/2/3/5/6/7 LED Backlight. Driver is based on Linux version but is reworked and optimised for U-Boot DM framework. Currently only register driven backlight control is supported, PWM driver backlight control may be added later if needed. Signed-off-b

[PATCH v1 5/7] video: panel: add Sharp LQ079L1SX01 MIPI DSI panel driver

2024-12-22 Thread Svyatoslav Ryhel
This module is a color active matrix LCD module incorporating Oxide TFT (Thin Film Transistor). It is composed of a color TFT-LCD panel, driver ICs, a control circuit and power supply circuit, and a backlight unit. Graphics and texts can be displayed on a 1536x2048 dots panel with (16,777,216) colo

[PATCH v1 2/7] video: tegra20: dc: dsi: add Tegra K1 compatible

2024-12-22 Thread Svyatoslav Ryhel
Tegra K1 is fully compatible with existing DC and DSI implementation using Tegra 4 data. Signed-off-by: Svyatoslav Ryhel --- drivers/video/tegra20/tegra-dc.c | 3 +++ drivers/video/tegra20/tegra-dsi.c | 1 + 2 files changed, 4 insertions(+) diff --git a/drivers/video/tegra20/tegra-dc.c b/drive

[PATCH v1 3/7] video: tegra20: mipi: add Tegra K1 support

2024-12-22 Thread Svyatoslav Ryhel
Re-design MIPI calibration driver to fit T124. Signed-off-by: Svyatoslav Ryhel --- drivers/video/tegra20/tegra-dsi.c | 11 ++- drivers/video/tegra20/tegra-mipi.c | 134 ++--- 2 files changed, 130 insertions(+), 15 deletions(-) diff --git a/drivers/video/tegra20/tegra-d

[PATCH v1 1/7] pinctrl: tegra: add Tegra K1 support

2024-12-22 Thread Svyatoslav Ryhel
Tegra 124 is fully compatible with existing Tegra pincontrol driver, but it needs a specific MIPI PAD control pinconfig. Signed-off-by: Svyatoslav Ryhel --- arch/arm/include/asm/arch-tegra124/pinmux.h | 4 ++ drivers/pinctrl/tegra/pinctrl-tegra.c | 56 + 2 files change

[PATCH v1 0/7] Bring support for Xiaomi Mi Pad 1 (Tegra K1)

2024-12-22 Thread Svyatoslav Ryhel
This patch set brings support for Xiaomi Mi Pad 1 based on Tegra K1 SoC as original vendor bootloader substitution. All major features are implemented. Minor stuff that still needs to be tested and fixed includes: - minor image flickering on the right side of the panel - check if U-Boot self-upgra

Re: [PATCH RFC 8/8] configs: Introduce configs for J742S2

2024-12-22 Thread Manorit Chawdhry
Hi Udit, On 19:44-20241222, Kumar, Udit wrote: > > On 12/17/2024 4:37 PM, Manorit Chawdhry wrote: > > Based off j784s4 configs with delta changes for J742S2 > > > > [ Add AVS support for J742S2 ] > > Signed-off-by: Keerthy > > Signed-off-by: Manorit Cha

[v2 PATCH] net: fec_mxc: add DM_FLAG_ACTIVE_DMA flag for FEC network driver

2024-12-22 Thread Meng Li
From: Meng Li When FEC network card works as the prime one in u-boot, and is in active status, kernel might crash during booting up stage, especially working with grub. Because the DMA of FEC is still in active status, and copy data into memory if there is network data received. In this case, if

[PATCH] imx: Use per board ddrphy_trained_csr

2024-12-22 Thread Peng Fan (OSS)
From: Peng Fan Drop global ddrphy_trained_csr which maybe different with per board ddrphy_trained_csr. DDR TOOL generates ddrphy_trained_csr for each board, using the global ddrphy_trained_csr has risk that values may be not up to date. Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-imx

RE: [PATCH 1/6] drivers/mmc/Kconfig: Remove extraneous BLK dependencies

2024-12-22 Thread Jaehoon Chung
> -Original Message- > From: U-Boot On Behalf Of Tom Rini > Sent: Saturday, December 21, 2024 7:22 AM > > At this point in time, MMC will always have BLK enabled, so we do not > need to list that as a dependency for MMC drivers. > > Signed-off-by: Tom Rini Reviewed-by: Jaehoon Chung

RE: [PATCH v4 01/19] spl: mmc: Avoid size growth in spl_mmc_find_device() debug

2024-12-22 Thread Jaehoon Chung
> -Original Message- > From: Simon Glass > Sent: Friday, December 20, 2024 3:29 AM > > The for() loop ends up being in the code even if the log_debug() does > nothing. Add a condition to fix this. > > Signed-off-by: Simon Glass Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung

[PULL] u-boot-sh/master

2024-12-22 Thread Marek Vasut
The following changes since commit cfe57427c28763fd94e5bdcf89de9dabca4b1684: Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sh (2024-12-21 09:45:30 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-sh.git master for you

[PATCH v1] mtd: rawnand: meson: always use OOB bytes during write

2024-12-22 Thread Arseniy Krasnov
If 'oob_required' is not set by the caller (for example 'oobbuf' is NULL), then driver doesn't copy OOB data from 'oob_poi' to special controller structures, so zeroes will be written as OOB. But, generic raw NAND logic in 'nand_base.c' already handles case when OOB is not required to write by fill

Re: [PATCH RFC 8/8] configs: Introduce configs for J742S2

2024-12-22 Thread Kumar, Udit
On 12/17/2024 4:37 PM, Manorit Chawdhry wrote: Based off j784s4 configs with delta changes for J742S2 [ Add AVS support for J742S2 ] Signed-off-by: Keerthy Signed-off-by: Manorit Chawdhry --- board/ti/j784s4/MAINTAINERS | 2 ++ configs/j742s2_evm_a72_defconfig | 9 + configs

Re: [PATCH RFC 5/8] arm: mach-k3: j742s2: Introduce clock and device files for J742S2 SoC

2024-12-22 Thread Kumar, Udit
On 12/17/2024 4:37 PM, Manorit Chawdhry wrote: Re-use j784s4 clocks and power domains for j742s2 family of device. Signed-off-by: Manorit Chawdhry --- drivers/clk/ti/clk-k3.c| 4 drivers/power/domain/ti-power-domain.c | 4 2 files changed, 8 insertions(+) diff -

Re: [PATCH RFC 4/8] soc: Add information to identify the J742S2 SoC family

2024-12-22 Thread Kumar, Udit
On 12/17/2024 4:37 PM, Manorit Chawdhry wrote: J742S2 has the same part number as J784S4 but JTAG_DEVICE_ID has a PKG bit that tells about J742S2. Add support for reading JTAG_DEVICE_ID and set family as J742S2 based on that. Link: https://www.ti.com/lit/pdf/spruje3 (TRM) Signed-off-by: Manor

Re: [PATCH RFC 2/8] arm: dts: k3-j784s4-binman.dtsi: Clean up and templatize boot binaries

2024-12-22 Thread Kumar, Udit
On 12/17/2024 4:37 PM, Manorit Chawdhry wrote: From: Neha Malcom Francis Clean up templatized boot binaries for j784s4 soc. This includes modifying the k3-j784s4-binman.dtsi to use SPL_BOARD_DTB, BOARD_DESCRIPTION and UBOOT_BOARD_DESCRIPTION from the files that include it to further reuse cod

Correct Default SPL_SIZE_LIMIT for Cyclone/Arria V (SOCFPGA_GEN5)

2024-12-22 Thread Thomas Carpenter
Hi Not sure how you deal with contributions. There is a bug in the "arch/arm/mach-socfpga/Kconfig file. The default SPL_SIZE_LIMIT parameter for TARGET_SOCFPGA_GEN5 should be 60kB (0xF000) not 64kB (0x1). Referring to the Cyclone V Hard Processor System Technical Reference Manual (same fo

Re: [PATCH v3 4/7] efi_loader: Add a version of efi_binary_run() with more parameters

2024-12-22 Thread Ilias Apalodimas
Hi Heinrich On Sun, 22 Dec 2024 at 14:45, Heinrich Schuchardt wrote: > > On 12/19/24 03:38, Simon Glass wrote: > > This uses a few global variables at present. With the bootflow we have > > the required parameters, so add a function which accepts these. Update > > the existing function to call th

Re: [PATCH v3 0/7] efi: Start to chip away at the EFI workaround

2024-12-22 Thread Heinrich Schuchardt
On 12/19/24 03:38, Simon Glass wrote: At present there is a function, efi_set_bootdev(), which is used in various places to tell the EFI loader which device a file came from. As long as we have a command line to download images we won't be able to avoid remembering the boot device in a global.

Re: [PATCH v3 6/7] efi_loader: Pass in the required parameters from EFI bootmeth

2024-12-22 Thread Heinrich Schuchardt
On 12/19/24 03:38, Simon Glass wrote: Rather than setting up the global variables and then making the call, pass them into function directly. This cleans up the code and makes it all a bit easier to understand. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Use efi_load

Re: [PATCH v3 4/7] efi_loader: Add a version of efi_binary_run() with more parameters

2024-12-22 Thread Heinrich Schuchardt
On 12/19/24 03:38, Simon Glass wrote: This uses a few global variables at present. With the bootflow we have the required parameters, so add a function which accepts these. Update the existing function to call the new one with the globals. - Rename efi_binary_run_() to _efi_binary_run() Signed-

Re: [PATCH v3 2/7] efi_loader: Make efi_run_image() static

2024-12-22 Thread Heinrich Schuchardt
On 12/19/24 03:38, Simon Glass wrote: This function is not called from outside this file and has no entry in the header file, so mark it static. Signed-off-by: Simon Glass Reviewed-by: Ilias Apalodimas Reviewed-by: Heinrich Schuchardt --- (no changes since v1) lib/efi_loader/efi_bootb

Re: [PATCH v3 1/7] efi_loader: Refactor device and image paths into a function

2024-12-22 Thread Heinrich Schuchardt
On 12/19/24 03:38, Simon Glass wrote: Move this code into a function so it can be called from elsewhere. Signed-off-by: Simon Glass --- Changes in v3: - Make calculate_paths() static and add a comment lib/efi_loader/efi_bootbin.c | 85 1 file changed, 5