Re: [PATCH v1] wdt: nuvoton: add expire function for generic reset

2022-09-14 Thread Jim Liu
Hi Stefan Roese Thanks for the quick reply. sorry for the topic naming. my mean is i add a npcm_wdt_expire_now function to support sysreset . Best regards, Jim On Thu, Sep 15, 2022 at 1:02 PM Stefan Roese wrote: > > Hi Jim, > > On 15.09.22 04:35, Jim Liu wrote: > > Hi Stefan Roese > > > >

Re: [PATCH V2] Kconfig: enlarge CONFIG_SYS_MALLOC_F_LEN

2022-09-14 Thread Heiko Thiery
Hi, Am Do., 15. Sept. 2022 um 02:53 Uhr schrieb Peng Fan (OSS) : > > From: Peng Fan > > "alloc space exhausted" happens in very early stage, which could be seen > with DEBUG_UART options enabled and leeds to an non-functional board. > > kontron_pitx_imx8m: > CONFIG_DEBUG_UART_BASE=0x3088 #

Re: [PATCH v1] wdt: nuvoton: add expire function for generic reset

2022-09-14 Thread Stefan Roese
Hi Jim, On 15.09.22 04:35, Jim Liu wrote: Hi Stefan Roese Thanks for your review. Here is my log from uboot master. And i add the debug log as below: --- U-Boot 2022.10-rc4-00038-ge3fce5e560-dirty (Sep 15 2022 - 09:58:25 +0800) CPU: NPCM750 A1 @

Re: [PATCH v6 0/8] Add support for cyclic function execution infrastruture

2022-09-14 Thread Stefan Roese
Hi Simon, On 14.09.22 19:09, Simon Glass wrote: Hi Stefan, On Wed, 14 Sept 2022 at 09:19, Stefan Roese wrote: On 14.09.22 16:47, Tom Rini wrote: On Wed, Sep 14, 2022 at 04:29:36PM +0200, Stefan Roese wrote: On 14.09.22 14:58, Tom Rini wrote: On Fri, 2 Sep 2022 13:57:46 +0200, Stefan

Re: [PATCHv5] drivers: tee: i2c: support the NXP SE05x probe errata

2022-09-14 Thread Jorge Ramirez-Ortiz, Foundries
On 14/09/22, Tom Rini wrote: > On Tue, Aug 30, 2022 at 09:56:45PM +0200, Jorge Ramirez-Ortiz wrote: > > > Early instantiation of this I2C device would lock up when being > > probed. > > > > https://www.nxp.com/docs/en/errata/SE050_Erratasheet.pdf > > 3.2.2 > >In scenarios of detecting I2C

Re: [PATCH v1] wdt: nuvoton: add expire function for generic reset

2022-09-14 Thread Jim Liu
Hi Stefan Roese Thanks for your review. Here is my log from uboot master. And i add the debug log as below: --- U-Boot 2022.10-rc4-00038-ge3fce5e560-dirty (Sep 15 2022 - 09:58:25 +0800) CPU: NPCM750 A1 @ Model: Nuvoton npcm750 Development Board

Re: [PATCH v4 0/4] net: Enable NC-SI support

2022-09-14 Thread Joel Stanley
On Tue, 23 Aug 2022 at 04:54, Joel Stanley wrote: > > On Mon, 8 Aug 2022 at 12:16, Joel Stanley wrote: > > > > Back in 2019 Sam submitted NC-SI support. The NC-SI PHY driver was > > merged (patches 1 and 2), but we never got around to merging patches 3 > > and 4: > > > >

[PATCH V2] Kconfig: enlarge CONFIG_SYS_MALLOC_F_LEN

2022-09-14 Thread Peng Fan (OSS)
From: Peng Fan "alloc space exhausted" happens in very early stage, which could be seen with DEBUG_UART options enabled and leeds to an non-functional board. kontron_pitx_imx8m: CONFIG_DEBUG_UART_BASE=0x3088 # for serial3 CONFIG_DEBUG_UART_CLOCK=2400 imx8mqevk:

Re: [PATCH] imx8mq_evk: enlarge SYS_MALLOC_F_LEN

