Re: [PATCH v2] riscv: binman: Add help message for missing blobs

2023-02-17 Thread Yu-Chien Peter Lin
On Fri, Feb 17, 2023 at 04:57:01PM +0800, Rick Chen wrote: > Add the 'missing-msg' for more detailed output > on missing system firmware. > > Signed-off-by: Rick Chen > Reviewed-by: Leo Yu-Chi Liang Reviewed-by: Yu Chien Peter Lin > --- > Changes in v2 > - Add more descriptions about

[PATCH v4 12/12] rk3566: radxa-cm3: Enable USB2.0, USB3.0 support

2023-02-17 Thread Jagan Teki
From: Manoj Sai => usb start starting USB... Bus usb@fd00: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus usb@fd80: USB EHCI 1.00 scanning bus usb@fd00 for devices... cannot reset port 1!? 2 USB Device(s) found scanning bus usb@fd80 for devices... 4 USB

[PATCH v4 11/12] rockchip: rk3568: Select DM_REGULATOR_FIXED

2023-02-17 Thread Jagan Teki
From: Manoj Sai Select the DM_REGULATOR_FIXED on RK3568 platform. Co-developed-by: Suniel Mahesh Signed-off-by: Suniel Mahesh Signed-off-by: Manoj Sai --- arch/arm/mach-rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-rockchip/Kconfig

Re: [PATCH v2 6/6] RFC: binman: Improve allow missing for mkimage entry

2023-02-17 Thread Jonas Karlman
Hi Simon, On 2023-02-17 03:55, Simon Glass wrote: Hi Jonas, On Wed, 15 Feb 2023 at 11:25, Jonas Karlman wrote: Hi Simon, On 2023-02-14 20:48, Simon Glass wrote: Hi Jonas, On Tue, 14 Feb 2023 at 03:34, Jonas Karlman wrote: Implement CheckMissing and CheckOptional methods that is adapted

Re: [PATCH] lmb: Bump CONFIG_LMB_MAX_REGIONS

2023-02-17 Thread Michal Suchánek
Hello, On Sun, Feb 12, 2023 at 06:45:36PM -0500, Tom Rini wrote: > On Wed, Feb 08, 2023 at 02:50:16PM -0500, Tom Rini wrote: > > On Wed, Feb 08, 2023 at 08:11:34PM +0100, Michal Suchánek wrote: > > > Hello, > > > > > > On Wed, Feb 08, 2023 at 01:25:50PM -0500, Tom Rini wrote: > > > > On Wed, Feb

[PATCH v4 00/12] rockchip: Add Radxa CM3 support

2023-02-17 Thread Jagan Teki
From: Jagan Teki This series support Radxa CM3 with USB2.0 and USB3.0. Changes for v4: - drop BINMAN_FDT unset - usb3.0 - config additions changes for v3: - linux-next dts tags Changes for v2: - collect RB from kever Jagan Teki (9): rockchip: rk3568: Move DM_RESET in arch kconfig

[PATCH v4 02/12] dt-bindings: rockchip: Sync rockchip, vop2.h from Linux

2023-02-17 Thread Jagan Teki
Sync rockchip,vop2.h from linux-next, and the last commit is commit <604be85547ce> ("drm/rockchip: Add VOP2 driver") Reviewed-by: Kever Yang Signed-off-by: Jagan Teki --- include/dt-bindings/soc/rockchip,vop2.h | 14 ++ 1 file changed, 14 insertions(+) create mode 100644

[PATCH v4 01/12] rockchip: rk3568: Move DM_RESET in arch kconfig

2023-02-17 Thread Jagan Teki
Like other rockchip SoCs, DM_RESET is useful across rk3568 platform. Select it from arch kconfig. Signed-off-by: Jagan Teki --- arch/arm/mach-rockchip/Kconfig | 1 + configs/evb-rk3568_defconfig | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCHv2 12/13] global: Add a select for ARCH_MISC_INIT where used

2023-02-17 Thread Tom Rini
On Fri, Feb 17, 2023 at 02:33:28PM +0100, Marek Vasut wrote: > On 2/17/23 13:50, Tom Rini wrote: > > When we have an arch_misc_init function, we can select it to ensure it's > > used. > > > > In that there is a functional change here, it's that on i.MX6 it's > > always been possible to populate

[PATCH v4 09/12] arm64: dts: rk356x-u-boot: Drop combphy1 assigned-clocks/rates

2023-02-17 Thread Jagan Teki
From: Jagan Teki combphy1 is failing to probe due to unhandled assigned-clocks and assigned-clocks-rates. => usb start starting USB... Bus usb@fd00: Failed to get PHY1 for usb@fd00 Port not available. Bus usb@fd80: USB EHCI 1.00 There is no real requirement for them in U-Boot to

[PATCH v4 05/12] board: rockchip: Add Radxa Compute Module 3 IO Board

