Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2024-01-04 Thread Manorit Chawdhry
Hi Andrew, On 09:55-20240104, Andrew Davis wrote: > On 1/4/24 1:52 AM, Manorit Chawdhry wrote: > > Hi Andrew, Simon, > > > > On 08:58-20240102, Andrew Davis wrote: > > > On 12/31/23 6:48 AM, Simon Glass wrote: > > > > Hi, > > > > >

[PATCH v7 7/7] test: hush: dollar: fix bagous behavior

2024-01-04 Thread Svyatoslav Ryhel
From: Ion Agorria The dollar test was merged with bagous console behavior, and instead of fixing it, this behavior was just workarounded. It seems like without the fix the ut_assert_skipline(); didn't clear console and running ut_assert_skipline(); many times would give always OK. With lib:

[PATCH v7 6/7] fastboot: add oem console command support

2024-01-04 Thread Svyatoslav Ryhel
From: Ion Agorria "oem console" serves to read console record buffer. Signed-off-by: Ion Agorria Signed-off-by: Svyatoslav Ryhel Reviewed-by: Mattijs Korpershoek --- doc/android/fastboot.rst | 1 + drivers/fastboot/Kconfig | 7 +++ drivers/fastboot/fb_command.c | 39

[PATCH v7 5/7] lib: membuff: fix readline not returning line in case of overflow

2024-01-04 Thread Svyatoslav Ryhel
From: Ion Agorria If line overflows readline it will not be returned, fix this behavior, make it optional and documented properly. Signed-off-by: Ion Agorria Signed-off-by: Svyatoslav Ryhel Reviewed-by: Mattijs Korpershoek Reviewed-by: Simon Glass --- boot/bootmeth_extlinux.c | 2 +-

[PATCH v7 4/7] common: console: record console from the beginning

2024-01-04 Thread Svyatoslav Ryhel
From: Ion Agorria Set flag to enable console record on console_record_init and not only on console_record_reset_enable. This fixes missing start of U-Boot log for fastboot oem console command. Signed-off-by: Ion Agorria Signed-off-by: Svyatoslav Ryhel Reviewed-by: Mattijs Korpershoek ---

[PATCH v7 2/7] fastboot: implement "getvar all"

2024-01-04 Thread Svyatoslav Ryhel
From: Ion Agorria This commit implements "fastboot getvar all" listing by iterating the existing dispatchers that don't require parameters (as we pass NULL), uses fastboot multiresponse. Signed-off-by: Ion Agorria Signed-off-by: Svyatoslav Ryhel Reviewed-by: Mattijs Korpershoek ---

[PATCH v7 3/7] common: console: introduce console_record_isempty helper

2024-01-04 Thread Svyatoslav Ryhel
From: Ion Agorria Add console_record_isempty to check if console record buffer contains any data. Signed-off-by: Ion Agorria Signed-off-by: Svyatoslav Ryhel Reviewed-by: Mattijs Korpershoek --- common/console.c | 5 + include/console.h | 13 + 2 files changed, 18

[PATCH v7 1/7] fastboot: multiresponse support

