[PATCH 1/4] firmware: add new driver for SCMI firmwares

2020-07-17 Thread Etienne Carriere
This change introduces SCMI agent driver in U-Boot in the firmware U-class. SCMI agent driver is designed for platforms that embed a SCMI server in a firmware hosted for example by a companion co-processor or the secure world of the executing processor. SCMI protocols allow an SCMI agent to disco

[PATCH 4/4] reset: add reset controller driver for SCMI agents

2020-07-17 Thread Etienne Carriere
This change introduces a reset controller driver for SCMI agent devices. When SCMI agent and SCMI reset domain drivers are enabled, SCMI agent binds a reset controller device for each SCMI reset domain protocol devices enabled in the FDT. SCMI reset driver is embedded upon CONFIG_RESET_SCMI=y. If

[PATCH 3/4] clk: add clock driver for SCMI agents

2020-07-17 Thread Etienne Carriere
This change introduces a clock driver for SCMI agent devices. When SCMI agent and SCMI clock drivers are enabled, SCMI agent binds a clock device for each SCMI clock protocol devices enabled in the FDT. SCMI clock driver is embedded upon CONFIG_CLK_SCMI=y. If enabled, CONFIG_SCMI_AGENT is also ena

[PATCH 1/1] dfu: fix typo parameteres

2020-07-17 Thread Heinrich Schuchardt
%s/parameteres/parameters/g Even if a line exceeds 80 characters we should not split output strings to make debugging easier. Signed-off-by: Heinrich Schuchardt --- common/update.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/update.c b/common/update.c index 5ffa

Re: [PATCH v2 1/4] usb: xhci: Add missing endian conversions (cpu_to_leXX / leXX_to_cpu)

2020-07-17 Thread Stefan Roese
Hi Bin, On 17.07.20 16:14, Bin Meng wrote: Hi Stefan, On Fri, Jul 17, 2020 at 10:04 PM Stefan Roese wrote: While trying to use the U-Boot xHCI driver on the MIPS Octeon platform, which is big endian, I noticed that the driver is missing a few endian conversion calls. This patch adds these mi

[PATCH 1/1] efi_loader: use logging for bootefi command

2020-07-17 Thread Heinrich Schuchardt
Log messages of the bootefi command instead of simply printing them to the console. Do not show "## Application terminated" message when the UEFI binary completed successfully. Signed-off-by: Heinrich Schuchardt --- cmd/bootefi.c | 42 -- 1 file changed,

[PATCH] efi_loader: use logging for block device messages

2020-07-17 Thread Heinrich Schuchardt
Use logging instead of printf() for messages occurring when scanning block devices during the initialization of the UEFI sub-system. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_disk.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/lib/

Re: [PATCH 1/1] clk: ICS8N3QV01 remove superfluous code

2020-07-17 Thread Heinrich Schuchardt
On 2/16/20 9:50 AM, Lukasz Majewski wrote: > On Sat, 15 Feb 2020 21:27:38 +0100 > Heinrich Schuchardt wrote: > >> Do not calculate a unused value of n which is overwritten in both >> branches of the subsequent if statement. >> >> Identified by cppcheck. >> >> Signed-off-by: Heinrich Schuchardt >>

[PATCH 1/2] imx8m: ddrphy_utils: Improve coding style

2020-07-17 Thread Fabio Estevam
Currently checkpatch is not happy about this file: total: 14 errors, 2 warnings, 7 checks, 359 lines checked Improve the coding style so that it can now report: total: 0 errors, 0 warnings, 6 checks, 360 lines checked Reported-by: Tom Rini Signed-off-by: Fabio Estevam --- drivers/ddr/imx/imx

[PATCH 2/2] imx8m: soc: Remove unneeded space

2020-07-17 Thread Fabio Estevam
Checkpatch reports the following issue: ERROR: space prohibited before that ',' (ctx:WxW) #936: FILE: arch/arm/mach-imx/imx8m/soc.c:936: + 0, 0 , 0, 0, 0, 0, &res); Remove the unneeded space. ^ Reported-by: Tom Rini Signed-off-by: Fabio Estevam ---

Re: [GIT PULL] Pull request: u-boot-imx u-boot-imx-20200716