2023-02-17 Thread Jagan Teki
Radxa Compute Module 3(CM3) IO board an application board from Radxa and is compatible with Raspberry Pi CM4 IO form factor. Radxa CM3 needs to mount on top of this IO board in order to create complete Radxa CM3 IO board platform. Add support for Radxa CM3 IO Board defconfig and -u-boot.dtsi

[PATCH v4 03/12] arm64: dts: rockchip: rk3566: Add Radxa Compute Module 3

2023-02-17 Thread Jagan Teki
Radxa Compute Module 3(CM3) is one of the modules from a series System On Module based on the Radxa ROCK 3 series and is compatible with Raspberry Pi CM4 pinout and form factor. Specification: - Rockchip RK3566 - up to 8GB LPDDR4 - up to 128GB high performance eMMC - Optional wireless LAN, 2.4GHz

[PATCH v4 07/12] phy: rockchip-inno-usb2: Add USB2 PHY for rk3568

2023-02-17 Thread Jagan Teki
From: Manoj Sai RK3568 has two USB 2.0 PHYs, and each PHY has two ports, the OTG port of PHY0 support OTG mode with charging detection function, they are similar to previous Rockchip SoCs. However, there are three different designs for RK3568 USB 2.0 PHY. 1. RK3568 uses independent USB GRF

[PATCHv2 12/13] global: Add a select for ARCH_MISC_INIT where used

2023-02-17 Thread Tom Rini
When we have an arch_misc_init function, we can select it to ensure it's used. In that there is a functional change here, it's that on i.MX6 it's always been possible to populate "serial#" with something meaningful, but not every platform was taking the hook, and now it is. Signed-off-by: Tom

Re: [PATCH v2 3/5] usb: xhci-mtk: modify the SOF/ITP interval for mt8195

2023-02-17 Thread Marek Vasut
On 2/17/23 10:04, Chunfeng Yun wrote: There are 4 USB controllers on MT8195, the controllers (IP1~IP3, exclude IP0) have a wrong default SOF/ITP interval which is calculated from the frame counter clock 24Mhz by default, but in fact, the frame counter clock is 48Mhz, so we shall set the accurate

Re: [PATCH v3 9/9] video console: add 12x22 console simple font test

2023-02-17 Thread Dzmitry Sankouski
How does CONSOLE_TRUETYPE interfere with CONFIG_VIDEO_FONT_SUN12X22? I've got all video tests passed: make sandbox_defconfig && make -j4 && ./u-boot -T -c 'ut dm' (...) Test: dm_test_video_ansi: video.c Test: dm_test_video_base: video.c Test: dm_test_video_base: video.c (flat tree) Test:

Re: [PATCH v2 1/1] spl: allow loading via partition type GUID

2023-02-17 Thread Mark Kettenis
> Date: Fri, 17 Feb 2023 07:55:58 +0100 > From: Heinrich Schuchardt > > > I'm not sure, but at some point this is all going to get out of hand. > > Already we have these options: > > > > common/spl/Kconfig:config SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR > > common/spl/Kconfig:config

sunxi A33 MIPI DSI LCD support

2023-02-17 Thread Mateusz Ferenc
Hello, I have a PC tablet based on Allwinner A33 CPU and have LCD connected to MIPI DSI interface. I searched a lot, including U-Boot sources, but unfortunately I didn't find any way to use it with mainline U-Boot. I extracted fex file from Android partition of this tablet and there are data

Re: [RFC PATCH v3] doc: arch: Add document for RISC-V architecture

2023-02-17 Thread Heinrich Schuchardt
On 2/14/23 11:18, Yu Chien Peter Lin wrote: This patch adds a brief introduction to the RISC-V architecture and the typical boot process used on a variety of RISC-V platforms. Signed-off-by: Yu Chien Peter Lin Reviewed-by: Samuel Holland Reviewed-by: Simon Glass Reviewed-by: Rick Chen ---

Re: [PATCH] binman: Avoid requiring a home directory on startup

2023-02-17 Thread Quentin Schulz
Hi all, On 2/17/23 03:55, Simon Glass wrote: Hi Tom, On Thu, 16 Feb 2023 at 17:19, Tom Rini wrote: On Thu, Feb 16, 2023 at 05:12:33PM -0700, Simon Glass wrote: Hi Tom, On Tue, 14 Feb 2023 at 13:27, Tom Rini wrote: On Tue, Feb 14, 2023 at 03:12:46PM -0500, Mike Frysinger wrote: On Tue,

Re: [PATCHv2 12/13] global: Add a select for ARCH_MISC_INIT where used

2023-02-17 Thread Marek Vasut
On 2/17/23 13:50, Tom Rini wrote: When we have an arch_misc_init function, we can select it to ensure it's used. In that there is a functional change here, it's that on i.MX6 it's always been possible to populate "serial#" with something meaningful, but not every platform was taking the hook,

[PATCH v2] binman: bintool: Add support for tool directories

