Re: [PATCH 4/4] ARM: dts: imx8m: imx8mm-mx8menlo: Enable SPL SDP support

2022-09-24 Thread Adam Ford
On Sat, Sep 24, 2022 at 4:47 PM Marek Vasut wrote: > > On 9/24/22 21:10, Adam Ford wrote: > > Hi, > > [...] > > > I am using the Mainline with the aarch64 gcc from Ubuntu 22.04. I am > > over by ~1100 bytes with LTO enabled, but I'm going through my SPL > > drivers to see what I can either remove

Re: [PATCH 4/4] ARM: dts: imx8m: imx8mm-mx8menlo: Enable SPL SDP support

2022-09-24 Thread Marek Vasut
On 9/24/22 21:10, Adam Ford wrote: Hi, [...] I am using the Mainline with the aarch64 gcc from Ubuntu 22.04. I am over by ~1100 bytes with LTO enabled, but I'm going through my SPL drivers to see what I can either remove or reduce functionality. Try $ aarch64...readelf -s spl/u-boot-spl |

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

2022-09-24 Thread Michal Suchánek
Hello, On Sat, Sep 17, 2022 at 07:04:25PM +0200, Michal Suchánek wrote: > Hello, > > On Sat, Sep 17, 2022 at 09:02:53AM -0600, Simon Glass wrote: > > Hi Michal, > > > > On Wed, 31 Aug 2022 at 11:44, Simon Glass wrote: > > > > > > Hi Michal, > > > > > > On Wed, 31 Aug 2022 at 01:39, Michal Suchá

Re: [PATCH 4/4] ARM: dts: imx8m: imx8mm-mx8menlo: Enable SPL SDP support

2022-09-24 Thread Michael Nazzareno Trimarchi
Hi Il sab 24 set 2022, 21:10 Adam Ford ha scritto: > On Sat, Sep 24, 2022 at 2:00 PM Michael Nazzareno Trimarchi > wrote: > > > > > > > > Il sab 24 set 2022, 20:54 Adam Ford ha scritto: > >> > >> On Sat, Sep 24, 2022 at 1:52 PM Michael Nazzareno Trimarchi > >> wrote: > >> > > >> > On Sat, Sep

Re: [PATCH 4/4] ARM: dts: imx8m: imx8mm-mx8menlo: Enable SPL SDP support

2022-09-24 Thread Adam Ford
On Sat, Sep 24, 2022 at 2:00 PM Michael Nazzareno Trimarchi wrote: > > > > Il sab 24 set 2022, 20:54 Adam Ford ha scritto: >> >> On Sat, Sep 24, 2022 at 1:52 PM Michael Nazzareno Trimarchi >> wrote: >> > >> > On Sat, Sep 24, 2022 at 8:38 PM Adam Ford wrote: >> > > >> > > On Mon, Sep 19, 2022 at

Re: [PATCH 4/4] ARM: dts: imx8m: imx8mm-mx8menlo: Enable SPL SDP support

2022-09-24 Thread Michael Nazzareno Trimarchi
Il sab 24 set 2022, 20:54 Adam Ford ha scritto: > On Sat, Sep 24, 2022 at 1:52 PM Michael Nazzareno Trimarchi > wrote: > > > > On Sat, Sep 24, 2022 at 8:38 PM Adam Ford wrote: > > > > > > On Mon, Sep 19, 2022 at 5:02 PM Fabio Estevam > wrote: > > > > > > > > Hi Marek, > > > > > > > > On 19/09/

Re: [PATCH 4/4] ARM: dts: imx8m: imx8mm-mx8menlo: Enable SPL SDP support

2022-09-24 Thread Adam Ford
On Sat, Sep 24, 2022 at 1:52 PM Michael Nazzareno Trimarchi wrote: > > On Sat, Sep 24, 2022 at 8:38 PM Adam Ford wrote: > > > > On Mon, Sep 19, 2022 at 5:02 PM Fabio Estevam wrote: > > > > > > Hi Marek, > > > > > > On 19/09/2022 16:41, Marek Vasut wrote: > > > > Enable DM USB, DM PHY and USB gad