2024-01-04 Thread Svyatoslav Ryhel
From: Ion Agorria Currently u-boot fastboot can only send one message back to host, so if there is a need to print more than one line messages must be kept sending until all the required data is obtained. This behavior can be adjusted using multiresponce ability (getting multiple lines of

[PATCH v7 0/7] Implement fastboot multiresponce

2024-01-04 Thread Svyatoslav Ryhel
Currently u-boot fastboot can only send one message back to host, so if there is a need to print more than one line messages must be kept sending until all the required data is obtained. This behavior can be adjusted using multiresponce ability (getting multiple lines of response) proposed in this

Re: [PATCH 2/2] tools: binman: ti_board_cfg: Check for linting problems

2024-01-04 Thread Neha Malcom Francis
Hi Nishanth On 04/01/24 20:51, Nishanth Menon wrote: On 13:23-20240104, Neha Malcom Francis wrote: Use yamllint for checking whether YAML configuration files are adhering to default yamllint rules. Signed-off-by: Neha Malcom Francis Suggested-by: Nishanth Menon --- tools/binman/etype

Re: [PATCH v7 0/9] ATF and OP-TEE Firewalling for K3 devices.

2024-01-04 Thread Tom Rini
On Fri, 29 Dec 2023 16:16:24 +0530, Manorit Chawdhry wrote: > K3 devices have firewalls that are used to prevent illegal accesses to > memory regions that are deemed secure. The series prevents the illegal > accesses to ATF and OP-TEE regions that are present in different K3 > devices. > >

Re: [PATCH] rockchip: px30: add support for iesy PX30 SoM OSM-S

2024-01-04 Thread Kever Yang
Hi Dominik, The main dts should come from kernel, does this board available in mainline kernel? If yes, pls add the info in commit message for which tag from kernel. This is a SoM, then is there a mainboard needed to make it work? Thanks, - Kever On 2024/1/4 23:57, Dominik Poggel wrote:

[PATCH] doc: coreboot: Update stale graphics enabling instructions

2024-01-04 Thread Bin Meng
From: Bin Meng With latest coreboot (e.g.: v4.22.01), the instructions to enable graphics support has changed. Refresh the doc. Signed-off-by: Bin Meng --- doc/board/coreboot/coreboot.rst | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git

Re: [PATCH v2 00/19] x86: expo: Add support for editing coreboot CMOS RAM settings

2024-01-04 Thread Bin Meng
Hi Simon, On Thu, Jan 4, 2024 at 11:11 PM Simon Glass wrote: > > U-Boot provides support for editing settings with an 'expo', as well as > reading and writing settings to CMOS RAM. > > This series integrates expo functionality with coreboot, using the > sysinfo table to get a list of settings,

Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2024-01-04 Thread Jon Humphreys
Andrew Davis writes: * uEnv.txt processing >>> >>> What command can do this? >>> >> >> run envboot; >> >> https://source.denx.de/u-boot/u-boot/-/blob/master/include/env/ti/mmc.env?ref_type=heads#L20 > > This could be a new bootmeth which looks

Re: [PATCH v6 1/3] dt-bindings: mtd: partitions: Add binman compatible

2024-01-04 Thread Simon Glass
Hi Rob, On Thu, Dec 14, 2023 at 2:09 PM Simon Glass wrote: > > Hi Rob, > > On Thu, 14 Dec 2023 at 10:27, Rob Herring wrote: > > > > On Fri, Dec 08, 2023 at 03:58:10PM -0700, Simon Glass wrote: > > > Hi Rob, > > > > > > On Fri, 8 Dec 2023 at 14:56, Rob Herring wrote: > > > > > > > > On Fri, Dec

RE: [PATCH v7 2/2] schemas: Add some common reserved-memory usages

2024-01-04 Thread Chiu, Chasel
> -Original Message- > From: Ard Biesheuvel > Sent: Thursday, January 4, 2024 12:43 AM > To: Chiu, Chasel > Cc: Simon Glass ; devicet...@vger.kernel.org; Mark Rutland > ; Rob Herring ; Tan, Lean Sheng > ; lkml ; Dhaval > Sharma ; Brune, Maximilian > ; Yunhui Cui ; > Dong, Guo ; Tom

Re: [PATHv11 00/43] net/lwip: add lwip library for the network stack

2024-01-04 Thread Fabio Estevam
On Thu, Jan 4, 2024 at 12:02 PM Maxim Uvarov wrote: > CI tests this in all qemu emulated boards. I tested it locally on Raspberry > Pi - works well. This version did not > yet tested on imx8, but the previous version worked on eth0, did not work on > eth1. So I plan to continue testing >

[PATCH 4/4] tools: zynqmpimage: print partition names

2024-01-04 Thread Brandon Maier
Each partition may belong to an image, which has a name. That name can be useful for debugging as it helps identify where the partition came from. Signed-off-by: Brandon Maier --- tools/zynqmpimage.c | 48 tools/zynqmpimage.h | 49

[PATCH 3/4] tools: zynqmpimage: add partition extracting

2024-01-04 Thread Brandon Maier
Extract partitions from a Xilinx Boot Image using dumpimage. Add helper for_each_zynqmp_part() to reuse the partition walking code between the printing and extracting functions. Signed-off-by: Brandon Maier --- tools/zynqmpimage.c | 57 +---

[PATCH 2/4] tools: zynqmpimage: print all partition sizes

2024-01-04 Thread Brandon Maier
Two of the partition size fields are not printed. Currently only the "total" size is displayed, which is the size of the image data (encrypted), padding, expansion, and authentication data. Add the "unencrypted data" size, which is the original size of the data before being encrypted. And

[PATCH 1/4] tools: zynqmpimage: show info on partition 0

2024-01-04 Thread Brandon Maier
The zynqmpimage_print_header() skips printing the first partition. This is because the image header can contain duplicate fields as the first partition. However some fields, like the partition attributes, are only present in the partition table. It is also possible for the first partition to not

Re: [PATCH v3 5/8] doc: devicetree: Updates for devicetree-rebasing subtree

2024-01-04 Thread Tom Rini
On Thu, Jan 04, 2024 at 04:50:14PM +0100, Michal Simek wrote: > > > On 1/4/24 16:30, Tom Rini wrote: > > On Thu, Jan 04, 2024 at 03:45:10PM +0100, Michal Simek wrote: > > > Hi Tom, > > > > > > On 1/4/24 14:50, Tom Rini wrote: > > > > On Thu, Jan 04, 2024 at 06:52:32PM +0530, Sumit Garg wrote: >

Re: [PATCH v5 0/3] Add imx93-var-som support

2024-01-04 Thread Fabio Estevam
On Thu, Jan 4, 2024 at 12:54 PM Mathieu Othacehe wrote: > > From: Mathieu Othacehe > > Hello, > > This v5 fixes imx93_evk compilation by enabling binman support for this board. Still fails: https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/764792 Please run a CI job for your series

Re: [PATCH] iommu: dont fail silently

2024-01-04 Thread Dragan Simic
On 2024-01-04 18:12, Caleb Connolly wrote: When attempting to probe a device which has an associated IOMMU, if the IOMMU device can't be found (no driver, disabled driver, driver failed to probe, etc) then we currently fail to probe the device with no discernable error. If we fail to hook the

Re: [PATCH v6 0/6] Implement fastboot multiresponce

2024-01-04 Thread Ion Agorria
Hello, It seems like without the fix the ut_assert_skipline(); didn't clear console and running ut_assert_skipline(); many times would give always OK. With my fix the line is cleared correctly and next assert fails because now there is nothing to clean which is correct if we look the this a bit

Re: [PATCH] ARM: dts: stm32: Fix reset for usart1 in scmi configuration

2024-01-04 Thread Patrick DELAUNAY
Hi, On 1/4/24 13:37, Patrice Chotard wrote: In SCMI configuration, usart1 is secure, so all its resources are secured (clock and reset) and can't be set/unset by non-secure world but by OP-TEE. Fixes: 68d396bf ("ARM: dts: stm32: add SCMI version of STM32 boards (DK1/DK2/ED1/EV1)")

[PATCH] iommu: dont fail silently

2024-01-04 Thread Caleb Connolly
When attempting to probe a device which has an associated IOMMU, if the IOMMU device can't be found (no driver, disabled driver, driver failed to probe, etc) then we currently fail to probe the device with no discernable error. If we fail to hook the device up to its IOMMU, we should make sure

Re: [resend PATCH] bootdev: avoid infinite probe loop

2024-01-04 Thread Dragan Simic
On 2024-01-04 17:03, Caleb Connolly wrote: Sometimes, when only one bootdev is available, and it fails to probe, we end up in an infinite loop calling probe() on the same device over and over. With only debug level log output. Break the loop if we fail to probe the same device twice in a row,

Re: [PATCH v6 0/6] Implement fastboot multiresponce

2024-01-04 Thread Svyatoslav Ryhel
чт, 4 січ. 2024 р. о 17:00 Mattijs Korpershoek пише: > > Hello Svyatoslav, > > On jeu., déc. 28, 2023 at 20:01, Svyatoslav Ryhel wrote: > > > Currently u-boot fastboot can only send one message back to host, > > so if there is a need to print more than one line messages must be > > kept sending

Re: [resend PATCH] bootdev: avoid infinite probe loop

2024-01-04 Thread Caleb Connolly
Hi Simon, On 04/01/2024 16:06, Simon Glass wrote: > Hi Caleb, > > On Thu, Jan 4, 2024 at 9:03 AM Caleb Connolly > wrote: >> >> Sometimes, when only one bootdev is available, and it fails to probe, we >> end up in an infinite loop calling probe() on the same device over and >> over. With only

[PATCH v5 4/4] Add imx93-var-som support

2024-01-04 Thread Mathieu Othacehe
From: Mathieu Othacehe Add support for the Variscite VAR-SOM-IMX93 evaluation kit. The SoM consists of an NXP iMX93 dual A55 CPU. The SoM is mounted on a Variscite Symphony SBC. Signed-off-by: Mathieu Othacehe --- arch/arm/dts/Makefile |3 +-

[PATCH v5 3/4] imx9: imx93_evk: Add binman support.

2024-01-04 Thread Mathieu Othacehe
From: Mathieu Othacehe Signed-off-by: Mathieu Othacehe --- arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 2 + arch/arm/mach-imx/imx9/Kconfig | 1 + configs/imx93_11x11_evk_defconfig| 2 + configs/imx93_11x11_evk_ld_defconfig | 2 + doc/board/nxp/imx93_11x11_evk.rst

[PATCH v5 2/4] mach-imx: Add i.MX93 binman support.

2024-01-04 Thread Mathieu Othacehe
From: Mathieu Othacehe Add dedicated Makefile targets for the i.MX93 and a new imx93-u-boot.dtsi device-tree to create binman images. Signed-off-by: Mathieu Othacehe --- arch/arm/dts/imx93-u-boot.dtsi | 88 arch/arm/mach-imx/Makefile | 22 ++-

[PATCH v5 1/4] spl: binman: Disable u_boot_any symbols for i.MX93 boards

2024-01-04 Thread Mathieu Othacehe
From: Mathieu Othacehe This is extending commit 6516c9b349b3 ("spl: binman: Disable u_boot_any symbols for i.MX8M boards") to i.MX93 boards. Signed-off-by: Mathieu Othacehe --- common/spl/Kconfig | 2 +- common/spl/Kconfig.tpl | 2 +- common/spl/Kconfig.vpl | 2 +- 3 files changed, 3

[PATCH v5 0/3] Add imx93-var-som support

2024-01-04 Thread Mathieu Othacehe
From: Mathieu Othacehe Hello, This v5 fixes imx93_evk compilation by enabling binman support for this board. Thanks, Mathieu v4: https://lists.denx.de/pipermail/u-boot/2024-January/542515.html Mathieu Othacehe (4): spl: binman: Disable u_boot_any symbols for i.MX93 boards mach-imx: Add

Re: [PATCH v4 0/3] Add imx93-var-som support

2024-01-04 Thread Mathieu Othacehe
Hello, > https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/764727 > > Take a look at the xilinx_zynqmp_virt and imx8mm-cl-iot-gate errors, > for example. Due to multi-threaded testing the output is a bit hard to read but I think that those configs are working fine. The faulty config

Re: [resend PATCH] bootdev: avoid infinite probe loop

2024-01-04 Thread Simon Glass
Hi Caleb, On Thu, Jan 4, 2024 at 9:03 AM Caleb Connolly wrote: > > Sometimes, when only one bootdev is available, and it fails to probe, we > end up in an infinite loop calling probe() on the same device over and > over. With only debug level log output. > > Break the loop if we fail to probe

[resend PATCH] bootdev: avoid infinite probe loop

2024-01-04 Thread Caleb Connolly
Sometimes, when only one bootdev is available, and it fails to probe, we end up in an infinite loop calling probe() on the same device over and over. With only debug level log output. Break the loop if we fail to probe the same device twice in a row, and promote the probe failure message to

Re: booti usage offset requirements for compressed kernel and initrd with dtb

2024-01-04 Thread Simon Glass
Hi, On Thu, Jan 4, 2024 at 5:19 AM E Shattow wrote: > > Hello, > > There is data corruption when using booti on a JH7110 (riscv64) board to > load (over tftp or ymodem) a compressed kernel, compressed initrd, and > device tree blob, when the data are too close together (even though not >

[PATCH] bootdev: avoid infinite probe loop

2024-01-04 Thread Caleb Connolly
Sometimes, when only one bootdev is available, and it fails to probe, we end up in an infinite loop calling probe() on the same device over and over. With only debug level log output. Break the loop if we fail to probe the same device twice in a row, and promote the probe failure message to

Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2024-01-04 Thread Andrew Davis
On 1/4/24 1:52 AM, Manorit Chawdhry wrote: Hi Andrew, Simon, On 08:58-20240102, Andrew Davis wrote: On 12/31/23 6:48 AM, Simon Glass wrote: Hi, On Wed, Nov 29, 2023 at 7:48 PM Simon Glass wrote: Hi Andrew, On Mon, 6 Nov 2023 at 11:05, Andrew Davis wrote: On 11/6/23 11:47 AM, Simon

Re: [PATCH v3 5/8] doc: devicetree: Updates for devicetree-rebasing subtree

2024-01-04 Thread Michal Simek
On 1/4/24 16:30, Tom Rini wrote: On Thu, Jan 04, 2024 at 03:45:10PM +0100, Michal Simek wrote: Hi Tom, On 1/4/24 14:50, Tom Rini wrote: On Thu, Jan 04, 2024 at 06:52:32PM +0530, Sumit Garg wrote: Hi Michal, On Thu, 4 Jan 2024 at 15:39, Michal Simek wrote: On 1/3/24 17:32, Tom Rini

Re: [PATCH V3 6/6] nvmem: layouts: add U-Boot env layout

2024-01-04 Thread Greg Kroah-Hartman
On Thu, Dec 21, 2023 at 06:34:21PM +0100, Rafał Miłecki wrote: > From: Rafał Miłecki > > Move all generic (NVMEM devices independent) code from NVMEM device > driver to NVMEM layout driver. Then add a simple NVMEM layout code on > top of it. > > Thanks to proper layout it's possible to support

Re: [PATCH v3 5/8] doc: devicetree: Updates for devicetree-rebasing subtree

2024-01-04 Thread Tom Rini
On Thu, Jan 04, 2024 at 03:45:10PM +0100, Michal Simek wrote: > Hi Tom, > > On 1/4/24 14:50, Tom Rini wrote: > > On Thu, Jan 04, 2024 at 06:52:32PM +0530, Sumit Garg wrote: > > > Hi Michal, > > > > > > On Thu, 4 Jan 2024 at 15:39, Michal Simek wrote: > > > > > > > > > > > > > > > > On 1/3/24

Re: [PATCH 2/2] tools: binman: ti_board_cfg: Check for linting problems

2024-01-04 Thread Nishanth Menon
On 13:23-20240104, Neha Malcom Francis wrote: > Use yamllint for checking whether YAML configuration files are adhering > to default yamllint rules. > > Signed-off-by: Neha Malcom Francis > Suggested-by: Nishanth Menon > --- > tools/binman/etype/ti_board_config.py

Re: [PATCH v4 4/9] arm: armv7: save boot arguments

2024-01-04 Thread Raymond Mao
Hi Tom, On Wed, 3 Jan 2024 at 14:08, Tom Rini wrote: > On Tue, Jan 02, 2024 at 02:12:29PM -0800, Raymond Mao wrote: > > > Save boot arguments r[0-3] into an array for handover of bloblist from > > previous boot stage. > > > > Signed-off-by: Raymond Mao > > --- > > Changes in v2 > > - New patch

[PATCH v2 18/19] x86: coreboot: Allow building an expo for editing CMOS config

2024-01-04 Thread Simon Glass
Coreboot provides the CMOS layout in the tables it passes to U-Boot. Use that to build an editor for the CMOS settings. Signed-off-by: Simon Glass --- Changes in v2: - Avoid using common.h boot/Makefile | 4 + boot/expo_build_cb.c| 245

[PATCH v2 19/19] x86: Enable RTC command by default

2024-01-04 Thread Simon Glass
The real-time clock is needed for most X86 systems and it is useful to be able to read from it. Enable the rtc command by default. Signed-off-by: Simon Glass --- Changes in v2: - Rebase to -next cmd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/Kconfig b/cmd/Kconfig index

[PATCH v2 17/19] x86: coreboot: Add a command to check and update CMOS RAM

2024-01-04 Thread Simon Glass
Coreboot tables provide information about the CMOS-RAM checksum. Add a command which can check and update this. With this it is possible to adjust CMOS-RAM settings and tidy up the checksum afterwards. Signed-off-by: Simon Glass --- Changes in v2: - Avoid using common.h cmd/Kconfig

[PATCH v2 16/19] x86: coreboot: Enable support for the configuration editor

2024-01-04 Thread Simon Glass
Enable cedit support along with required options and a simple style. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/dts/coreboot.dts| 7 +++ configs/coreboot64_defconfig | 2 ++ configs/coreboot_defconfig | 2 ++ 3 files changed, 11 insertions(+) diff --git

[PATCH v2 14/19] x86: coreboot: Add a test for cbsysinfo command

2024-01-04 Thread Simon Glass
Add a simple test for this command, checking that coreboot has the required features. Signed-off-by: Simon Glass --- (no changes since v1) test/cmd/Makefile | 1 + test/cmd/coreboot.c | 36 2 files changed, 37 insertions(+) create mode 100644

[PATCH v2 15/19] x86: coreboot: Show the option table

2024-01-04 Thread Simon Glass
Update the cbsysinfo command to show the contents of the CMOS option table. While we are here, add some example output for this command, along with mention of what the unimplemented tags are. Signed-off-by: Simon Glass --- (no changes since v1) cmd/x86/cbsysinfo.c | 73

[PATCH v2 12/19] x86: coreboot: Enable unit tests

2024-01-04 Thread Simon Glass
Enable unit tests so we can run command-line tests in coreboot. Enable console recording, with enough space for the 'cbsysinfo' command. Add to the pre-relocation malloc() space to make room for this. Signed-off-by: Simon Glass --- (no changes since v1) configs/coreboot_defconfig | 4 1

[PATCH v2 06/19] expo: Allow menu items to have values

2024-01-04 Thread Simon Glass
At present menu items are stored according to their sequence number in the menu. In some cases we may want to have holes in that sequence, or not use a sequence at all. Add a new 'value' property for menu items. This will be used for reading and writing, if present. If there is no 'value'

[PATCH v2 13/19] x86: CI: Update coreboot

2024-01-04 Thread Simon Glass
Update to a newer version which supports settings in CMOS RAM. Signed-off-by: Simon Glass --- (no changes since v1) .azure-pipelines.yml | 2 +- .gitlab-ci.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index

[PATCH v2 08/19] expo: Support menu-item values in cedit

2024-01-04 Thread Simon Glass
Update the cedit read/write functions to support menu items with values. Signed-off-by: Simon Glass --- (no changes since v1) boot/cedit.c| 148 +--- boot/scene_menu.c | 2 +- doc/usage/cmd/cedit.rst | 15 +++-

[PATCH v2 09/19] expo: Drop unneceesary calls to expo_str()

2024-01-04 Thread Simon Glass
The scene_txt_str() function calls expo_str() so there is no need to call it beforehand. Drop this unnecessary code. Signed-off-by: Simon Glass --- (no changes since v1) boot/expo_build.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/boot/expo_build.c

[PATCH v2 10/19] expo: Drop scene_title_set()

2024-01-04 Thread Simon Glass
This function is really just an assignment, so serves no useful purpose. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) boot/expo_build.c | 4 ++-- boot/scene.c | 7 --- include/expo.h| 9 - test/boot/expo.c | 2 +- 4 files changed, 3 insertions(+), 19

[PATCH v2 05/19] expo: Use standard numbering for save and discard

2024-01-04 Thread Simon Glass
Set aside some expo IDs for 'save' and 'discard' buttons. This avoids needing to store the IDs for these. Adjust the documentation and expo tool for the new EXPOID_BASE_ID value. Ignore these objects when saving and loading the cedit, since they do not contain real data. Adjust 'cedit run' to

[PATCH v2 07/19] expo: Add a little more cedit CMOS logging

2024-01-04 Thread Simon Glass
Add some more logging in the CMOS read/write code. Tidy up a few comments while we are here. Signed-off-by: Simon Glass --- (no changes since v1) boot/cedit.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/boot/cedit.c b/boot/cedit.c index a53a4f28990..cc1d5b76357

[PATCH v2 03/19] expo: Place menu items to the right of all labels

2024-01-04 Thread Simon Glass
At present a fixed position is used for menu items, 200 pixels to the right of the left side of the labels. This means that a menu item with a very long label may overlap the items. It seems better to calculate the maximum label width and then place the items to the right of all of them. To

[PATCH v2 04/19] expo: Set the initial next_id to 1

2024-01-04 Thread Simon Glass
If expo_set_dynamic_start() is never called, the first scene created will have an ID of 0, which is invalid. Correct this by setting a default value. Add a test to check this. Signed-off-by: Simon Glass --- (no changes since v1) boot/expo.c | 1 + test/boot/expo.c | 23

[PATCH v2 11/19] expo: Add forward declaration for udevice to cedit

2024-01-04 Thread Simon Glass
Some files may include this header file without first including dm.h so add a forward declaration. Signed-off-by: Simon Glass --- (no changes since v1) include/cedit.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/cedit.h b/include/cedit.h index f43cafa5aa2..f9a4a6d9e8e 100644

[PATCH v2 02/19] video: Avoid starting a new line to close to the bottom

2024-01-04 Thread Simon Glass
When starting a new text line, an assumption is made that the current vertical position is a multiple of the character height. When this is not true, characters can be written after the end of the framebuffer. This can causes crashes and strange errors from QEMU. Adjust the scrolling check when

[PATCH v2 01/19] video: Add a dark-grey console colour

2024-01-04 Thread Simon Glass
This is useful for highlighting something with a black background, as is needed with cedit when using a white-on-black console. Add this as a new colour. Signed-off-by: Simon Glass --- (no changes since v1) boot/scene.c | 2 +- drivers/video/video-uclass.c | 3 +++

[PATCH v2 00/19] x86: expo: Add support for editing coreboot CMOS RAM settings

2024-01-04 Thread Simon Glass
U-Boot provides support for editing settings with an 'expo', as well as reading and writing settings to CMOS RAM. This series integrates expo functionality with coreboot, using the sysinfo table to get a list of settings, creating an expo with them and allowing them to be edited. A new CI test

[PATCH v6 6/7] x86: qemu: Expand ROM size

2024-01-04 Thread Simon Glass
Expand the ROM for x86_64 to 2MB to make space for the font, as it is already on the edge. Signed-off-by: Simon Glass --- (no changes since v1) board/emulation/qemu-x86/Kconfig | 3 ++- configs/qemu-x86_64_defconfig| 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH v6 7/7] x86: qemu: Enable truetype fonts