2023-02-17 Thread Neha Malcom Francis
Currently, bintool supports external compilable tools as single executable files. Adding support for git repos that can be used to run non-compilable scripting tools that cannot otherwise be present in binman. Signed-off-by: Neha Malcom Francis --- Changes in v2: - added parameter to

[PATCH v4 10/12] rockchip: rk3568: add rk3568 pinctrl driver

2023-02-17 Thread Jagan Teki
From: Jagan Teki Add driver supporting pin multiplexing on rk3568 platform. Co-developed-by: Manoj Sai Signed-off-by: Manoj Sai Co-developed-by: Jianqun Xu Signed-off-by: Jianqun Xu Signed-off-by: Jagan Teki --- drivers/pinctrl/rockchip/Makefile | 1 +

Re: [PATCHv2 12/13] global: Add a select for ARCH_MISC_INIT where used

2023-02-17 Thread Marek Vasut
On 2/17/23 15:00, Tom Rini wrote: On Fri, Feb 17, 2023 at 02:33:28PM +0100, Marek Vasut wrote: On 2/17/23 13:50, Tom Rini wrote: When we have an arch_misc_init function, we can select it to ensure it's used. In that there is a functional change here, it's that on i.MX6 it's always been

Re: [PATCH v2 1/1] spl: allow loading via partition type GUID

2023-02-17 Thread Heinrich Schuchardt
On 2/17/23 11:34, Mark Kettenis wrote: Date: Fri, 17 Feb 2023 07:55:58 +0100 From: Heinrich Schuchardt I'm not sure, but at some point this is all going to get out of hand. Already we have these options: common/spl/Kconfig:config SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR common/spl/Kconfig:config

[PATCH v4 08/12] drivers: phy: add naneng combphy for rk3568

2023-02-17 Thread Jagan Teki
From: Jagan Teki RK3568 has three combo phys, and PCIe/USB3/SATA/QSGMII controllers share one pipe interface for each combo phy, here is the diagram of the complex connection. ++ || +--+ | USB3 OTG CTRL0 |>| | || | |

[PATCH v4 04/12] arm64: dts: rockchip: rk3566: Add Radxa Compute Module 3 IO

2023-02-17 Thread Jagan Teki
Radxa Compute Module 3(CM3) IO board an application board from Radxa and is compatible with Raspberry Pi CM4 IO form factor. Specification: - 1x HDMI, - 2x MIPI DSI - 2x MIPI CSI2 - 1x eDP - 1x PCIe card - 2x SATA - 2x USB 2.0 Host - 1x USB 3.0 - 1x USB 2.0 OTG - Phone jack - microSD slot -

[PATCH v4 06/12] phy: rockchip: inno-usb2: Add support #address_cells = 2

2023-02-17 Thread Jagan Teki
New Rockchip devices have the usb phy nodes as standalone devices. These nodes have register nodes with #address_cells = 2, but only use 32 bit addresses. Adjust the driver to check if the returned address is "0", and adjust the index in that case. Derived and adjusted the similar change from

Re: [PATCH 10/13] verdin-imx8mm: Remove unused SPL_BOARD_INIT

2023-02-17 Thread Marcel Ziswiler
Hi Tom On Thu, 2023-02-16 at 13:37 +0100, Marcel Ziswiler wrote: > On Wed, 2023-02-15 at 22:36 -0500, Tom Rini wrote: > > On this platform SPL_BOARD_INIT is used to call arch_misc_init which is > > in turn empty, drop the call. > > > > Cc: Marcel Ziswiler > > Signed-off-by: Tom Rini > >

Re: [ANN] U-Boot v2023.04-rc2 released

2023-02-17 Thread Tom Rini
On Thu, Feb 16, 2023 at 11:03:01AM +0100, Michal Simek wrote: > Hi Tom, > > On 2/14/23 00:39, Tom Rini wrote: > > Hey all, > > > > It's the scheduled day for -rc2, and I've waited until the end of my > > day, to give the most time for more PRs to come in. Between -rc1 and now > > I've gone over

Re: [PATCH v2 1/1] spl: allow loading via partition type GUID

2023-02-17 Thread Tom Rini
On Fri, Feb 17, 2023 at 12:06:40PM +0100, Heinrich Schuchardt wrote: > On 2/17/23 11:34, Mark Kettenis wrote: > > > Date: Fri, 17 Feb 2023 07:55:58 +0100 > > > From: Heinrich Schuchardt > > > > > > > I'm not sure, but at some point this is all going to get out of hand. > > > > Already we have

Re: [PATCH v3] bootstd: Replicate the dtb-filename quirks of distroboot

2023-02-17 Thread Tom Rini
On Sun, Feb 05, 2023 at 01:24:38PM -0700, Simon Glass wrote: > For EFI, the distro boot scripts search in three different directories > for the .dtb file. The SOC-based filename fallback is supported only for > 32-bit ARM. > > Adjust the code to mirror this behaviour. > > Also some boards can