2020-07-17 Thread Fabio Estevam
Hi Tom, On Fri, Jul 17, 2020 at 11:55 AM Tom Rini wrote: > Please note there's a bunch of whitespace errors in > drivers/ddr/imx/imx8m/ddrphy_utils.c, a single one in > arch/arm/mach-imx/imx8m/soc.c and > drivers/pinctrl/nxp/pinctrl-imx*.c has some warnings about using > __section(..) vs __attri

Re: [PATCH 2/2] imx8m: soc: Remove unneeded space

2020-07-17 Thread Tom Rini
On Fri, Jul 17, 2020 at 04:36:54PM -0300, Fabio Estevam wrote: > Checkpatch reports the following issue: > > ERROR: space prohibited before that ',' (ctx:WxW) > #936: FILE: arch/arm/mach-imx/imx8m/soc.c:936: > + 0, 0 , 0, 0, 0, 0, &res); > > Remove the unneeded space. >

Re: [PATCH 1/2] imx8m: ddrphy_utils: Improve coding style

2020-07-17 Thread Tom Rini
On Fri, Jul 17, 2020 at 04:36:53PM -0300, Fabio Estevam wrote: > Currently checkpatch is not happy about this file: > > total: 14 errors, 2 warnings, 7 checks, 359 lines checked > > Improve the coding style so that it can now report: > > total: 0 errors, 0 warnings, 6 checks, 360 lines checked

Re: [PATCH v2] lz4: fix decompressor on big-endian powerpc

2020-07-17 Thread Tom Rini
On Sun, Jun 07, 2020 at 02:29:18PM +0200, Rasmus Villemoes wrote: > Booting an lz4-compressed kernel image fails on our powerpc board with > -EPROTONOSUPPORT. Adding a bit of debug prints, we get > > magic: 0x184d2204 > flags: 0x64 > reserved0: 1 > has_content_checksum: 1 > has_content_

Re: [PATCH] Convert CONFIG_MXC_UART to Kconfig

2020-07-17 Thread Tom Rini
On Tue, Jun 09, 2020 at 10:46:46AM -0400, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_MXC_UART > > Signed-off-by: Tom Rini > Acked-by: Peng Fan Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/1] doc: Coccinelle: move to HTML doc

2020-07-17 Thread Tom Rini
On Fri, Jun 05, 2020 at 05:13:44AM +0200, Heinrich Schuchardt wrote: > Move doc/README.coccinelle to doc/develop/coccinelle.rst using the current > linux-next version of the text. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH 3/4] common: bootm: add checks to verify if ramdisk / fdtimage overlaps OS image

2020-07-17 Thread Tom Rini
On Fri, Jun 12, 2020 at 03:41:20PM +0300, Tero Kristo wrote: > These cases are typically fatal and are difficult to debug for random > users. Add checks for detecting overlapping images and abort if overlap > is detected. > > Signed-off-by: Tero Kristo Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 2/4] image: fdt: bail out with error if no boot time FDT image found

2020-07-17 Thread Tom Rini
On Fri, Jun 12, 2020 at 03:41:19PM +0300, Tero Kristo wrote: > Currently the boot continues if the FDT image is clearly corrupted, > which just causes the loaded OS to hang. Abort boot properly if the FDT > is corrupted. > > Signed-off-by: Tero Kristo Applied to u-boot/master, thanks! -- Tom

Re: [PATCH v2 1/1] spl: fix ext4fs_mount return code handling

2020-07-17 Thread Tom Rini
On Tue, Jun 16, 2020 at 10:03:52PM +0200, Heiko Thiery wrote: > From: Thomas Schaefer > > - Despite other ext4 filesystem functions, ext4fs_mount returns > 0 in case of error. > - This leads to u-boot crash in case that an SD card > with valid partition table but without ext4 filesystem crea

Re: [PATCH 4/4] cmd: booti: convert the debug print about image move to printf

2020-07-17 Thread Tom Rini
On Fri, Jun 12, 2020 at 03:41:21PM +0300, Tero Kristo wrote: > Moving of the OS image may have some nasty side effects like corrupting > DTB. Convert the current debug print to printf so that the relocation of > the OS is always obvious to the user. > > Signed-off-by: Tero Kristo Applied to u-b

Re: [PATCH] Makefile: Silence relocate-rela call