2024-01-04 Thread Simon Glass
Enable this feature to provide a larger font choice and more attractive menus. Expand the ROM for x86_64 to 2MB to make space for the font. Signed-off-by: Simon Glass --- Changes in v6: - Move 'Avoid unbinding devices in use by bootflows' to another series Changes in v3: - Add new patch to

[PATCH v6 3/7] video: Drop unnecessary truetype operations from SPL

2024-01-04 Thread Simon Glass
Saving and restoring entries is used for expo and for the command line, which we don't use in SPL. Drop these methods. Signed-off-by: Simon Glass Reviewed-by: Bin Meng Reviewed-by: Anatolij Gustschin --- (no changes since v3) Changes in v3: - Add new patch to drop unnecessary truetype

[PATCH v6 5/7] x86: coreboot: Enable truetype fonts

2024-01-04 Thread Simon Glass
Truetype fonts look better in the menu, so enable them. Signed-off-by: Simon Glass --- (no changes since v3) Changes in v3: - Add new patch to enable truetype fonts in coreboot arch/x86/dts/coreboot.dts| 10 ++ configs/coreboot64_defconfig | 1 + configs/coreboot_defconfig |

[PATCH v6 4/7] x86: Enable SSE in 64-bit mode

2024-01-04 Thread Simon Glass
This is needed to support Truetype fonts. In any case, the compiler expects SSE to be available in 64-bit mode. Provide an option to enable SSE so that hardware floating-point arithmetic works. Signed-off-by: Simon Glass Reviewed-by: Tom Rini Suggested-by: Bin Meng --- (no changes since v4)

