This commit adds the menu-driven interface to show the
signature list content.
Signed-off-by: Masahisa Kojima
Acked-by: Ilias Apalodimas
---
Changes in v10:
- change buffer size to appropriate value(37)
- use strdup()
No update since v7
Changes in v7:
- remove delete signature list feature
This commit adds the menu-driven UEFI Secure Boot Key
enrollment interface. User can enroll PK, KEK, db
and dbx by selecting file.
Only the signed EFI Signature List(s) with an authenticated
header, typically '.auth' file, is accepted.
To clear the PK, KEK, db and dbx, user needs to enroll the
EFI_SIMPLE_FILE_SYSTEM_PROTOCOL is not always provided
by U-Boot. Use protocol interface functions instead of
U-Boot internal functions.
Signed-off-by: Masahisa Kojima
---
Newly created in v10
cmd/eficonfig.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git
Following commits are adding support for UEFI variable management
via the eficonfig menu. Those functions needs to use
eficonfig_create_device_path() to construct the full device path
from device path of the volume and file path, so move it
out of their static declarations.
Signed-off-by:
All the eficonfig menus other than "Change Boot Order"
use 'eficonfig_entry' structure for each menu entry.
This commit refactors change boot order implementation
to use 'eficonfig_entry' structure same as other menus
to have consistent menu handling.
This commit also simplifies the data->active
Following commits are adding support for UEFI variable management
via the eficonfig menu. Those functions needs to use
append_entry() and append_quit_entry() to construct the
menu, so move them out of their static declarations.
Signed-off-by: Masahisa Kojima
Reviewed-by: Ilias Apalodimas
---
no
eficonfig_select_file_handler() is commonly used to select the
file. eficonfig_display_select_file_option() adds an additional
menu to clear the selected file.
eficonfig_display_select_file_option() is not always necessary
for the file selection process, so it must be outside of
This series adds the UEFI Secure Boot key maintenance interface
to the eficonfig command.
User can enroll PK, KEK, db and dbx.
Source code can be cloned with:
$ git clone https://git.linaro.org/people/masahisa.kojima/u-boot.git -b
kojima/eficonfig_sbkey_v10
[major changes]
-rebase to
On Sat, 19 Nov 2022 at 02:30, Heinrich Schuchardt wrote:
>
> On 11/18/22 10:37, Masahisa Kojima wrote:
> > Hi Heinrhch,
> >
> > On Fri, 18 Nov 2022 at 08:07, Heinrich Schuchardt
> > wrote:
> >>
> >> On 11/16/22 11:28, Masahisa Kojima wrote:
> >>> This commit adds the menu-driven UEFI Secure
We move the existing CONFIG_POST_* functionality over to CFG_POST and
then introduce CONFIG_POST to Kconfig.
Signed-off-by: Tom Rini
---
arch/powerpc/cpu/mpc85xx/cpu.c| 2 +-
configs/P2041RDB_NAND_defconfig | 1 +
configs/P2041RDB_SDCARD_defconfig |
Given that we can use Kconfig logic directly to see if we have a program
available on the host or not, change from passing NO_SDL to instead
controlling CONFIG_SANDBOX_SDL in Kconfig directly. Introduce
CONFIG_HOST_HAS_SDL as the way to test for sdl2-config and default
CONFIG_SANDBOX_SDL on if we
Perform some deeper investigation on the remaining symbols listed in
this file and remove more.
Signed-off-by: Tom Rini
---
include/configs/P1010RDB.h | 2 --
scripts/config_whitelist.txt | 22 --
2 files changed, 24 deletions(-)
diff --git a/include/configs/P1010RDB.h
This converts the following to Kconfig:
CONFIG_VSC7385_ENET
CONFIG_VSC9953
Signed-off-by: Tom Rini
---
configs/MPC837XERDB_defconfig| 1 +
configs/P1020RDB-PC_36BIT_NAND_defconfig | 1 +
configs/P1020RDB-PC_36BIT_SDCARD_defconfig | 1 +
This converts the following to Kconfig:
CONFIG_USB_GADGET_AT91
Signed-off-by: Tom Rini
---
configs/smartweb_defconfig | 1 +
configs/taurus_defconfig | 1 +
drivers/usb/gadget/Kconfig | 4
include/configs/smartweb.h | 4
include/configs/taurus.h | 4
5 files changed, 6
Move a number of legacy USB UDC options to Kconfig, over from the config
header.
Cc: Pali Rohár
Signed-off-by: Tom Rini
---
README | 7 ---
board/nokia/rx51/Kconfig | 30 ++
include/configs/nokia_rx51.h | 9 -
3 files changed,
This converts the following to Kconfig:
CONFIG_TPS6586X_POWER
CONFIG_TWL6030_POWER
Signed-off-by: Tom Rini
---
configs/omap4_panda_defconfig | 1 +
configs/omap4_sdp4430_defconfig | 1 +
configs/seaboard_defconfig| 1 +
drivers/power/Kconfig | 7 +++
This converts the following to Kconfig:
CONFIG_SPD_EEPROM
Cc: Stefan Roese
Signed-off-by: Tom Rini
---
Note that this increases the size of SPL on db-mv784mp-gp as now the
SPD_EEPROM code is being included, where it wasn't before seemingly.
---
README | 7
This converts the following to Kconfig:
CONFIG_SH_GPIO_PFC
CONFIG_TMU_TIMER
Signed-off-by: Tom Rini
---
arch/arm/mach-rmobile/Kconfig.32 | 4
drivers/gpio/Kconfig | 5 +
include/configs/rcar-gen2-common.h | 5 -
3 files changed, 9 insertions(+), 5 deletions(-)
This converts the following to Kconfig:
CONFIG_TEGRA_CLOCK_SCALING
CONFIG_TEGRA_LP0
CONFIG_TEGRA_PMU
Signed-off-by: Tom Rini
---
arch/arm/mach-tegra/tegra20/Kconfig| 12
arch/arm/mach-tegra/tegra20/warmboot.c | 4
include/configs/seaboard.h | 5 -
This converts the following to Kconfig:
CONFIG_NAND_ECC_BCH
CONFIG_NAND_KIRKWOOD
CONFIG_NAND_KMETER1
Signed-off-by: Tom Rini
---
arch/arm/mach-kirkwood/include/mach/config.h | 1 -
configs/kmcoge5ne_defconfig | 1 +
drivers/mtd/nand/raw/Kconfig | 13
In practice, it is clear that the usage in m68k of
CONFIG_WATCHDOG_TIMEOUT is setting a value in milliseconds. Rename this
to the existing symbol and move to Kconfig.
Signed-off-by: Tom Rini
---
arch/m68k/cpu/mcf523x/cpu.c| 2 +-
arch/m68k/cpu/mcf52x2/cpu.c| 6 +++---
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini
---
scripts/config_whitelist.txt | 65
1 file changed, 65 deletions(-)
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 8832597d33a2..8b5b1e6f4553 100644
---
At this point all users of this driver enable DM_ETH, so remove the
legacy code paths.
Signed-off-by: Tom Rini
---
drivers/net/ftmac100.c | 91 +-
1 file changed, 2 insertions(+), 89 deletions(-)
diff --git a/drivers/net/ftmac100.c
This converts the following to Kconfig:
CONFIG_RTC_DS1337
CONFIG_RTC_DS1337_NOOSC
CONFIG_RTC_DS1338
CONFIG_RTC_DS1374
CONFIG_RTC_DS3231
CONFIG_RTC_MC13XXX
CONFIG_RTC_MXS
CONFIG_RTC_PT7C4338
Signed-off-by: Tom Rini
---
README| 22
This converts the following to Kconfig:
CONFIG_SMSC_LPC47M
CONFIG_SMSC_SIO1007
Signed-off-by: Tom Rini
---
configs/cougarcanyon2_defconfig | 1 +
configs/crownbay_defconfig | 1 +
drivers/misc/Kconfig| 6 ++
include/configs/cougarcanyon2.h | 2 --
This converts the following to Kconfig:
CONFIG_PCA953X
Cc: Uri Mashiach
Signed-off-by: Tom Rini
---
The only user of the non-DM GPIO driver here is the cl-som-imx7, and in
turn also the "pca953x" command. I think with a dts resync the DM GPIO
driver should just work however?
---
README
We no longer have any i.MX27 platforms, remove the remaining support
code.
Signed-off-by: Tom Rini
---
arch/arm/cpu/arm926ejs/Makefile| 1 -
arch/arm/cpu/arm926ejs/mx27/Makefile | 7 -
arch/arm/cpu/arm926ejs/mx27/generic.c | 378 -
This converts the following to Kconfig:
CONFIG_MXS_OCOTP
Signed-off-by: Tom Rini
---
drivers/misc/Kconfig | 8
include/configs/mxs.h | 5 -
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index
This option controls using board/samsung/common/misc.c, so add a Kconfig
file there as well and select it from the boards which use this
functionality.
Signed-off-by: Tom Rini
---
arch/arm/Kconfig| 1 +
arch/arm/mach-exynos/Kconfig| 5 +
This driver is not enabled in any config currently, remove it.
Cc: Trevor Woerner
Signed-off-by: Tom Rini
---
I ran in to this as CONFIG_LPC32XX_HSUART is not in Kconfig, so doing
that migration would be another path forward here.
---
arch/arm/include/asm/arch-lpc32xx/config.h | 8 --
This is only used on sandbox, so select it there.
Cc: Simon Glass
Signed-off-by: Tom Rini
---
arch/Kconfig | 1 +
common/Kconfig| 3 +++
include/configs/sandbox.h | 2 --
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch/Kconfig b/arch/Kconfig
index
This symbol appears to be globally used in the architecture, select it.
Signed-off-by: Tom Rini
---
arch/arm/cpu/armv7/ls102xa/Kconfig | 4
include/configs/km/pg-wcom-ls102xa.h | 6 --
include/configs/ls1021aiot.h | 2 --
include/configs/ls1021aqds.h | 2 --
This converts the following to Kconfig:
CONFIG_IODELAY_RECALIBRATION
Signed-off-by: Tom Rini
---
arch/arm/mach-omap2/omap5/Kconfig | 4
include/configs/am57xx_evm.h | 2 --
include/configs/dra7xx_evm.h | 2 --
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git
This converts the following to Kconfig:
CONFIG_IOMUX_LPSR
CONFIG_IOMUX_SHARE_CONF_REG
Signed-off-by: Tom Rini
---
arch/arm/Kconfig | 1 +
arch/arm/include/asm/arch-vf610/imx-regs.h | 3 ---
arch/arm/mach-imx/Kconfig | 6 ++
Only this platform sets this option, define it in the board Kconfig
file.
Signed-off-by: Tom Rini
---
board/freescale/mpc8548cds/Kconfig | 3 +++
include/configs/MPC8548CDS.h | 2 --
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/board/freescale/mpc8548cds/Kconfig
This converts the following to Kconfig:
CONFIG_IMX_VIDEO_SKIP
CONFIG_IMX_HDMI
Signed-off-by: Tom Rini
---
configs/aristainetos2c_defconfig | 1 +
configs/aristainetos2ccslb_defconfig | 1 +
configs/cm_fx6_defconfig | 1 +
configs/ge_b1x5v2_defconfig | 1 +
This code is currently unused, remove it.
Signed-off-by: Tom Rini
---
arch/arm/cpu/arm920t/imx/Makefile | 8 ---
arch/arm/cpu/arm920t/imx/generic.c | 76 --
arch/arm/cpu/arm920t/imx/speed.c | 86 -
arch/arm/cpu/arm920t/imx/timer.c | 100
This converts the following to Kconfig:
CONFIG_POWER_FSL
CONFIG_POWER_FSL_MC13892
CONFIG_POWER_HI6553
CONFIG_POWER_LTC3676
CONFIG_POWER_PFUZE100
CONFIG_POWER_PFUZE3000
CONFIG_POWER_SPI
CONFIG_POWER_TPS65090_EC
CONFIG_POWER_TPS65218
CONFIG_POWER_TPS65910
This converts the following to Kconfig:
CONFIG_HWCONFIG
Signed-off-by: Tom Rini
---
common/Kconfig| 4
configs/MCR3000_defconfig | 1 +
configs/da850evm_defconfig| 1 +
configs/da850evm_direct_nor_defconfig | 1 +
On platforms that use DM_PWM, we do not need to define this value
anymore, so remove it from config files.
Signed-off-by: Tom Rini
---
For the record, vining_2000 does not use DM_PWM and requires
board-specific updates as well to switch, so we're going this path for
the moment.
---
This converts the following to Kconfig:
CONFIG_FSL_LBC
Signed-off-by: Tom Rini
---
arch/powerpc/Kconfig | 4
arch/powerpc/include/asm/config.h | 8
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index
This converts the following to Kconfig:
CONFIG_FSL_SERDES
Signed-off-by: Tom Rini
---
arch/powerpc/cpu/mpc83xx/Kconfig | 4
arch/powerpc/cpu/mpc83xx/serdes.c | 4
configs/MPC837XERDB_defconfig | 1 +
include/configs/MPC837XERDB.h | 1 -
4 files changed, 5 insertions(+), 5
This converts the following to Kconfig:
CONFIG_HIKEY_GPIO
CONFIG_TCA642X
Signed-off-by: Tom Rini
---
configs/hikey_defconfig | 1 +
configs/omap5_uevm_defconfig | 2 +-
drivers/gpio/Kconfig | 9 +
include/configs/hikey.h | 2 --
include/configs/omap5_uevm.h | 1 -
This converts the following to Kconfig:
CONFIG_FSL_DEVICE_DISABLE
Signed-off-by: Tom Rini
---
arch/arm/cpu/armv7/ls102xa/Kconfig | 4
include/configs/km/pg-wcom-ls102xa.h | 1 -
include/configs/ls1021aiot.h | 2 --
include/configs/ls1021aqds.h | 2 --
This converts the following to Kconfig:
CONFIG_FSL_IIM
Signed-off-by: Tom Rini
---
configs/m53menlo_defconfig | 1 +
configs/mx51evk_defconfig | 1 +
configs/mx53ppd_defconfig | 1 +
configs/usbarmory_defconfig | 1 +
doc/README.fsl_iim | 2 +-
drivers/misc/Kconfig| 4
This converts the following to Kconfig:
CONFIG_FSL_CADMUS
Signed-off-by: Tom Rini
---
board/freescale/mpc8548cds/Kconfig | 3 +++
include/configs/MPC8548CDS.h | 2 --
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/board/freescale/mpc8548cds/Kconfig
As we have more legacy PMIC drivers to move to Kconfig, guard them all
with POWER_LEGACY or SPL_POWER_LEGACY. Do the same kind of check for
building the drivers too. This also means that we need to resort the
list slightly in the Makefile.
Cc: Jaehoon Chung
Signed-off-by: Tom Rini
---
On Wednesday 09 November 2022 21:33:28 Pali Rohár wrote:
> On Wednesday 02 November 2022 01:08:26 Pali Rohár wrote:
> > On Friday 21 October 2022 21:09:55 Pali Rohár wrote:
> > > On Thursday 20 October 2022 22:06:58 Pali Rohár wrote:
> > > > On Monday 10 October 2022 23:30:21 Sicelo wrote:
> > > >
The imx8mn-beacon SOM has a QSPI part on it connected to the
FlexSPI controller. Add a defconfig option which supports
booting from the QSPI NOR flash instead of sd/mmc.
Signed-off-by: Adam Ford
diff --git a/configs/imx8mn_beacon_fspi_defconfig
b/configs/imx8mn_beacon_fspi_defconfig
new file
The imx8mm_beacon SOM has a QSPI part attached to the FSPI controller.
Update the header and spl files to support booting from NOR flash and
add imx8mm_beacon_fspi_defconfig to support this configuration.
Signed-off-by: Adam Ford
diff --git a/board/beacon/imx8mm/spl.c
In order to use the FlexSPI interface in U-Boot, configure
the alias to make spi0 point to flexspi.
With that enabled, sf probe detects the QSPI part as:
SF: Detected n25q256ax1 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
Signed-off-by: Adam Ford
diff --git
Add board support for J784S4 SoC.
Signed-off-by: Hari Nagalla
---
board/ti/j784s4/Kconfig | 61
board/ti/j784s4/MAINTAINERS | 7 ++
board/ti/j784s4/Makefile| 8 ++
board/ti/j784s4/evm.c | 180
4 files changed, 256
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
Hi,
I am new. I am trying to figure out the right pogo pins to get in order to try
to build a serial port for N900. But I am trying to decipher the docs in the
wiki at the moment.
Best,
--
Ashish Shah
On Wed, Nov 9, 2022, at 2:33 PM, Pali Rohár wrote:
> On Wednesday 02 November 2022
Enable A72 specific configs for J784S4
Signed-off-by: Hari Nagalla
---
configs/j784s4_evm_a72_defconfig | 212 +++
1 file changed, 212 insertions(+)
create mode 100644 configs/j784s4_evm_a72_defconfig
diff --git a/configs/j784s4_evm_a72_defconfig
There are 4 instances of SERDES modules, with each instance supporting 4
lanes.
Signed-off-by: Hari Nagalla
Signed-off-by: Matthew Ranostay
---
include/dt-bindings/mux/ti-serdes.h | 62 +
1 file changed, 62 insertions(+)
diff --git
Add support for J784S4 SoC Identification.
Signed-off-by: Hari Nagalla
---
drivers/soc/soc_ti_k3.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/soc/soc_ti_k3.c b/drivers/soc/soc_ti_k3.c
index b1e7c4ae5f..f4b82103bf 100644
--- a/drivers/soc/soc_ti_k3.c
+++
Enable R5 SPL specific configs for J784S4.
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
---
configs/j784s4_evm_r5_defconfig | 176
1 file changed, 176 insertions(+)
create mode 100644 configs/j784s4_evm_r5_defconfig
diff --git
Add support for DDR subsystem in J784S4 SoC.
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
---
drivers/ram/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig
index 86857c0627..00cfc26b67 100644
---
Add support for J784S4 SoC.
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
---
drivers/clk/ti/clk-k3.c | 6 ++
include/k3-clk.h| 1 +
2 files changed, 7 insertions(+)
diff --git a/drivers/clk/ti/clk-k3.c b/drivers/clk/ti/clk-k3.c
index 0dd65934b3..17e5b757f0 100644
---
Add support for J784S4 SoC.
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
---
drivers/power/domain/ti-power-domain.c | 6 ++
include/k3-dev.h | 1 +
2 files changed, 7 insertions(+)
diff --git a/drivers/power/domain/ti-power-domain.c
Add basic support for J784S4 SoC definition
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
Signed-off-by: Bryan Bratloff
Signed-off-by: Nishant Menon
---
arch/arm/mach-k3/Kconfig | 16 +-
arch/arm/mach-k3/Makefile | 2 +
Add support for DMA in J784S4 SoC.
Signed-off-by: Hari Nagalla
Signed-off-by: Apurva Nandan
---
drivers/dma/ti/Makefile | 1 +
drivers/dma/ti/k3-psil-j784s4.c | 167 ++
drivers/dma/ti/k3-psil-priv.h | 1 +
drivers/dma/ti/k3-psil.c
Introduce the basic j784s4 SoC dtbs from the linux kernel along with
the new j784s4 specific pinmux definitions that we will use to generate
the dtbs for the u-boot-spl and u-boot binaries.
https://lore.kernel.org/all/20221014082314.118361-1-a-nan...@ti.com/
Signed-off-by: Hari Nagalla
Hello Everyone!
This series will introduce basic support (SD and UART) support for Texas
Instruments J784S4 EVM.
The J784S4 SoC device tree patches are taken from kernel patch submissions
and will be updated as they are accepted and merged to the kernel tree.
All other patches are specific to
On Sat, Nov 19, 2022 at 08:38:33AM -0600, Ashish Shah wrote:
> Hi,
>
> I am new. I am trying to figure out the right pogo pins to get in order to
> try to build a serial port for N900. But I am trying to decipher the docs in
> the wiki at the moment.
>
> Best,
>
> --
> Ashish Shah
In order to enable HAB, FSL_CAAM, ARCH_MISC_INIT and
SPL_CRYPTO should be enabled in Kconfig like other i.MX8M
boards.
Signed-off-by: Adam Ford
diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig
index a0715e8091..eadb2234b0 100644
---
On 11/18/22 12:19, Hector Palacios wrote:
Commit 8c4e3b79bd0bb76eea16869e9666e19047c0d005 supposedly
passed one-level up the argument passed to 'exit' but it also
broke 'exit' purpose of stopping a script.
In reality, even if 'do_exit()' is capable of returning any
integer, the cli only admits
November 19, 2022
Dear All,
Execute me. I need your help.
I am interested in qemu x86_64 and I have a problem that I want to input u-boot
into a sdcard file and start Linux with the sdcard file, like
grub-install(grub2) way.
The grub2 method (Method 1) is right, I want to use
69 matches
Mail list logo