2022-09-14 Thread Peng Fan
On 9/14/2022 7:51 PM, Heiko Thiery wrote: Hi, Am Mi., 14. Sept. 2022 um 13:34 Uhr schrieb Fabio Estevam : On Wed, Sep 14, 2022 at 1:12 AM Heiko Thiery wrote: When changing these values on the kontron_pitx_imx8m_defconfig this board also works again. Maybe it could be a good idea to

Re: [PATCH] image: Ensure image header name is null terminated

2022-09-14 Thread Simon Glass
Hi, On Wed, 14 Sept 2022 at 16:11, Tom Rini wrote: > > On Tue, Aug 23, 2022 at 03:59:07PM +1000, Joel Stanley wrote: > > > When building with GCC 12: > > > > ../include/image.h:779:9: warning: ‘strncpy’ specified bound 32 equals > > destination size [-Wstringop-truncation] > > 779 |

Re: [PATCH 1/4] Makefile: Add a Python-based CONFIG checker

2022-09-14 Thread Simon Glass
Hi Tom, On Wed, 14 Sept 2022 at 12:47, Tom Rini wrote: > > On Mon, Aug 29, 2022 at 07:57:04AM -0600, Simon Glass wrote: > > The existing shell script is a bit ugly. It was picked up by > > Chromium OS and then rewritten in Python, adding unit tests. Bring this > > new version into U-Boot. > > >

Re: [PATCH] image: Ensure image header name is null terminated

2022-09-14 Thread Tom Rini
On Tue, Aug 23, 2022 at 03:59:07PM +1000, Joel Stanley wrote: > When building with GCC 12: > > ../include/image.h:779:9: warning: ‘strncpy’ specified bound 32 equals > destination size [-Wstringop-truncation] > 779 | strncpy(image_get_name(hdr), name, IH_NMLEN); > |

Re: [PATCHv5] drivers: tee: i2c: support the NXP SE05x probe errata

2022-09-14 Thread Tom Rini
On Tue, Aug 30, 2022 at 09:56:45PM +0200, Jorge Ramirez-Ortiz wrote: > Early instantiation of this I2C device would lock up when being > probed. > > https://www.nxp.com/docs/en/errata/SE050_Erratasheet.pdf > 3.2.2 >In scenarios of detecting I2C ICs on the bus using an empty >I2C frame

[PATCH] usb: Kconfig: Fix typo in SPL_DM_USB text

2022-09-14 Thread Fabio Estevam
From: Fabio Estevam There is an extra "most" word in the SPL_DM_USB text that makes it confusing. Remove it. Signed-off-by: Fabio Estevam --- drivers/usb/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig index

Re: Pull request for efi next