[PATCH v6 2/7] video: Correct setting of cursor position

2024-01-04 Thread Simon Glass
The ANSI codes are not correctly handled at present, in that the requested X position is added to the current one. Correct this and also call vidconsole_entry_start() to start a new text line. Signed-off-by: Simon Glass Reviewed-by: Anatolij Gustschin --- (no changes since v1)

[PATCH v6 1/7] x86: coreboot: Add a boot script

2024-01-04 Thread Simon Glass
Provide the user with a list of available boot options. Selecting one causes it to be booted. Pressing causes U-Boot to return to the command-line prompt. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v6: - Rebase to -next Changes in v3: - Clear the screen before booting

[PATCH v6 0/7] Resolve issues with booting distros on x86

2024-01-04 Thread Simon Glass
This little series reprises the EFI-video fix, fixes a USB problem and enables a boot script for coreboot. It also moves to truetype fonts for coreboot and qemu-x86, since the menus look much better and there are no strong size constraints. With these changes it is possible to boot a Linux

Re: [PATCH 00/34] x86: expo: Add support for editing coreboot CMOS RAM settings

2024-01-04 Thread Simon Glass
Hi Bin, On Thu, Jan 4, 2024 at 5:06 AM Bin Meng wrote: > > Hi Simon, > > On Sun, Dec 31, 2023 at 8:43 PM Simon Glass wrote: > > > > Hi Bin, > > > > On Sun, Dec 31, 2023 at 2:59 AM Bin Meng wrote: > > > > > > Hi Simon, > > > > > > On Wed, Nov 15, 2023 at 9:24 PM Simon Glass wrote: > > > > > >