Re: [PATCH v4 00/16] General Tegra improvements

2023-02-17 Thread Svyatoslav Ryhel
I was able to git am it on top of u-boot/master without any errors clamor@xeon:/media/clamor/work/u-boot$ git am bundle-23303-Svyatoslav-16-v4.mbox Застосування: tegra30: clock: add EXTPERIPH Застосування: ARM: t20/t30: swap host1x and disp1 clock parents Застосування: ARM: tegra: clock: add

Re: [PATCH 10/13] verdin-imx8mm: Remove unused SPL_BOARD_INIT

2023-02-17 Thread Tom Rini
On Fri, Feb 17, 2023 at 05:14:11PM +0100, Francesco Dolcini wrote: > On Fri, Feb 17, 2023 at 09:03:07AM -0500, Tom Rini wrote: > > On Fri, Feb 17, 2023 at 01:18:34PM +, Marcel Ziswiler wrote: > > > Hi Tom > > > > > > On Thu, 2023-02-16 at 13:37 +0100, Marcel Ziswiler wrote: > > > > On Wed,

Re: [PATCH v2] efi_loader: Measure the loaded DTB

2023-02-17 Thread Ilias Apalodimas
Hi Etienne On Thu, Feb 16, 2023 at 05:29:48PM +0100, Etienne Carriere wrote: > Measures the DTB passed to the EFI application upon new boolean config > switch CONFIG_EFI_TCG2_PROTOCOL_MEASURE_DTB. For platforms where the > content of the DTB passed to the OS can change across reboots, there is >

Re: [PATCH] rockchip: dts: rk3328: fix sdram params

2023-02-17 Thread Jagan Teki
On Sat, Feb 11, 2023 at 12:00 AM Jonas Karlman wrote: > > The rk3328 sdram driver read sdram parameters from the devicetree into a > struct rk3328_sdram_params using dev_read_u32_array. > > After commit 5ab30c3176bf ("ram: rockchip: Update ddr pctl regs for px30") > changed the size of struct

Re: [PATCH] rockchip: dts: rk3328: fix sdram params

2023-02-17 Thread Tom Rini
On Fri, Feb 17, 2023 at 11:39:35PM +0530, Jagan Teki wrote: > Hi Kever and Tom, > > On Sat, Feb 11, 2023 at 12:00 AM Jonas Karlman wrote: > > > > The rk3328 sdram driver read sdram parameters from the devicetree into a > > struct rk3328_sdram_params using dev_read_u32_array. > > > > After commit

Re: [PULL] u-boot-riscv/master

2023-02-17 Thread Tom Rini
On Fri, Feb 17, 2023 at 12:12:18PM +, Leo Liang wrote: > Hi Tom, > > The following changes since commit faac9dee8e0629326dc122f4624fc4897e3f38b0: > > Prepare v2023.04-rc2 (2023-02-13 18:39:15 -0500) > > are available in the Git repository at: > >

Re: [PATCHv2 12/13] global: Add a select for ARCH_MISC_INIT where used

2023-02-17 Thread Tom Rini
On Fri, Feb 17, 2023 at 03:40:28PM +0100, Marek Vasut wrote: > On 2/17/23 15:00, Tom Rini wrote: > > On Fri, Feb 17, 2023 at 02:33:28PM +0100, Marek Vasut wrote: > > > On 2/17/23 13:50, Tom Rini wrote: > > > > When we have an arch_misc_init function, we can select it to ensure it's > > > > used. >

Re: [PATCH 10/13] verdin-imx8mm: Remove unused SPL_BOARD_INIT

2023-02-17 Thread Francesco Dolcini
On Fri, Feb 17, 2023 at 09:03:07AM -0500, Tom Rini wrote: > On Fri, Feb 17, 2023 at 01:18:34PM +, Marcel Ziswiler wrote: > > Hi Tom > > > > On Thu, 2023-02-16 at 13:37 +0100, Marcel Ziswiler wrote: > > > On Wed, 2023-02-15 at 22:36 -0500, Tom Rini wrote: > > > > On this platform

Re: [PATCH v4 00/16] General Tegra improvements

2023-02-17 Thread Svyatoslav Ryhel
No problem, it is nice that the second attempt passed smoothly. Thank you! Best regards, Svyatoslav R. P. S. I am a bit hesitant about DC related patch set I wanted to send next. I would like to include a T30 DSI driver into it but it seems to be partially broken. May I write to you directly

Re: [PATCH] rockchip: dts: rk3328: fix sdram params

2023-02-17 Thread Jagan Teki
Hi Kever and Tom, On Sat, Feb 11, 2023 at 12:00 AM Jonas Karlman wrote: > > The rk3328 sdram driver read sdram parameters from the devicetree into a > struct rk3328_sdram_params using dev_read_u32_array. > > After commit 5ab30c3176bf ("ram: rockchip: Update ddr pctl regs for px30") > changed the

RE: [PATCH v4 00/16] General Tegra improvements

