From: Ye Li
1. Implement bootaux for the M4 boot on i.MX8QM and QXP. Users need to download
M4 image to any DDR address first. Then use the
"bootaux [M4 core id]" to boot CM4_0
or CM4_1, the default core id is 0 for CM4_0.
Since current M4 only supports running in TCM. The bootaux
From: Ye Li
The bootaux uses ulong to read private data and write to M4 TCM,
this cause problem on ARM64 platform where the ulong is 8bytes.
Fix it by using u32 to replace ulong.
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx_bootaux.c | 6
From: Peng Fan
i.MX8MN/P has Cortex-M7, i.MX93 has Cortex-M33, so use "M4" is a bit
misleading, so update the name of the macro
Signed-off-by: faqiang.zhu
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8m/imx-regs.h | 2 +-
arch/arm/include/asm/arch-mx6/imx-regs.h | 2 +-
From: Peng Fan
Add the support for loading image from secondary container set on
iMX8QM B0, iMX8QXP C0.
Using the SCFW API to get container set index, if it is the secondary
boot, get the offset from fuse and apply to offset of current container
set beginning for loading.
Also override the
From: Ye Li
Checking container header tag and version is wrong, it causes to fail
to bypass invalid container
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/image-container.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
From: Ye Li
Fix below coverity issues caused by get_idx function where "-1" is
compared with uint8_t "element"
343336 Unsigned compared with neg
343337 Operands don't affect result
Additional, this function returns "-1" will cause overflow to
event string array.
Reviewed-by: Peng Fan
From: Peng Fan
On the imx8ulp A1 SoC, the ELE RNG needs to be manually started.
Signed-off-by: Clement Faure
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/ele_api.h | 1 +
board/freescale/imx8ulp_evk/spl.c | 10 ++
drivers/misc/imx_ele/ele_api.c | 25
From: Ye Li
Extend the RX timeout value to 10s, because when authentication is failed
the ELE needs long time (>2s for 28M image) to return the result. Print
rx wait info per 1s.
Also correct TX and RX status registers in debug.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
From: Ye Li
According to SRM, the Sentinel MU has 8 TR and 4 RR registers. All
of them are used for ELE message. So update TR count to 8 and fix a
typo in receive msg
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/misc/imx_ele/ele_mu.c | 4 ++--
1 file
From: Clement Faure
Add ELE DEK Blob generation for the cmd_dek command.
Signed-off-by: Clement Faure
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/Kconfig | 7
arch/arm/mach-imx/cmd_dek.c | 84 +
2 files changed, 91 insertions(+)
diff --git
On Wed, May 3, 2023 at 12:29 AM William Zhang
wrote:
>
> The newer BCMBCA SoCs such as BCM6756, BCM4912 and BCM6855 include an
> updated SPI controller that add the capability to allow the driver to
> control chip select explicitly. Driver can control and keep cs low
> between the transfers
From: Ye Li
Fix Coverity (CID 21143558).
When tee_shm_register returns failure, the shm_input pointer is
invalid, should not free it. Same issue also exists on registering
shm_output.
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/cmd_dek.c | 3 ++-
From: Peng Fan
- Add crc computation.
- Add ele_generate_dek_blob API for encrypted boot support.
Signed-off-by: Clement Faure
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/ele_api.h | 2 +-
drivers/misc/imx_ele/ele_api.c | 44 +
2 files changed,
From: Peng Fan
Add two ELE API: ele_return_lifecycle_update and ele_write_secure_fuse
Add two cmd: ahab_return_lifecycle and ahab_sec_fuse_prog
Signed-off-by: Peng Fan
---
arch/arm/include/asm/mach-imx/ele_api.h | 2 +
arch/arm/mach-imx/ele_ahab.c| 74 +
From: Peng Fan
Use hextoul which looks a bit simpler.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/ele_ahab.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/ele_ahab.c b/arch/arm/mach-imx/ele_ahab.c
index 9bb37919638..5f23486304c 100644
---
From: Peng Fan
Per NXP requirement, we rename all the NXP EdgeLock Secure Enclave
code including comment, folder and API name to ELE to align.
Signed-off-by: Peng Fan
---
arch/arm/Kconfig | 4 +-
arch/arm/include/asm/arch-imx9/ccm_regs.h | 2 +-
From: Peng Fan
Fix build warning:
warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3
has type ‘u64’ {aka ‘long long unsigned int’} [-Wformat=]
printf("can't find memreg for image %d load address 0x%x, error %d\n",
warning: format ‘%lx’ expects argument of type
From: Peng Fan
Upgrade SCFW API to 1.16
Add more APIs:
sc_misc_get_button_status
sc_pm_reboot
sc_seco_v2x_build_info
Signed-off-by: Peng Fan
---
drivers/misc/imx8/scu_api.c | 78
include/firmware/imx/sci/rpc.h | 27 ---
From: Peng Fan
The return value is int type, not sc_err_t(u8), correct the usage.
Signed-off-by: Peng Fan
---
board/congatec/cgtqmx8/cgtqmx8.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/board/congatec/cgtqmx8/cgtqmx8.c b/board/congatec/cgtqmx8/cgtqmx8.c
index
From: Peng Fan
The return value is int type, not sc_err_t(u8), correct the usage.
Signed-off-by: Peng Fan
---
board/advantech/imx8qm_dmsse20_a1/spl.c | 6 +++---
board/advantech/imx8qm_rom7720_a1/spl.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git
From: Peng Fan
The return value is int type, not sc_err_t(u8), correct the usage.
Signed-off-by: Peng Fan
---
board/siemens/capricorn/board.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/board/siemens/capricorn/board.c b/board/siemens/capricorn/board.c
From: Peng Fan
The return value is int type, not sc_err_t(u8), correct the usage.
Signed-off-by: Peng Fan
---
board/toradex/colibri-imx8x/colibri-imx8x.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/board/toradex/colibri-imx8x/colibri-imx8x.c
From: Peng Fan
The return value is int type, not sc_err_t(u8), correct the usage.
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/cmd_dek.c | 2 +-
arch/arm/mach-imx/imx8/ahab.c | 10 +-
arch/arm/mach-imx/imx8/cpu.c | 6 +-
From: Peng Fan
The return value is int type, not sc_err_t(u8), correct the usage.
Signed-off-by: Peng Fan
---
board/toradex/apalis-imx8/apalis-imx8.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/board/toradex/apalis-imx8/apalis-imx8.c
From: Peng Fan
This patchset includes some misc update and fix from NXP downstream
- i.MX8 SCU API usage correction
- Use ELE(EdgeLockSecure Enclave) public from NXP to replace S400 or Sentinel
- Secondary container support and header checking fix
- New ELE API to support secure fuse and
On Wed, May 3, 2023 at 12:29 AM William Zhang
wrote:
>
> Currently the driver always sets the controller to dual data bit mode
> for both tx and rx data in the profile mode control register even for
> single data bit transfer. Luckily the opcode is set correctly according
> to SPI transfer data
On Wed, May 3, 2023 at 12:29 AM William Zhang
wrote:
>
> New compatible string brcm,bcmbca-hsspi-v1.0 is introduced based on
> dts document brcm,bcm63xx-hsspi.yaml. Add it to the driver to support
> this new binding.
>
> Port from linux patch:
> Link:
>
On Fri, Apr 28, 2023 at 6:09 PM Stefan Herbrechtsmeier
wrote:
>
> From: Lukas Funke
>
> Add support for an optional external chip-select gpio.
>
> Signed-off-by: Lukas Funke
> Signed-off-by: Stefan Herbrechtsmeier
> ---
Reviewed-by: Jagan Teki
On Fri, Apr 28, 2023 at 6:09 PM Stefan Herbrechtsmeier
wrote:
>
> From: Stefan Herbrechtsmeier
>
> Remove the platform data header because its content is only used by the
> driver.
>
> Signed-off-by: Stefan Herbrechtsmeier
> ---
Reviewed-by: Jagan Teki
On Fri, Apr 28, 2023 at 6:09 PM Stefan Herbrechtsmeier
wrote:
>
> From: Stefan Herbrechtsmeier
>
> Rename the flush function into pl022_spi_flush to avoid conflicting
> types with previous declaration of the function in stdio.h header.
>
> Signed-off-by: Stefan Herbrechtsmeier
> ---
On Fri, Apr 28, 2023 at 6:09 PM Stefan Herbrechtsmeier
wrote:
>
> From: Lukas Funke
>
> Align the compatible property with the kernel device tree binding [1]
> by removing the '-spi' suffix.
>
> [1]
> https://www.kernel.org/doc/Documentation/devicetree/bindings/spi/spi-pl022.yaml
>
>
Hello Simon,
On 01.06.23 18:22, Simon Glass wrote:
> Devices do not necessarily have nodes attached to them, since they can be
> created from platdata. In SPL a devicetree may in fact not exist at all.
>
> Check the node before using it. This avoids failure when OF_CHECKS is
> enabled.
>
>
Hi Tom,
On 01/06/23 22:10, Tom Rini wrote:
On Thu, May 11, 2023 at 03:29:50PM +0530, Nikhil M Jain wrote:
This patch series aims at updating SPL splashscreen framework for AM62x.
Nikhil M Jain (8):
common: spl: spl: Update stack pointer address
arch: arm: mach-k3: common: Return a
On 2023/6/2 1:44, Torsten Duwe wrote:
> On Thu, 25 May 2023 17:36:26 +0800
> Yanhong Wang wrote:
> [...]
>>
>> base-commit: 62df7a39442902a71259568c13a4d496d5a514f4
>
> Have you tested this?
>
I also got the following error, which was caused by the recent
submission [commit ID:
On Fri, Jun 02, 2023 at 11:34:33AM +1000, Jonathan Liu wrote:
> Hi Tom,
>
> On Fri, 2 Jun 2023 at 03:09, Tom Rini wrote:
> >
> > On Thu, Jun 01, 2023 at 02:10:21PM +1000, Jonathan Liu wrote:
> > > Hi Simon,
> > >
> > > On Thu, 1 Jun 2023 at 11:27, Jonathan Liu wrote:
> > > >
> > > > Hi Simon,
>
Hi Tom,
On Fri, 2 Jun 2023 at 03:09, Tom Rini wrote:
>
> On Thu, Jun 01, 2023 at 02:10:21PM +1000, Jonathan Liu wrote:
> > Hi Simon,
> >
> > On Thu, 1 Jun 2023 at 11:27, Jonathan Liu wrote:
> > >
> > > Hi Simon,
> > >
> > > On Thu, 1 Jun 2023 at 03:13, Simon Glass wrote:
> > > >
> > > > Hi
On 2023/5/31 2:11, Simon Glass wrote:
> Hi Yanhong,
>
> Please can you send this to the mailing list and cc me?
>
> Regards,
> Simon
>
> On Tue, 16 May 2023 at 20:48, yanhong wang
> wrote:
>>
>> Hi Simon Glass,
>>
>> Running the latest U-boot on the StarFive VisionFive 2 1.3B board prompts
Hi Jagan and Tom,
Any chance to get this patch series into the u-boot? I haven't heard any
feedback and comments but they are largely based on patch series for
linux that was accepted in kernel stable release 6.3 and verified on
Broadcom reference boards.
Thanks,
William
On 05/02/2023
>From b887f8bb547b56f6a0c0c7102a9d232df6f174c6 Mon Sep 17 00:00:00 2001
From: cidlik
Date: Thu, 1 Jun 2023 23:20:03 +0300
Subject: [PATCH] xhci: Add soft retry mechanism for control transaction
A Soft Retry may effectively be used to recover from a USB Transaction
Error that was due to a
Am 1. Juni 2023 21:32:04 MESZ schrieb Ilias Apalodimas
:
>Hi Heinrich,
>
>[...]
>> > + * @event notified event
>> > + * @context pointer to the notification count
>> > + */
>> > +static void EFIAPI test_uninstall_notify(struct efi_event *event, void
>> > *context)
>> > +{
>> > +
On Thu, 1 Jun 2023 at 00:21, Ilias Apalodimas
wrote:
>
> Instead of copy pasting the commands needed to start a TPM consisting
> of:
> - tpm init
> - tpm startup TPM2_SU_CLEAR
> - tpm2 self_test full
> use the newly added 'autostart' which does the same thing and simplify
> our python scripts
>
>
On Thu, 1 Jun 2023 at 00:18, Ilias Apalodimas
wrote:
>
> One out comments is off by one, adjust it
>
> Signed-off-by: Ilias Apalodimas
> ---
> test/dm/tpm.c | 9 +
> 1 file changed, 5 insertions(+), 4 deletions(-)
>
Reviewed-by: Simon Glass
(I'm not sure I understand the commit
Hi Ilias,
On Thu, 1 Jun 2023 at 00:21, Ilias Apalodimas
wrote:
>
> For a TPM device to be operational we need to initialize it and
> perform its startup sequence. The 'tpm init' command currently calls
> tpm_init() which ends up calling the ->open() per-device callback and
> performs the
This patch adds the necessary code to make nonsec booting and PSCI
secondary core management functional on the R528/T113.
Signed-off-by: Sam Edwards
---
arch/arm/cpu/armv7/sunxi/psci.c | 47 -
arch/arm/mach-sunxi/Kconfig | 2 ++
This is to prepare for R528, which does not have the typical
"CPUCFG" block; it has a "CPUX" block which provides these
same functions but is organized differently.
Moving the hardware-access bits to their own functions separates the
logic from the hardware so we can reuse the same logic.
This patch restructures psci.c to get away from the "many different
function definitions switched by #ifdef" paradigm to the preferred style
of having a single function definition with `if (IS_ENABLED(...))` to
make the optimizer include only the appropriate function bodies instead.
There are no
This patch contains only register defs for cpu_sunxi_ncat2.h, and should
be combined (as appropriate) into:
sunxi: introduce NCAT2 generation model
---
arch/arm/include/asm/arch-sunxi/cpu_sunxi_ncat2.h | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git
Hi Andre (and list),
Per our previous discussion, these are my patches to add PSCI support to your
WIP R528/T113s series. I am sending it as RFC because I have CC'd the list and
don't want these changes to be treated as patches against upstream.
The first patch in this series provides a few more
On 6/1/23 1:30 AM, Heinrich Schuchardt wrote:
Am 1. Juni 2023 01:35:01 MESZ schrieb Stuart Yoder :
On 5/31/23 5:09 PM, Heinrich Schuchardt wrote:
Am 31. Mai 2023 22:40:23 MESZ schrieb Stuart Yoder :
On 5/31/23 3:10 PM, Heinrich Schuchardt wrote:
On 5/31/23 21:37, Stuart Yoder
On Thu, May 04, 2023 at 03:54:59PM +0800, Leo Yan wrote:
> When build Xen target with Clang, the linker reports failure.
>
> This patch adds the related info in the documentation as a known issue
> and gives details for how to dismiss the building failure with Clang.
>
> Signed-off-by: Leo Yan
On Thu, May 04, 2023 at 03:54:58PM +0800, Leo Yan wrote:
> When build U-boot with clang with using commands:
>
> $ make HOSTCC=clang xenguest_arm64_defconfig
> $ make HOSTCC=clang CROSS_COMPILE=aarch64-linux-gnu- \
> CC="clang -target aarch64-linux-gnueabi" -j8
>
> The
On Wed, May 10, 2023 at 11:59:20AM +0200, Heinrich Schuchardt wrote:
> Compiling with gcc 13 results in an error:
>
> drivers/axi/axi-emul-uclass.c:16:5: warning: conflicting types for
> ‘axi_sandbox_get_emul’ due to enum/integer mismatch; have
> ‘int(struct udevice *, ulong, enum
On Tue, May 09, 2023 at 03:07:34PM +0800, Jim Liu wrote:
> The default output state may be different to request,
> change the configuration sequence to avoid glitch.
>
> Signed-off-by: Jim Liu
Applied to u-boot/next, thanks!
--
Tom
signature.asc
Description: PGP signature
On Tue, May 16, 2023 at 06:06:21PM -0500, Bryan Brattlof wrote:
> From: Nishanth Menon
>
> In the first silicon revision of the am62x family of SoCs, the hardware
> wakeup event cannot be used if software is unable to unlock the RTC
> device within one second after boot. To work around this
On Mon, May 15, 2023 at 04:26:44PM +0200, yegorsli...@googlemail.com wrote:
> From: Yegor Yefremov
>
> Also use the TPS65910 driver directly.
>
> Signed-off-by: Yegor Yefremov
Applied to u-boot/next, thanks!
--
Tom
signature.asc
Description: PGP signature
On Mon, May 15, 2023 at 04:20:40PM +0530, Ravi Gunasekaran wrote:
> Add support for j721s2-wiz-10g device to use clock-names interface
> instead of explicitly defining clock nodes within device tree node.
>
> Signed-off-by: Ravi Gunasekaran
Applied to u-boot/next, thanks!
--
Tom
On Fri, May 12, 2023 at 05:28:52PM +0530, kaml...@ti.com wrote:
> From: Kamlesh Gurudasani
>
> ATF and OPTEE regions may be firewalled from non-secure entities.
> If we still map them for non-secure A53, speculative access may happen,
> which will not cause any faults and related error response
On Fri, May 12, 2023 at 03:32:53PM +0530, Bhavya Kapoor wrote:
> Add main_uart1 clocks in clk-data.c for J7200. Now,
> main_uart1 clocks will be set up while booting the J7200 SoC.
>
> Signed-off-by: Bhavya Kapoor
Applied to u-boot/next, thanks!
--
Tom
signature.asc
Description: PGP
On Fri, May 12, 2023 at 03:32:52PM +0530, Bhavya Kapoor wrote:
> Add device data for main_uart1 in dev-data.c for J7200. Now,
> main_uart1 will be powered on while booting the J7200 SoC.
>
> Signed-off-by: Bhavya Kapoor
Applied to u-boot/next, thanks!
--
Tom
signature.asc
Description: PGP
On Thu, May 11, 2023 at 02:47:50PM +0530, Udit Kumar wrote:
> When selecting UDA partition for booting. MMC read
> mode was selected as RAW.
>
> Due to growing/changing size of u-boot and tispl
> images.
> It will be better change to FS in case of UDA FS instead of
> adjusting offsets with new
On Thu, May 11, 2023 at 02:47:49PM +0530, Udit Kumar wrote:
> This patch corrects the MMC raw mode sector offset.
>
> Current allocated size for tiboot3 is 1MB and 2MB for tispl.
>
> Without this correct offset eMMC boot will fail.
>
> Fixes: f8c1e893c82 (configs: j7200_evm_a72: Add Initial
On Thu, May 11, 2023 at 02:47:48PM +0530, Udit Kumar wrote:
> This patch adds documentation for j7200.
>
> TRM link
> https://www.ti.com/lit/pdf/spruiu1
>
>
> Signed-off-by: Udit Kumar
> Tested-by: Heinrich Schuchardt
Applied to u-boot/next, thanks!
--
Tom
signature.asc
Description: PGP
On Thu, May 11, 2023 at 02:42:52PM +0530, Bhavya Kapoor wrote:
> Add main_uart5 clocks in clk-data.c for J721S2. Now,
> main_uart5 clocks will be set up while booting the J721S2 SoC.
>
> Signed-off-by: Bhavya Kapoor
> Reviewed-by: Bryan Brattlof
Applied to u-boot/next, thanks!
--
Tom
On Thu, May 11, 2023 at 02:42:51PM +0530, Bhavya Kapoor wrote:
> Add device data for main_uart5 in dev-data.c for J721S2. Now,
> main_uart5 will be powered on while booting the J721S2 SoC.
>
> Signed-off-by: Bhavya Kapoor
> Reviewed-by: Bryan Brattlof
Applied to u-boot/next, thanks!
--
Tom
On Thu, May 11, 2023 at 01:14:15PM +0530, Bhavya Kapoor wrote:
> Add main_uart2 clocks in clk-data.c for J721E. Now,
> main_uart2 clocks will be set up while booting the J721E SoC.
>
> Signed-off-by: Bhavya Kapoor
Applied to u-boot/next, thanks!
--
Tom
signature.asc
Description: PGP
On Thu, May 11, 2023 at 01:14:14PM +0530, Bhavya Kapoor wrote:
> Add device data for main_uart2 in dev-data.c for J721E. Now,
> main_uart2 will be powered on while booting the J721E SoC.
>
> Signed-off-by: Bhavya Kapoor
Applied to u-boot/next, thanks!
--
Tom
signature.asc
Description: PGP
On Tue, May 09, 2023 at 04:38:13PM -0500, Andreas Dannenberg wrote:
> The "Message not acknowledged" error message is missing a line feed,
> leading to the console log getting garbled and joined together with
> whatever the next output is in case this error happens:
>
> "ti_sci
On Mon, May 08, 2023 at 10:13:32AM +0530, Vignesh Raghavendra wrote:
> This is required for UART boot flow where u-boot.img needs to be
> downloaded via YMODEM.
>
> Signed-off-by: Vignesh Raghavendra
> Reviewed-by: Bryan Brattlof
Applied to u-boot/next, thanks!
--
Tom
signature.asc
On Fri, May 05, 2023 at 03:54:00PM +0530, Manorit Chawdhry wrote:
> K3 devices have some firewalls set up by ROM that we usually remove so
> that the development is easy in HS devices.
>
> While removing the firewalls disabling a background region before
> disabling the foreground regions keeps
On Fri, May 05, 2023 at 03:53:59PM +0530, Manorit Chawdhry wrote:
> This reverts commit b8ebf24e7f4afb5093a31bdf122e1ed0781e5c3c.
>
> This patch seems to be fundamentally wrong and requires a different way
> on how the background firewalls should be configured so revert the patch
>
>
[...]
> >
> > +/**
> > + * efi_handle_cleanup() - Clean the deleted handle from the various lists
> > + * @handle: handle to remove
> > + * @force: force removal even if protocols are still installed on the
> > handle
> > + *
> > + * Return: status code
> > + */
> > +static void
Hi Heinrich,
[...]
> > + * @event notified event
> > + * @contextpointer to the notification count
> > + */
> > +static void EFIAPI test_uninstall_notify(struct efi_event *event, void
> > *context)
> > +{
> > + return;
> > +}
> > +
> > /*
> >* Setup unit test.
> >*
> > @@
On Thu, 25 May 2023 17:36:26 +0800
Yanhong Wang wrote:
[...]
>
> base-commit: 62df7a39442902a71259568c13a4d496d5a514f4
Have you tested this?
I get
| U-Boot SPL 2023.07-rc2-00170-g62df7a3944 (Jun 01 2023 - 18:58:50 +0200)
| DDR version: dc2e84f0.
| Trying to boot from MMC2
|
|
| U-Boot
On Thu, Jun 01, 2023 at 07:06:02PM +0200, Dario Binacchi wrote:
> As reported by the datasheet (DocID027590 Rev 4) for PG12:
> - AF9 -> LCD_B4
> - AF14 -> LCD_B1
>
> So replace AF14 with AF9 for PG12 in the dts.
>
> Fixes: fe63d3cfb77ef ("ARM: dts: stm32: Sync DT with v4.20 kernel for
>
On Thu, Jun 01, 2023 at 02:10:21PM +1000, Jonathan Liu wrote:
> Hi Simon,
>
> On Thu, 1 Jun 2023 at 11:27, Jonathan Liu wrote:
> >
> > Hi Simon,
> >
> > On Thu, 1 Jun 2023 at 03:13, Simon Glass wrote:
> > >
> > > Hi Jonathan,
> > >
> > > On Wed, 31 May 2023 at 06:52, Jonathan Liu wrote:
> > >
As reported by the datasheet (DocID027590 Rev 4) for PG12:
- AF9 -> LCD_B4
- AF14 -> LCD_B1
So replace AF14 with AF9 for PG12 in the dts.
Fixes: fe63d3cfb77ef ("ARM: dts: stm32: Sync DT with v4.20 kernel for stm32f7")
Signed-off-by: Dario Binacchi
---
Hi Lukasz,
On Thu, Jun 01, 2023 at 01:44:30PM +0200, Marek Vasut wrote:
> I think after two years, it would be good to drop the RB tags and do another
> round of reviews.
To expand on Marek's point.
In those past 2 years, Tim Harvey has put in a considerable amount of
effort to add another
On Thu, May 11, 2023 at 03:29:50PM +0530, Nikhil M Jain wrote:
> This patch series aims at updating SPL splashscreen framework for AM62x.
>
> Nikhil M Jain (8):
> common: spl: spl: Update stack pointer address
> arch: arm: mach-k3: common: Return a pointer after setting page table
> board:
This was brought in in 2016 and a number of changes have been made since
then. There does not seem to be much change in functionality, but it is
a good idea to update from time to time.
Bring in the latest version:
5736b15 ("re-add perlin noise again")
Add a few necessary functions, with
On Wed, Jun 01, 2022 at 11:10:18AM -0500, Eddie James wrote:
> Set the pinctrl groups for each I2C bus. These are essential to
> I2C operating correctly.
>
> Signed-off-by: Eddie James
> Reviewed-by: Joel Stanley
> Reviewed-by: Ryan Chen
> ---
> arch/arm/dts/ast2600.dtsi | 33
On 6/1/23 14:06, Ilias Apalodimas wrote:
A previous patch is fixing a problem where handles were added in
an event notification list, but were never deleted when the handle got
deleted. Add a test case which calls
- RegisterProtocolNotify
- IstallMultipleProtocolInterface
-
Add some simple tests and a helpful script to make the configuration
editor easier to set up.
Signed-off-by: Simon Glass
---
arch/sandbox/dts/sandbox.dtsi | 6 ++
arch/sandbox/dts/test.dts | 6 ++
test/boot/expo.c| 44 +++
test/boot/files/expo_layout.dts |
Add a new 'cedit' command which allows editing configuration using an
expo. The configuration items appear as menus on the display.
This is extremely basic, only supporting menus and not providing any way
to load or save the configuration.
Signed-off-by: Simon Glass
---
boot/Kconfig
The only way to create an expo at present is by calling the functions to
create each object. It is useful to have more data-driven approach, where
the objects can be specified in a suitable file format and created from
that. This makes testing easier as well.
Add support for describing an expo in
It looks better if menus have a bit of an inset, rather than be drawn hard
up against the background. Also, menu items look better if they have a bit
of spacing between them.
Add theme options for these and implement the required changes.
Signed-off-by: Simon Glass
---
In 'popup' mode, the expo allows moving around the objects in a scene.
When 'enter' is pressed on a menu, it opens and the user can move around
the items in the menu.
Implement this using keypress handles and actions.
Signed-off-by: Simon Glass
---
boot/scene.c | 80
At present we only support a single menu, so all that can be pointed to
is the current menu item. Rename this action so that we can also add
an action for pointing to an object. This will allow cycling through
the objects in a scene.
Signed-off-by: Simon Glass
---
boot/scene_menu.c | 4 ++--
At present only a single menu is supported. All items are shown and a
pointer object points to the current item.
Add support for multiple menus, one of which is highlighted, indicated
by the highlight_id property in the scene.
The highlighted menu item has a SCENEOF_POINT flag, indicating that
When a menu is opened, it must be displayed over all other objects in
the scene, so that all its items are visible.
Handle this by drawing the menu object a second time, after all other
objects have been drawn. Draw all of the objects which are dependent
on the menu object.
Signed-off-by: Simon
When a popup menu is closed it shows only the selected item. When it is
open it shows a background and all items, with a highlight that can be
moved between the items.
Add the drawing logic for this.
Signed-off-by: Simon Glass
---
boot/scene.c | 66
Rather than estimating, measure the text accurately, using the new
vidconsole feature. This allows accurate placement of objects.
Signed-off-by: Simon Glass
---
boot/scene.c | 30 ++
1 file changed, 22 insertions(+), 8 deletions(-)
diff --git a/boot/scene.c
The current implementation supports a 'pointer' object which points to
the currently highlighted menu item. We want to support highlighting the
label of the menu item instead, e.g. with inverse video. In this case we
will need to 'unhighlight' the old item and highlight the new one.
As a first
Provide a way to set the full dimensions of objects, i.e. including the
width and height.
For menus, calculate the bounding box of all objects in the menu. Set all
labels to be the same size, so that highlighting works correct, once
implemented.
Signed-off-by: Simon Glass
---
boot/expo.c
At present objects only have a position so it is not possible to determine
the amount of space they take up on the display.
Add width and height properties, using a struct to keep all the dimensions
together.
For now this is not used. Future work will set up these new properties.
Signed-off-by:
It is a pain to manually set the fonts of all objects to be consistent.
Some spacing settings are also better set globally than by manually
positioning each object.
Add a 'theme' to the expo, to hold this information. For now it includes
only the font size.
Signed-off-by: Simon Glass
---
Provide a way to set this value so that it is easy to separate the
statically allocated IDs (generated by the caller) from those
generated dynamically by expo itself.
Signed-off-by: Simon Glass
---
boot/expo.c | 15 +++
boot/scene.c | 10 --
It is sometimes necessary to highlight some text in a different colour.
Add an easy way to do this and then restore the original console colours.
Signed-off-by: Simon Glass
---
drivers/video/vidconsole-uclass.c | 20
include/video_console.h | 30
For laying out text accurately it is necessary to know the width and
height of the text. Add a measure() method to the console API, so this
can be supported.
Add an implementation for truetype and a base implementation for the
normal console.
Signed-off-by: Simon Glass
---
This feature is different enough from bootstd that it probably deserves
its own log category. It cannot use a uclass since it is not a device.
Add a new category.
Signed-off-by: Simon Glass
---
boot/expo.c | 2 ++
boot/scene.c | 2 ++
boot/scene_menu.c | 2 +-
common/log.c | 1
This uses the private data of the video uclass, not the console uclass
(its child). Update the comment to avoid confusion.
Signed-off-by: Simon Glass
Fixes: a032e4b55ea ("video: Move console colours to the video uclass")
---
include/video.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
1 - 100 of 174 matches
Mail list logo