Re: [PATCH v6 4/6] common: console: record console from the beginning

2024-01-04 Thread Mattijs Korpershoek
Hi Simon, On mer., janv. 03, 2024 at 18:38, Simon Glass wrote: > Hi Mattijs, > > On Wed, Jan 3, 2024 at 5:41 AM Mattijs Korpershoek > wrote: >> >> Hi Simon, >> >> On Tue, Jan 02, 2024 at 07:06, Simon Glass wrote: >> >> > Hi Mattijs, >> > >> > On Tue, Jan 2, 2024 at 2:52 AM Mattijs Korpershoek

Re: [PATHv11 00/43] net/lwip: add lwip library for the network stack

2024-01-04 Thread Maxim Uvarov
On Wed, 3 Jan 2024 at 20:30, Fabio Estevam wrote: > Hi Maxim, > > On Tue, Jan 2, 2024 at 2:31 PM Maxim Uvarov > wrote: > > > > Small update here. I made changes without any board limit size changes. > > Reordered patches to make them compile in sequence. I think I will do one > > more clean up

Re: [PATCH v6 0/6] Implement fastboot multiresponce

2024-01-04 Thread Mattijs Korpershoek
Hello Svyatoslav, On jeu., déc. 28, 2023 at 20:01, Svyatoslav Ryhel wrote: > Currently u-boot fastboot can only send one message back to host, > so if there is a need to print more than one line messages must be > kept sending until all the required data is obtained. This behavior > can be

