Hi Tom,
Le 17/07/2024 à 19:58, Tom Rini a écrit :
On Wed, Jul 17, 2024 at 07:08:27PM +0200, Philippe REYNES wrote:
Hi Peter,
Le 16/07/2024 à 18:56, Peter Robinson a écrit :
This Mail comes from Outside of SoftAtHome: Do not answer, click links or open
attachments unless you recognize the
is serie is not very useful.
Peter
Regards,
Philippe
[1] https://lists.denx.de/pipermail/u-boot/2024-July/557832.html
On Tue, 16 Jul 2024 at 16:16, Philippe Reynes
wrote:
Adds the support of the hmac based on sha256.
This implementation is based on rfc2104.
Signed-off-by: Philippe Reynes
Adds a test for the function sha256_hkdf.
Signed-off-by: Philippe Reynes
---
test/lib/Makefile | 2 +-
test/lib/test_sha256_hkdf.c | 104
2 files changed, 105 insertions(+), 1 deletion(-)
create mode 100644 test/lib/test_sha256_hkdf.c
diff
Adds the support of the hmac based on sha256.
This implementation is based on rfc2104.
Signed-off-by: Philippe Reynes
---
include/u-boot/sha256.h | 4
lib/sha256.c| 40
2 files changed, 44 insertions(+)
diff --git a/include/u-boot
Adds a test for the function sha256_hmac
Signed-off-by: Philippe Reynes
---
test/lib/Makefile | 1 +
test/lib/test_sha256_hmac.c | 108
2 files changed, 109 insertions(+)
create mode 100644 test/lib/test_sha256_hmac.c
diff --git a/test/lib
Adds the support of key derivation using the scheme hkdf.
This scheme is defined in rfc5869.
Signed-off-by: Philippe Reynes
---
include/u-boot/sha256.h | 8
lib/sha256.c| 42 +
2 files changed, 50 insertions(+)
diff --git a/include
Hi Tom,
Le 18/07/2023 à 15:43, Tom Rini a écrit :
On Tue, Jul 18, 2023 at 11:20:52AM +0200, Philippe REYNES wrote:
Hi Tom,
For this patch, I see that it is accepted on patchwork:
https://patchwork.ozlabs.org/project/uboot/patch/20230623163642.241034-1-philippe.rey...@softathome.com/
But I
06/2023 à 18:36, Philippe Reynes a écrit :
This driver considers that a node with an empty label is the top.
But the led class has changed, if a label is not provided for a led,
the label is filed with the node name. So we update this driver
to use a wrapper to manage the top led node.
Signed-o
This driver considers that a node with an empty label is the top.
But the led class has changed, if a label is not provided for a led,
the label is filed with the node name. So we update this driver
to use a wrapper to manage the top led node.
Signed-off-by: Philippe Reynes
---
drivers/led
This driver considers that a node with an empty label is the top.
But the led class has changed, if a label is not provided for a led,
the label is filed with the node name. So we update this driver
to use a wrapper to manage the top led node.
Signed-off-by: Philippe Reynes
---
drivers/led
dress in the memory and boot from there to the console.
This patch applies on top of the my previous patch [1].
[1] https://lists.denx.de/pipermail/u-boot/2022-August/490570.html
Signed-off-by: William Zhang
Reviewed-by: Florian Fainelli
Reviewed-by: Philippe Reynes
---
Changes in v2:
-
Zhang
Reviewed-by: Philippe Reynes
---
Changes in v3:
-Fix reset_cpu function prototype.
board/broadcom/bcmbca/board.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/broadcom/bcmbca/board.c b/board/broadcom/bcmbca/board.c
index 4aa1d659d5c7..bcecb4d78392 100644
Hi William,
Le 22/08/2022 à 20:19, William Zhang a écrit :
Since ARCH_BCM63158 SoC support is merged into ARCH_BCMBCA, add BCM63158
maintainer Philippe to bcmbca maintainer list.
Signed-off-by: William Zhang
Reviewed-by: Philippe Reynes
---
(no changes since v1)
MAINTAINERS | 1
Hi William,
Le 22/08/2022 à 20:19, William Zhang a écrit :
As CONFIG_ARCH_BCM63158 is replaced with CONFIG_BCM63158, update the
Kconfig to use the new config symbol.
Signed-off-by: William Zhang
Reviewed-by: Philippe Reynes
---
Changes in v3:
-Update subject line to be more clear
Hi William,
Le 22/08/2022 à 20:19, William Zhang a écrit :
Now that BCM63158 is supported under CONFIG_ARCH_BCMBCA and
CONFIG_BCM63158, remove the original ARCH_BCM63158 support and migrate
configuration settings.
Signed-off-by: William Zhang
Reviewed-by: Philippe Reynes
---
(no
address in the memory and boot from there to the console.
Signed-off-by: William Zhang
Reviewed-by: Philippe Reynes
---
(no changes since v2)
Changes in v2:
- Remove extra nodes from bcm963158.dts and keep it as a generic minimun
board support dts following other BCA chip convention
Hi William,
Le 22/08/2022 à 20:49, William Zhang a écrit :
As CONFIG_ARCH_BCM6753 is replaced with CONFIG_BCM6855, update the
driver Kconfig to use the new config symbol.
Signed-off-by: William Zhang
Reviewed-by: Philippe Reynes
---
Changes in v2:
- Update subject line to be more
bcm96855.h file.
- Delete bcm96753ref_ram_defconfig and use a basic config version of
bcm96855_defconfig
Signed-off-by: William Zhang
Reviewed-by: Philippe Reynes
---
(no changes since v1)
arch/arm/Kconfig | 8 -
arch/arm/dts/Makefile| 6
address in the memory and boot from there to the console.
Signed-off-by: William Zhang
Reviewed-by: Philippe Reynes
---
Changes in v2:
- Add help in BCM6855 Kconfig option to include the list of the
supported chips.
MAINTAINERS | 1 +
arch/arm/dts/Makefile
Hi William,
Le 22/08/2022 à 20:39, William Zhang a écrit :
As CONFIG_ARCH_BCM6858 is replaced with CONFIG_BCM6858, update the
driver Kconfig to use the new config symbol.
Signed-off-by: William Zhang
Reviewed-by: Philippe Reynes
---
Changes in v2:
-Update subject line to be more
: William Zhang
Reviewed-by: Philippe Reynes
---
(no changes since v1)
arch/arm/Kconfig | 7 ---
arch/arm/dts/Makefile| 6 +-
arch/arm/dts/bcm968580xref.dts | 4 +-
board/broadcom/bcm968580xref/Kconfig | 17
Reviewed-by: Philippe Reynes
---
Changes in v2:
-Add help in BCM6858 Kconfig option to include the list of the supported
chips.
MAINTAINERS | 1 +
arch/arm/dts/Makefile| 2 +
arch/arm/dts/bcm6858.dtsi| 197
Hi William,
Le 22/08/2022 à 20:31, William Zhang a écrit :
As CONFIG_ARCH_BCM68360 is replaced with CONFIG_BCM6856, update the
driver Kconfig to use the new config symbol.
Signed-off-by: William Zhang
Reviewed-by: Philippe Reynes
---
Changes in v4:
-Update subject line to be more
bcm968360bg_ram_defconfig as a basic config version of
bcm96856_defconfig is now added.
Signed-off-by: William Zhang
Reviewed-by: Philippe Reynes
---
(no changes since v3)
Changes in v3:
- Remove bcm968360bg_ram_defconfig per discussion with Philippe as a
basic config version of
in the memory and boot from there to the console.
Signed-off-by: William Zhang
Reviewed-by: Philippe Reynes
---
Changes in v4:
-Add help in BCM6856 Kconfig option to include the list of the supported
chips.
MAINTAINERS | 1 +
arch/arm/dts/Makefile
Hi William,
Le 15/08/2022 à 20:55, William Zhang a écrit :
As CONFIG_ARCH_BCM68360 is replaced with CONFIG_BCM6856, update the
driver Kconfig to use the new config symbol
Signed-off-by: William Zhang
Reviewed-by: Philippe Reynes
---
(no changes since v1)
drivers/gpio/Kconfig
: William Zhang
Reviewed-by: Philippe Reynes
---
Changes in v2:
- Bring Philippe Reynes copyright tag from 68360 dts to 6856 dts
arch/arm/Kconfig | 7 -
arch/arm/dts/Makefile| 6 +-
arch/arm/dts/bcm68360.dtsi | 217
in the memory and boot from there to the console.
Signed-off-by: William Zhang
Reviewed-by: Philippe Reynes
---
(no changes since v1)
MAINTAINERS | 1 +
arch/arm/dts/Makefile| 2 +
arch/arm/dts/bcm6856.dtsi| 103
iewed-by: Philippe Reynes
---
Changes in v3:
- Remove the CONFIG_SYS_BAUDRATE_TABLE to use the u-boot default table
Changes in v2:
- Updated dts and dtsi files which are accpeted in linux-next upstream
- Changed CONFIG_SYS_TEXT_BASE to 0x0100 from 0x1000 to work
on boards with 256MB or
If a gpt table is corrupted (after a power cut
for example), then the gpt table should repaired.
The function gpt_repair_headers check if at least
one gpt table is valid, and then only write the
corrupted gpt table.
Signed-off-by: Philippe Reynes
---
disk/part_efi.c | 86
Adds a sub-command repair to the command gpt
that allow to repair a corrupted gpt table. If
the both gpt table (primary and backup) are
valid, then the command does nothing.
Signed-off-by: Philippe Reynes
---
cmd/gpt.c | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff
Adds a simple test for the command gpt repair.
Signed-off-by: Philippe Reynes
---
test/py/tests/test_gpt.py | 10 ++
1 file changed, 10 insertions(+)
diff --git a/test/py/tests/test_gpt.py b/test/py/tests/test_gpt.py
index 229d7eb2c2..f707d9f253 100644
--- a/test/py/tests/test_gpt.py
This serie adds a sub-command repair to command gpt
to repair a gpt. It only writes the gpt that is
corrupted, and not both gpt. So a powercut in the
middle of the sub-command repair should not corrupt
the last valid gpt.
Philippe Reynes (3):
disk: part_efi: add support to repair gpt table
This serie adds the support of mmc for bcm63158.
The first commit adds a driver that support sdhci
on bcm63158. The two next commits add support of
mmc in the device tree, and the last one enables
the support of mmc and gpt for the reference board
bcm963158.
Philippe Reynes (4):
drivers: mmc
Adds a driver to support shdci on bcm63158.
Signed-off-by: Philippe Reynes
---
drivers/mmc/Kconfig | 12 +++
drivers/mmc/Makefile | 1 +
drivers/mmc/bcm63158_sdhci.c | 153 +++
3 files changed, 166 insertions(+)
create mode 100644 drivers/mmc
Adds the support of sdhci on bcm63158.
Signed-off-by: Philippe Reynes
---
arch/arm/dts/bcm63158.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/dts/bcm63158.dtsi b/arch/arm/dts/bcm63158.dtsi
index 7dd2858438..4e0f5f2dbd 100644
--- a/arch/arm/dts/bcm63158.dtsi
+++ b
Enable the support of emmc and gpt on bcm63158
Signed-off-by: Philippe Reynes
---
configs/bcm963158_ram_defconfig | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/configs/bcm963158_ram_defconfig b/configs/bcm963158_ram_defconfig
index 642faf511f..5fc89fc99d 100644
Enable the support of sdhci on bcm63158.
Signed-off-by: Philippe Reynes
---
arch/arm/dts/bcm963158.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/bcm963158.dts b/arch/arm/dts/bcm963158.dts
index c2bdd33274..c96fa60841 100644
--- a/arch/arm/dts/bcm963158.dts
+++ b/arch
Hi Simon,
Le 28/03/2022 à 08:35, Simon Glass a écrit :
Hi Philippe,
On Thu, 10 Mar 2022 at 09:53, Philippe REYNES
wrote:
Hi Simon,
Le 03/03/2022 à 04:37, Simon Glass a écrit :
Hi Philippe,
On Fri, 25 Feb 2022 at 07:58, Philippe Reynes
wrote:
Add the command verify that check the
Hi Tom,
Le 26/03/2022 à 00:02, Tom Rini a écrit :
On Fri, Mar 25, 2022 at 11:54:18PM +0100, Philippe REYNES wrote:
Hi Tom,
Le 25/03/2022 à 18:11, Tom Rini a écrit :
On Mon, Mar 14, 2022 at 03:57:43PM +0100, Philippe Reynes wrote:
Adds test units for the pre-load header signature.
Signed
Adds test units for the pre-load header signature.
Signed-off-by: Philippe Reynes
---
test/py/tests/test_vboot.py | 148 --
test/py/tests/vboot/sandbox-binman-pss.dts| 25 +++
test/py/tests/vboot/sandbox-binman.dts| 24 +++
.../tests/vboot/sandbox
Adds the support of the pre-load header with the image signature
to binman.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
tools/binman/entries.rst | 38
tools/binman/etype/pre_load.py| 162 ++
tools/binman/ftest.py
o run such commands:
tftp script.img && bootm preload $loadaddr && source $loadaddr_verified
Signed-off-by: Philippe Reynes
---
cmd/bootm.c | 30 ++
1 file changed, 30 insertions(+)
diff --git a/cmd/bootm.c b/cmd/bootm.c
index 87d40d494c..1f70ee9e9
Enable the support of stage pre-load in bootm.
For the moment, this stage allow to verify the
signature of the full image with a header.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
configs/sandbox_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs
Set the variable pre-load-key-path with the shell variable
PRE_LOAD_KEY_PATH that contain the keys path (used for signature).
This variable pre-load-key-path is provided to binman.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
Makefile | 1 +
1 file changed, 1 insertion(+)
diff
header.
This is an initial support, later we could add the
support of:
- ciphering
- uncompressing
- ...
Signed-off-by: Philippe Reynes
---
boot/Kconfig | 55 ++
boot/Makefile | 1 +
boot/image-pre-load.c | 416 ++
include/image.h
Add the support of image pre load in spl or tpl
when loading an image from ram.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
common/spl/spl_ram.c | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/common/spl/spl_ram.c b/common/spl/spl_ram.c
This commit enhances mkimage to update the node
/image/pre-load/sig with the public key.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
include/image.h| 15 ++
tools/fit_image.c | 3 ++
tools/image-host.c | 114 +
3 files
Add a stage pre-load to the command bootm.
Right now, this stage may be used to read a
header and check the signature of the full
image.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
boot/bootm.c| 33 +
cmd/Kconfig | 10 ++
cmd
This commit adds the options:
- SPL_ASYMMETRIC_KEY_TYPE
- SPL_ASYMMETRIC_PUBLIC_KEY_SUBTYPE
- SPL_RSA_PUBLIC_KEY_PARSER
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
lib/Makefile| 3 ++-
lib/crypto/Kconfig | 29 +
lib/crypto/Makefile | 19
This commit adds the option SPL_RSA_VERIFY_WITH_PKEY.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
lib/rsa/Kconfig | 19 +++
1 file changed, 19 insertions(+)
diff --git a/lib/rsa/Kconfig b/lib/rsa/Kconfig
index be9775bcce..b773f17c26 100644
--- a/lib/rsa/Kconfig
This commit adds the options:
- SPL_ASN1_DECODER
- SPL_OID_REGISTRY
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
lib/Kconfig | 19 +++
lib/Makefile | 4 ++--
2 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/lib/Kconfig b/lib/Kconfig
index
Enhance the help for the config OID_REGISTRY.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
lib/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/lib/Kconfig b/lib/Kconfig
index b0e5d60b3d..e749826f22 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -812,6 +812,10
To be able to use the tool binman on sandbox,
the config SANDBOX should imply BINMAN.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
arch/Kconfig | 1 +
arch/sandbox/dts/sandbox.dtsi | 3 +++
arch/sandbox/dts/test.dts | 3 +++
test
Enhance the help for configs ASN1_COMPILER
and ASN1_decoder.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
lib/Kconfig | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/lib/Kconfig b/lib/Kconfig
index 3c6fa99b1a..b0e5d60b3d 100644
--- a/lib
er in binman
- add py test for pre-load header
- add a command verify
v3:
- move image-pre-load.c to /boot
- update mkimage to add public key in u-boot device tree
- add script gen_pre_load_header.sh
v2:
- move the code to image-pre-load
- add support of stage pre-load for spl
- add support of stage
Hi Tom,
Le 25/03/2022 à 18:11, Tom Rini a écrit :
On Mon, Mar 14, 2022 at 03:57:43PM +0100, Philippe Reynes wrote:
Adds test units for the pre-load header signature.
Signed-off-by: Philippe Reynes
---
test/py/tests/test_vboot.py | 145 --
test/py/tests
Enable the command pre_load_verify on sandbox.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
configs/sandbox_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 46bf18bc98..35fd4e3f49 100644
--- a/configs
Add a stage pre-load to the command bootm.
Right now, this stage may be used to read a
header and check the signature of the full
image.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
boot/bootm.c| 33 +
cmd/Kconfig | 10 ++
cmd
header.
This is an initial support, later we could add the
support of:
- ciphering
- uncompressing
- ...
Signed-off-by: Philippe Reynes
---
boot/Kconfig | 55 ++
boot/Makefile | 1 +
boot/image-pre-load.c | 416 ++
include/image.h
Adds test units for the pre-load header signature.
Signed-off-by: Philippe Reynes
---
test/py/tests/test_vboot.py | 145 --
test/py/tests/vboot/sandbox-binman-pss.dts| 25 +++
test/py/tests/vboot/sandbox-binman.dts| 24 +++
.../tests/vboot/sandbox
Adds the support of the pre-load header with the image signature
to binman.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
doc/usage/index.rst | 1 +
tools/binman/entries.rst | 38
tools/binman/etype/pre_load.py
d_verify $loadaddr && source $loadaddr_verified
Signed-off-by: Philippe Reynes
---
cmd/Kconfig | 8 ++
cmd/Makefile | 2 ++
cmd/pre-load-verify.c | 53 +++
doc/usage/pre-load-verify.rst | 44
This commit adds the options:
- SPL_ASYMMETRIC_KEY_TYPE
- SPL_ASYMMETRIC_PUBLIC_KEY_SUBTYPE
- SPL_RSA_PUBLIC_KEY_PARSER
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
lib/Makefile| 3 ++-
lib/crypto/Kconfig | 29 +
lib/crypto/Makefile | 19
This commit enhances mkimage to update the node
/image/pre-load/sig with the public key.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
include/image.h| 15 ++
tools/fit_image.c | 3 ++
tools/image-host.c | 114 +
3 files
Enable the support of stage pre-load in bootm.
For the moment, this stage allow to verify the
signature of the full image with a header.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
configs/sandbox_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs
Add the support of image pre load in spl or tpl
when loading an image from ram.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
common/spl/spl_ram.c | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/common/spl/spl_ram.c b/common/spl/spl_ram.c
This commit adds the option SPL_RSA_VERIFY_WITH_PKEY.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
lib/rsa/Kconfig | 19 +++
1 file changed, 19 insertions(+)
diff --git a/lib/rsa/Kconfig b/lib/rsa/Kconfig
index be9775bcce..b773f17c26 100644
--- a/lib/rsa/Kconfig
Enhance the help for the config OID_REGISTRY.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
lib/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/lib/Kconfig b/lib/Kconfig
index b0e5d60b3d..e749826f22 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -812,6 +812,10
Set the variable pre-load-key-path with the shell variable
PRE_LOAD_KEY_PATH that contain the keys path (used for signature).
This variable pre-load-key-path is provided to binman.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
Makefile | 1 +
1 file changed, 1 insertion(+)
diff
To be able to use the tool binman on sandbox,
the config SANDBOX should imply BINMAN.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
arch/Kconfig | 1 +
arch/sandbox/dts/sandbox.dtsi | 3 +++
arch/sandbox/dts/test.dts | 3 +++
test
Enhance the help for configs ASN1_COMPILER
and ASN1_decoder.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
lib/Kconfig | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/lib/Kconfig b/lib/Kconfig
index 3c6fa99b1a..b0e5d60b3d 100644
--- a/lib
This commit adds the options:
- SPL_ASN1_DECODER
- SPL_OID_REGISTRY
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
lib/Kconfig | 19 +++
lib/Makefile | 4 ++--
2 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/lib/Kconfig b/lib/Kconfig
index
ce tree
- add script gen_pre_load_header.sh
v2:
- move the code to image-pre-load
- add support of stage pre-load for spl
- add support of stage pre-load on spl_ram
Philippe Reynes (16):
arch: Kconfig: imply BINMAN for SANDBOX
lib: Kconfig: enhance help for ASN1
lib: Kconfig: enhance the help of OID_REGI
Hi Simon,
Le 03/03/2022 à 04:37, Simon Glass a écrit :
Hi Philippe,
On Fri, 25 Feb 2022 at 07:58, Philippe Reynes
wrote:
Add a stage pre-load that could
check or modify an image.
For the moment, only a header with a signature is
supported. This header has the following format:
- magic : 4
Hi Simon,
Le 03/03/2022 à 04:37, Simon Glass a écrit :
Hi Philippe,
On Fri, 25 Feb 2022 at 07:58, Philippe Reynes
wrote:
Add the command verify that check the signature of
an image with the pre-load header. If the check
succeed, the u-boot env variable 'loadaddr_verified'
is
Adds simple documentation about common properties for watchdog
in the device tree.
Signed-off-by: Philippe Reynes
---
doc/device-tree-bindings/watchdog/common.txt | 12
1 file changed, 12 insertions(+)
create mode 100644 doc/device-tree-bindings/watchdog/common.txt
diff --git a
Hi Tom,
Le 25/02/2022 à 21:53, Tom Rini a écrit :
On Fri, Feb 25, 2022 at 06:30:05PM +0100, Philippe Reynes wrote:
There is a conflict between the static file
lib/acpi/dsdt.c and the file dsdt.c generated
dynamicaly by scripts/Makefile.lib. When a
mrproper is done, the static file dsdt.c is
Since commit 5d94cbd1dca7 ("scripts: Makefile.lib: generate
dsdt_generated.c instead of dsdt.c"), the file generated
is named dsdt_generated.c instead of dsdt.c.
So all files .gitignore referencing dsdt.c should be
upated with dsdt_generated.c.
Signed-off-by: Philippe Reynes
---
board
make[2]: *** No rule to make target 'lib/acpi/dsdt.asl', needed by
'lib/acpi/dsdt.c'. Stop.
scripts/Makefile.build:394: recipe for target 'lib/acpi' failed
To avoid such error, the generated file is named
dsdt_generated.c instead of dstdt.c.
Tested-by: Heiko T
Hi Heinrich,
Le 25/02/2022 à 15:59, Heinrich Schuchardt a écrit :
On 2/25/22 13:33, Heiko Thiery wrote:
Hi,
Am Di., 22. Feb. 2022 um 14:55 Uhr schrieb Philippe Reynes
:
There is a conflict between the static file
lib/acpi/dsdt.c and the file dsdt.c generated
dynamicaly by scripts
Enable the command verify on sandbox.
Signed-off-by: Philippe Reynes
---
configs/sandbox_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 46bf18bc98..a56aa92f94 100644
--- a/configs/sandbox_defconfig
+++ b/configs
Adds the support of the pre-load header with the image signature
to binman.
Signed-off-by: Philippe Reynes
---
tools/binman/etype/pre_load.py| 165 ++
tools/binman/ftest.py | 45 +
tools/binman/test/225_dev.key | 28
Enable the support of stage pre-load in bootm.
For the moment, this stage allow to verify the
signature of the full image with a header.
Signed-off-by: Philippe Reynes
---
configs/sandbox_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/sandbox_defconfig b/configs
Adds test units for the pre-load header signature.
Signed-off-by: Philippe Reynes
---
test/py/tests/test_vboot.py | 125 +++---
test/py/tests/vboot/sandbox-binman-pss.dts| 25
test/py/tests/vboot/sandbox-binman.dts| 24
.../tests/vboot
loadaddr && source $loadaddr_verified
Signed-off-by: Philippe Reynes
---
cmd/Kconfig | 7 +++
cmd/Makefile | 1 +
cmd/verify.c | 53
3 files changed, 61 insertions(+)
create mode 100644 cmd/verify.c
diff --git a/cmd/Kconfig b/cm
header.
This is an initial support, later we could add the
support of:
- ciphering
- uncompressing
- ...
Signed-off-by: Philippe Reynes
---
boot/Kconfig | 55 ++
boot/Makefile | 1 +
boot/image-pre-load.c | 416 ++
include/image.h
Set the variable key-path with the shell variable
KEY_PATH that contain the keys path (used for signature).
This variable key-path is provided to binman.
Signed-off-by: Philippe Reynes
---
Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile
index 697cc51d67
Add the support of image pre load in spl or tpl
when loading an image from ram.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
common/spl/spl_ram.c | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/common/spl/spl_ram.c b/common/spl/spl_ram.c
Enhance the help for the config OID_REGISTRY.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
lib/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/lib/Kconfig b/lib/Kconfig
index b0e5d60b3d..e749826f22 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -812,6 +812,10
Enhance the help for configs ASN1_COMPILER
and ASN1_decoder.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
lib/Kconfig | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/lib/Kconfig b/lib/Kconfig
index 3c6fa99b1a..b0e5d60b3d 100644
--- a/lib
This commit enhances mkimage to update the node
/image/pre-load/sig with the public key.
Signed-off-by: Philippe Reynes
---
include/image.h| 15 ++
tools/fit_image.c | 3 ++
tools/image-host.c | 114 +
3 files changed, 132 insertions
This commit adds the option SPL_RSA_VERIFY_WITH_PKEY.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
lib/rsa/Kconfig | 19 +++
1 file changed, 19 insertions(+)
diff --git a/lib/rsa/Kconfig b/lib/rsa/Kconfig
index be9775bcce..b773f17c26 100644
--- a/lib/rsa/Kconfig
This commit adds the options:
- SPL_ASN1_DECODER
- SPL_OID_REGISTRY
Signed-off-by: Philippe Reynes
---
lib/Kconfig | 19 +++
lib/Makefile | 4 ++--
2 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/lib/Kconfig b/lib/Kconfig
index e749826f22..effe735365 100644
This commit adds the options:
- SPL_ASYMMETRIC_KEY_TYPE
- SPL_ASYMMETRIC_PUBLIC_KEY_SUBTYPE
- SPL_RSA_PUBLIC_KEY_PARSER
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
lib/Makefile| 3 ++-
lib/crypto/Kconfig | 29 +
lib/crypto/Makefile | 19
Add a stage pre-load to the command bootm.
Right now, this stage may be used to read a
header and check the signature of the full
image.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
boot/bootm.c| 33 +
cmd/Kconfig | 10 ++
cmd
.c to /boot
- update mkimage to add public key in u-boot device tree
- add script gen_pre_load_header.sh
v2:
- move the code to image-pre-load
- add support of stage pre-load for spl
- add support of stage pre-load on spl_ram
Philippe Reynes (16):
arch: Kconfig: imply BINMAN for SANDBOX
lib: Kconf
To be able to use the tool binman on sandbox,
the config SANDBOX should imply BINMAN.
Reviewed-by: Simon Glass
Signed-off-by: Philippe Reynes
---
arch/Kconfig | 1 +
arch/sandbox/dts/sandbox.dtsi | 3 +++
arch/sandbox/dts/test.dts | 3 +++
test
make[2]: *** No rule to make target 'lib/acpi/dsdt.asl', needed by
'lib/acpi/dsdt.c'. Stop.
scripts/Makefile.build:394: recipe for target 'lib/acpi' failed
To avoid such error, the generated file is named
dsdt_generated.c instead of dstdt.c.
Signed-off-by: Phili
Hi Heinrich,
Le 22/02/2022 à 10:40, Heinrich Schuchardt a écrit :
On 2/22/22 10:16, Philippe Reynes wrote:
There is a conflict between the static file
lib/acpi/dsdt.c and the file dsdt.c generated
dynamicaly by scripts/Makefile.lib. When a
mrproper is done, the static file dsdt.c is
removed
1 - 100 of 583 matches
Mail list logo