2020-07-17 Thread Tom Rini
On Thu, Jun 25, 2020 at 08:39:45AM +0200, Jan Kiszka wrote: > From: Jan Kiszka > > Signed-off-by: Jan Kiszka Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] Convert CONFIG_ARMV7_PSCI_1_0 and CONFIG_ARMV7_PSCI_0_2 to Kconfig

2020-07-17 Thread Tom Rini
On Wed, Jun 17, 2020 at 06:19:18PM +0200, Patrick Delaunay wrote: > This converts the following to Kconfig: > CONFIG_ARMV7_PSCI_1_0 > CONFIG_ARMV7_PSCI_0_2 > > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] lib: zlib: Remove offset pointer optimization in inftrees.c

2020-07-17 Thread Tom Rini
On Wed, Jun 24, 2020 at 04:31:08PM +0800, Ley Foon Tan wrote: > From: Chin Liang See > > This fixes the CVE-2016-9840. Commit imported from [1]. > > inftrees.c was subtracting an offset from a pointer to an array, > in order to provide a pointer that allowed indexing starting at > the offset. T

Re: [PATCH] arm64: Remove CONFIG_SYS_FULL_VA macro

2020-07-17 Thread Tom Rini
On Thu, Jun 25, 2020 at 09:26:57AM +0200, Michal Simek wrote: > All configurations have been removed in 2016 by commit 7985cdf74b28 > ("arm64: Remove non-full-va map code"). > > Signed-off-by: Michal Simek Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/3] treewide: convert bd_t to struct bd_info manually

2020-07-17 Thread Tom Rini
On Fri, Jun 26, 2020 at 03:13:34PM +0900, Masahiro Yamada wrote: > Some code was not converted by coccinelle, somehow. > > I manually fixed up the remaining, and comments, README docs. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: PG

Re: [PATCH 1/3] treewide: convert bd_t to struct bd_info by coccinelle

2020-07-17 Thread Tom Rini
On Fri, Jun 26, 2020 at 03:13:33PM +0900, Masahiro Yamada wrote: > The Linux coding style guide (Documentation/process/coding-style.rst) > clearly says: > > It's a **mistake** to use typedef for structures and pointers. > > Besides, using typedef for structures is annoying when you try to make

Re: [PATCH 3/3] asm/u-boot.h: remove bd_t definitions

2020-07-17 Thread Tom Rini
On Fri, Jun 26, 2020 at 03:13:35PM +0900, Masahiro Yamada wrote: > All the users of bd_t were converted to struct bd_info. > > Remove the definitions. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] doc: multi-dtb-fit: Remove double underscores

2020-07-17 Thread Tom Rini
On Sun, Jul 05, 2020 at 07:04:50PM -0300, Fabio Estevam wrote: > Remove the incorrect usage of double underscores for the > CONFIG_OF_LIST and CONFIG_SPL_OF_LIST symbols. > > Signed-off-by: Fabio Estevam Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 1/1] fs: error handling in do_load()

2020-07-17 Thread Tom Rini
On Mon, Jun 29, 2020 at 08:08:49PM +0200, Heinrich Schuchardt wrote: > If a file cannot be loaded, show an error message. > Set the EFI boot device only after successfully loading a file. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- T

Re: [PATCH] remove include/config_defaults.h

2020-07-17 Thread Tom Rini
On Tue, Jul 07, 2020 at 10:40:26AM +0200, Rasmus Villemoes wrote: > Since commit 4b0bcfa7c4ec (Kconfig: Migrate CONFIG_BOOTM_* options), > the config_defaults.h file has been void of any actual content - and > these days, "sane defaults for everyone" is achieved by appropriate > default values in

Re: [PATCH 1/1] doc: correct description of crash dumps

2020-07-17 Thread Tom Rini
On Thu, Jul 09, 2020 at 08:12:06AM +0200, Heinrich Schuchardt wrote: > Correct the description of the ESR register. > > Fix a typo. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] fixdep: fix CONFIG_IS_ENABLED etc. handling

2020-07-17 Thread Tom Rini
On Wed, Jul 08, 2020 at 03:45:56PM -0600, Stephen Warren wrote: > From: Stephen Warren > > When fixdep detects CONFIG_IS_ENABLED and other similar macros, it must > parse the macro parameter to determine which actual CONFIG_ option is > being referenced. This involves moving a pointer forward th