Re: [PATCH v3 5/8] doc: devicetree: Updates for devicetree-rebasing subtree

2024-01-04 Thread Michal Simek
Hi Tom, On 1/4/24 14:50, Tom Rini wrote: On Thu, Jan 04, 2024 at 06:52:32PM +0530, Sumit Garg wrote: Hi Michal, On Thu, 4 Jan 2024 at 15:39, Michal Simek wrote: On 1/3/24 17:32, Tom Rini wrote: On Wed, Jan 03, 2024 at 09:19:40AM -0700, Rob Herring wrote: On Thu, Dec 28, 2023 at 4:59 AM

Re: [PATCH v4 0/3] Add imx93-var-som support

2024-01-04 Thread Fabio Estevam
Hi Mathieu, On Thu, Jan 4, 2024 at 6:14 AM Mathieu Othacehe wrote: > > From: Mathieu Othacehe > > Hello, > > This v4 rebases the series on top of the next branch and fixes Fabio's > remarks. I ran your v4 series through CI, but it failed:

Re: [PATCH v7] fdt: Allow the devicetree to come from a bloblist

2024-01-04 Thread Ilias Apalodimas
On Thu, 4 Jan 2024 at 03:49, Simon Glass wrote: > > Standard passage provides for a bloblist to be passed from one firmware > phase to the next. That can be used to pass the devicetree along as well. > Add an option to support this. > > Tests for this will be added as part of the Universal