2022-09-14 Thread Tom Rini
On Wed, Sep 14, 2022 at 06:20:12PM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > please, pull into the next branch. > > The following changes since commit c2238fcf0c4567bbd581882e5952047e71406f58: > > Merge branch '2022-09-13-add-aspeed-spi-controller' into next > (2022-09-13 15:55:33

[PATCH 1/2] image-pre-load: Move macros/definitions to image.h

2022-09-14 Thread Steven Lawrance
Putting these definitions in a header will allow signatures to be validated independently of bootm. Signed-off-by: Steven Lawrance --- boot/image-pre-load.c | 43 --- include/image.h | 43 +++

[PATCH 2/2] boot: image-pre-load: Check environment for location of signature info

2022-09-14 Thread Steven Lawrance
Setting an alternative signature info node in "pre_load_sig_info_path" allows verification of an image using the bootm pre-load mechanism with a different key, e.g.: setenv pre_load_sig_info_path "/alt/sig" ; bootm preload [addr] Signed-off-by: Steven Lawrance --- boot/image-pre-load.c | 7

Re: [PATCH v2 1/4] common/board_f: remove XTRN_DECLARE_GLOBAL_DATA_PTR dead code

2022-09-14 Thread Tom Rini
On Tue, Sep 13, 2022 at 09:31:26PM +0300, Ovidiu Panait wrote: > The XTRN_DECLARE_GLOBAL_DATA_PTR declarations in ppc code are permanently > commented out, so there are no users for this macro: > #if 1 >#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r2") > #else /* We

Re: [PATCH 1/4] Makefile: Add a Python-based CONFIG checker

2022-09-14 Thread Tom Rini
On Mon, Aug 29, 2022 at 07:57:04AM -0600, Simon Glass wrote: > The existing shell script is a bit ugly. It was picked up by > Chromium OS and then rewritten in Python, adding unit tests. Bring this > new version into U-Boot. > > Signed-off-by: Simon Glass > --- > > scripts/kconfig_check.py

Re: [PATCH] board_f: show_dram_config: Print also real DRAM size

2022-09-14 Thread Simon Glass
Hi Pali, On Wed, 14 Sept 2022 at 11:32, Pali Rohár wrote: > > On Wednesday 14 September 2022 11:10:20 Simon Glass wrote: > > LTO take away most//all of the cost of making a static function global. > > This is not solution as LTO does not work on powerpc and as I figured > today, it is broken

Re: [PATCH] board_f: show_dram_config: Print also real DRAM size

2022-09-14 Thread Pali Rohár
On Wednesday 14 September 2022 11:10:20 Simon Glass wrote: > LTO take away most//all of the cost of making a static function global. This is not solution as LTO does not work on powerpc and as I figured today, it is broken also on some 32-bit ARM platforms (e.g. mvebu).

Re: [PATCH] gpio: uclass: Introduce gpio-hog-optional property

2022-09-14 Thread Simon Glass
Hi, On Wed, 14 Sept 2022 at 08:31, Nate Drude wrote: > > Hi All, > > On 9/14/22 9:16 AM, Tom Rini wrote: > > On Wed, Sep 14, 2022 at 08:59:52AM -0500, Nate Drude wrote: > >> Hi Simon, > >> > >> On 9/14/22 7:49 AM, Simon Glass wrote: > >>> Hi Nate, > >>> > >>> On Mon, 12 Sept 2022 at 14:57, Nate

Re: [PATCH 1/1] doc: improve description of autostart

2022-09-14 Thread Simon Glass
On Tue, 13 Sept 2022 at 01:00, Heinrich Schuchardt wrote: > > Complete the list of commands influenced by the autostart environment > variable. > > Make it clearer what values qualifies at 'yes'. > > Eventually the list of environment variables to be alphabetically sorted. > Move autostart up. >

Re: [PATCH 8/8] image: Drop some other #ifdefs in image-board.c

2022-09-14 Thread Simon Glass
Hi Heinrich, On Wed, 14 Sept 2022 at 10:22, Heinrich Schuchardt wrote: > > On 8/28/22 20:32, Simon Glass wrote: > > Remove all but a few that are difficult, relying on legacy CONFIG options > > or optional global_data fields. > > > > Drop the duplicate function name in the comment for

Re: [PATCH v2 22/24] blk: Drop if_type

2022-09-14 Thread Simon Glass
Hi Heinrich, On Tue, 13 Sept 2022 at 10:27, Heinrich Schuchardt wrote: > > On 8/12/22 03:35, Simon Glass wrote: > > Use the uclass ID instead. > > > > Signed-off-by: Simon Glass > > --- > > > > (no changes since v1) > > > > cmd/blk_common.c | 2 +- > > drivers/block/blk-uclass.c |

Re: [PATCH v2 09/24] blk: Rename HAVE_BLOCK_DEVICE

2022-09-14 Thread Simon Glass
Hi Heinrich, On Wed, 14 Sept 2022 at 01:40, Heinrich Schuchardt wrote: > > On 9/14/22 03:42, AKASHI Takahiro wrote: > > On Thu, Aug 11, 2022 at 07:34:48PM -0600, Simon Glass wrote: > >> This option is fact really related to SPL. For U-Boot proper we always use > >> driver model for block

Re: [PATCH v2] display_options: print_size: Fix order overflow

2022-09-14 Thread Simon Glass
On Mon, 12 Sept 2022 at 13:03, Pali Rohár wrote: > > Function print_size() round size to the nearst value with one decimal > fraction number. But in special cases also unit order may overflow. > > For example value 1073689396 is printed as "1024 MiB" and value 1073741824 > as "1 GiB". > > Fix

Re: [PATCH] board_f: show_dram_config: Print also real DRAM size

2022-09-14 Thread Simon Glass
Hi Pali, On Mon, 12 Sept 2022 at 15:58, Sean Anderson wrote: > > > > On 9/12/22 2:56 PM, Pali Rohár wrote: > > On Monday 12 September 2022 07:34:47 Simon Glass wrote: > >> Hi Pali, > >> > >> On Sun, 11 Sept 2022 at 03:39, Pali Rohár wrote: > >> > > >> > 32-bit U-Boot builds cannot use more than

Re: [PATCH v2 1/4] common/board_f: remove XTRN_DECLARE_GLOBAL_DATA_PTR dead code

2022-09-14 Thread Simon Glass
On Tue, 13 Sept 2022 at 12:31, Ovidiu Panait wrote: > > The XTRN_DECLARE_GLOBAL_DATA_PTR declarations in ppc code are permanently > commented out, so there are no users for this macro: > #if 1 >#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r2") > #else /* We could use

Re: [PATCH v6 0/8] Add support for cyclic function execution infrastruture

2022-09-14 Thread Simon Glass
Hi Stefan, On Wed, 14 Sept 2022 at 09:19, Stefan Roese wrote: > > On 14.09.22 16:47, Tom Rini wrote: > > On Wed, Sep 14, 2022 at 04:29:36PM +0200, Stefan Roese wrote: > >> On 14.09.22 14:58, Tom Rini wrote: > >>> On Fri, 2 Sep 2022 13:57:46 +0200, Stefan Roese wrote: > >>> > This patchset

Re: [PATCH v2 24/24] blk: Rename if_type to uclass_id

2022-09-14 Thread Simon Glass
Hi Tom, On Tue, 13 Sept 2022 at 10:03, Tom Rini wrote: > > On Thu, Aug 11, 2022 at 07:35:03PM -0600, Simon Glass wrote: > > > Use the word 'uclass' instead of 'if_type' to complete the conversion. > > > > Signed-off-by: Simon Glass > > --- > > > > Changes in v2: > > - Use conv_uclass_id()

[PATCH] arm: mvebu: Add default SPL_SIZE_LIMIT for 32-bit SoCs

2022-09-14 Thread Pali Rohár
32-bit Marvell Armada BootROMs limit maximal size of SPL image to 192 kB. So define 192 kB (= 0x3) limit as default value for SPL_SIZE_LIMIT. Signed-off-by: Pali Rohár --- common/spl/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/common/spl/Kconfig b/common/spl/Kconfig index

Re: [PATCH 8/8] image: Drop some other #ifdefs in image-board.c

2022-09-14 Thread Heinrich Schuchardt
On 8/28/22 20:32, Simon Glass wrote: Remove all but a few that are difficult, relying on legacy CONFIG options or optional global_data fields. Drop the duplicate function name in the comment for boot_get_cmdline(). Signed-off-by: Simon Glass --- boot/image-board.c | 67

Pull request for efi next

2022-09-14 Thread Heinrich Schuchardt
Dear Tom, please, pull into the next branch. The following changes since commit c2238fcf0c4567bbd581882e5952047e71406f58: Merge branch '2022-09-13-add-aspeed-spi-controller' into next (2022-09-13 15:55:33 -0400) are available in the Git repository at:

[PATCH] board: gateworks: venice: add imx8mm-gw7904 support

2022-09-14 Thread Tim Harvey
The GW7904 is based on the i.MX 8M Mini SoC featuring: - LPDDR4 DRAM - eMMC FLASH - microSD connector with UHS support - LIS2DE12 3-axis accelerometer - Gateworks System Controller - IMX8M FEC - 2x RS232 off-board connectors - PMIC - 10x bi-color LED's - 1x miniPCIe socket with PCIe and

Re: [PATCH 0/8] image: Refactor ramdisk code to avoid #ifdef

2022-09-14 Thread Tom Rini
On Sun, 28 Aug 2022 12:32:45 -0600, Simon Glass wrote: > The previous attempt at this[1] broke a board and was reverted in [2]. > This series adopts a slightly different approach, splitting the changes > into many commits. > > [1] f33a2c1bd0f ("image: Remove #ifdefs from select_ramdisk()") > [2]

Re: [PATCH v6 0/8] Add support for cyclic function execution infrastruture

2022-09-14 Thread Stefan Roese
On 14.09.22 16:47, Tom Rini wrote: On Wed, Sep 14, 2022 at 04:29:36PM +0200, Stefan Roese wrote: On 14.09.22 14:58, Tom Rini wrote: On Fri, 2 Sep 2022 13:57:46 +0200, Stefan Roese wrote: This patchset adds the basic infrastructure to periodically execute code, e.g. all 100ms. Examples for

Re: [PATCH v6 0/8] Add support for cyclic function execution infrastruture

2022-09-14 Thread Tom Rini
On Wed, Sep 14, 2022 at 04:29:36PM +0200, Stefan Roese wrote: > On 14.09.22 14:58, Tom Rini wrote: > > On Fri, 2 Sep 2022 13:57:46 +0200, Stefan Roese wrote: > > > > > This patchset adds the basic infrastructure to periodically execute > > > code, e.g. all 100ms. Examples for such functions might

Re: [PATCH] gpio: uclass: Introduce gpio-hog-optional property

2022-09-14 Thread Nate Drude
Hi All, On 9/14/22 9:16 AM, Tom Rini wrote: On Wed, Sep 14, 2022 at 08:59:52AM -0500, Nate Drude wrote: Hi Simon, On 9/14/22 7:49 AM, Simon Glass wrote: Hi Nate, On Mon, 12 Sept 2022 at 14:57, Nate Drude wrote: Hi Simon and Fabio, On 9/12/22 3:16 PM, Simon Glass wrote: Hi, On Mon, 12

Re: [PATCH v6 0/8] Add support for cyclic function execution infrastruture

2022-09-14 Thread Stefan Roese
On 14.09.22 14:58, Tom Rini wrote: On Fri, 2 Sep 2022 13:57:46 +0200, Stefan Roese wrote: This patchset adds the basic infrastructure to periodically execute code, e.g. all 100ms. Examples for such functions might be LED blinking etc. The functions that are hooked into this cyclic list should

Re: [PATCH 1/2] sunxi: Kconfig: use SoC-wide values for some symbols

2022-09-14 Thread Andre Przywara
On Wed, 14 Sep 2022 10:04:44 -0400 Tom Rini wrote: Hi Tom, > On Wed, Sep 14, 2022 at 12:32:16AM +0100, Andre Przywara wrote: > > > Some configuration symbols formerly defined in header files were > > recently converted to Kconfig symbols. This moved their value definition > > into *every*

Re: [PATCH] gpio: uclass: Introduce gpio-hog-optional property

2022-09-14 Thread Tom Rini
On Wed, Sep 14, 2022 at 08:59:52AM -0500, Nate Drude wrote: > Hi Simon, > > On 9/14/22 7:49 AM, Simon Glass wrote: > > Hi Nate, > > > > On Mon, 12 Sept 2022 at 14:57, Nate Drude wrote: > > > > > > Hi Simon and Fabio, > > > > > > On 9/12/22 3:16 PM, Simon Glass wrote: > > > > Hi, > > > > > >

Re: [PATCH] gpio: uclass: Introduce gpio-hog-optional property

2022-09-14 Thread Fabio Estevam
Hi Nate, On Wed, Sep 14, 2022 at 11:00 AM Nate Drude wrote: > An alternate approach is to modify the default behavior so that > gpio_hog_probe_all will not trigger a fatal error. Do you think this is > better? IMHO that would be better, as we could keep using the same devicetree files from

Re: [PATCH] gpio: uclass: Introduce gpio-hog-optional property

2022-09-14 Thread Nate Drude
Hi Simon, On 9/14/22 7:49 AM, Simon Glass wrote: Hi Nate, On Mon, 12 Sept 2022 at 14:57, Nate Drude wrote: Hi Simon and Fabio, On 9/12/22 3:16 PM, Simon Glass wrote: Hi, On Mon, 12 Sept 2022 at 12:48, Fabio Estevam wrote: Hi Nate and Simon, On Mon, Sep 12, 2022 at 2:55 PM Nate Drude

[PATCH] arm: mvebu: turris_omnia: Add CONFIG_BOARD_SIZE_LIMIT

2022-09-14 Thread Pali Rohár
Maximal size of u-boot kwb image binary is $CONFIG_ENV_OFFSET which is 0xF = 983040 bytes. So add missing CONFIG_BOARD_SIZE_LIMIT definition to ensure that u-boot binary does not overflow to the u-boot env storage. Signed-off-by: Pali Rohár --- configs/turris_omnia_defconfig | 2 ++ 1 file

[PATCH] Makefile: Add missing CONFIG_BOARD_SIZE_LIMIT check for u-boot-spl.kwb

2022-09-14 Thread Pali Rohár
Currently CONFIG_BOARD_SIZE_LIMIT check is ignored for u-boot-spl.kwb target. Fix it by adding missing $(BOARD_SIZE_CHECK) macro. Signed-off-by: Pali Rohár --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 65aca6e3e79b..3818107b2cbb 100644 --- a/Makefile

Re: [PATCH v6 0/8] Add support for cyclic function execution infrastruture

2022-09-14 Thread Tom Rini
On Fri, 2 Sep 2022 13:57:46 +0200, Stefan Roese wrote: > This patchset adds the basic infrastructure to periodically execute > code, e.g. all 100ms. Examples for such functions might be LED blinking > etc. The functions that are hooked into this cyclic list should be > small timewise as otherwise

Re: [PATCH v2] binman: Get futility by building it

2022-09-14 Thread Simon Glass
Hi Quentin, On Tue, 13 Sept 2022 at 02:55, Quentin Schulz wrote: > > Hi Simon, > > On 9/12/22 15:35, Simon Glass wrote: > > A binary download is not great, since it depends on libraries being > > present in the system. Build futility from source instead. > > > > Note that this requires two

Re: [PATCH] gpio: uclass: Introduce gpio-hog-optional property

2022-09-14 Thread Simon Glass
Hi Nate, On Mon, 12 Sept 2022 at 14:57, Nate Drude wrote: > > Hi Simon and Fabio, > > On 9/12/22 3:16 PM, Simon Glass wrote: > > Hi, > > > > On Mon, 12 Sept 2022 at 12:48, Fabio Estevam wrote: > >> > >> Hi Nate and Simon, > >> > >> On Mon, Sep 12, 2022 at 2:55 PM Nate Drude wrote: > >>> > >>>

Re: [PATCH] imx8mq_evk: enlarge SYS_MALLOC_F_LEN

2022-09-14 Thread Heiko Thiery
Hi, Am Mi., 14. Sept. 2022 um 13:34 Uhr schrieb Fabio Estevam : > > On Wed, Sep 14, 2022 at 1:12 AM Heiko Thiery wrote: > > > When changing these values on the kontron_pitx_imx8m_defconfig this > > board also works again. > > Maybe it could be a good idea to change these values for all imx8mq

[PATCH] armv8: cache_v8: Fix pgtables setup when MMU is already enabled

2022-09-14 Thread Pali Rohár
When MMU is already enabled then dcache_enable() does not call mmu_setup() and so setup_all_pgtables() is also never called. In this situation when some driver calls mmu_set_region_dcache_behaviour() function then U-Boot crashes with error message: Emergency page table not setup. Fix this

Re: [PATCH] imx8mq_evk: enlarge SYS_MALLOC_F_LEN

2022-09-14 Thread Fabio Estevam
On Wed, Sep 14, 2022 at 1:12 AM Heiko Thiery wrote: > When changing these values on the kontron_pitx_imx8m_defconfig this > board also works again. > Maybe it could be a good idea to change these values for all imx8mq boards. Yes, agreed. It would be great if someone could align these values

Re: [PATCH] kontron_pitx_imx8m: enlarge SYS_MALLOC_F_LEN

2022-09-14 Thread Fabio Estevam
Hi Heiko, On Wed, Sep 14, 2022 at 5:02 AM Heiko Thiery wrote: > > There is "alloc space exhausted" that can be seen with DEBUG_UART > options enabled and leeds to an non-functional board. > > CONFIG_DEBUG_UART_BASE=0x3088 # for serial3 > CONFIG_DEBUG_UART_CLOCK=2400 > > It is because

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

2022-09-14 Thread Sughosh Ganu
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 --- Changes since V2: None

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

2022-09-14 Thread Sughosh Ganu
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: Sughosh Ganu --- Changes since V2: * Add a

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

2022-09-14 Thread Sughosh Ganu
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 --- Changes since V2: * Use rockchip in the commit message

[PATCH v3 0/3] rockpi4: Add capsule update support

2022-09-14 Thread Sughosh Ganu
Add capsule update support for the RockPi4B and RockPi4C boards. Support is being added for updating the idbloader.img and u-boot.itb firmware images on configurations with the firmware images stored on GPT partitioned uSD card device. Changes since V2: * Use rockchip in the commit message

RE: [PATCH 07/12] rockchip: puma-rk3399: load environment from same medium as one used to load U-Boot proper

2022-09-14 Thread patrick.delaunay
Hi, ST Restricted > -Original Message- > From: U-Boot On Behalf Of Quentin Schulz > Sent: mardi 6 septembre 2022 11:23 > To: Kever Yang ; Quentin Schulz > > Cc: s...@chromium.org; philipp.toms...@vrull.eu; klaus.goger@theobroma- > systems.com; knaerz...@gmail.com; u-boot@lists.denx.de

Re: [PATCH v2 22/24] blk: Drop if_type

2022-09-14 Thread AKASHI Takahiro
On Wed, Sep 14, 2022 at 09:45:47AM +0200, Heinrich Schuchardt wrote: > On 9/14/22 04:08, AKASHI Takahiro wrote: > > On Tue, Sep 13, 2022 at 06:27:37PM +0200, Heinrich Schuchardt wrote: > > > On 8/12/22 03:35, Simon Glass wrote: > > > > Use the uclass ID instead. > > > > > > > > Signed-off-by:

[PATCH] kontron_pitx_imx8m: enlarge SYS_MALLOC_F_LEN

2022-09-14 Thread Heiko Thiery
There is "alloc space exhausted" that can be seen with DEBUG_UART options enabled and leeds to an non-functional board. CONFIG_DEBUG_UART_BASE=0x3088 # for serial3 CONFIG_DEBUG_UART_CLOCK=2400 It is because CONFIG_SYS_MALLOC_F_LEN is too small, enlarge it. And set CONFIG_SPL_STACK to

Re: [PATCH v2 22/24] blk: Drop if_type

2022-09-14 Thread Heinrich Schuchardt
On 9/14/22 04:08, AKASHI Takahiro wrote: On Tue, Sep 13, 2022 at 06:27:37PM +0200, Heinrich Schuchardt wrote: On 8/12/22 03:35, Simon Glass wrote: Use the uclass ID instead. Signed-off-by: Simon Glass --- (no changes since v1) cmd/blk_common.c | 2 +-

Re: [PATCH v2 09/24] blk: Rename HAVE_BLOCK_DEVICE

2022-09-14 Thread Heinrich Schuchardt
On 9/14/22 03:42, AKASHI Takahiro wrote: On Thu, Aug 11, 2022 at 07:34:48PM -0600, Simon Glass wrote: This option is fact really related to SPL. For U-Boot proper we always use driver model for block devices, so CONFIG_BLK is enabled if block devices are in use. It is only for SPL that we have

Re: [PATCH] imx8mq_evk: enlarge SYS_MALLOC_F_LEN

2022-09-14 Thread Heiko Thiery
Hi, Am Mi., 14. Sept. 2022 um 06:12 Uhr schrieb Heiko Thiery : > > Hi, > > Am Mi., 14. Sept. 2022 um 03:38 Uhr schrieb Peng Fan (OSS) > : > > > > From: Peng Fan > > > > There is "alloc space exhausted" with DEBUG_UART enabled with the > > options enabled. I don't think the explanation is right.

Re: [PATCH v2 1/3] efi_loader: Add SPI I/O protocol support

2022-09-14 Thread Heinrich Schuchardt
On 9/12/22 18:14, Paul Barker wrote: Hi Heinrich, I'm sending a ping on this as there were a few questions in my response to your feedback and I'd like to move this forward. I've highlighted the key items with further comments below. On 25/08/2022 11:58, Paul Barker wrote: Hi Henrich, Many

Re: [PATCH v1] wdt: nuvoton: add expire function for generic reset

2022-09-14 Thread Stefan Roese
On 13.09.22 08:19, Jim Liu wrote: Add expire_now function for generic sysreset request Signed-off-by: Jim Liu --- drivers/watchdog/npcm_wdt.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/watchdog/npcm_wdt.c b/drivers/watchdog/npcm_wdt.c index 256020f5d3..e56aa0ebe1

Re: [PATCH u-boot-marvell] arm: mvebu: turris_omnia: Fix setting switch CONFIG pins on new board design

2022-09-14 Thread Stefan Roese
On 13.09.22 18:10, Marek Behún wrote: It seems that waiting only 10 ms after releasing LAN switch from reset is not enough for the strapping pins to latch the requested values. P6_MODE[0] is latched to 0 instead of 1. Increasing the delay to 50 ms fixes this issue. Signed-off-by: Marek Behún