Re: [PATCH 4/4] ARM: dts: imx8m: imx8mm-mx8menlo: Enable SPL SDP support

2022-09-24 Thread Michael Nazzareno Trimarchi
On Sat, Sep 24, 2022 at 8:38 PM Adam Ford wrote: > > On Mon, Sep 19, 2022 at 5:02 PM Fabio Estevam wrote: > > > > Hi Marek, > > > > On 19/09/2022 16:41, Marek Vasut wrote: > > > Enable DM USB, DM PHY and USB gadget support in imx8mm-mx8menlo SPL > > > to let the board continue SDP loading of seco

Re: [PATCH 4/4] ARM: dts: imx8m: imx8mm-mx8menlo: Enable SPL SDP support

2022-09-24 Thread Adam Ford
On Mon, Sep 19, 2022 at 5:02 PM Fabio Estevam wrote: > > Hi Marek, > > On 19/09/2022 16:41, Marek Vasut wrote: > > Enable DM USB, DM PHY and USB gadget support in imx8mm-mx8menlo SPL > > to let the board continue SDP loading of second stage after the first > > stage was loaded by BootROM SDP imple

Re: [PATCH] gpio: turris_omnia_mcu: Fix registering gpios

2022-09-24 Thread Pali Rohár
On Thursday 22 September 2022 16:49:32 Stefan Roese wrote: > On 22.09.22 13:25, Pali Rohár wrote: > > Currently all GPIOs supported by CMD_EXT_CONTROL/CMD_GET_EXT_CONTROL_STATUS > > commands (last 16 GPIOs) are available only when FEAT_PERIPH_MCU feature > > bit is set. So do not register these GPI

Re: [PATCH v3 1/6] sandbox: Add function os_flush()

2022-09-24 Thread Tom Rini
On Mon, Sep 05, 2022 at 11:31:16AM +0200, Pali Rohár wrote: > It flushes stdout. > > Signed-off-by: Pali Rohár > Reviewed-by: Simon Glass For the series, and with 4/6 fixed-up as suggested, applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/1] efi_selftest: prefix test functions with efi_st_

2022-09-24 Thread Tom Rini
On Thu, Sep 22, 2022 at 03:26:43PM +0200, Heinrich Schuchardt wrote: > An upcoming patch set creates a global function flush(). To make debugging > easier we should not use the same name for a static function. > > Rename static functions in the LoadImage() unit test adding an efi_st_ > prefix. >

Re: [PATCH v2 1/2] usb: hub: allow to increase HUB_DEBOUNCE_TIMEOUT

2022-09-24 Thread Marek Vasut
On 9/12/22 15:37, Patrick DELAUNAY wrote: Hi, Hi, On 9/9/22 14:24, Marek Vasut wrote: On 9/9/22 11:45, Patrick Delaunay wrote: Add a new CONFIG_USB_HUB_DEBOUNCE_TIMEOUT to increase the HUB_DEBOUNCE_TIMEOUT value, for example to 2s because some usb device needs around 1.5s or more to make th

Re: [PATCH] cmd: fdt: Add support for reading stringlist property values

2022-09-24 Thread Simon Glass
Hi Marek, On Fri, 23 Sept 2022 at 09:17, Marek Vasut wrote: > > On 9/21/22 11:50, Simon Glass wrote: > > On 7/17/22 10:12, Simon Glass wrote: > >> Hi Marek, > > > > Hi, > > > > [...] > > > >> Applied to u-boot-dm, thanks! > > > > This patch is still not in u-boot/master ? > > > > Applied to u-boo

Re: [PATCH v3 0/6] console: Implement flush() function

2022-09-24 Thread Simon Glass
Hi, On Fri, 23 Sept 2022 at 10:19, Tom Rini wrote: > > On Fri, Sep 23, 2022 at 06:07:03PM +0200, Pali Rohár wrote: > > On Friday 23 September 2022 11:57:30 Tom Rini wrote: > > > On Fri, Sep 23, 2022 at 05:45:07PM +0200, Pali Rohár wrote: > > > > On Thursday 22 September 2022 17:06:31 Heinrich Sch