Re: [PATCH v7] fdt: Allow the devicetree to come from a bloblist

2024-01-04 Thread Tom Rini
On Wed, Jan 03, 2024 at 06:49:19PM -0700, Simon Glass wrote: > Standard passage provides for a bloblist to be passed from one firmware > phase to the next. That can be used to pass the devicetree along as well. > Add an option to support this. > > Tests for this will be added as part of the

Re: [PATCH v3 5/8] doc: devicetree: Updates for devicetree-rebasing subtree

2024-01-04 Thread Tom Rini
On Thu, Jan 04, 2024 at 06:52:32PM +0530, Sumit Garg wrote: > Hi Michal, > > On Thu, 4 Jan 2024 at 15:39, Michal Simek wrote: > > > > > > > > On 1/3/24 17:32, Tom Rini wrote: > > > On Wed, Jan 03, 2024 at 09:19:40AM -0700, Rob Herring wrote: > > >> On Thu, Dec 28, 2023 at 4:59 AM Sumit Garg

[PATCH] tools: docker: Drop the git user name and email configuration

2024-01-04 Thread Bin Meng
Since commit b45ab9ca6621 ("CI: Update to QEMU 8.0.3"), the manual patch applying was removed, hence there is no need to do a git user name and email configuration. Signed-off-by: Bin Meng --- tools/docker/Dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git

Re: [PATCH v3 5/8] doc: devicetree: Updates for devicetree-rebasing subtree

2024-01-04 Thread Sumit Garg
Hi Michal, On Thu, 4 Jan 2024 at 15:39, Michal Simek wrote: > > > > On 1/3/24 17:32, Tom Rini wrote: > > On Wed, Jan 03, 2024 at 09:19:40AM -0700, Rob Herring wrote: > >> On Thu, Dec 28, 2023 at 4:59 AM Sumit Garg wrote: > > [snip] > >>> +In order to maintain devicetree files sync, U-Boot

Re: [PATCH] cmd: sf: Fix sf probe crash

2024-01-04 Thread Michal Simek
On 1/4/24 13:28, Weizhao Ouyang wrote: On Thu, Jan 4, 2024 at 8:21 PM Michal Simek wrote: On 1/4/24 13:15, Weizhao Ouyang wrote: On Thu, Jan 4, 2024 at 8:00 PM Michal Simek wrote: On 1/4/24 12:46, Weizhao Ouyang wrote: Handle the return value of spi_flash_probe_bus_cs() to avoid

Re: [PATCH v2] xilinx: Enable the NFS command by default

2024-01-04 Thread Michal Simek
On 1/4/24 05:52, Tejas Bhumkar wrote: Enabled the default utilization of the NFS command across all Xilinx platforms to facilitate the booting of images through the network using the NFS protocol. Fixes: 10de12570799 ("disable NFS support by default") Signed-off-by: Tejas Bhumkar ---

Re: [PATCH] cmd: sf: Fix sf probe crash

2024-01-04 Thread Michael Nazzareno Trimarchi
Hi On Thu, Jan 4, 2024 at 1:40 PM Weizhao Ouyang wrote: > > On Thu, Jan 4, 2024 at 8:29 PM Michael Nazzareno Trimarchi > wrote: > > > > Hi > > > > On Thu, Jan 4, 2024 at 1:16 PM Weizhao Ouyang wrote: > > > > > > On Thu, Jan 4, 2024 at 8:00 PM Michal Simek wrote: > > > > > > > > > > > > > > >

Re: [PATCH] cmd: sf: Fix sf probe crash

