R: Pull request: u-boot-rockchip-20230728

2023-07-28 Thread Pegorer Massimo
Hi Kever, > Da: U-Boot Per conto di Jagan Teki > Inviato: venerdì 28 luglio 2023 14:07 > A: Kever Yang > Cc: tr...@konsulko.com; u-boot@lists.denx.de > Oggetto: Re: Pull request: u-boot-rockchip-20230728 > > Hi Kever, > > On Fri, Jul 28, 2023 at 5:04 PM Kever Yang > wrote: > > > > Hi Tom, > >

R: [PATCH 1/4] rockchip: rk3308: fix board_debug_uart_init

2023-07-28 Thread Pegorer Massimo
Hi Kever, > Da: Tom Rini > Inviato: giovedì 27 luglio 2023 03:07 > A: Kever Yang > Cc: Pegorer Massimo ; Simon Glass > ; u-boot@lists.denx.de > Oggetto: Re: [PATCH 1/4] rockchip: rk3308: fix board_debug_uart_init > > On Thu, Jul 27, 2023 at 09:00:52AM +0800, Keve

R: [PATCH 5/7] MAINTAINERS: Fix path typos and similar

2023-07-18 Thread Pegorer Massimo
Hi Tom, > Da: U-Boot Per conto di Tom Rini > Inviato: mercoledì 19 luglio 2023 01:34 > Oggetto: [PATCH 5/7] MAINTAINERS: Fix path typos and similar > > We have a number of cases where the in-tree path of files and where they > presumably were when the first version of a patch were posted differ

[PATCH] configs: rockchip: drop useless DEBUG_UART_SKIP_INIT

2023-07-16 Thread Pegorer Massimo
DEBUG_UART_SKIP_INIT feature is implemented only by s5p (DEBUG_UART_S5P) and pl01x (DEBUG_UART_PL010 or DEBUG_UART_PL011) serial drivers, but all ARCH_ROCKCHIP configs rely on default DEBUG_UART_NS16550. The ns16550 serial driver does not depends on DEBUG_UART_SKIP_INIT, so drop it from rockchip co

[PATCH 4/4] rockchip: rk3308: fix same-as-spl boot order

2023-07-15 Thread Pegorer Massimo
Boot devices defined in rk3308.c and in rk3308.dtsi do not match, causing 'same-as-spl' feature not to work. Update DTS definitions, aligning to Linux kernel DTS and to other Rockchip DTS files, i.e. from dwmmc to mmc. Add rk3308-rock-pi-s.dtb in dtb-y targets for CONFIG_ROCKCHIP_RK3308. Signed-o

[PATCH 3/4] rockchip: rk3308: add support for sdmmc boot

2023-07-15 Thread Pegorer Massimo
Some ROCK Pi S SKU/models are not equipped with SD-NAND (eMMC), therefore SPL needs access to sdmmc: add it to rk3308-u-boot.dtsi with bootph-all property. Signed-off-by: Massimo Pegorer --- arch/arm/dts/rk3308-rock-pi-s-u-boot.dtsi | 2 +- arch/arm/dts/rk3308-u-boot.dtsi | 5 + 2

[PATCH 2/4] rockchip: rk3308: no DEBUG_UART_BOARD_INIT for ROCK Pi S

2023-07-15 Thread Pegorer Massimo
Call to board_debug_uart_init() is useless, as mainline U-Boot can not build TPL for rk3308, and proprietary ddr.bin to be used as TPL is responsible to init debug uart. Moreover current implementation of board_debug_uart_init() is not compatible with ROCK Pi S, as it sets pins for UART2 channel 1

[PATCH 1/4] rockchip: rk3308: fix board_debug_uart_init

2023-07-15 Thread Pegorer Massimo
Definition of function board_debug_uart_init() must be under CONFIG_DEBUG_UART_BOARD_INIT and not under CONFIG_DEBUG_UART, as it was: see debug_uart.h. In this way the debug uart can be used but its board-specific initialization skipped by configuration, if useless. Signed-off-by: Massimo Pegorer

[PATCH 0/4] rockchip: rk3308: improve support for ROCK Pi S

2023-07-15 Thread Pegorer Massimo
Some ROCK Pi S SKU/models are not equipped with SD-NAND (eMMC): add support for SPL to access sdmmc to boot. Also fix debug uart init, which broke sdmmc access due to pimux conflict, and boot devices definitions in DTS causing 'same-as-spl' feature not to work. Massimo Pegorer (4): rockchip: rk3

R: [RFC] rockchip: rk3308: fix "same-as-spl" bug in boot devices order

