1. add name for gpio pinctrl function
2. add baud rate table
3. fix ecc ram size
4. modify configs
Jim Liu (4):
pinctrl: npcm8xx: add name for gpio function
configs: npcm: support more uart baud rate
board: nuvuton: arbel: fix incorrect ram size
configs: nuvoton: npcm8xx: disable
On 10/12/23 03:56, Sean Anderson wrote:
If we sent a DHCP packet and get a BOOTP response from the server, we
shouldn't try to send a DHCPREQUEST packet, since it won't be DHCPACKed.
Transition straight to BIND. This is only enabled for UNIT_TEST to avoid
bloat, since I suspect the number of
fclk will never go upstream that's why removing this node from DT.
All PL (programmable logic) based IPs should handle clocks self without
using this workaround.
Signed-off-by: Michal Simek
---
arch/arm/dts/zynqmp-clk-ccf.dtsi | 6 --
1 file changed, 6 deletions(-)
diff --git
On Tue, Oct 10, 2023 at 07:08:42AM +, Biju Das wrote:
> Hi Paul,
>
> Thanks for the patch.
>
> > Subject: [PATCH v2 11/19] serial: sh: Fix error handling
> >
> > The current SCIF error handling is broken for the RZ/G2L. After a break
> > condition has been triggered, the current code is
In order to introduce the Opensbi OS boot mode, the next stage boot
image of OpenSBI should be configurable.
Signed-off-by: Randolph
Reviewed-by: Simon Glass
---
common/spl/spl_opensbi.c | 26 --
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git
If SPL_LOAD_FIT_OPENSBI_OS_BOOT is enabled, the function
spl_invoke_opensbi should change the target OS type to IH_OS_LINUX.
OpenSBI will load the Linux image as the next boot stage.
The os_takes_devicetree function returns a value of true or false
depending on whether or not
Introduce common Kconfig symbol for riscv architecture.
This symbol SPL_LOAD_FIT_OPENSBI_OS_BOOT is like falcon mode on ARM,
the Falcon boot is a shortcut boot method for SD/eMMC targets. It
skips the loading the RAM version U-Boot. Instead, it will loads
the FIT image and boots directly to Linux.
Add condition for OpenSBI OS boot mode, by default it is not enabled.
By default, binman creates the output file u-boot.itb.
If SPL_OPENSBI_OS_BOOT is enabled, linux.itb will be created
after compilation instead of the default u-boot.itb.
Signed-off-by: Randolph
---
arch/riscv/dts/binman.dtsi |
On 10/12/23 03:56, Sean Anderson wrote:
fs.c thinks that the sandbox filesystem is available if SANDBOX is enabled,
but it is not in SPL. Compile it in SPL to avoid linker errors.
Signed-off-by: Sean Anderson
---
fs/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/Makefile
On 10/12/23 03:56, Sean Anderson wrote:
These defines are useful when testing bootp.
Signed-off-by: Sean Anderson
Reviewed-by: Heinrich Schuchardt
---
net/bootp.c | 3 ---
net/bootp.h | 3 +++
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/bootp.c b/net/bootp.c
rk3588 frac pll:
FFVCO = ((m + k / 65536) * FFIN) / p
FFOUT = ((m + k / 65536) * FFIN) / (p * 2s)
k is the original code, but the K[15:0] is complement code
(6'b1000___ <= K[15:0] <= 16'b0111___),
need to be converted.
Signed-off-by: Elaine Zhang
---
Originally, u-boot SPL will place the DTB directly after the kernel,
but the size of the kernel does not include the BSS section, This
means that u-boot SPL places the DTB in the kernel BSS section causing
the DTB to be cleared by the kernel BSS initialisation.
Moving the DTB in front of the
Delete the output file *.itb
Signed-off-by: Randolph
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 9d2e31e494..a7aa8c02a0 100644
--- a/Makefile
+++ b/Makefile
@@ -2165,7 +2165,7 @@ CLEAN_FILES += include/bmp_logo.h
Fork from ae350_rv[32/64]_spl_[xip]_defconfig and
append CONFIG_SPL_LOAD_FIT_OPENSBI_OS_BOOT=y
Signed-off-by: Randolph
---
configs/ae350_rv32_falcon_defconfig | 60
configs/ae350_rv32_falcon_xip_defconfig | 61 +
On 10/12/23 03:56, Sean Anderson wrote:
Several SPL functions try to avoid performing initialization twice by
caching devices. This is fine for regular boot, but does not work with
UNIT_TEST, since all devices are torn down after each test. Disable caching
so we don't use stale devices.
fix incorrect ram size of 4GB dram with ECC enabled
Signed-off-by: Jim Liu
Changes for v2:
- add commit message
Changes for v3:
- no change
---
board/nuvoton/arbel_evb/arbel_evb.c | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git
gpio function name is needed in the debug log
Signed-off-by: Jim Liu
Changes for v2:
- add commit message
Changes for v3:
- no change
---
drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c
add uart baud rate table to arbel(npcm8xx) and poleg(npcm7xx)
Signed-off-by: Jim Liu
Changes for v2:
- add commit message
Changes for v3:
- modify CONFIG_SYS_BAUDRATE_TABLE
---
include/configs/arbel.h | 5 -
include/configs/poleg.h | 2 ++
2 files changed, 6 insertions(+), 1
Hi,
On 10/10/2023 13:13, Alexey Romanov wrote:
For some Amlogic SOC's, mechanism to obtain random number
has been changed. For example, S4 now uses status bit waiting algo.
Signed-off-by: Alexey Romanov
---
drivers/rng/meson-rng.c | 72 -
1 file
On 10/12/23 03:56, Sean Anderson wrote:
These error messages are missing newlines. Add them.
Fixes: 6e81ca220e0 ("imx: parse-container: Use malloc for container processing")
Signed-off-by: Sean Anderson
---
arch/arm/mach-imx/parse-container.c | 4 ++--
1 file changed, 2 insertions(+), 2
Hi Jonas,
Sorry for the late response, I've been meaning to test this for a while but not
got around to it.
On Thu, 2023-08-17 at 23:56 +, Jonas Karlman wrote:
> Hi Christopher,
>
> On 2023-08-08 16:25, Christopher Obbard wrote:
> > Hi Jonas,
> >
> > On Sun, 2023-07-23 at 15:04 +,
Optimize setting process.
Signed-off-by: Elaine Zhang
---
drivers/clk/rockchip/clk_rk3588.c | 24 +---
1 file changed, 17 insertions(+), 7 deletions(-)
diff --git a/drivers/clk/rockchip/clk_rk3588.c
b/drivers/clk/rockchip/clk_rk3588.c
index 7ba037ad72ba..a995dd5591d3
Hi Simon,
On 11:54-20231011, Manorit Chawdhry wrote:
> We can now firewall entities while loading them through our secure
> entity TIFS, the required information should be present in the
> certificate that is being parsed by TIFS.
>
> The following commit adds the support to enable the
On 10/12/23 03:56, Sean Anderson wrote:
When fastboot is enabled in U-Boot proper and SPL_NET is enabled, we will
try to (unsuccessfully) reference it in SPL. Fix these linker errors by
conditioning on SPL_UDP/TCP_FUNCTION_FASTBOOT.
Signed-off-by: Sean Anderson
---
net/Makefile | 4 ++--
On 10/12/23 03:56, Sean Anderson wrote:
Make sure we have an IMX header before calling spl_load_imx_container,
since if we don't it will fail with -ENOENT. This allows us to fall back to
legacy/raw images if they are also enabled.
Looking at CONFIG_AHAB_BOOT (related to secure boot) we must be
disable this config to improve flash program time
Signed-off-by: Jim Liu
Changes for v2:
- add commit message
Changes for v3:
- no change
---
configs/arbel_evb_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/arbel_evb_defconfig b/configs/arbel_evb_defconfig
index
On Thu, Oct 12, 2023 at 5:45 AM Simon Glass wrote:
>
> On Wed, 11 Oct 2023 at 18:56, Sean Anderson wrote:
> >
> > spl_image_info.name contains a reference to legacy_img_hdr. If we allocate
> > the latter on the stack, it will be clobbered after we return. This was
> > addressed for NAND back in
On 10/12/23 07:31, Masahisa Kojima wrote:
The boot option automatically created by efibootmgr is identified
by the special guid appended in the optional data of boot option.
The same mechanism is implemented in the EDK II reference
implementation, it uses the different guid from the one
Introduce a shortcut boot mode for RISC-V.
As we know, in ARM architecture has the Falcon mode to do the shortcut
boot to the Linux kernel. (by enabling CONFIG_SPL_OS_BOOT)
ARM Falcon mode boot flow would be as follows:
u-boot SPL -> Linux kernel
But for RISC-V, OpenSBI is required to allows
On Sun, 01 Oct 2023 19:13:04 -0600, Simon Glass wrote:
> So far expo only supports menus. These are quite flexible for various
> kinds of settings, but cannot deal with free-form input, such as a
> serial number or a machine name.
>
> This series adds support for a textline object, which is a
Hi Simon,
So I gave it a whirl to do a build of coreboot (on the 4.11 branch) with the
U-boot payload, specifying U-boot master to get the latest version of U-boot.
Unfortunately, it failed to build the payload:
Cloning U-Boot from Git
Cloning into 'u-boot'...
warning: redirecting to
On 10/12/23 02:39, Heinrich Schuchardt wrote:
On 10/12/23 03:56, Sean Anderson wrote:
fs.c thinks that the sandbox filesystem is available if SANDBOX is enabled,
but it is not in SPL. Compile it in SPL to avoid linker errors.
Signed-off-by: Sean Anderson
---
fs/Makefile | 1 +
1 file
On 9/12/23 05:59, Venkatesh Yadav Abbarapu wrote:
The xhci host controller driver trying to queue the URB's and it is
getting halted at the endpoint, thereby hitting the BUG_ON's.
Mostly these kind of random issues are seen on faulty boards.
Removing these BUG_ON's from the U-Boot xhci code,
On Thu, Oct 12, 2023 at 10:15:45AM -0400, Sean Anderson wrote:
> On 10/12/23 02:39, Heinrich Schuchardt wrote:
> > On 10/12/23 03:56, Sean Anderson wrote:
> > > fs.c thinks that the sandbox filesystem is available if SANDBOX is
> > > enabled,
> > > but it is not in SPL. Compile it in SPL to avoid
On 12/10/2023 09:58, Alexey Romanov wrote:
For some Amlogic SOC's, mechanism to obtain random number
has been changed. For example, S4 now uses status bit waiting algo.
Signed-off-by: Alexey Romanov
---
drivers/rng/meson-rng.c | 72 -
1 file changed,
From: Amit Kumar Mahapatra
Except for Linux no other component (i.e., u-boot, fsbl or BootRom) of the
software stack supports software ecc engine. So, make hw-ecc as the default
ecc mode.
Signed-off-by: Amit Kumar Mahapatra
Signed-off-by: Michal Simek
---
On 10/12/23 02:52, Heinrich Schuchardt wrote:
On 10/12/23 03:56, Sean Anderson wrote:
When fastboot is enabled in U-Boot proper and SPL_NET is enabled, we will
try to (unsuccessfully) reference it in SPL. Fix these linker errors by
conditioning on SPL_UDP/TCP_FUNCTION_FASTBOOT.
Signed-off-by:
Use the sandbox TPM driver to measure some boot images in a unit
test case.
Signed-off-by: Eddie James
Reviewed-by: Simon Glass
Acked-by: Ilias Apalodimas
---
Changes since v5:
- Only compile in the measurement u-boot command when
CONFIG_MEASURED_BOOT is enabled.
On 10/2/23 03:16, Simon Glass wrote:
> Hi Johan,
>
> On Thu, 28 Sept 2023 at 12:51, Johan Jonker wrote:
>>
>> Prepare a rkmtd UCLASS in use for writing Rockchip boot blocks
>> in combination with existing userspace tools and rockusb command.
>>
>> Signed-off-by: Johan Jonker
>> Reviewed-by:
Hi Jonas,
On Thu, 2023-10-12 at 10:51 +0100, Christopher Obbard wrote:
> Hi Jonas,
>
> Sorry for the late response, I've been meaning to test this for a while but
> not got around to it.
>
> On Thu, 2023-08-17 at 23:56 +, Jonas Karlman wrote:
> > Hi Christopher,
> >
> > On 2023-08-08
Hi,
I have found 5 more patches internally which should be also upstreamed to
get DT in sync and descrease amount of differences.
Thanks,
Michal
Michal Simek (4):
arm64: zynqmp: Use mdio node by vp-x-a2785-00-revA and vpk120-revA
arm64: zynqmp: Remove xlnx,zynqmp-aes node
Revert "arm64:
From: Venkatesh Yadav Abbarapu
As mini configs are required only for flashing the images, so
disabling the lock config which will save nearly 6KB of memory.
Signed-off-by: Venkatesh Yadav Abbarapu
Signed-off-by: Michal Simek
---
Depends on
On 10/12/23 03:23, Heinrich Schuchardt wrote:
On 10/12/23 03:56, Sean Anderson wrote:
Several SPL functions try to avoid performing initialization twice by
caching devices. This is fine for regular boot, but does not work with
UNIT_TEST, since all devices are torn down after each test. Disable
On Thu, Oct 12, 2023 at 10:15:45AM -0400, Sean Anderson wrote:
> On 10/12/23 02:39, Heinrich Schuchardt wrote:
> > On 10/12/23 03:56, Sean Anderson wrote:
> > > fs.c thinks that the sandbox filesystem is available if SANDBOX is
> > > enabled,
> > > but it is not in SPL. Compile it in SPL to avoid
Hi Simon,
I had openssl installed, but apparently not libssl-dev. But when I added that,
it still failed in the same spot. So then I just installed all the
prerequisites (cut/paste from [1]), even though many of them were already
installed, and then it finally built. So at least I have
AES can be discovered via firmware interface that's why remove node for it.
Signed-off-by: Michal Simek
---
arch/arm/dts/zynqmp.dtsi | 4
1 file changed, 4 deletions(-)
diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi
index f03c201caee9..463ac14f4b59 100644
---
All boards have been converted to use mdio node that's why move ethernet
phys under mdio node too.
Signed-off-by: Michal Simek
---
Same change was done by:
https://lore.kernel.org/r/ff165281a70a38e2b76fee91e6255ce95ce8021b.1695378830.git.michal.si...@amd.com
---
From: Piyush Mehta
To sync up with the upstream bulk-stream feature, removed
'snps,xhci-stream-quirk' DT property for usb.
Signed-off-by: Piyush Mehta
Signed-off-by: Michal Simek
---
arch/arm/dts/zynqmp.dtsi | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/dts/zynqmp.dtsi
Remove unused address/size-cells which is also done upstream that's why
this is pretty much sync patch with upstream.
Signed-off-by: Michal Simek
---
arch/arm/dts/zynqmp.dtsi | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi
index
From: Venkatesh Yadav Abbarapu
Lock size for the flashes will be in terms of sector size, so
disable the CONFIG_SPI_FLASH_USE_4K_SECTORS and read it from the
flash itself.
Signed-off-by: Venkatesh Yadav Abbarapu
Signed-off-by: Michal Simek
---
configs/xilinx_zynq_virt_defconfig | 1 +
1
On Wed, Oct 11, 2023 at 10:17:50PM -0400, Sean Anderson wrote:
> Hi Rasmus,
>
> On 10/11/23 15:07, Rasmus Villemoes wrote:
> > On 11/10/2023 20.37, Tom Rini wrote:
> > > On Thu, Sep 28, 2023 at 10:02:57AM +0200, Rasmus Villemoes wrote:
> > >
> > > > The man page correctly said that -B was
> From: U-Boot On Behalf Of Paul Barker
> Sent: Monday, October 9, 2023 5:47 PM
>
> The current SCIF error handling is broken for the RZ/G2L. After a break
> condition has been triggered, the current code is unable to clear the
> error and serial port output never resumes.
>
> The RZ/G2L
For some Amlogic SOC's, mechanism to obtain random number
has been changed. For example, S4 now uses status bit waiting algo.
Signed-off-by: Alexey Romanov
---
drivers/rng/meson-rng.c | 72 -
1 file changed, 71 insertions(+), 1 deletion(-)
diff --git
Hello!
This patch adds support for Meson S4 series
hardware number generator using new algo.
V2:
- Sync with Linux version.
V3:
- Fix compiler warning "makes pointer from integer without a cast"
Alexey Romanov (1):
drivers: rng: add support for Meson S4
drivers/rng/meson-rng.c | 72
This series adds support for measuring the boot images more generically
than the existing EFI support. Several EFI functions have been moved to
the TPM layer. The series includes optional measurement from the bootm
command.
A new test case has been added for the bootm measurement to test the new
On Wed, Oct 11, 2023 at 09:56:13PM -0400, Sean Anderson wrote:
> When fastboot is enabled in U-Boot proper and SPL_NET is enabled, we will
> try to (unsuccessfully) reference it in SPL. Fix these linker errors by
> conditioning on SPL_UDP/TCP_FUNCTION_FASTBOOT.
>
> Signed-off-by: Sean Anderson
This reverts commit d59fac2f3f247470708a1aed1af96802a05e0e61.
This power domain shouldn't be enabled by default. Power domain behavior
should be handled on case by case basis. Adding this property to
zynqmp.dtsi is breaking some suspend/resume cases that's why remove it
from this file.
On 10/12/23 03:16, Heinrich Schuchardt wrote:
On 10/12/23 03:56, Sean Anderson wrote:
If we sent a DHCP packet and get a BOOTP response from the server, we
shouldn't try to send a DHCPREQUEST packet, since it won't be DHCPACKed.
Transition straight to BIND. This is only enabled for UNIT_TEST to
Hi,
On 21/09/2023 10:13, Alexey Romanov wrote:
Hello!
At the moment, there is no single general approach to using
secure monitor in U-Boot, there is only the smc_call() function,
over which everyone builds their own add-ons. This patchset
is designed to solve this problem by adding a new
Add TPM2 functions to support boot measurement. This includes
starting up the TPM, initializing/appending the event log, and
measuring the U-Boot version. Much of the code was used in the
EFI subsystem, so remove it there and use the common functions.
Signed-off-by: Eddie James
---
Changes since
Hi Jay,
On Wed, 11 Oct 2023 at 21:03, Jay Talbott
wrote:
>
> Hi Simon,
>
> I had openssl installed, but apparently not libssl-dev. But when I added
> that, it still failed in the same spot. So then I just installed all the
> prerequisites (cut/paste from [1]), even though many of them were
Hi,
On Wed, 11 Oct 2023 at 21:28, Sean Anderson wrote:
>
> On 10/11/23 23:41, Simon Glass wrote:
> > On Wed, 11 Oct 2023 at 18:56, Sean Anderson wrote:
> >>
> >> The entry point is not always the same as the load address. Use the value
> >> of the entrypoint property if it exists and is nonzero
On Wed, Oct 11, 2023 at 09:56:07PM -0400, Sean Anderson wrote:
> Make sure we have an IMX header before calling spl_load_imx_container,
> since if we don't it will fail with -ENOENT. This allows us to fall back to
> legacy/raw images if they are also enabled.
>
> To avoid too much bloat,
tmpu -> tpmu
Signed-off-by: Eddie James
Reviewed-by: Ilias Apalodimas
---
include/tpm-v2.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/tpm-v2.h b/include/tpm-v2.h
index 2b6980e441..6684033deb 100644
--- a/include/tpm-v2.h
+++ b/include/tpm-v2.h
@@ -169,7
Briefly describe the feature and specify the requirements.
Signed-off-by: Eddie James
Reviewed-by: Simon Glass
---
doc/usage/index.rst | 1 +
doc/usage/measured_boot.rst | 23 +++
2 files changed, 24 insertions(+)
create mode 100644 doc/usage/measured_boot.rst
From: Ilias Apalodimas
efi_tcg2_get_active_pcr_banks doesn't immediately call the
EFI_ENTRY() wrapper once it enters the function. Move the call a
few lines above to cover the error cases properly as well.
Signed-off-by: Ilias Apalodimas
---
lib/efi_loader/efi_tcg2.c | 4 ++--
1 file changed,
Hi Manorit,
On Wed, 11 Oct 2023 at 23:02, Manorit Chawdhry wrote:
>
> Hi Simon,
>
> On 11:54-20231011, Manorit Chawdhry wrote:
> > We can now firewall entities while loading them through our secure
> > entity TIFS, the required information should be present in the
> > certificate that is being
On Wed, 11 Oct 2023 at 23:44, Randolph wrote:
>
> Delete the output file *.itb
>
> Signed-off-by: Randolph
> ---
> Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Simon Glass
On Wed, 11 Oct 2023 at 23:42, Randolph wrote:
>
> Introduce common Kconfig symbol for riscv architecture.
> This symbol SPL_LOAD_FIT_OPENSBI_OS_BOOT is like falcon mode on ARM,
> the Falcon boot is a shortcut boot method for SD/eMMC targets. It
> skips the loading the RAM version U-Boot. Instead,
Hi Manorit,
On Wed, 11 Oct 2023 at 22:46, Manorit Chawdhry wrote:
>
> Hi Simon,
>
> On 20:41-20231011, Simon Glass wrote:
> > Hi Manorit,
> >
> > On Tue, 10 Oct 2023 at 23:25, Manorit Chawdhry wrote:
> > >
> > > We can now firewall entities while loading them through our secure
> > > entity
From: Ilias Apalodimas
We currently use PCR 0 for testing the PCR read/extend functionality in
our selftests. How ever those PCRs are defined by the TCG spec for
platform use. For example if the tests run *after* the efi subsystem
initialization, which extends PCRs 0 & 7 it will give a false
Hi Johan,
On Thu, 12 Oct 2023 at 04:19, Johan Jonker wrote:
>
>
>
> On 10/2/23 03:16, Simon Glass wrote:
> > Hi Johan,
> >
> > On Thu, 28 Sept 2023 at 12:51, Johan Jonker wrote:
> >>
> >> Prepare a rkmtd UCLASS in use for writing Rockchip boot blocks
> >> in combination with existing userspace
The driver needs to support getting the PCRs in the capabilities
command. Fix various other things and support the max number
of PCRs for TPM2.
Remove the !SANDBOX dependency for EFI TCG2 as well.
Signed-off-by: Eddie James
Reviewed-by: Simon Glass
Acked-by: Ilias Apalodimas
---
Changes since
On Sun, Oct 01, 2023 at 10:25:38PM +0530, Apurva Nandan wrote:
> Add board files for J784S4 EVM.
[snip]
> diff --git a/board/ti/j784s4/evm.c b/board/ti/j784s4/evm.c
> new file mode 100644
> index 00..025079c6a8
> --- /dev/null
> +++ b/board/ti/j784s4/evm.c
> @@ -0,0 +1,82 @@
> +//
On Thu, Oct 12, 2023 at 12:28:22AM -0400, Sean Anderson wrote:
> On 10/11/23 23:41, Simon Glass wrote:
> > On Wed, 11 Oct 2023 at 18:56, Sean Anderson wrote:
> > >
> > > The entry point is not always the same as the load address. Use the value
> > > of the entrypoint property if it exists and is
On Wed, 11 Oct 2023 at 23:44, Randolph wrote:
>
> If SPL_LOAD_FIT_OPENSBI_OS_BOOT is enabled, the function
> spl_invoke_opensbi should change the target OS type to IH_OS_LINUX.
> OpenSBI will load the Linux image as the next boot stage.
> The os_takes_devicetree function returns a value of true
Hi Sean,
On Wed, 11 Oct 2023 at 21:16, Sean Anderson wrote:
>
> On 10/11/23 23:41, Simon Glass wrote:
> > Hi Sean,
> >
> > On Wed, 11 Oct 2023 at 18:57, Sean Anderson wrote:
> >>
> >> Add a test for the NOR load method. Since NOR is memory-mapped we can
> >> substitute a buffer instead. The
Hi Eddie,
On Thu, 12 Oct 2023 at 08:08, Eddie James wrote:
>
> Briefly describe the feature and specify the requirements.
>
> Signed-off-by: Eddie James
> Reviewed-by: Simon Glass
This could use a bit more detail. What pieces are measured? What DT
binding is used for the TPM? How is the info
Hi Sean,
On Wed, 11 Oct 2023 at 21:30, Sean Anderson wrote:
>
> On 10/11/23 23:41, Simon Glass wrote:
> > On Wed, 11 Oct 2023 at 18:56, Sean Anderson wrote:
> >>
> >> On non-arm architectures, _image_binary_end is defined as a ulong and not a
> >> char[]. Dereference it when accessing it, which
On Wed, 11 Oct 2023 at 23:43, Randolph wrote:
>
> Add condition for OpenSBI OS boot mode, by default it is not enabled.
> By default, binman creates the output file u-boot.itb.
> If SPL_OPENSBI_OS_BOOT is enabled, linux.itb will be created
> after compilation instead of the default u-boot.itb.
>
Add a configuration option to measure the boot through the bootm
function. Add the measurement state to the booti and bootz paths
as well.
Signed-off-by: Eddie James
Reviewed-by: Simon Glass
---
Changes since v8:
- Added a configuration option to select to ignore any existing
event log.
Prepare a rkmtd UCLASS in use for writing Rockchip boot blocks
in combination with existing userspace tools and rockusb command.
Signed-off-by: Johan Jonker
Reviewed-by: Kever Yang
---
disk/part.c| 4
drivers/block/blk-uclass.c | 1 +
include/dm/uclass-id.h | 1 +
3
On Rockchip SoCs the first boot stages are written on NAND
with help of manufacturer software that uses a different format
then the MTD framework. Skip the automatic BBT scan with the
NAND_SKIP_BBTSCAN option to be able to pass the driver probe
function and to let the original data unchanged.
On Thu, Sep 21, 2023 at 10:30:38PM +0530, Udit Kumar wrote:
> AVS is enabled at R5 SPL stage, on few platforms like J721E
> and J7200 clk-k3 is used instead if clk-sci driver.
>
> Add support in clk-k3 driver as well to notify AVS driver
> on setting clock rate so that voltage is changed
On Fri, Oct 06, 2023 at 10:16:00AM +0530, Manorit Chawdhry wrote:
> Add the documentation for J721S2-EVM and SK-AM68
>
> TRM for J721S2/AM68: https://www.ti.com/lit/pdf/spruj28
> Product Page for J721S2: https://www.ti.com/tool/J721S2XSOMXEVM
> Product Page for AM68:
On Fri, Oct 06, 2023 at 10:15:59AM +0530, Manorit Chawdhry wrote:
> The following commit syncs the device tree from Linux tag
> v6.6-rc1 to U-boot and fixes the following to be compatible with
> the future syncs -
>
> - Include k3-am68-sk-base-board.dts file
>
> Remove the duplicated
On Fri, Oct 06, 2023 at 10:16:01AM +0530, Manorit Chawdhry wrote:
> Update the MAINTAINERS file and propose a new MAINTAINER for j721s2 due
> to the previous MAINTAINER not being associated with TI.
>
> Reviewed-by: Nishanth Menon
> Signed-off-by: Manorit Chawdhry
Applied to u-boot/master,
On Fri, Oct 06, 2023 at 10:15:58AM +0530, Manorit Chawdhry wrote:
> The following commit syncs the device tree from Linux tag
> v6.6-rc1 to U-boot and fixes the following to be compatible with
> the future syncs -
>
> - Include k3-j721s2-common-proc-board.dts file
>
> Remove the duplicated
On Fri, Oct 06, 2023 at 10:15:56AM +0530, Manorit Chawdhry wrote:
> The update causes instability in am68-sk boards so revert the patch in
> the meantime till fix is available.
>
> This reverts commit f1edf4bb6aa19732574ac23ca90cb9a0ba395ec1.
>
> Signed-off-by: Manorit Chawdhry
> Reviewed-by:
On Fri, Oct 06, 2023 at 10:15:57AM +0530, Manorit Chawdhry wrote:
> mcu_timer0 is used by u-boot as the tick-timer. Add it to the soc
> devices lsit so it an be enabled via the k3 power controller.
>
> Reviewed-by: Neha Malcom Francis
> Reviewed-by: Nishanth Menon
> Signed-off-by: Manorit
Add Rockchip rkmtd test:
Create/attach/detach RKMTD device.
Send/read data with Rockchip boot block header.
Test that reusing the same label should work.
Basic test of 'rkmtd' commands.
Signed-off-by: Johan Jonker
---
Changed V3:
New patch
---
test/dm/Makefile | 1 +
test/dm/rkmtd.c | 201
The command rkmtd creates a virtual block device to transfer
Rockchip boot block data to and from NAND with block orientated
tools like "ums" and "rockusb".
It uses the Rockchip MTD driver to scan for boot blocks and copies
data from the first block in a GPT formated virtual disk.
Data must be
On Fri, Aug 11, 2023 at 12:04:44PM +0200, Dominik Haller wrote:
> Make that condition more generic by checking if the memory controller
> driver is enabled instead of using the EVM's config.
>
> Signed-off-by: Dominik Haller
Applied to u-boot/master, thanks!
--
Tom
signature.asc
On Thu, Sep 21, 2023 at 10:33:43PM +0530, Udit Kumar wrote:
> AVS driver needs to be notified before or after clock change,
> depending upon new rate is greater or less than current clock rate.
>
> Fixes: 1e0aa873bc7cd ("clk: clk-ti-sci: Notify AVS driver upon setting clock
> rate")
>
> Cc:
The command rkmtd creates a virtual block device to transfer
Rockchip boot block data to and from NAND with block orientated
tools like "ums" and "rockusb".
It uses the Rockchip MTD driver to scan for boot blocks and copies
data from the first block in a GPT formatted virtual disk.
Data must be
Add rkmtd class and drivers to create a virtual block device
to transfer Rockchip boot block data to and from NAND with
block orientated tools like "ums" and "rockusb".
Signed-off-by: Johan Jonker
---
Changed V3:
New patch
Split driver from command
Split header
Use devm_kzalloc
Remove
On Thu, Oct 05, 2023 at 04:06:42PM +0300, Roger Quadros wrote:
> Switch to using bootstd. Note with this change, we will stop using
> distro_bootcmd and instead depend entirely on bootflow method of
> starting the system up.
>
> Drop header files that are no longer needed in am64x_evm.h.
>
On Thu, Oct 05, 2023 at 01:12:57PM -0500, Reid Tonking wrote:
> mcu_timer0 is now used as the tick timer in u-boot, so this adds the
> timer to the soc device list so it can be enabled via the k3 power
> controller.
>
> Reviewed-by: Nishanth Menon
> Signed-off-by: Reid Tonking
Applied to
On Fri, Oct 06, 2023 at 10:15:55AM +0530, Manorit Chawdhry wrote:
> From: Udit Kumar
>
> The malloc capacity in DRAM at R5 SPL is set to 1MB which isn't
> sufficient to load the new tispl.bin to
> enable loading of tispl.bin the size is increased by 256KB to 1.25MB.
>
> Cc: Nikhil M Jain
>
On Thu, Oct 05, 2023 at 01:12:58PM -0500, Reid Tonking wrote:
> Sync j7200 dts with Linux 6.6-rc1
>
> - k3-j7200-r5-common-proc-board.dts now inherits from
> k3-j7200-common-proc-board.dts instead of k3-j7200-som-p0.dtsi. This
> allows us to trim down the r5 file considerably by using
1 - 100 of 134 matches
Mail list logo