Re: [PATCH v2] mkimage: Fix error message if write less data then expected

2020-07-17 Thread Tom Rini
On Wed, Jul 08, 2020 at 11:52:50AM +0200, Mylène Josserand wrote: > Add a new error message in case the size of data written > are shorter than the one expected. > > Currently, it will lead to the following error message: > > "mkimage: Write error on uImage: Success" > > This is not explicit wh

Re: [PATCH] board/km: update MAINTAINERS email

2020-07-17 Thread Tom Rini
On Thu, Jul 09, 2020 at 05:31:23PM +0200, Holger Brunck wrote: > Signed-off-by: Holger Brunck > CC: Valentin Longchamp Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] mtd: mtdpart: use uint64_t instead of int for cur_off

2020-07-17 Thread Tom Rini
On Mon, Jul 13, 2020 at 02:40:02PM +0200, Martin Kaistra wrote: > The types of "offset" and "size" of "struct mtd_partition" are uint64_t, > while mtd_parse_partitions() uses int to work with these values. When > the offset reaches 2GB, it is interpreted as a negative value, which > leads to error

Re: [PATCH v1] include: pci_ids: Add Cavium devices

2020-07-17 Thread Tom Rini
On Fri, Jul 17, 2020 at 08:06:22AM +0200, Stefan Roese wrote: > From: Suneel Garapati > > Add VendorID and DeviceID for supported devices on OcteonTX/TX2 > platforms. > > Signed-off-by: Suneel Garapati > Reviewed-by: Stefan Roese > Cc: Simon Glass > Cc: Daniel Schwierzeck Applied to u-boot

Re: [PATCH] doc: fit: Write hex address as hex instead of int

2020-07-17 Thread Tom Rini
On Wed, Jul 15, 2020 at 03:10:17PM +0200, Michal Simek wrote: > When update_uboot.its is used directly there is syntax error for no reason. > > Error report: > mkimage -f update_uboot.its boot > Error: update_uboot.its:18.12-13 syntax error > FATAL ERROR: Unable to parse input tree > mkimage: Can

Re: [GIT PULL] Pull request: u-boot-imx u-boot-imx-20200716

2020-07-17 Thread Fabio Estevam
Hi Tom, On Fri, Jul 17, 2020 at 11:55 AM Tom Rini wrote: > Please note there's a bunch of whitespace errors in > drivers/ddr/imx/imx8m/ddrphy_utils.c, a single one in > arch/arm/mach-imx/imx8m/soc.c and > drivers/pinctrl/nxp/pinctrl-imx*.c has some warnings about using > __section(..) vs __attri

Re: [GIT PULL] Pull request: u-boot-imx u-boot-imx-20200716

2020-07-17 Thread Tom Rini
On Fri, Jul 17, 2020 at 06:05:57PM -0300, Fabio Estevam wrote: > Hi Tom, > > On Fri, Jul 17, 2020 at 11:55 AM Tom Rini wrote: > > > Please note there's a bunch of whitespace errors in > > drivers/ddr/imx/imx8m/ddrphy_utils.c, a single one in > > arch/arm/mach-imx/imx8m/soc.c and > > drivers/pin

Re: [PATCH 0/9] mmc: fsl_esdhc: support eMMC HS200/HS400 modes

2020-07-17 Thread Jaehoon Chung
On 7/17/20 5:48 PM, Y.b. Lu wrote: > Hi Jaehoon, > > Below is the full log of the performance and function tests for eMMC HS400 > mode. Since I used date to record time, there must be some error more or less. > I tested the r/w performance with 4G data size at 175MHz bus speed. The > results wer

Re: [PATCH] rockchip: rk3328: Add SPI support

2020-07-17 Thread Kever Yang
Hi Johannes,     Do you have plan to update for this patch? Thanks, - Kever On 2020/7/8 下午6:08, Kever Yang wrote: Hi Johannes, The changes look good to me, but you need to split the patch into 3 patches: - rk3328 clock driver; - rkspi driver; - rk3328-u-boot.dtsi BTW: the patch no nee

[PATCH 0/6] stdio: Clean up stdio.c