2023-07-11 Thread Pegorer Massimo
> Da: Peter Robinson > Inviato: lunedì 3 luglio 2023 20:29 > > On Mon, Jul 3, 2023 at 6:59 PM Pegorer Massimo > wrote: > > > > Value "same-as-spl" in uboot,spl-boot-order attribute is not working > > for boards based on rk3308 due to mismatch betwe

[RFC] rockchip: rk3308: fix "same-as-spl" bug in boot devices order

2023-07-03 Thread Pegorer Massimo
Value "same-as-spl" in uboot,spl-boot-order attribute is not working for boards based on rk3308 due to mismatch between definitions in rk3308.c and those in rk3308.dtsi: in the first file boot devices are defined as "/mcc@ff4", while in the DTSI they are "dwmmc@ff4...". Of course it could be f

R: [PATCH v2 1/1] arm64: dts: rockchip: rk3308: Add Radxa ROCK Pi S support

2023-06-26 Thread Pegorer Massimo
Hi, I've tried to build u-boot for Rock Pi S, but without success. With master and 2023.04, too. Could you clarify which is the support provided with this commit? I had a look at doc/board/rockchip/rockchip.rst where Rock Pi S is not listed. Anyway, looking at what is described in doc/README.r

R: Fit Signature booting without public key

2023-05-30 Thread Pegorer Massimo
Hi, > Inviato: venerdì 26 maggio 2023 15:00 > Oggetto: Re: Fit Signature booting without public key > > On Fri, May 26, 2023 at 02:22:38PM +0530, Manorit Chawdhry wrote: > > Hi Tom, > > > > On 10:05-20230525, Tom Rini wrote: > > > On Thu, May 25, 2023 at 11:21:44AM +0530, Manorit Chawdhry wrote:

R: [PATCH] image: fit: Fix not verifying data configuration

2022-12-27 Thread Pegorer Massimo
Hi, > Da: U-Boot Per conto di Sean Anderson > Inviato: venerdì 23 dicembre 2022 00:06 > > On 11/18/22 15:50, Simon Glass wrote: > > Hi Sean, > > > > On Thu, 13 Oct 2022 at 09:41, Sean Anderson > > wrote: > >> > >> > >> > >> On 10/13/22 3:14 AM, Rasmus Villemoes wrote: > >> > On 12/10/2022 18.28

[PATCH] mkimage: fit: Support signed configurations in 'auto' FITs

2022-12-11 Thread Pegorer Massimo
Hi, The patch follows, as per discussion in email thread "Patch proposal - mkimage: fit: Support signed conf 'auto' FITs". Let me know if you prefer something to be changed, or patch to be split in several commits. I have updated the man page with description of the new feature and examples. Als

R: Patch proposal - mkimage: fit: Support signed conf 'auto' FITs

2022-12-09 Thread Pegorer Massimo
Hi Sean, > Da: Sean Anderson > Inviato: lunedì 28 novembre 2022 16:46 > > On 11/22/22 21:09, Simon Glass wrote: > > Hi Pegorer, > > > > On Sat, 19 Nov 2022 at 11:01, Pegorer Massimo > wrote: > >> > >> Commit 87b0af9317cb4105f3f29cb0a4c28c7c

R: Patch proposal - mkimage: fit: Support signed conf 'auto' FITs

2022-12-09 Thread Pegorer Massimo
Hi, > Da: Simon Glass > Inviato: domenica 4 dicembre 2022 22:17 > > ()Hi Sean, > > On Tue, 29 Nov 2022 at 04:45, Sean Anderson > wrote: > > > > On 11/22/22 21:09, Simon Glass wrote: > > > Hi Pegorer, > > > > > > On Sat, 19 Nov 2

R: Patch proposal - mkimage: fit: Support signed conf 'auto' FITs

2022-11-23 Thread Pegorer Massimo
Hi Simon, > Da: Simon Glass > Inviato: mercoledì 23 novembre 2022 03:09 > > Hi Pegorer, > > On Sat, 19 Nov 2022 at 11:01, Pegorer Massimo > wrote: > > > > Commit 87b0af9317cb4105f3f29cb0a4c28c7cd87ea65f added support for > > signing auto-generated (mk

Patch proposal - mkimage: fit: Support signed conf 'auto' FITs

2022-11-19 Thread Pegorer Massimo
Commit 87b0af9317cb4105f3f29cb0a4c28c7cd87ea65f added support for signing auto-generated (mkimage -f auto) FIT. Unfortunately, this signs 'images' subnodes but not 'configurations' ones. Following patch is a proposal to support also 'configurations' signing + 'images' hashing, as an alternative