Provide a unit test for the eficonfig command.
Signed-off-by: Masahisa Kojima
Acked-by: Ilias Apalodimas
---
Changes in v14:
- update to support media device enumeration in eficonfig startup
- move no block device test to the last test case
Changes in v12:
- update menu handling
Changes in v11
Add documentation for eficonfig command.
Signed-off-by: Masahisa Kojima
Reviewed-by: Ilias Apalodimas
---
Changes in v14:
- fix typos
Changes in v13:
- describe how to auto boot according to the UEFI Boot option
Changes in v12:
- CONFIG_BOOTMENU_DISABLE_UBOOT_CONSOLE condition is added
to sh
The bootmenu enumerates the UEFI boot options
for boot device selection.
This commit adds the description how the UEFI boot work
in bootmenu. This commit also adds "Synopsis", "Description"
and "Configuration" sections to follow the U-Boot command
documentation format.
Signed-off-by: Masahisa Koji
This commit adds the menu entry to update UEFI BootOrder variable.
User moves the entry with UP/DOWN key, changes the order
with PLUS/MINUS key, press SPACE to activate or deactivate
the entry, then finalizes the order by ENTER key.
If the entry is activated, the boot index is added into the
BootOr
UEFI specification requires booting from removal media using
a architecture-specific default image name such as BOOTAA64.EFI.
This commit adds the removable media entries into bootmenu,
so that user can select the removable media and boot with
default image.
The bootmenu automatically enumerates t
In eficonfig startup, scan media devices and update
the UEFI boot option.
Signed-off-by: Masahisa Kojima
---
Newly created in v14
cmd/eficonfig.c | 4
1 file changed, 4 insertions(+)
diff --git a/cmd/eficonfig.c b/cmd/eficonfig.c
index 772b38d29a..946c4b1d08 100644
--- a/cmd/eficonfig.c
+
This is preparation to support menu-driven UEFI BootOrder
variable updated by KEY_PLUS, KEY_MINUS and KEY_SPACE.
Signed-off-by: Masahisa Kojima
Reviewed-by: Heinrich Schuchardt
Reviewed-by: Ilias Apalodimas
---
No update since v11
Changes in v11:
- add SPACE key handling
Newly created in v7
This commit adds the menu entry to delete the UEFI boot option.
User moves the entry with UP/DOWN key, changes, then presses
ENTER key to delete the selected boot option.
Signed-off-by: Masahisa Kojima
---
No update since v11
Changes in v11:
- update function interface to show boot selection men
This commit add the "eficonfig" command.
The "eficonfig" command implements the menu-driven UEFI boot option
maintenance feature. This commit implements the addition of
new boot option. User can select the block device volume having
efi_simple_file_system_protocol and select the file corresponding
This commit adds the menu entry to edit the existing
BOOT variable contents.
User selects the item from the boot option list, then
user can edit the description, file path and optional_data.
Note that automatically generated boot option entry by bootmenu
to support the removable media device i
This series adds the menu-driven UEFI boot variable maintenance
through the "eficonfig" new command.
This series also adds the removable media support in bootmenu.
Source code can be cloned with:
$ git clone https://git.linaro.org/people/masahisa.kojima/u-boot.git -b
kojima/eficonfig_upstream_v14
On Tue, 23 Aug 2022 at 20:13, Simon Glass wrote:
>
> It is useful to read information about the current TPM state, where
> supported, e.g. for debugging purposes when verified boot fails.
>
> Add support for this to the TPM interface as well as Cr50. Add a simple
> sandbox test.
>
> Signed-off-by:
On Tue, 23 Aug 2022 at 20:12, Simon Glass wrote:
>
> The message format is incorrect. Fix it.
>
> Signed-off-by: Simon Glass
> ---
>
> (no changes since v2)
>
> Changes in v2:
> - Use constants instead of open-coded values
>
> lib/tpm-v2.c | 22 +++---
> 1 file changed, 15 insert
On Tue, 23 Aug 2022 at 20:12, Simon Glass wrote:
>
> The offset here is incorrect. Fix it.
>
> Signed-off-by: Simon Glass
> ---
>
> (no changes since v1)
>
> lib/tpm-v1.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/lib/tpm-v1.c b/lib/tpm-v1.c
> index 22a769c5874
On Tue, 23 Aug 2022 at 20:12, Simon Glass wrote:
>
> This feature is used for measured boot, so we can add a log entry to the
> TCPA with some information about where the digest comes from. It is not
> currently supported in the TPM drivers, but add it to the API so that
> code which expects it ca
We are seeing timing issues with transcend usb sticks. These devices
seems to require more time than regular devices for the control messages
to reach device. Add 1ms delay before sending control message to fix
trancend device detection issue.
Signed-off-by: Ashok Reddy Soma
---
common/usb.c |
On Thursday 25 August 2022 20:03:51 Oleksandr Suvorov wrote:
> The option SPL_SATA_SUPPORT is renamed to SPL_SATA. Fix the option
> name.
>
> Fixes: 73059529b20 ("ata: ahci-pci: Add new option CONFIG_SPL_AHCI_PCI")
> Signed-off-by: Oleksandr Suvorov
Acked-by: Pali Rohár
> ---
>
> drivers/ata
Add a usage document for the 'fru' u-boot command.
Add kerneldocs for .
Signed-off-by: Jae Hyun Yoo
---
Changes from v3:
* None.
Changes from v2:
* Added kerneldocs to 'include/fru.h'. (Simon)
Changes from v1:
* Newly added in v2. (Heinrich)
doc/usage/cmd/fru.rst | 144
The option SPL_SATA_SUPPORT is renamed to SPL_SATA. Fix the option
name.
Fixes: 73059529b20 ("ata: ahci-pci: Add new option CONFIG_SPL_AHCI_PCI")
Signed-off-by: Oleksandr Suvorov
---
drivers/ata/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ata/Kconfig b/dr
Add product info area parsing support. Custom board fields can be
added dynamically using linked list so that each board support can
utilize them in their own custom way.
Signed-off-by: Jae Hyun Yoo
---
Changes from v3:
* None.
Changes from v2:
* Changed 'struct fru_board_info_member' to 'stru
Add test cases for the fru command.
Signed-off-by: Jae Hyun Yoo
Reviewed-by: Simon Glass
---
Changes from v3:
* Added a 'Reviewed-by' tag. (Simon)
Changes from v2:
* Newly added in v3. (Simon)
include/test/suites.h | 1 +
test/cmd/Makefile | 1 +
test/cmd/fru.c| 84 +++
From: Graeme Gregory
The FRU handling was added as a Xilinx board dependent support but it
is also useful for other boards too, so this commit moves the FRU
handling support to the common region so that it can be enabled by
CONFIG_CMD_FRU.
Signed-off-by: Graeme Gregory
Signed-off-by: Jae Hyun Y
Refactor FRU handling support to remove Xilinx customization dependency.
With this change, single or multiple custom board fields and
multi-records can be added dynamically using linked list so that each
board support can utilize them in their own custom way.
It's a preparation change for moving t
Hello,
The FRU handling was added as a Xilinx board dependent support but it
is also useful for other boards, so this commit moves the FRU handling
support to the common region so that it can be enabled by CONFIG_CMD_FRU.
To provide manufacturer specific custom info fields and multi-records
parsi
This command doesn't work with sandbox because direct memory access
causes a segfault error. Fix it up using map_sysmem().
Signed-off-by: Jae Hyun Yoo
Reviewed-by: Simon Glass
---
Changes from v3:
* None.
Changes from v2:
* Added a 'Reviewed-by' tag. (Simon)
Changes from v1:
* Newly added i
Hi Pali,
On Thu, 25 Aug 2022 at 08:20, Pali Rohár wrote:
>
> On Friday 12 August 2022 20:21:00 Simon Glass wrote:
> > Hi Pali,
> >
> > On Fri, 12 Aug 2022 at 09:17, Pali Rohár wrote:
> > >
> > > On Friday 12 August 2022 09:11:10 Simon Glass wrote:
> > > > Hi Pali,
> > > >
> > > > On Fri, 12 Aug
Hi Jae,
On Thu, 25 Aug 2022 at 08:33, Jae Hyun Yoo wrote:
>
> Hi Simon,
>
> On 8/24/2022 6:25 PM, Simon Glass wrote:
> > Hi Jae,
> >
> > On Tue, 23 Aug 2022 at 14:53, Jae Hyun Yoo wrote:
> >>
> >> Add product info area parsing support. Custom board fields can be
> >> added dynamically using link
On Thu, 25 Aug 2022 at 00:41, Ovidiu Panait wrote:
>
> Add bdinfo_print_size() helper to display size variables (such as cache
> sizes) in bdinfo format. The size is printed as "xxx Bytes", "xxx KiB",
> "xxx MiB", "xxx GiB", etc as needed;
>
> Signed-off-by: Ovidiu Panait
> ---
>
> cmd/bdinfo.c
Hi Michal,
On Wed, 24 Aug 2022 at 23:51, Michal Suchanek wrote:
>
> In some situations it may be needed to pass parameters to sudo or to use
> a different tool to gain root access. Add SUDO variable to specify the
> sudo tool.
>
> Signed-off-by: Michal Suchanek
> ---
> doc/develop/testing.rst
Hi Roger,
On Thu, 25 Aug 2022 at 05:12, Roger Knecht wrote:
>
> Fix typo in include/fs.h
>
> Reviewed-by: Simon Glass
> Signed-off-by: Roger Knecht
> ---
> v2:
> - Added Reviewed-by Simon
Just a note that patchwork collects these tags for you so there is no
need to resend the patch if that is
On 8/24/2022 6:25 PM, Simon Glass wrote:
Hi,
On Tue, 23 Aug 2022 at 14:53, Jae Hyun Yoo wrote:
Add a simple test for the 'fru' command.
Signed-off-by: Jae Hyun Yoo
---
Changes from v2:
* Added CONFIG_CMD_FRU=y only into the sandbox_defconfig. (Simon)
Changes from v1:
* Newly added in v
Hi Simon,
On 8/24/2022 6:25 PM, Simon Glass wrote:
On Tue, 23 Aug 2022 at 14:53, Jae Hyun Yoo wrote:
Add test cases for the fru command.
Signed-off-by: Jae Hyun Yoo
---
Changes from v2:
* Newly added in v3. (Simon)
include/test/suites.h | 1 +
test/cmd/Makefile | 1 +
test/cmd/
Hi Simon,
On 8/24/2022 6:25 PM, Simon Glass wrote:
Hi Jae,
On Tue, 23 Aug 2022 at 14:53, Jae Hyun Yoo wrote:
Add product info area parsing support. Custom board fields can be
added dynamically using linked list so that each board support can
utilize them in their own custom way.
Signed-off-
On Friday 12 August 2022 20:21:00 Simon Glass wrote:
> Hi Pali,
>
> On Fri, 12 Aug 2022 at 09:17, Pali Rohár wrote:
> >
> > On Friday 12 August 2022 09:11:10 Simon Glass wrote:
> > > Hi Pali,
> > >
> > > On Fri, 12 Aug 2022 at 03:01, Pali Rohár wrote:
> > > >
> > > > On Thursday 11 August 2022 1
PING? Who can review and take this patch? It is needed for more boards
due to increasing size of u-boot binary.
On Sunday 07 August 2022 21:27:09 Pali Rohár wrote:
> Debug dump logs are not always required. Add a new config option
> UBIFS_SILENCE_DEBUG_DUMP to silence all debug dumps. On powerpc/m
On Monday 08 August 2022 12:10:27 Tom Rini wrote:
> On Sun, Aug 07, 2022 at 09:04:22PM +0200, Pali Rohár wrote:
>
> > Some UBI partitions may use non-standard UBI header offset. For attaching
> > these UBI partitions it is required to pass second argument with offset to
> > "ubi part" command.
> >
Hi Tom
I made a really big mistake, get problem with mutt and then sent by gmail
Sorry
On Thu, Aug 25, 2022 at 3:34 PM Tom Rini wrote:
>
> On Wed, Aug 24, 2022 at 05:05:25PM +0200, Michael Nazzareno Trimarchi wrote:
>
> > Hi Tom,
> >
> > please pull this Nand related patches:
> >
> > --
+Alain (with the correct email address ;-))
Alain, can you have a look a this patch and give your feedback on it.
On my side i tested it on stm32mp157c-ev1 and stm32mp157c-dk2, i didn't see any
regression
but i prefer to get expert feedback
Thanks
Patrice
On 8/15/22 16:52, Jorge Ramirez-Orti
On Wed, Aug 24, 2022 at 05:05:25PM +0200, Michael Nazzareno Trimarchi wrote:
> Hi Tom,
>
> please pull this Nand related patches:
>
>
> Re-sync again on some linux part, add some fixes for fsl_elbc from
> Pali and switch
> imx8mn b
Hi,
Today I discovered a failure which bisected to this commit.
When running QEMU with libvirt, which created some pcie devices, U-boot
fails on autoboot with:
Unhandled exception: Load access fault
EPC: bff7c46e RA: bff7c46c TVAL: 40200014
EPC: 8002446e RA: 00
Versal supports gqspi ip, so enable zynqmp_gqspi driver for Versal
platforms.
Signed-off-by: Ashok Reddy Soma
---
configs/xilinx_versal_virt_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/xilinx_versal_virt_defconfig
b/configs/xilinx_versal_virt_defconfig
index 6e61abd0c
Add support for io-mode transfers. This is necessary for UBIFS to work
properly with spi-nor devices. The driver will work in IO mode when
"has-io-mode" is passed from device tree instead of DMA.
Signed-off-by: Ashok Reddy Soma
---
drivers/spi/zynqmp_gqspi.c | 81 +++
Few lines are extented to next line though they can fit in 80 character
limit, align them to single line. No functional change.
Signed-off-by: Ashok Reddy Soma
---
drivers/spi/zynqmp_gqspi.c | 18 ++
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/drivers/spi/zynq
As the flash sizes are increasing day by day, QSPI can have devices of
size > 512MB. In qspi driver we are trying to read all the data at once
using DMA.
The DMA descriptor destination size is only 29bits long.
QSPIDMA_DST_SIZE 0xFF0F0804
BITS: 1:0 Reserved to keep word alignment
BITS: 28:
From: Michal Simek
GQSPI driver is using it but this function is never called for Versal
because it is removed by linker. But function should be declared to avoid
this build warning:
drivers/spi/zynqmp_gqspi.c: In function 'zynqmp_qspi_set_tapdelay':
drivers/spi/zynqmp_gqspi.c:378:3: warning: imp
Add tap delays for Versal platform and re-align the tapdelays code.
Signed-off-by: Ashok Reddy Soma
---
drivers/spi/zynqmp_gqspi.c | 60 --
1 file changed, 38 insertions(+), 22 deletions(-)
diff --git a/drivers/spi/zynqmp_gqspi.c b/drivers/spi/zynqmp_gqspi.c
In this patch series
- Add tapdelays for Versal
- Add support for IO mode
- Fix issue of reading more than 32bits length in DMA
- Minor code alignment
- Enable zynqmp_gqspi driver for Versal platforms
Ashok Reddy Soma (5):
spi: zynqmp_gqspi: Add tap delays for Versal
spi: zynqmp_gqspi: A
On 8/24/22 16:04, Patrice CHOTARD wrote:
Hi Marek
Hi,
On 8/23/22 19:07, Marek Vasut wrote:
The GPIO chipselect signal polarity is handled by the GPIO core code,
the driver code is only responsible for asserting and deasserting the
GPIO. Do not invert the GPIO polarity in the driver code.
Fo
The commit ce39ee28ec31 ("zynqmp: Do not place u-boot to reserved memory
location") adds functionality for ZynqMP to read reserved memory node and
do not place U-Boot to reserved location. This functionality is generic
across all Xilinx SOCs that's why move it to common location to be used by
all X
Fix typo in include/fs.h
Reviewed-by: Simon Glass
Signed-off-by: Roger Knecht
---
v2:
- Added Reviewed-by Simon
include/fs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/fs.h b/include/fs.h
index 2195dc172e..8370d88cb2 100644
--- a/include/fs.h
+++ b/include/fs.
On 24/08/2022 12.17, Peng Fan wrote:
>
>
> On 8/23/2022 9:36 PM, Rasmus Villemoes wrote:
>> We have observed a somewhat weird bug: When booting the downstream NXP
>> kernel lf-5.15.32-2.0.0 [fa6c3168595c], sometimes the board would hang
>> during imx_lcdifv3_probe(). Adding some printk debugging
Hi Henrich,
Many thanks for your review on this patch. I've responded to things
inline below. I'm also available on IRC (paulbarker) if you want to
discuss further.
On 13/08/2022 20:20, Heinrich Schuchardt wrote:
On 8/4/22 12:34, Paul Barker wrote:
This addition allows UEFI applications run
čt 25. 8. 2022 v 8:42 odesílatel Ovidiu Panait napsal:
>
> Add bdinfo_print_size() helper to display size variables (such as cache
> sizes) in bdinfo format. The size is printed as "xxx Bytes", "xxx KiB",
> "xxx MiB", "xxx GiB", etc as needed;
>
> Signed-off-by: Ovidiu Panait
> ---
>
> cmd/bdinf
On 8/25/22 08:41, Ovidiu Panait wrote:
Allow bdinfo command to print icache/dcache information:
U-Boot-mONStR> bdinfo
boot_params = 0x
DRAM bank = 0x
-> start= 0x0400
-> size = 0x0400
flashstart = 0x
flashsize = 0x
flashoffset = 0x
b
On 8/25/22 08:41, Ovidiu Panait wrote:
Drop the unused ret variable from microblaze_cpu_get_desc().
Signed-off-by: Ovidiu Panait
---
drivers/cpu/microblaze_cpu.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/cpu/microblaze_cpu.c b/drivers/cpu/microbla
+Alain
Alain, can you have a look a this patch and give your feedback on it.
On my side i tested it on stm32mp157c-ev1 and stm32mp157c-dk2, i didn't see any
regression
but i prefer to get expert feedback ;-)
Thanks
Patrice
On 8/15/22 16:52, Jorge Ramirez-Ortiz wrote:
> Sending the stop conditi
Hi,
On 8/25/22 08:41, Ovidiu Panait wrote:
These macros don't seem to be used by microblaze code anymore, so remove
them.
the patch itself is correct but I would prefer if you can provide more details
in commit message.
I tracked it down and that macros should be removed as the part of this
On Thu, 25 Aug 2022 at 17:03, Ilias Apalodimas
wrote:
>
> [...]
>
> > > > media devices supporting EFI_SIMPLE_FILE_SYSTEM_PROTOCOL,
> > > > add it as new UEFI boot option(BOOT) and update BootOrder
> > > > variable. This automatically generated UEFI boot option
> > > > has the dedicated guid i
These DT files are synchornized from Linux 5.19.
Signed-off-by: Icenowy Zheng
---
arch/riscv/dts/fu740-c000.dtsi | 67 +
arch/riscv/dts/hifive-unmatched-a00.dts | 95 +++--
2 files changed, 73 insertions(+), 89 deletions(-)
diff --git a/arch/riscv/dt
This commit sychornizes the header file for FU740 PRCI clocks with the
one from Linux 5.19.
The constant values are the same, but all constant names are changed
(most are just prefixed with FU740_).
Signed-off-by: Icenowy Zheng
---
arch/riscv/dts/fu740-c000-u-boot.dtsi | 16 +--
This patchset tries to sync FU740 related DT from Linux 5.19.
The first patch fetches the DT binding header from Linux, and the second
one fetches the main DT files.
Icenowy Zheng (2):
dt-bindings: clock: sifive: sync FU740 PRCI clock binding header
riscv: dts: sifive: Synchornize FU740 and U
[...]
> > > media devices supporting EFI_SIMPLE_FILE_SYSTEM_PROTOCOL,
> > > add it as new UEFI boot option(BOOT) and update BootOrder
> > > variable. This automatically generated UEFI boot option
> > > has the dedicated guid in the optional_data to distinguish it from
> > > the UEFI boot optio
From: Takahiro Kuwano
Add flash info table entries for s28hl512gt, s28hl01gt, and s28hs01gt.
These devices have the same functionality as s28hs512t.
In spi-nor-core, use device ID byte to detect S28 family instead of
device name.
Signed-off-by: Takahiro Kuwano
---
drivers/mtd/spi/spi-nor-core
From: Takahiro Kuwano
Change configuration macro name to support all other devices in SEMPER S28
family.
Signed-off-by: Takahiro Kuwano
---
configs/j721s2_evm_a72_defconfig | 2 +-
configs/j721s2_evm_r5_defconfig | 2 +-
drivers/mtd/spi/Kconfig | 10 +-
drivers/mtd/spi/spi-
From: Takahiro Kuwano
Change prefix to support all other devices in SEMPER S28 family.
Signed-off-by: Takahiro Kuwano
---
drivers/mtd/spi/spi-nor-core.c | 34 +-
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/dri
From: Takahiro Kuwano
These devices are variants of s28hs512t(1.8V 512Mb) with different
density(1Gb) and power supply voltage(3V).
Datasheet:
https://www.infineon.com/dgdl/Infineon-S28HS256T_S28HS512T_S28HS01GT_S28HL256T_S28HL512T_S28HL01GT_256-Mb_(32-MB)_512-Mb_(64-MB)_1-Gb_(128-MB)_HS-T_(1.8-
Hi Grzegorz
On 8/24/22 19:51, Grzegorz Szymaszek wrote:
> Hi,
>
> On Wed, Aug 24, 2022 at 05:06:59PM +0200, Patrice Chotard wrote:
>> SYS_HZ_CLOCK was wrongly set to 1MHz whereas it's set to 750MHz
>> by default by bootrom.
>
> s/1MHz/1GHz/, it seems. Otherwise:
I confirm ;-), i sent a v2 with
SYS_HZ_CLOCK was wrongly set to 1GHz whereas it's set to 750MHz
by default by bootrom.
Signed-off-by: Patrice Chotard
Reviewed-by: Grzegorz Szymaszek
---
Changes in v2:
- Replace 1MHz by 1GHz in commit description
include/configs/stih410-b2260.h | 2 +-
1 file changed, 1 insertion(+), 1 d
Complete series is
Reviewed-by: Wolfgang Wallner
From: Bernhard Messerklinger
Sent: Thursday, August 25, 2022 8:53
To: u-boot@lists.denx.de
Cc: Wolfgang Wallner ; Bernhard
Messerklinger ; Andre Przywara
; Christian Hewitt ; Hannes
Schmelzer ; Marcel Ziswiler
; Marek Vasut ; Pali Rohár
;
69 matches
Mail list logo