2023-02-17 Thread Tom Warren
OK, now it's working fine on top of u-boot-tegra/master, and rebasing that result against u-boot/master TOT is fine, too. Sorry - don't know what I did wrong before. I'll run buildman on it and then get a PR out to TomR if it all looks good. Thanks! -Original Message- From: Tom Warren

[PATCH v4 0/1] vidconsole: refactoring and support for wider fonts

2023-02-17 Thread Dzmitry Sankouski
In version 4, only first patch sent, because review fixes to this would add large rebase & patch formatting overhead. When it'll receive reviewed tag, I'll resent entire rebased series. Modern mobile phones typically have high pixel density. Bootmenu is hardly readable on those with 8x16 font.

[PATCH v4 1/1] video console: refactoring and optimization

2023-02-17 Thread Dzmitry Sankouski
- move common code to vidconsole_internal.h - unite probe functions - get rid of code duplications in switch across bpp values - extract common pixel fill logic in two functions one per horizontal and vertical filling - rearrange statements in put_xy* methods in unified way - replace types -

RE: [PATCH v4 00/16] General Tegra improvements

2023-02-17 Thread Tom Warren
OK, let me retry on u-boot-tegra/master. -Original Message- From: Svyatoslav Ryhel Sent: Friday, February 17, 2023 9:07 AM To: Tom Warren Cc: u-boot@lists.denx.de Subject: Re: [PATCH v4 00/16] General Tegra improvements External email: Use caution opening links or attachments I was

[PATCH v3 4/5] rockchip: mkimage: Update init size limit

2023-02-17 Thread Jonas Karlman
Sync init size limit from vendor u-boot: px30: 12KiB (+2KiB) rk3066: 32KiB (+2KiB) rk3328: 30KiB (+2KiB) rk3568: 60KiB (-16KiB) This makes it possible to use latest vendor TPL with RK3328 without getting a size limit error running the mkimage command. Signed-off-by: Jonas Karlman --- v3: -

[PATCH v3 1/5] binman: Add support for a rockchip-tpl entry

2023-02-17 Thread Jonas Karlman
The rockchip-tpl entry can be used when an external TPL binary should be used instead of the normal U-Boot TPL. Signed-off-by: Jonas Karlman Reviewed-by: Simon Glass Reviewed-by: Kever Yang Tested-by: Eugen Hristev --- v3: - Move test function last - Collect r-b and t-b tags v2: - Rename

[PATCH v3 3/5] Revert "board: rockchip: Fix binman_init failure on EVB-RK3568"

2023-02-17 Thread Jonas Karlman
An external TPL binary is now expected to be provided using ROCKCHIP_TPL when building RK3568 targets. This reverts commit 31500e7bcfaca08ab7c2879f502a6cf852410244. Signed-off-by: Jonas Karlman Reviewed-by: Simon Glass Reviewed-by: Kever Yang --- v3: - Collect r-b tag v2: - Collect r-b tag

[PATCH v3 0/5] rockchip: Use external TPL binary to create a working firmware image

2023-02-17 Thread Jonas Karlman
Rockchip SoCs typically use U-Boot TPL to initialize DRAM, then jumps back to BootRom to load next stage, U-Boot SPL, into DRAM. BootRom then jumps to U-Boot SPL to continue the boot flow. For RK356x there is no support to initialize DRAM using U-Boot TPL and instead an external TPL binary must

[PATCH 0/5] binman: Tidy up the location for bintools

2023-02-17 Thread Simon Glass
This series makes the directory used for downloaded bintools configurable and changes the default to something that is unlikely to be unintentionally on the user's path. See [1] for discussion relating to this. [1]

[PATCH] trace: Relax test requirements

2023-02-17 Thread Simon Glass
We expect the profile and bootstage to agree on timing, but when running on slow machines there can be a larger descrepency. Increase the tolerance to fix this. Fixes: 9cea4797aeb ("trace: Add a test") Signed-off-by: Simon Glass --- test/py/tests/test_trace.py | 5 +++-- 1 file changed, 3

[PATCH 5/5] binman: Make the tooldir configurable

2023-02-17 Thread Simon Glass
Add a command-line argument for setting the tooldir, so that the default can be overridden. Add this directory to the toolpath automatically. Create the directory if it does not already exist. Put the default in the argument parser instead of the class, so that it is more obvious. Update a few

[PATCH 3/5] binman: Move the tools directory into the Bintool class

2023-02-17 Thread Simon Glass
We want to be able to change this directory. Use a class member to hold the value, since changing a constant is not good. Signed-off-by: Simon Glass --- tools/binman/bintool.py | 7 --- tools/binman/bintool_test.py | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git

[PATCH 4/5] binman: Use a private directory for bintools

2023-02-17 Thread Simon Glass
At present binman writes tools into the ~/bin directory. This is convenient but some may be concerned about downloading unverified binaries and running them. Place then in a special ~/.binman-tools directory instead. Mention this in the documentation. Signed-off-by: Simon Glass ---