2020-07-17 Thread Simon Glass
This file is quite old and has some crufty code. This series converts a few things to Kconfig and updates the file. Simon Glass (6): Convert CONFIG_SYS_DEVICE_NULLDEV to Kconfig stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV stdio: Drop #ifdefs in the header file stdio: Update to use com

u-boot@lists.denx.de

2020-07-17 Thread Simon Glass
These brackets are not needed. Drop them. Signed-off-by: Simon Glass --- common/stdio.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/common/stdio.c b/common/stdio.c index 1921dc6719..d67ea60d6c 100644 --- a/common/stdio.c +++ b/common/stdio.c @@ -103,7 +103,7

[PATCH 1/6] Convert CONFIG_SYS_DEVICE_NULLDEV to Kconfig

2020-07-17 Thread Simon Glass
This converts the following to Kconfig: CONFIG_SYS_DEVICE_NULLDEV Signed-off-by: Simon Glass --- common/Kconfig | 16 configs/M5249EVB_defconfig | 3 ++- configs/colibri_pxa270_defconfig | 2 +- doc/README.silent| 2 +- include/conf

[PATCH 3/6] stdio: Drop #ifdefs in the header file

2020-07-17 Thread Simon Glass
These prevent the use of IS_ENABLED() and are unnecessary. Drop them and fix a few code-style nits nearby. Signed-off-by: Simon Glass --- include/stdio_dev.h | 40 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/include/stdio_dev.h b/incl

[PATCH 2/6] stdio: Tidy up use of CONFIG_SYS_DEVICE_NULLDEV

2020-07-17 Thread Simon Glass
Now that this is in Kconfig we can move the logic at the top of the file to Kconfig, and use if() instead of #if. Update the file with these changes. Signed-off-by: Simon Glass --- common/Kconfig | 1 + common/stdio.c | 30 ++ 2 files changed, 11 insertions(+), 20 d

[PATCH 4/6] stdio: Update to use compiler for Kconfig checks

2020-07-17 Thread Simon Glass
Drop use of the preprocessor where possible. Signed-off-by: Simon Glass --- common/stdio.c | 172 - 1 file changed, 83 insertions(+), 89 deletions(-) diff --git a/common/stdio.c b/common/stdio.c index 33a795e7bb..1921dc6719 100644 --- a/common/st

[PATCH 6/6] stdio: Tidy up the coding style

2020-07-17 Thread Simon Glass
Bring the coding style in this file up to the current level. Signed-off-by: Simon Glass --- common/stdio.c | 37 - include/stdio_dev.h | 9 + 2 files changed, 25 insertions(+), 21 deletions(-) diff --git a/common/stdio.c b/common/stdio.c index

Re: [PATCH 1/3] drivers: clk: rockchip: clk_rk3328: Add SPI support

2020-07-17 Thread Kever Yang
On 2020/7/9 上午5:57, Johannes Krottmayer wrote: Add SPI support for the RK3328 clock driver Signed-off-by: Johannes Krottmayer Cc: Kever Yang Cc: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever --- drivers/clk/rockchip/clk_rk3328.c | 31 +++ 1 file change

Re: [PATCH 2/3] drivers: spi: rk_spi: Add support for RK3328

2020-07-17 Thread Kever Yang
On 2020/7/9 上午5:57, Johannes Krottmayer wrote: Add support for the RK3328 SPI controller Signed-off-by: Johannes Krottmayer Cc: Kever Yang Cc: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever --- I don't know if "rk3399_spi_params" is also required for the RK3328 SPI controller. Probi

Re: [PATCH 3/3] ARM: dts: rk3328: Add SPI support

2020-07-17 Thread Kever Yang
On 2020/7/9 上午5:57, Johannes Krottmayer wrote: Add U-Boot SPI support for the RK3328 Signed-off-by: Johannes Krottmayer Cc: Kever Yang Cc: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/dts/rk3328-u-boot.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/ar

Re: [PATCH 1/2] ARM: dts: rk3328-rock64: Add SPI Flash support