Re: [PATCH] rtc: Add fallbacks for dm functions

2022-09-24 Thread Simon Glass
On Fri, 23 Sept 2022 at 12:30, Sean Anderson wrote: > > This adds fallbacks for the various dm_rtc_* functions. This allows > common code to use these functions without ifdefs. > > Fixes: c8ce7ba87d1 ("misc: Add support for nvmem cells") > Signed-off-by: Sean Anderson > --- > > include/rtc.h | 3

Re: [PATCH] configs: rockchip: Drop TPL_MAX_SIZE definition

2022-09-24 Thread Tom Rini
On Sat, Sep 24, 2022 at 03:36:24PM +0200, Michael Trimarchi wrote: > The max size is defined at architectural level. On the same commit > I have checked mostly all the other architecture and look like they are > > Fixes: commit ca8a329a1b7f ("Convert CONFIG_SPL_PAD_TO et al to Kconfig") > Signed-

[PATCH] configs: rockchip: Drop TPL_MAX_SIZE definition

2022-09-24 Thread Michael Trimarchi
The max size is defined at architectural level. On the same commit I have checked mostly all the other architecture and look like they are Fixes: commit ca8a329a1b7f ("Convert CONFIG_SPL_PAD_TO et al to Kconfig") Signed-off-by: Michael Trimarchi --- configs/evb-px30_defconfig

Re: [PATCH v3 3/3] rockpi4: capsule: Enable UEFI capsule update on RockPi4 boards

2022-09-24 Thread Kever Yang
On 2022/9/14 18:09, Sughosh Ganu wrote: Enable the UEFI capsule update functionality on the RockPi4B and RockPi4C boards. Support is being enabled for updating the idbloader and u-boot firmware images residing on GPT partitioned uSD card storage device. Signed-off-by: Sughosh Ganu Reviewed-b

Re: [PATCH v3 2/3] rockpi4: board: Add firmware image information for capsule updates

2022-09-24 Thread Kever Yang
On 2022/9/14 18:09, Sughosh Ganu wrote: Add information that will be needed for enabling the UEFI capsule update feature on the RockPi4 boards. With the feature enabled, it would be possible to update the idbloader and u-boot.itb images on the RockPi4B and RockPi4C variants. Signed-off-by: Sug

Re: [PATCH v3 1/3] rockchip: capsule: Add functions for supporting capsule updates

2022-09-24 Thread Kever Yang
On 2022/9/14 18:09, Sughosh Ganu wrote: Add functions needed to support the UEFI capsule update feature on rockchip boards. Currently, the feature is being enabled on the RockPi4 boards with firmware images residing on GPT partitioned storage media. Signed-off-by: Sughosh Ganu Reviewed-by: K

Re: [PATCH v3 1/5] rockchip: rk3128-cru: sync the clock dt-binding header from Linux

2022-09-24 Thread Kever Yang
On 2022/9/10 04:18, Johan Jonker wrote: In order to update the DT for rk3128 sync the clock dt-binding header. This is the state as of v6.0 in Linux. Signed-off-by: Johan Jonker Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/dts/rk3128.dtsi | 6 +- drivers/clk/roc

Re: [PATCH] rockchip: enable fdt overlays for ROCK Pi 4 series

2022-09-24 Thread Kever Yang
On 2022/9/10 09:47, FUKAUMI Naoki wrote: add CONFIG_OF_LIBFDT_OVERLAY=y to support fdt overlays. Signed-off-by: FUKAUMI Naoki Reviewed-by: Kever Yang Thanks, - Kever --- configs/rock-pi-4-rk3399_defconfig | 1 + configs/rock-pi-4c-rk3399_defconfig | 1 + 2 files changed, 2 insertions

Re: [PATCH] rockchip: px30: support debug uart on UART0

2022-09-24 Thread Kever Yang
On 2022/9/15 18:12, Quentin Schulz wrote: From: Quentin Schulz UART0 can obviously also be used for debug uart in U-Boot, so let's add its support. Cc: Quentin Schulz Signed-off-by: Quentin Schulz Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/include/asm/arch-rockchip/cru_px30