[PATCH 2/5] binman: Update bintools documentation

2023-02-17 Thread Simon Glass
This was not regenerated with recent changes. Update it. Signed-off-by: Simon Glass --- tools/binman/bintools.rst | 70 +++ 1 file changed, 70 insertions(+) diff --git a/tools/binman/bintools.rst b/tools/binman/bintools.rst index edb373ab59b..c30e7eb9ff5

[PATCH 1/5] binman: Correct an 'aot' typo

2023-02-17 Thread Simon Glass
Fix this typo. Signed-off-by: Simon Glass --- tools/binman/bintool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/binman/bintool.py b/tools/binman/bintool.py index 8fda13ff012..e1dff9aa1b5 100644 --- a/tools/binman/bintool.py +++ b/tools/binman/bintool.py @@

[PATCH] sandbox: video: Fix building without SDL

2023-02-17 Thread Simon Glass
This is currently broken. If SDL is not installed, SANDBOX_SDL becomes false and build errors are generated, e.g.: test/dm/video.c:424: undefined reference to `sandbox_sdl_set_bpp' Fix it by making the function return an error in this case. Signed-off-by: Simon Glass ---

Re: [PATCH v3 08/10] phy: socionext: Add UniPhier USB3 PHY driver

2023-02-17 Thread Marek Vasut
On 2/16/23 17:14, Kunihiko Hayashi wrote: Hi Marek, Hello Hayashi-san, Sorry for late reply. On 2023/02/14 6:06, Marek Vasut wrote: On 2/13/23 04:08, Kunihiko Hayashi wrote: Hi Marek, Hello Hayashi-san, [...] I think so, however, when I added .exit() and executed "usb stop;usb

Re: [PATCH v4 1/1] video console: refactoring and optimization

2023-02-17 Thread Simon Glass
Hi Dzmitry, On Fri, 17 Feb 2023 at 08:01, Dzmitry Sankouski wrote: > > - move common code to vidconsole_internal.h > - unite probe functions > - get rid of code duplications in switch across bpp values > - extract common pixel fill logic in two functions one per > horizontal and vertical filling

Re: [PATCH 13/13] common: Make ARCH_MISC_INIT be selected only

2023-02-17 Thread Simon Glass
On Wed, 15 Feb 2023 at 20:39, Tom Rini wrote: > > As platforms which require this hook need this hook enabled, in order to > function, or do not need this hook, it doesn't make sense to prompt the > user. As all platforms that need this hook now select the symbol, remove > the prompt text. > >

Re: [PATCH v2] riscv: binman: Add help message for missing blobs

2023-02-17 Thread Simon Glass
On Fri, 17 Feb 2023 at 03:25, Yu-Chien Peter Lin wrote: > > On Fri, Feb 17, 2023 at 04:57:01PM +0800, Rick Chen wrote: > > Add the 'missing-msg' for more detailed output > > on missing system firmware. > > > > Signed-off-by: Rick Chen > > Reviewed-by: Leo Yu-Chi Liang > > Reviewed-by: Yu Chien

Re: [PATCH] cpsw_mdio.c: Use correct reg in cpsw_mdio_get_alive

2023-02-17 Thread Tom Rini
On Tue, Feb 07, 2023 at 09:25:27AM +0100, Ulf Samuelsson wrote: > cpsw_mdio_get_alive reads the wrong register. > See page 2316 in SPRUH73Q AM335x TRM > > Signed-off-by: Ulf Samuelsson > Cc: Joe Hershberger > Cc: Ramon Fried > Reviewed-by: Siddharth Vadapalli Applied to u-boot/master,

Re: [PATCH v4] common: avb_verify: prevent opening incorrect session

2023-02-17 Thread Tom Rini
On Fri, Jan 27, 2023 at 10:02:14PM +0200, Ivan Khoronzhuk wrote: > The arg->session is not valid if arg->ret != NULL, so can't be > assigned, correct this. > > Signed-off-by: Ivan Khoronzhuk > Reviewed-by: Jens Wiklander Applied to u-boot/master, thanks! -- Tom signature.asc Description:

[PATCH v3 5/5] rockchip: evb-rk3568: Update defconfig

2023-02-17 Thread Jonas Karlman
Update defconfig for evb-rk3568 with new defaults. Remove the SPL_ROCKCHIP_BACK_TO_BROM=y option, SPL is expected to load next stage from a FIT image and then jump to next stage not back to BootRom. Add CONFIG_SPL_FIT_SIGNATURE=y to let SPL verify an auto generated hash of FIT images. This help

[PATCH v3 2/5] rockchip: Use an external TPL binary on RK3568

2023-02-17 Thread Jonas Karlman
Rockchip SoCs typically use U-Boot TPL to initialize DRAM, then jumps back to BootRom to load next stage, U-Boot SPL, into DRAM. BootRom then jumps to U-Boot SPL to continue the normal boot flow. However, there is no support to initialize DRAM on RK35xx SoCs using U-Boot TPL and instead an

Re: [PATCH 1/3] binman: add sign option for binman

2023-02-17 Thread Simon Glass
HI Ivan, On Tue, 14 Feb 2023 at 13:38, Ivan Mikhaylov wrote: > > On Sat, 2023-02-04 at 15:23 -0700, Simon Glass wrote: > > Hi Ivan, > > > > On Sun, 15 Jan 2023 at 16:54, Ivan Mikhaylov > > wrote: > > > > > > On Fri, 2023-01-13 at 11:00 -0700, Simon Glass wrote: > > > > Hi Ivan, > > > > > > > >

Re: [PATCH v3 9/9] video console: add 12x22 console simple font test

2023-02-17 Thread Simon Glass
Hi Dzmitry, On Fri, 17 Feb 2023 at 07:13, Dzmitry Sankouski wrote: > > How does CONSOLE_TRUETYPE interfere with CONFIG_VIDEO_FONT_SUN12X22? > I don't mean that. I tried resyncing the sandbox defconfig, and found that the defconfig additions in this patch went away, meaning they are not used.

Re: [PATCH] binman: Avoid requiring a home directory on startup

2023-02-17 Thread Simon Glass
Hi Quentin, On Fri, 17 Feb 2023 at 05:21, Quentin Schulz wrote: > > Hi all, > > On 2/17/23 03:55, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 16 Feb 2023 at 17:19, Tom Rini wrote: > >> > >> On Thu, Feb 16, 2023 at 05:12:33PM -0700, Simon Glass wrote: > >>> Hi Tom, > >>> > >>> On Tue, 14 Feb

Re: [PATCH 01/13] common/Kconfig: Reword text for BOARD_TYPES

2023-02-17 Thread Simon Glass
On Wed, 15 Feb 2023 at 20:37, Tom Rini wrote: > > While it is true that for some Samsung platforms, we call > get_board_type() the main usage of this CONFIG switch is to enable > board_types in global data, which is then used by various platforms. > > Signed-off-by: Tom Rini > --- >

[PATCH 2/2] cmd: introduce 'write' command

2023-02-17 Thread Rasmus Villemoes
It's almost no extra code to hook up a buddy to the 'read' command. In fact, since the command is passed its own 'struct cmd_tbl', we can use the exact same callback, and let it figure out for itself whether it was invoked as "read" or "write". Signed-off-by: Rasmus Villemoes --- cmd/Kconfig |

[PATCH 1/2] cmd: read: use part_get_info_by_dev_and_name_or_num() instead of open-coded dev_part parsing

2023-02-17 Thread Rasmus Villemoes
Use the helper part_get_info_by_dev_and_name_or_num() for parsing a dev[:part] string and obtaining the partition info in one go, instead of open-coding all that. As a bonus, this will automatically allow using the dev#partname syntax as well, for accessing raw partitions by name. Signed-off-by:

[PATCH 0/2] improve 'read' command, add 'write' command

2023-02-17 Thread Rasmus Villemoes
The first patch simplies do_read somewhat by making use of an existing helper instead of parsing the dev_part string manually. As a bonus (and my actual motivation), it now understands dev#partname syntax - hard-coded partition numbers are so last decade. I also need the symmetrical operation,

Re: [PATCH v3 4/5] rockchip: mkimage: Update init size limit

2023-02-17 Thread Johan Jonker
Hi Jonas, On 2/17/23 21:52, Jonas Karlman wrote: > Sync init size limit from vendor u-boot: This sync might not be correct. Please recheck with each SoC or limit your change to the rk3328 SoC if prove fails. Could Kever disclose SoC details here? Johan > > px30: 12KiB (+2KiB) > rk3066:

Re: [PATCH 4/5] binman: Use a private directory for bintools

2023-02-17 Thread Tom Rini
On Fri, Feb 17, 2023 at 04:19:22PM -0700, Simon Glass wrote: > At present binman writes tools into the ~/bin directory. This is > convenient but some may be concerned about downloading unverified > binaries and running them. Place then in a special ~/.binman-tools > directory instead. > >

[PULL] u-boot-riscv/master

2023-02-17 Thread Leo Liang
Hi Tom, The following changes since commit faac9dee8e0629326dc122f4624fc4897e3f38b0: Prepare v2023.04-rc2 (2023-02-13 18:39:15 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-riscv.git for you to fetch changes up to

Re: [PATCH 04/13] arm: rk3368: Select ARCH_EARLY_INIT_R when used

2023-02-17 Thread Quentin Schulz
Hi Tom, On 2/16/23 04:36, Tom Rini wrote: On the lion and evb-px5 platforms, we need this function, so select it. Cc: Andy Yan Cc: Quentin Schulz Reviewed-by: Quentin Schulz Thanks, Quentin

Re: [PATCH 10/13] verdin-imx8mm: Remove unused SPL_BOARD_INIT

2023-02-17 Thread Tom Rini
On Fri, Feb 17, 2023 at 01:18:34PM +, Marcel Ziswiler wrote: > Hi Tom > > On Thu, 2023-02-16 at 13:37 +0100, Marcel Ziswiler wrote: > > On Wed, 2023-02-15 at 22:36 -0500, Tom Rini wrote: > > > On this platform SPL_BOARD_INIT is used to call arch_misc_init which is > > > in turn empty, drop

Re: [PATCH] riscv: binman: Add help message for missing blobs

2023-02-17 Thread Rick Chen
Hi Leo > On Thu, Feb 16, 2023 at 09:19:45AM +0800, Rick Chen wrote: > > Add the 'missing-msg' for more detailed output > > on missing system firmware. > > > > Signed-off-by: Rick Chen > > --- > > arch/riscv/dts/binman.dtsi | 1 + > > tools/binman/missing-blob-help | 4 > > 2 files

Re: [PATCH] arm: mvebu: Use 4K sector for Thecus N2350 SPI flash

2023-02-17 Thread Stefan Roese
On 2/17/23 04:34, Tony Dinh wrote: Since the SPI flash chip mx25l3205d on this board has 4K-sector capability, enable it for the envs. Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese Thanks, Stefan --- configs/n2350_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v4 00/16] General Tegra improvements

2023-02-17 Thread Svyatoslav Ryhel
You have NOT applied patch 13 ARM: tegra: expose crypto module for all Tegra SoCs or applied it after patch 14 which brakes order. PTAL. вт, 14 лют. 2023 р. о 23:45 Tom Warren пише: > > > > Svyatoslav, > > Taking TOT u-boot-tegra/master, and fast-forwarding to TOT u-boot/master, I > then try

Re: [PATCH v3 06/11] mtd: nand: raw: rockchip_nfc: use dev_read_addr_ptr

2023-02-17 Thread Michael Nazzareno Trimarchi
On Thu, Feb 16, 2023 at 6:59 PM Johan Jonker wrote: > > The fdt_addr_t and phys_addr_t size have been decoupled. > A 32bit CPU can expext 64-bit data from the device tree parser, > so use dev_read_addr_ptr in the rockchip_nfc.c file. > > Signed-off-by: Johan Jonker > --- >

[PATCH v2] riscv: binman: Add help message for missing blobs

2023-02-17 Thread Rick Chen
Add the 'missing-msg' for more detailed output on missing system firmware. Signed-off-by: Rick Chen Reviewed-by: Leo Yu-Chi Liang --- Changes in v2 - Add more descriptions about fw_dynamic.bin --- arch/riscv/dts/binman.dtsi | 1 + tools/binman/missing-blob-help | 6 ++ 2 files

[PATCH v2 3/5] usb: xhci-mtk: modify the SOF/ITP interval for mt8195

2023-02-17 Thread Chunfeng Yun
There are 4 USB controllers on MT8195, the controllers (IP1~IP3, exclude IP0) have a wrong default SOF/ITP interval which is calculated from the frame counter clock 24Mhz by default, but in fact, the frame counter clock is 48Mhz, so we shall set the accurate interval according to 48Mhz for those

[PATCH v2 2/5] phy: phy-mtk-tphy: add support mt8195

2023-02-17 Thread Chunfeng Yun
The T-PHY controller is designed to use use PLL integer mode, but in fact use fractional mode for some ones on mt8195 by mistake, this causes signal degradation (e.g. eye diagram test fail), fix it by switching PLL to 26Mhz from default 48Mhz to improve signal quality. Signed-off-by: Chunfeng Yun

[PATCH v2 4/5] dt-bindings: phy-mtk-tphy: add support mt8195

2023-02-17 Thread Chunfeng Yun
Add a new compatible for mt8195 to add a workaround for hardware issue. Signed-off-by: Chunfeng Yun --- v2: no change --- doc/device-tree-bindings/phy/phy-mtk-tphy.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/device-tree-bindings/phy/phy-mtk-tphy.txt

[PATCH v2 5/5] dt-bindings: usb: mtk-xhci: add support mt8195

2023-02-17 Thread Chunfeng Yun
Add a new compatible for mt8195 to add a workaround for hardware issue. Signed-off-by: Chunfeng Yun --- v2: no change --- doc/device-tree-bindings/usb/mediatek,mtk-xhci.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/device-tree-bindings/usb/mediatek,mtk-xhci.txt

[PATCH v2 1/5] phy: phy-mtk-tphy: remove macros to prepare bitfield value

2023-02-17 Thread Chunfeng Yun
Prefer to make use of FIELD_PREP() macro to prepare bitfield value, then no need local macros anymore. Signed-off-by: Chunfeng Yun --- v2: new patch --- drivers/phy/phy-mtk-tphy.c | 122 ++--- 1 file changed, 47 insertions(+), 75 deletions(-) diff --git