On 8/6/22 13:22, Heiko Thiery wrote:
Signed-off-by: Heiko Thiery
This lacks a commit message. I will add the following when merging:
Call pkg-config for each library individually.
This improves fallback handling.
Suggested-by: AKASHI Takahiro
Fixes: 31a7688cbe0e ("tools: mkeficapsule: use
When probing a device fails NULL pointer is returned, and other devices
cannot be iterated. Skip to next device on error instead.
Fixes: 6494d708bf ("dm: Add base driver model support")
Signed-off-by: Michal Suchanek
---
v2: - Fix up tests
v3: - Fix up API doc
- Correctly forward error from
I had not used patman in the first instance and Matthias Brugger was not cc’ed
with the patch properly. Given that I had no feedback, I thought best to
resubmit via patman this time in case it had not been seen the first time
because of this.
However patman also picked up a different series
On Fri, Aug 19, 2022 at 2:30 PM Vyacheslav Mitrofanov V
wrote:
>
> On Fri, 2022-08-19 at 14:00 +0300, Ramon Fried wrote:
> > On Fri, Aug 19, 2022 at 11:10 AM Viacheslav Mitrofanov
> > wrote:
> > > The command tftpboot uses IPv4 by default, to use IPv6 instead add
> > > -ipv6
> > > as the last
hi Simon,
On Fri, 19 Aug 2022 at 20:53, Simon Glass wrote:
>
> Hi Sughosh,
>
> On Fri, 19 Aug 2022 at 07:36, Sughosh Ganu wrote:
> >
> > hi Simon,
> >
> > On Thu, 18 Aug 2022 at 23:20, Simon Glass wrote:
> > >
> > > pHi Sughosh,
> > >
> > > On Thu, 18 Aug 2022 at 05:03, Sughosh Ganu
> > >
On Fri, Aug 19, 2022 at 10:25 AM Simon Glass wrote:
>
> Hi Jassi,
>
> On Fri, 19 Aug 2022 at 08:59, Jassi Brar wrote:
> >
> > Hi Simon,
> >
> > On Thu, Aug 18, 2022 at 12:50 PM Simon Glass wrote:
> >
> > > > > > +/**
> > > > > > + * struct fwu_image_bank_info - firmware image information
> > >
Hi,
On Thu, 18 Aug 2022 at 11:08, Heinrich Schuchardt wrote:
>
> On 8/18/22 18:54, Roger Knecht wrote:
> > Add cat command to print file content to standard out
> >
> > Signed-off-by: Roger Knecht
> > ---
> > v3:
> > - Disable 'cat' by default (CONFIG_CMD_CAT=n)
> > - Enable 'cat' in
Hi Jassi,
On Fri, 19 Aug 2022 at 08:59, Jassi Brar wrote:
>
> Hi Simon,
>
> On Thu, Aug 18, 2022 at 12:50 PM Simon Glass wrote:
>
> > > > > +/**
> > > > > + * struct fwu_image_bank_info - firmware image information
> > > > > + * @image_uuid: Guid value of the image in this bank
> > > > > + *
Hi Sughosh,
On Fri, 19 Aug 2022 at 01:41, Sughosh Ganu wrote:
>
> hi Simon,
>
> On Thu, 18 Aug 2022 at 23:19, Simon Glass wrote:
> >
> > Hi Sughosh,
> >
> > On Thu, 18 Aug 2022 at 05:53, Sughosh Ganu wrote:
> > >
> > > hi Simon,
> > >
> > > On Thu, 18 Aug 2022 at 08:51, Simon Glass wrote:
> >
Hi Leo,
On Fri, 19 Aug 2022 at 03:09, Leo Liang wrote:
>
> On Thu, Aug 11, 2022 at 10:23:02PM +, Leo Liang wrote:
> > On Mon, May 30, 2022 at 11:05:54AM -0400, Tom Rini wrote:
> > > On Sat, May 28, 2022 at 09:02:09AM +, Leo Liang wrote:
> > > > On Fri, May 27, 2022 at 09:30:49AM -0400,
Hi Sughosh,
On Fri, 19 Aug 2022 at 07:36, Sughosh Ganu wrote:
>
> hi Simon,
>
> On Thu, 18 Aug 2022 at 23:20, Simon Glass wrote:
> >
> > pHi Sughosh,
> >
> > On Thu, 18 Aug 2022 at 05:03, Sughosh Ganu wrote:
> > >
> > > hi Simon,
> > >
> > > On Thu, 18 Aug 2022 at 06:43, Simon Glass wrote:
>
Hi Simon,
On Thu, Aug 18, 2022 at 12:50 PM Simon Glass wrote:
> > > > +/**
> > > > + * struct fwu_image_bank_info - firmware image information
> > > > + * @image_uuid: Guid value of the image in this bank
> > > > + * @accepted: Acceptance status of the image
> > > > + * @reserved: Reserved
> >
From: Stefan Herbrechtsmeier
Handle missing compression tools by returning empty data and record
missing bintool.
Signed-off-by: Stefan Herbrechtsmeier
---
Changes in v6:
- Set data with tools.get_bytes(0, 1024) instead returning
Changes in v5:
- Use record_missing_bintool function
- Use
From: Stefan Herbrechtsmeier
Add zstd bintool to binman to support on-the-fly compression.
Signed-off-by: Stefan Herbrechtsmeier
---
(no changes since v5)
Changes in v5:
- Test that zstd compress of device-tree files failed
- Add algorithm name to entry.py
- Add tool name to ftest.py
From: Stefan Herbrechtsmeier
Move management of the bintool to compress and decompress data into the
entry class and add the bintool to the list of required bintools.
Signed-off-by: Stefan Herbrechtsmeier
---
Changes in v6:
- Set uncomp_size after decompress in DecompressData function
From: Stefan Herbrechtsmeier
Add xz bintool to binman to support on-the-fly compression.
Signed-off-by: Stefan Herbrechtsmeier
---
(no changes since v5)
Changes in v5:
- Add algorithm name to entry.py
- Add tool name to ftest.py
Changes in v2:
- Add commit to add xz bintool
From: Stefan Herbrechtsmeier
Add lzop bintool to binman to support on-the-fly compression.
Signed-off-by: Stefan Herbrechtsmeier
---
(no changes since v5)
Changes in v5:
- Add algorithm name to entry.py
- Add tool name to entry.py and ftest.py
Changes in v2:
- Add commit to add lzop
From: Stefan Herbrechtsmeier
Add gzip bintool to binman to support on-the-fly compression of Linux
kernel images and FPGA bitstreams. The SPL basic fitImage implementation
supports only gzip decompression.
Signed-off-by: Stefan Herbrechtsmeier
---
(no changes since v5)
Changes in v5:
- Add
From: Stefan Herbrechtsmeier
Add bzip2 bintool to binman to support on-the-fly compression.
Signed-off-by: Stefan Herbrechtsmeier
---
(no changes since v5)
Changes in v5:
- Add algorithm name to entry.py
- Add tool name to ftest.py
Changes in v2:
- Add commit to add bzip2 bintool
From: Stefan Herbrechtsmeier
Add common test functions to test all supported compressions.
Signed-off-by: Stefan Herbrechtsmeier
Reviewed-by: Simon Glass
---
Instead of the for loop it is possible to use Parameterized [1] testing.
[1] https://github.com/wolever/parameterized
(no changes
From: Stefan Herbrechtsmeier
Move compression bintools (packer) creation into test setup to reuse
bintool objects between tests.
Signed-off-by: Stefan Herbrechtsmeier
---
(no changes since v5)
Changes in v5:
- Add commit to move compression bintools creation into test setup
From: Stefan Herbrechtsmeier
Select the lz4 and lzma_alone bintools in cbfs_util class to centralize
the supported compression algorithm evaluation inside the class and over
multiple classes.
Signed-off-by: Stefan Herbrechtsmeier
---
(no changes since v5)
Changes in v5:
- Add commit to
From: Stefan Herbrechtsmeier
Add a bintools base class for packers which compression / decompression
entry contents.
Signed-off-by: Stefan Herbrechtsmeier
---
(no changes since v5)
Changes in v5:
- Remove self.fetch_package not None check in fetch function
Changes in v3:
- Document class
From: Stefan Herbrechtsmeier
Remove the obsolete compressed data header handling from the utilities
to compress and decompress data. The header is uncommon, not supported
by U-Boot and incompatible with external compressed artifacts.
Signed-off-by: Stefan Herbrechtsmeier
---
(no changes since
From: Stefan Herbrechtsmeier
Disable the compressed data header of the utilities to compress and
decompress data. The header is uncommon, not supported by U-Boot and
incompatible with external compressed artifacts.
The header was introduced as part of commit eb0f4a4cb402 ("binman:
Support
From: Stefan Herbrechtsmeier
Add an optional length header attribute to the device tree blob entry
class based on the compressed data header from the utilities to compress
and decompress data.
If needed the header could be enabled with the following
attribute beside the compress attribute:
From: Stefan Herbrechtsmeier
Skip tests which requires python elftools if the tool is not available.
Signed-off-by: Stefan Herbrechtsmeier
Reviewed-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Add commit to skip elf tests
tools/binman/elf_test.py | 14 ++
From: Stefan Herbrechtsmeier
Rework the compression support of binman. Add a length header attribute
to dtb entry, manage the compression bintool in the entry class and add
support for several compression tools.
Changes in v6:
- Set uncomp_size after decompress in DecompressData function
- Set
From: Stefan Herbrechtsmeier
Check only section data instead of the rest of the image in multi
section test.
Signed-off-by: Stefan Herbrechtsmeier
---
(no changes since v5)
Changes in v5:
- Add commit to check only section data in multi section test
tools/binman/ftest.py | 10 ++
From: Stefan Herbrechtsmeier
Add a DecompressData function to entry class to allow override in child
classes and to centralize the compress and decompress in a single class.
Signed-off-by: Stefan Herbrechtsmeier
---
(no changes since v5)
Changes in v5:
- Add commit to add DecompressData
From: Stefan Herbrechtsmeier
Forward AddBintools calls to base class to collect bintools of base
class.
Signed-off-by: Stefan Herbrechtsmeier
---
(no changes since v5)
Changes in v5:
- Add commit to forward AddBintools calls to base class
tools/binman/etype/gbb.py| 1 +
From: Stefan Herbrechtsmeier
Collect and thereby initialize bintools before any usage but after
generation of entries. This is needed to handle bintools for compress
and decompress like other bintools.
Signed-off-by: Stefan Herbrechtsmeier
---
(no changes since v5)
Changes in v5:
- Add
From: Stefan Herbrechtsmeier
Forward AddBintools calls to sub entries in cbfs_util to collect
bintools of sub entries.
Signed-off-by: Stefan Herbrechtsmeier
---
(no changes since v5)
Changes in v5:
- Add commit to forward AddBintools calls
tools/binman/etype/cbfs.py | 5 +
1 file
From: Stefan Herbrechtsmeier
Avoid duplicate entries in the list of bintools used by the image and
the list of missing bintools.
Signed-off-by: Stefan Herbrechtsmeier
---
(no changes since v5)
Changes in v5:
- Add commit to avoid duplicates in bintool lists
tools/binman/entry.py | 8
On Fri, Aug 19, 2022 at 01:20:44PM +, Holger Brunck wrote:
> Hi,
> I am going to remove our board support for KMTEGR1 as it is obsolete. It
> seems it is
> the only board using MPC8309 CPU and the support for this CPU was introduced
> due to this board. Should I remove the MPC8309 support
Why did you need to resend it?
On Fri, Aug 19, 2022 at 3:08 PM Antoine Mazeas wrote:
>
> Sjoerd Simons submitted the original patch (0001) to carry over some
> firmware-provided properties into the loaded device tree. This did not fix
> an issue with Raspberry Pi 400 rev 1.1 boards which would
On Fri, 2022-08-19 at 14:00 +0300, Ramon Fried wrote:
> On Fri, Aug 19, 2022 at 11:10 AM Viacheslav Mitrofanov
> wrote:
> > The command tftpboot uses IPv4 by default, to use IPv6 instead add
> > -ipv6
> > as the last argument. All other tftpboot features and parameters
> > are left
> > the same.
Some Raspberry Pi 400 boards, specifically rev 1.1, have a different
address for the ethernet PHY device than what is provided by the kernel
DTB. The correct address is provided by the firmware, so we should carry
it over into the loaded device tree so that ethernet works on such boards.
The RPI firmware adjusts several property values in the dtb it passes
to u-boot depending on the board/SoC revision. Inherit some of these
when u-boot loads a dtb itself. Specificaly copy:
* /model: The firmware provides a more specific string
* /memreserve: The firmware defines a reserved range,
Sjoerd Simons submitted the original patch (0001) to carry over some
firmware-provided properties into the loaded device tree. This did not fix
an issue with Raspberry Pi 400 rev 1.1 boards which would not be able to
find the ethernet PHY device at the address specified by the kernel device
tree.
Add cat command to print file content to standard out
Signed-off-by: Roger Knecht
---
v4:
- Return only values from enum command_ret_t in do_cat()
- Use calloc() instead of malloc() for zero initialized memory
- Make use of CONFIG_SYS_LONGHELP
- Improved error messages
v3:
- Disable 'cat'
Implement ping6 command to ping hosts using IPv6. There is no ICMP
request so it is not possible to ping our host.
Signed-off-by: Viacheslav Mitrofanov
---
cmd/Kconfig| 6 +++
cmd/net.c | 26 +++
include/net.h | 4 +-
include/net6.h | 17 +++
net/Makefile | 1 +
Enable CMD_PING6 option if IPV6 && CMD_PING are enabled
Signed-off-by: Viacheslav Mitrofanov
---
cmd/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index e8f4e43ebe..441f5bcd90 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1804,6 +1804,7 @@ config
Enable parser to use printf with IPv6 addresses
Signed-off-by: Viacheslav Mitrofanov
---
lib/vsprintf.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index fe06aa2d71..e4b9d781be 100644
--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
The command tftpboot uses IPv4 by default, to use IPv6 instead add -ipv6
as the last argument. All other tftpboot features and parameters are left
the same.
Signed-off-by: Viacheslav Mitrofanov
---
cmd/net.c | 21 ++
net/net.c | 17 +--
net/tftp.c | 62
That is quite a big patch that includes such things as Neighbour
Discovery Protocol, string parsers, converters and basic IPv6
implementation. It consists of all necessary parts to add upper layer
protocols.
Due to code dependency and desire to make it clearer it is not made of
smaller patches.
This patch set adds basic IPv6 support to U-boot.
It is based on Chris's Packham patches
(https://lists.denx.de/pipermail/u-boot/2017-January/279366.html)
Chris's patches were taken as base. There were efforts to launch it on HiFive
SiFive Unmatched board but the board didn't work well. The code
Add cat command to print file content to standard out
Signed-off-by: Roger Knecht
---
v3:
- Disable 'cat' by default (CONFIG_CMD_CAT=n)
- Enable 'cat' in sandbox and sandbox64 defconfig
- Use map_to_sysmem() to fix "phys_to_virt: Cannot map sandbox address"
- Use puts() instead of a loop
-
--- Original Message ---
On Sunday, June 19th, 2022 at 15:08, Heinrich Schuchardt
wrote:
>
>
> On 6/19/22 16:23, Roger Knecht wrote:
>
> > On Thursday, June 9th, 2022 at 22:27, Roger Knecht rkne...@pm.me wrote:
> >
> > > On Wednesday, June 8th, 2022 at 15:59, Tom Rini
Add DDR driver for Rockchip RV1126 SoC.
Signed-off-by: YouMin Chen
Signed-off-by: Jagan Teki
---
Changes for v2:
- none
.../asm/arch-rockchip/dram_spec_timing.h | 452 +++
.../include/asm/arch-rockchip/sdram_common.h | 212 +
.../include/asm/arch-rockchip/sdram_msch.h| 12 +
From: Stefan Herbrechtsmeier
Add zstd bintool to binman to support on-the-fly compression.
Signed-off-by: Stefan Herbrechtsmeier
---
Changes in v5:
- Test that zstd compress of device-tree files failed
- Add algorithm name to entry.py
- Add tool name to ftest.py
Changes in v2:
- Add commit
From: Stefan Herbrechtsmeier
Add an optional length header attribute to the device tree blob entry
class based on the compressed data header from the utilities to compress
and decompress data.
If needed the header could be enabled with the following
attribute beside the compress attribute:
From: Stefan Herbrechtsmeier
Add xz bintool to binman to support on-the-fly compression.
Signed-off-by: Stefan Herbrechtsmeier
---
Changes in v5:
- Add algorithm name to entry.py
- Add tool name to ftest.py
Changes in v2:
- Add commit to add xz bintool
tools/binman/btool/xz.py | 31
From: Stefan Herbrechtsmeier
Add gzip bintool to binman to support on-the-fly compression of Linux
kernel images and FPGA bitstreams. The SPL basic fitImage implementation
supports only gzip decompression.
Signed-off-by: Stefan Herbrechtsmeier
---
Changes in v5:
- Add algorithm name to
From: Stefan Herbrechtsmeier
Add lzop bintool to binman to support on-the-fly compression.
Signed-off-by: Stefan Herbrechtsmeier
---
Changes in v5:
- Add algorithm name to entry.py
- Add tool name to entry.py and ftest.py
Changes in v2:
- Add commit to add lzop bintool
From: Stefan Herbrechtsmeier
Add a bintools base class for packers which compression / decompression
entry contents.
Signed-off-by: Stefan Herbrechtsmeier
---
Changes in v5:
- Remove self.fetch_package not None check in fetch function
Changes in v3:
- Document class properties
Changes in
From: Stefan Herbrechtsmeier
Add bzip2 bintool to binman to support on-the-fly compression.
Signed-off-by: Stefan Herbrechtsmeier
---
Changes in v5:
- Add algorithm name to entry.py
- Add tool name to ftest.py
Changes in v2:
- Add commit to add bzip2 bintool
tools/binman/btool/bzip2.py |
From: Stefan Herbrechtsmeier
Move management of the bintool to compress and decompress data into the
entry class and add the bintool to the list of required bintools.
Signed-off-by: Stefan Herbrechtsmeier
---
Changes in v5:
- Add commit to move compression bintool management into entry class
From: Stefan Herbrechtsmeier
Handle missing compression tools by returning empty data and record
missing bintool.
Signed-off-by: Stefan Herbrechtsmeier
---
Changes in v5:
- Use record_missing_bintool function
- Use tools.get_bytes function
- Add support to DecompressData function
- Reuse
From: Stefan Herbrechtsmeier
Add common test functions to test all supported compressions.
Signed-off-by: Stefan Herbrechtsmeier
Reviewed-by: Simon Glass
---
Instead of the for loop it is possible to use Parameterized [1] testing.
[1] https://github.com/wolever/parameterized
Changes in v5:
From: Stefan Herbrechtsmeier
Select the lz4 and lzma_alone bintools in cbfs_util class to centralize
the supported compression algorithm evaluation inside the class and over
multiple classes.
Signed-off-by: Stefan Herbrechtsmeier
---
Changes in v5:
- Add commit to select compression bintools
From: Stefan Herbrechtsmeier
Move compression bintools (packer) creation into test setup to reuse
bintool objects between tests.
Signed-off-by: Stefan Herbrechtsmeier
---
Changes in v5:
- Add commit to move compression bintools creation into test setup
tools/binman/ftest.py | 27
From: Stefan Herbrechtsmeier
Remove the obsolete compressed data header handling from the utilities
to compress and decompress data. The header is uncommon, not supported
by U-Boot and incompatible with external compressed artifacts.
Signed-off-by: Stefan Herbrechtsmeier
---
Changes in v5:
-
From: Stefan Herbrechtsmeier
Disable the compressed data header of the utilities to compress and
decompress data. The header is uncommon, not supported by U-Boot and
incompatible with external compressed artifacts.
The header was introduced as part of commit eb0f4a4cb402 ("binman:
Support
From: Stefan Herbrechtsmeier
Add a DecompressData function to entry class to allow override in child
classes and to centralize the compress and decompress in a single class.
Signed-off-by: Stefan Herbrechtsmeier
---
Changes in v5:
- Add commit to add DecompressData function to entry class
From: Stefan Herbrechtsmeier
Collect and thereby initialize bintools before any usage but after
generation of entries. This is needed to handle bintools for compress
and decompress like other bintools.
Signed-off-by: Stefan Herbrechtsmeier
---
Changes in v5:
- Add commit to collect bintools
From: Stefan Herbrechtsmeier
Check only section data instead of the rest of the image in multi
section test.
Signed-off-by: Stefan Herbrechtsmeier
---
Changes in v5:
- Add commit to check only section data in multi section test
tools/binman/ftest.py | 10 ++
1 file changed, 6
From: Stefan Herbrechtsmeier
Forward AddBintools calls to sub entries in cbfs_util to collect
bintools of sub entries.
Signed-off-by: Stefan Herbrechtsmeier
---
Changes in v5:
- Add commit to forward AddBintools calls
tools/binman/etype/cbfs.py | 5 +
1 file changed, 5 insertions(+)
From: Stefan Herbrechtsmeier
Forward AddBintools calls to base class to collect bintools of base
class.
Signed-off-by: Stefan Herbrechtsmeier
---
Changes in v5:
- Add commit to forward AddBintools calls to base class
tools/binman/etype/gbb.py| 1 +
tools/binman/etype/intel_ifwi.py
From: Stefan Herbrechtsmeier
Skip tests which requires python elftools if the tool is not available.
Signed-off-by: Stefan Herbrechtsmeier
Reviewed-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Add commit to skip elf tests
tools/binman/elf_test.py | 14 ++
From: Stefan Herbrechtsmeier
Rework the compression support of binman. Add a length header attribute
to dtb entry, manage the compression bintool in the entry class and add
support for several compression tools.
Changes in v5:
- Add commit to avoid duplicates in bintool lists
- Add commit to
From: Stefan Herbrechtsmeier
Avoid duplicate entries in the list of bintools used by the image and
the list of missing bintools.
Signed-off-by: Stefan Herbrechtsmeier
---
Changes in v5:
- Add commit to avoid duplicates in bintool lists
tools/binman/entry.py | 8 ++--
1 file changed, 6
On Fri, Aug 19, 2022 at 4:30 AM Nishanth Menon wrote:
>
> On 11:28-20220818, Matwey V. Kornilov wrote:
> > I've played a little and now I believe that the issue is that EEPROM read
> > addr
> > pointer is somehow corrupted due to 1-byte address write. The EEPROM is
> > definitely have two-byte
Add an option to tell the TPM to commit non-volatile data immediately it
is changed, rather than waiting until later. This is needed in some
situations, since if the device reboots it may not write the data.
Add definitions for the rest of the Cr50 commands while we are here.
Signed-off-by:
Add a vendor-specific TPM2 command for this and implement it for Cr50.
Note: This is not part of the TPM spec, but is a Cr50 extension.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/tpm/cr50_i2c.c | 117 +
include/tpm-v2.h | 54
At present the emulator assumes that the TPM is inited in the same phase
where it is used. But in fact SPL may init the TPM, so we don't want to
complain when U-Boot proper later uses it. Remove this check.
It might be best to save this information into the device state for the
TPM, so that we
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: Simon Glass
---
(no changes since v1)
cmd/tpm-common.c
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 insertions(+), 7 deletions(-)
diff --git a/lib/tpm-v2.c b/lib/tpm-v2.c
index
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 can signal its request.
Signed-off-by: Simon Glass
---
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..d0e3ab1b21d 100644
--- a/lib/tpm-v1.c
+++ b/lib/tpm-v1.c
@@ -456,12
Hi Ilias,
On Thu, 18 Aug 2022 at 01:29, Ilias Apalodimas
wrote:
>
> Hi Simon,
>
> On Wed, 17 Aug 2022 at 21:54, Simon Glass wrote:
> >
> > Hi Ilias,
> >
> > On Tue, 16 Aug 2022 at 06:43, Ilias Apalodimas
> > wrote:
> > >
> > > Hi Simon,
> > >
> > > I know little of this device and the whole
This series contains some minor enhancements for the TPM code to make it
work with Chromium OS verified boot.
Changes in v3:
- Drop limits on the TPM hash size
- Update commit message
Changes in v2:
- Use "cmd" for the digest type in the tpm command
- Update comment for tpm_pcr_extend() 'name'
hi Simon,
On Thu, 18 Aug 2022 at 23:20, Simon Glass wrote:
>
> pHi Sughosh,
>
> On Thu, 18 Aug 2022 at 05:03, Sughosh Ganu wrote:
> >
> > hi Simon,
> >
> > On Thu, 18 Aug 2022 at 06:43, Simon Glass wrote:
> > >
> > > Hi Sughosh,
> > >
> > > On Wed, 17 Aug 2022 at 06:44, Sughosh Ganu
> > >
Hi,
I am going to remove our board support for KMTEGR1 as it is obsolete. It seems
it is
the only board using MPC8309 CPU and the support for this CPU was introduced
due to this board. Should I remove the MPC8309 support completely then?
Best regards
Holger Brunck
Commit 99c7cc58e12 ("ddr: imx: Add i.MX9 DDR controller driver")
contains an inobvious side-effect which renders all systems using
DRAM controller at 3732 MT/s unbootable. The change is located in
ddrphy_init_set_dfi_clk(), where the switch case statement entry
3732 changed to entry 3733, so any
The ddrphy_utils.c is now deduplicated in drivers/ddr/imx/phy/ddrphy_utils.c ,
this drivers/ddr/imx/imx8m/ddrphy_utils.c is a remnant from when the
deduplication was implemented and was not removed. Remove it as it is
unused.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc:
On Fri, Aug 19, 2022 at 11:10 AM Viacheslav Mitrofanov
wrote:
>
> The command tftpboot uses IPv4 by default, to use IPv6 instead add -ipv6
> as the last argument. All other tftpboot features and parameters are left
> the same.
>
In my opinion, we should be able to detect if a user has provided or
On Fri, Aug 19, 2022 at 11:10 AM Viacheslav Mitrofanov
wrote:
>
> That is quite a big patch that includes such things as Neighbour
> Discovery Protocol, string parsers, converters and basic IPv6
> implementation. It consists of all necessary parts to add upper layer
> protocols.
>
> Due to code
On 18/08/2022 19.31, Vagrant Cascadian wrote:
> From: Vagrant Cascadian
>
> The KBUILD_CFLAGS and KBUILD_AFLAGS variables are adjusted to use
> -ffile-prefix-map and --debug-prefix-map, respectively, to use
> relative paths for occurrences of __FILE__ and debug paths.
>
> This enables
On 11:28-20220818, Matwey V. Kornilov wrote:
> I've played a little and now I believe that the issue is that EEPROM read addr
> pointer is somehow corrupted due to 1-byte address write. The EEPROM is
> definitely have two-byte read address accoring the datasheet.
> I've failed to unravel exact
During compilation gcc throws warning:
drivers/mtd/nand/raw/fsl_elbc_nand.c: In function ‘fsl_elbc_nand_probe’:
drivers/mtd/nand/raw/fsl_elbc_nand.c:841:31: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
return fsl_elbc_chip_init(0, (void
On Thu, Aug 11, 2022 at 10:23:02PM +, Leo Liang wrote:
> On Mon, May 30, 2022 at 11:05:54AM -0400, Tom Rini wrote:
> > On Sat, May 28, 2022 at 09:02:09AM +, Leo Liang wrote:
> > > On Fri, May 27, 2022 at 09:30:49AM -0400, Tom Rini wrote:
> > > > On Fri, May 27, 2022 at 02:36:29AM +,
Enable CONFIG_SPI_DIRMAP on ASPEED platforms.
Signed-off-by: Chin-Ting Kuo
---
configs/evb-ast2500_defconfig | 1 +
configs/evb-ast2600_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/evb-ast2500_defconfig b/configs/evb-ast2500_defconfig
index 5c157ca1d6..416ee66126
If "decoded-ranges" is defined in the device tree, the
driver will apply the decoded address ranges from this
property to the controller during probe stage.
This patch refers to the following OpenBMC u-boot patch.
https://patchwork.ozlabs.org/project/openbmc/list/?series=306969
Signed-off-by:
- Enable ASPEED SPI controller driver.
- Enable SPI flash memory configurations.
- Enable configurations for SPI flash manufacturers
supported on both ASPEED AST2500 and AST2600 AVL.
Signed-off-by: Chin-Ting Kuo
---
configs/evb-ast2500_defconfig | 13 +
>From the HW point of view, the performance of
command read mode is greater than user mode slightly.
Thus, dirmap read framework is introduced to achieve
this goal. In dirmap_create, command read mode is
configured. Usually, the decoded address area with flash
size is assigned to each CS. CPU can
Add ASPEED BMC FMC/SPI memory controller driver with
spi-mem interface for AST2500 and AST2600 platform.
There are three SPI memory controllers embedded in an ASPEED SoC.
- FMC: Named as Firmware Memory Controller. After AC on, MCU ROM
fetches initial device boot image from FMC chip
There are some known HW problems about decoded
range register configurations on existing AST2500 and
AST2600 platforms. Additional callback function,
adjust_decoded_sz, is added to solve these problems
on each platform. Besides, aspeed_spi_trim_decoded_size
function is added to modify overall
Driver can configure the SPI clock frequnecy to the
target value of "spi-max-frequency" property in
the device tree. The frequency is divided from HCLK,
200MHz. Usually, the ASPEED SPI clock frequency range
is between 12.5MHz and 100MHz. On AST2600, the lowest
SPI clock frequency can be about
User can get correct HCLK frequency during driver probe stage
by adding the following configuration in the device tree.
"clocks = < ASPEED_CLK_AHB>".
Signed-off-by: Chin-Ting Kuo
Reviewed-by: Cédric Le Goater
---
drivers/clk/aspeed/clk_ast2500.c | 23 +++
1 file changed, 23
1 - 100 of 120 matches
Mail list logo