2024-01-04 Thread Weizhao Ouyang
On Thu, Jan 4, 2024 at 8:29 PM Michael Nazzareno Trimarchi wrote: > > Hi > > On Thu, Jan 4, 2024 at 1:16 PM Weizhao Ouyang wrote: > > > > On Thu, Jan 4, 2024 at 8:00 PM Michal Simek wrote: > > > > > > > > > > > > On 1/4/24 12:46, Weizhao Ouyang wrote: > > > > Handle the return value of

[PATCH] ARM: dts: stm32: Fix reset for usart1 in scmi configuration

2024-01-04 Thread Patrice Chotard
In SCMI configuration, usart1 is secure, so all its resources are secured (clock and reset) and can't be set/unset by non-secure world but by OP-TEE. Fixes: 68d396bf ("ARM: dts: stm32: add SCMI version of STM32 boards (DK1/DK2/ED1/EV1)") Signed-off-by: Patrice Chotard ---

Re: [PATCH] mach-snapdragon: Move APQ8016 SoC derived board code

2024-01-04 Thread Caleb Connolly
Hi Sumit, On 03/01/2024 13:07, Sumit Garg wrote: > In order to avoid duplication of APQ8016 derived boards specific code, > move common bits like USB pinctrl and fastboot to board-apq8016.c file. > This will allow future board support like SE HMIBSC board etc to reuse it. You still haven't

Re: [PATCH] cmd: sf: Fix sf probe crash

2024-01-04 Thread Michael Nazzareno Trimarchi
Hi On Thu, Jan 4, 2024 at 1:16 PM Weizhao Ouyang wrote: > > On Thu, Jan 4, 2024 at 8:00 PM Michal Simek wrote: > > > > > > > > On 1/4/24 12:46, Weizhao Ouyang wrote: > > > Handle the return value of spi_flash_probe_bus_cs() to avoid sf probe > > > crashes. > > > > > > Signed-off-by: Weizhao

Re: [PATCH] cmd: sf: Fix sf probe crash

2024-01-04 Thread Weizhao Ouyang
On Thu, Jan 4, 2024 at 8:21 PM Michal Simek wrote: > > > > On 1/4/24 13:15, Weizhao Ouyang wrote: > > On Thu, Jan 4, 2024 at 8:00 PM Michal Simek wrote: > >> > >> > >> > >> On 1/4/24 12:46, Weizhao Ouyang wrote: > >>> Handle the return value of spi_flash_probe_bus_cs() to avoid sf probe > >>>

Re: [PATCH v3 4/8] dts: Add alternative location for upstream DTB builds

2024-01-04 Thread Sumit Garg
Hi Simon, On Thu, 28 Dec 2023 at 20:39, Simon Glass wrote: > > Hi Tom, Sumit, > > On Thu, Dec 28, 2023 at 2:03 PM Tom Rini wrote: > > > > On Thu, Dec 28, 2023 at 01:37:26PM +, Simon Glass wrote: > > > Hi Sumit, > > > > > > On Thu, Dec 28, 2023 at 11:58 AM Sumit Garg wrote: > > > > > > > >

Re: [PATCH] cmd: sf: Fix sf probe crash

2024-01-04 Thread Michal Simek
On 1/4/24 13:15, Weizhao Ouyang wrote: On Thu, Jan 4, 2024 at 8:00 PM Michal Simek wrote: On 1/4/24 12:46, Weizhao Ouyang wrote: Handle the return value of spi_flash_probe_bus_cs() to avoid sf probe crashes. Signed-off-by: Weizhao Ouyang --- cmd/sf.c | 5 +++-- 1 file changed, 3

[PATCH v4 3/3] Add imx93-var-som support

2024-01-04 Thread Mathieu Othacehe
From: Mathieu Othacehe Add support for the Variscite VAR-SOM-IMX93 evaluation kit. The SoM consists of an NXP iMX93 dual A55 CPU. The SoM is mounted on a Variscite Symphony SBC. Signed-off-by: Mathieu Othacehe --- arch/arm/dts/Makefile |3 +-

[PATCH v4 2/3] mach-imx: Add i.MX93 binman support.

2024-01-04 Thread Mathieu Othacehe
From: Mathieu Othacehe Add dedicated Makefile targets for the i.MX93 and a new imx93-u-boot.dtsi device-tree to create binman images. Reviewed-by: Fabio Estevam Signed-off-by: Mathieu Othacehe --- arch/arm/dts/imx93-u-boot.dtsi | 88 ++

[PATCH v4 1/3] spl: binman: Disable u_boot_any symbols for i.MX93 boards

2024-01-04 Thread Mathieu Othacehe
From: Mathieu Othacehe This is extending commit 6516c9b349b3 ("spl: binman: Disable u_boot_any symbols for i.MX8M boards") to i.MX93 boards. Reviewed-by: Fabio Estevam Signed-off-by: Mathieu Othacehe --- common/spl/Kconfig | 2 +- common/spl/Kconfig.tpl | 2 +- common/spl/Kconfig.vpl | 2

[PATCH v4 0/3] Add imx93-var-som support

2024-01-04 Thread Mathieu Othacehe
From: Mathieu Othacehe Hello, This v4 rebases the series on top of the next branch and fixes Fabio's remarks. Thanks, Mathieu v3: https://lists.denx.de/pipermail/u-boot/2023-December/542111.html Mathieu Othacehe (3): spl: binman: Disable u_boot_any symbols for i.MX93 boards mach-imx:

  1   2   >