2020-07-17 Thread Kever Yang
On 2020/7/9 上午6:50, Johannes Krottmayer wrote: Add U-Boot SPI Flash support for the PINE64 Rock64 board Signed-off-by: Johannes Krottmayer Cc: Matwey V. Kornilov Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/dts/rk3328-rock64-u-boot.dtsi | 6 ++ 1 file changed, 6 insertions(

Re: [PATCH 2/2] configs: rock64-rk3328_defconfig: Add SPI Flash support

2020-07-17 Thread Kever Yang
On 2020/7/9 上午6:50, Johannes Krottmayer wrote: Add U-Boot SPI Flash support for the PINE64 Rock64 board Signed-off-by: Johannes Krottmayer Cc: Matwey V. Kornilov Reviewed-by: Kever Yang Thanks, - Kever --- configs/rock64-rk3328_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --

Re: [PATCH] rockchip: sdram: fix dram_init_banksize

2020-07-17 Thread Kever Yang
Hi Alex, Tanks for your fix. On 2020/7/15 上午7:03, Alex Bee wrote: Currently 2.5 GB is calculated as DRAM size for a 1 GB RK322x board if CONFIG_SPL_OPTEE is set. This is troublesome when booting a linux kernel since this size will be injected in FDT of the kernel. gd->bd->bi_dram[0].start (whi

Re: [PATCH v2 1/2] rockchip: Add SoC detection helper

2020-07-17 Thread Kever Yang
On 2020/7/8 下午6:29, Jagan Teki wrote: On Wed, Jul 8, 2020 at 3:43 PM Kever Yang wrote: Hi Jagan, This is all for rk3288, please just put it into rk3288.c instead of make a new cpu.h. Yes, I have used cpu.h since rk3308 also has revision, if not to consider than I will move to rk3288

[PATCH v2 0/3] Add support for multiple required keys

2020-07-17 Thread Thirupathaiah Annapureddy
This patch series adds the support for multiple required keys in U-Boot DTB with test support. Changes in v2 (thanks for the feedback Simon and Rasmus): - Introduce a policy variable in U-boot DTB to control whether any or all required keys must have signed configuration. - Added tests to cover an

[PATCH v2 1/3] vboot: add DTB policy for supporting multiple required conf keys

2020-07-17 Thread Thirupathaiah Annapureddy
Currently FIT image must be signed by all required conf keys. This means Verified Boot fails if there is a signature verification failure using any required key in U-boot DTB. This patch introduces a new policy in DTB that can be set to any required conf key. This means if verified boot passes wit

[PATCH v2 2/3] test: vboot: add tests for multiple required keys

2020-07-17 Thread Thirupathaiah Annapureddy
This patch adds vboot tests to verify the support for multiple required keys using new required-mode DTB policy. This patch also fixes existing test where dev key is assumed to be marked as not required, although it is marked as required. Note that this patch re-added sign_fit_norequire(). sign_f

[PATCH v2 3/3] doc: verified-boot: add required-mode information

2020-07-17 Thread Thirupathaiah Annapureddy
Signed-off-by: Thirupathaiah Annapureddy --- Changes in v2: - New doc/uImage.FIT/signature.txt | 14 ++ 1 file changed, 14 insertions(+) diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt index d4afd755e9..a3455889ed 100644 --- a/doc/uImage.FIT/signature.txt +

Re: [PATCH v3 6/6] roc-rk3399-pc: Update ENV offset, size

2020-07-17 Thread Kever Yang
On 2020/7/7 下午9:50, Jagan Teki wrote: Adjust the ENV offset, size to fit into all images on 16MB flash. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever --- Changes for v3: - fix configs configs/roc-pc-mezzanine-rk3399_defconfig | 4 ++-- configs/roc-pc-rk3399_defconfi

Re: [PATCH v3 4/6] rock-pi-4: Enable HDMI output

2020-07-17 Thread Kever Yang
On 2020/7/7 下午9:50, Jagan Teki wrote: Enable config options to get HDMI output on RockPI-4 boards. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever --- Changes for v3: - fix configs configs/rock-pi-4-rk3399_defconfig | 5 + 1 file changed, 5 insertions(+) diff --g

Re: [PATCH] fixdep: fix CONFIG_IS_ENABLED etc. handling

2020-07-17 Thread Masahiro Yamada
On Thu, Jul 9, 2020 at 6:53 AM Stephen Warren wrote: > > From: Stephen Warren > > When fixdep detects CONFIG_IS_ENABLED and other similar macros, it must > parse the macro parameter to determine which actual CONFIG_ option is > being referenced. This involves moving a pointer forward through the

<    1   2