Re: [PATCH] ram: rockchip: fix typo in KConfig option label

2022-09-24 Thread Kever Yang
On 2022/9/15 18:17, Quentin Schulz wrote: From: Quentin Schulz RAM_PX30_DDR4 is for DDR4 support and not DDR3 so let's fix the typo. Fixes: 2db36c64bd5a ("ram: rockchip: px30: add a config-based ddr selection") Cc: Quentin Schulz Signed-off-by: Quentin Schulz Reviewed-by: Kever Yang Tha

Re: [PATCH 6/7] Input: add `SW_BOOT_ALT`

2022-09-24 Thread Kever Yang
Hi Quentin, On 2022/9/22 20:12, Quentin Schulz wrote: From: Quentin Schulz This event code represents the firmware source to use at boot. Value 0 means using "standard" firmware source, value 1 means using "alternative" firmware source. For example, some hardware has the ability to force the

Re: [PATCH 7/7] rockchip: add support for PX30 Ringneck SoM on Haikou Devkit

2022-09-24 Thread Kever Yang
Hi Quentin,     Does the dts already available on mainline kernel? If yes, please provide the commit number. Thanks, - Kever On 2022/9/22 20:12, Quentin Schulz wrote: From: Quentin Schulz The PX30-µQ7 (Ringneck) is a system-on-module featuring the Rockchip PX30 in a micro Qseven-compatib

Re: [PATCH 5/7] include/dt-bindings: Sync linux-event-codes with Linux kernel

2022-09-24 Thread Kever Yang
On 2022/9/22 20:12, Quentin Schulz wrote: From: Quentin Schulz Sync include/dt-bindings/input/linux-event-codes.h with include/uapi/linux/input-event-codes.h from Linux kernel v6.0-rc6. Cc: Quentin Schulz Signed-off-by: Quentin Schulz Reviewed-by: Kever Yang Thanks, - Kever --- inclu

Re: [PATCH 4/7] arm64: dts: rockchip: sync px30 with linux-next

2022-09-24 Thread Kever Yang
On 2022/9/22 20:12, Quentin Schulz wrote: From: Quentin Schulz Sync the px30 dtsi from linux-next tree, commit 483fed3b5dc8c ("Add linux-next specific files for 20220921"). Cc: Quentin Schulz Signed-off-by: Quentin Schulz Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/dts/px30.

Re: [PATCH 3/7] rockchip: px30: insert u-boot,spl-boot-device into U-Boot device tree

2022-09-24 Thread Kever Yang
On 2022/9/22 20:12, Quentin Schulz wrote: From: Quentin Schulz It is possible to boot U-Boot proper from a different storage medium than the one used by the BOOTROM to load the SPL. This information is stored in the u-boot,spl-boot-device Device Tree property and is accessible from U-Boot pro

Re: [PATCH 2/7] rockchip: px30: list possible SPL boot devices

2022-09-24 Thread Kever Yang
On 2022/9/22 20:12, Quentin Schulz wrote: From: Quentin Schulz BOOTROM sets a bit in a CPU register so that the software can know from where the first stage bootloader was booted. One use case for this is to specify the default loading medium for U-Boot proper to match the one used by the BOO

Re: [PATCH 1/7] rockchip: px30: fix CONFIG_IRAM_BASE

2022-09-24 Thread Kever Yang
On 2022/9/22 20:12, Quentin Schulz wrote: From: Quentin Schulz The IRAM on PX30 (or Int_MEM in datasheet) starts at 0xff0e and not 0xff02 as rightfully stated in the FIXME comment. Let's fix it so that BROM_BOOTSOURCE_ID_ADDR points to the correct address for PX30. Fixes: 46281a76be

Re: [PATCH 06/10] timer: rockchip_timer: Add timer_early functions

2022-09-24 Thread Kever Yang
On 2022/9/21 22:06, Stefan Roese wrote: Currently this timer driver provides timer_get_boot_us() to support the BOOTSTAGE functionality. This patch adds the timer_early functions so that the "normal" timer functions can be used, when CONFIG_TIMER_EARLY is enabled. timer_get_boot_us() will get