On Sat, 3 Sept 2022 at 18:01, Heinrich Schuchardt
wrote:
>
> We can use efi_st_get_config_table() in multiple unit tests.
> Export the function.
>
> Export system-table and boot-services.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> v2:
> no change
> ---
> include/efi_selftest.h
Hi Heinrich,
[...]
> + */
> +static int ecpt_find_guid(struct efi_conformance_profiles_table *ecpt,
> + const efi_guid_t *guid) {
> + int i;
> +
> + for (i = 0; i < ecpt->number_of_profiles; ++i) {
> + if (!memcmp(&ecpt->conformance_profiles[i], g
Hi Pali,
On Sat, Sep 3, 2022 at 6:29 PM Pali Rohár wrote:
>
> Do various small fixup/cleanups and extend test script to boot kernel
> image from UBI volume. This test verifies that U-Boot UBI implementation
> is working and U-Boot can read volume with bootable kernel code
> correctly. And therefo
Hi Pali,
On Sat, Sep 3, 2022 at 6:08 PM Pali Rohár wrote:
>
> On Saturday 03 September 2022 17:38:01 Tony Dinh wrote:
> > Hi Pali,
> >
> > Is there a way to get the CPU frequency from the board upon start up?
> >
> > Thanks,
> > Tony
>
> Hello! Each SoC has either fixed CPU frequency or has some
Compile U-Boot with UBI/UBIFS support according to doc/board/nokia/rx51.rst
instructions and add test case for loading kernel image from UBI volume.
Signed-off-by: Pali Rohár
---
test/nokia_rx51_test.sh | 89 +
1 file changed, 73 insertions(+), 16 deletion
Signed-off-by: Pali Rohár
---
test/nokia_rx51_test.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/nokia_rx51_test.sh b/test/nokia_rx51_test.sh
index 3fabc0e9b412..fc5fe1c911a9 100755
--- a/test/nokia_rx51_test.sh
+++ b/test/nokia_rx51_test.sh
@@ -178,7 +178,7 @@ s
U-Boot ignores ARCH= variable.
Signed-off-by: Pali Rohár
---
test/nokia_rx51_test.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/nokia_rx51_test.sh b/test/nokia_rx51_test.sh
index d2417a98bf08..3fabc0e9b412 100755
--- a/test/nokia_rx51_test.sh
+++ b/test/nokia_rx51_t
Disable UBI fastmap support which is not supported by original Maemo 5
kernel and explicitly set UBI BEB limit to 10%, which is the value used by
original Maemo 5 kernel. U-Boot default value is 20%.
Signed-off-by: Pali Rohár
---
doc/board/nokia/rx51.rst | 3 +--
1 file changed, 1 insertion(+),
When reading of image fails then do not call bootm. This prevents false
positive test result in case something bootable is present in memory.
Signed-off-by: Pali Rohár
---
test/nokia_rx51_test.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/nokia_rx51_test.sh b/test/n
If kernel image in uImage or zImage format is not detected by
lowlevel_init.S code then do not clear memory location where image was
expected. If image is not detected then this memory region is unknown.
So do not unconditionally clear it.
Signed-off-by: Pali Rohár
---
board/nokia/rx51/lowlevel_
Original Nokia UBIFS system image has 1870 LEBs, so set UBIFS volume size
in test script to the same value. Number of 1870 LEBs corresponds to 230MiB
(LEB size * num of LEBs = 126KiB * 1870 = 230MiB).
Signed-off-by: Pali Rohár
---
test/nokia_rx51_test.sh | 2 +-
1 file changed, 1 insertion(+), 1
At address 0x8100 are stored initial atags passed to U-Boot by NOLO.
So do not overwrite them when using $loadaddr variable which value is set
from CONFIG_SYS_LOAD_ADDR option.
Signed-off-by: Pali Rohár
---
configs/nokia_rx51_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
Label copy_kernel_start is now unused. Remove it.
Signed-off-by: Pali Rohár
---
board/nokia/rx51/lowlevel_init.S | 1 -
1 file changed, 1 deletion(-)
diff --git a/board/nokia/rx51/lowlevel_init.S b/board/nokia/rx51/lowlevel_init.S
index c1785bc3f72f..53697fd4e125 100644
--- a/board/nokia/rx51/l
Do various small fixup/cleanups and extend test script to boot kernel
image from UBI volume. This test verifies that U-Boot UBI implementation
is working and U-Boot can read volume with bootable kernel code
correctly. And therefore CI prevents UBI breakage.
Note that U-Boot UBIFS code on ARM is cu
On Saturday 03 September 2022 17:38:01 Tony Dinh wrote:
> Hi Pali,
>
> Is there a way to get the CPU frequency from the board upon start up?
>
> Thanks,
> Tony
Hello! Each SoC has either fixed CPU frequency or has some bits in SAR
register which say on which frequency is CPU running. SAR bits ar
Hi Pali,
On Sat, Sep 3, 2022 at 5:02 PM Tony Dinh wrote:
>
> Hi Stefan,
>
> Sorry, that message was prematurely sent (fat finger). Please see the
> continuation below.
>
> On Sat, Sep 3, 2022 at 4:43 PM Tony Dinh wrote:
> >
> > Hi Stefan,
> >
> > On Sat, Sep 3, 2022 at 3:44 AM Stefan Roese wrot
Hi Stefan,
Sorry, that message was prematurely sent (fat finger). Please see the
continuation below.
On Sat, Sep 3, 2022 at 4:43 PM Tony Dinh wrote:
>
> Hi Stefan,
>
> On Sat, Sep 3, 2022 at 3:44 AM Stefan Roese wrote:
> >
> > Hi Tony,
> >
> > On 03.09.22 11:44, Tony Dinh wrote:
> > > Hi Stefan
Hi Stefan,
On Sat, Sep 3, 2022 at 3:44 AM Stefan Roese wrote:
>
> Hi Tony,
>
> On 03.09.22 11:44, Tony Dinh wrote:
> > Hi Stefan,
> >
> > On Thu, Sep 1, 2022 at 11:25 PM Stefan Roese wrote:
> >>
> >> Add timer_get_boot_us() to support boards, that have CONFIG_BOOTSTAGE
> >> enabled, like pogo_v4
Hi Simon,
On September 3, 2022 7:01:14 PM GMT+02:00, Simon Glass
wrote:
>Hi Quentin,
>
>On Sat, 3 Sept 2022 at 02:48, Quentin Schulz wrote:
>>
>> Hi Simon,
>>
>> On September 2, 2022 10:00:18 PM GMT+02:00, Simon Glass
>> wrote:
>> >Hi Quentin,
>> >
>> >On Thu, 1 Sept 2022 at 08:44, Quentin Sc
On Sat, Sep 03, 2022 at 12:25:41PM +0200, Heinrich Schuchardt wrote:
> Dear Tom,
>
> The following changes since commit 67fe8cc0016756f3479288b3f67d59a517e512d5:
>
> Merge tag 'efi-2022-10-rc4' of
> https://source.denx.de/u-boot/custodians/u-boot-efi (2022-09-02 09:09:47
> -0400)
>
> are avai
Hello.
In device_probe function in drivers/core/device.c we see a call of probe
function:
if (drv->probe) {
ret = drv->probe(dev);
if (ret)
goto fail;
}
If it returns an error, then the execution path goes to fail label and
Provide a man-page for the tftpput command.
Signed-off-by: Heinrich Schuchardt
Reviewed-by: Simon Glass
---
v2:
fix typos
---
doc/usage/cmd/tftpput.rst | 69 +++
doc/usage/index.rst | 1 +
2 files changed, 70 insertions(+)
create mode 100644 d
On 9/3/22 18:55, Simon Glass wrote:
Hi Heinrich,
On Sat, 3 Sept 2022 at 06:24, Heinrich Schuchardt
wrote:
Provide a man-page for the tftpput command.
Signed-off-by: Heinrich Schuchardt
---
doc/usage/cmd/tftpput.rst | 69 +++
doc/usage/index.rst
Hi Quentin,
On Sat, 3 Sept 2022 at 02:48, Quentin Schulz wrote:
>
> Hi Simon,
>
> On September 2, 2022 10:00:18 PM GMT+02:00, Simon Glass
> wrote:
> >Hi Quentin,
> >
> >On Thu, 1 Sept 2022 at 08:44, Quentin Schulz wrote:
> >>
> >> From: Quentin Schulz
> >>
> >> The binary is looked on the sys
Hi Heinrich,
On Sat, 3 Sept 2022 at 06:21, Heinrich Schuchardt wrote:
>
> Calling tftpput with less than 2 arguments must lead to a failure.
>
> If tftpput is called with two arguments, these are the address and
> the size of the file to be transferred.
>
> Signed-off-by: Heinrich Schuchardt
> -
Hi Heinrich,
On Sat, 3 Sept 2022 at 06:24, Heinrich Schuchardt
wrote:
>
> Provide a man-page for the tftpput command.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> doc/usage/cmd/tftpput.rst | 69 +++
> doc/usage/index.rst | 1 +
> 2 files changed, 70
Hi Tom,
The following changes since commit 67fe8cc0016756f3479288b3f67d59a517e512d5:
Merge tag 'efi-2022-10-rc4' of
https://source.denx.de/u-boot/custodians/u-boot-efi (2022-09-02 09:09:47 -0400)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-tpm/ t
On Sat, Sep 03, 2022 at 05:49:50PM +0300, Sergei Antonov wrote:
> On Sat, 3 Sept 2022 at 17:31, Tom Rini wrote:
> >
> > On Sat, Sep 03, 2022 at 05:30:30PM +0300, Sergei Antonov wrote:
> >
> > > CONFIG_SYS_FLASH_AUTOPROTECT_LIST is a feature of drivers/mtd/cfi_flash.c
> > > driver. It allows to spe
Add Faraday Technology's FTGPIO010 controller driver.
Signed-off-by: Sergei Antonov
---
drivers/gpio/Kconfig | 6 +++
drivers/gpio/Makefile| 1 +
drivers/gpio/ftgpio010.c | 100 +++
3 files changed, 107 insertions(+)
create mode 100644 drivers/gpi
Add a new unit test to test the integrity of the
EFI Conformance Profile Table.
Signed-off-by: Heinrich Schuchardt
---
v2:
add missing efi_selftest_ecpt.c
---
lib/efi_selftest/Makefile| 1 +
lib/efi_selftest/efi_selftest_ecpt.c | 76
2 files chan
We can use efi_st_get_config_table() in multiple unit tests.
Export the function.
Export system-table and boot-services.
Signed-off-by: Heinrich Schuchardt
---
v2:
no change
---
include/efi_selftest.h | 11
lib/efi_selftest/efi_selftest.c | 38 ++-
Add a new unit test to test the integrity of the
EFI Conformance Profile Table.
The first patch contains the prerequisite refactoring.
v2:
add missing efi_selftest_ecpt.c
Heinrich Schuchardt (2):
efi_selftest: export efi_st_get_config_table()
efi_selftest: unit test for EFI Conforman
On Sat, 3 Sept 2022 at 17:31, Tom Rini wrote:
>
> On Sat, Sep 03, 2022 at 05:30:30PM +0300, Sergei Antonov wrote:
>
> > CONFIG_SYS_FLASH_AUTOPROTECT_LIST is a feature of drivers/mtd/cfi_flash.c
> > driver. It allows to specify a range of protected eraseblocks on flash
> > memory.
> >
> > Fixes bu
The following changes since commit 4e10c1227aa879af809b3073bf917289f23e17d7:
Merge branch '2022-08-31-assorted-fixes' (2022-08-31 19:32:31 -0400)
are available in the Git repository at:
git://source.denx.de/u-boot-sh.git master
for you to fetch changes up to 68083b897b57309c29039b27d2580e4
The following changes since commit 4e10c1227aa879af809b3073bf917289f23e17d7:
Merge branch '2022-08-31-assorted-fixes' (2022-08-31 19:32:31 -0400)
are available in the Git repository at:
git://source.denx.de/u-boot-usb.git master
for you to fetch changes up to 2522bd3ea67d6e22259cf363eeb382
On Sat, Sep 03, 2022 at 05:30:30PM +0300, Sergei Antonov wrote:
> CONFIG_SYS_FLASH_AUTOPROTECT_LIST is a feature of drivers/mtd/cfi_flash.c
> driver. It allows to specify a range of protected eraseblocks on flash memory.
>
> Fixes build error:
> Error: You must add new CONFIG options using Kconfi
CONFIG_SYS_FLASH_AUTOPROTECT_LIST is a feature of drivers/mtd/cfi_flash.c
driver. It allows to specify a range of protected eraseblocks on flash memory.
Fixes build error:
Error: You must add new CONFIG options using Kconfig
The following new ad-hoc CONFIG options were detected:
CONFIG_SYS_FLASH_A
Thanks Simon,
I'll queue up the series once the CI completes
On Tue, Aug 23, 2022 at 10:12:40AM -0700, Simon Glass wrote:
> 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 dev
Add a new unit test to test the integrity of the
EFI Conformance Profile Table.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_selftest/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/efi_selftest/Makefile b/lib/efi_selftest/Makefile
index 33536c9ec0..daac6c3968 100644
--- a/lib
We can use efi_st_get_config_table() in multiple unit tests.
Export the function.
Export system-table and boot-services.
Signed-off-by: Heinrich Schuchardt
---
include/efi_selftest.h | 11
lib/efi_selftest/efi_selftest.c | 38 ++--
lib/efi_sel
Add a new unit test to test the integrity of the
EFI Conformance Profile Table.
The first patch contains the prerequisite refactoring.
Heinrich Schuchardt (2):
efi_selftest: export efi_st_get_config_table()
efi_selftest: unit test for EFI Conformance Profile Table
include/efi_selftest.h
On Tue, Aug 23, 2022 at 10:12:39AM -0700, Simon Glass wrote:
> 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
> ---
>
> Changes in v4:
> - Rename function and add arguments f
Add xxd command to print file content as hexdump to standard out
Reviewed-by: Simon Glass
Signed-off-by: Roger Knecht
---
v2:
- Fix pylint error "Undefined variable CalledProcessError"
- Fix htmldoc error "cat.rst: document isn't included in any toctree"
- Added reviewed by Simon
The 'xxd' c
Provide a man-page for the tftpput command.
Signed-off-by: Heinrich Schuchardt
---
doc/usage/cmd/tftpput.rst | 69 +++
doc/usage/index.rst | 1 +
2 files changed, 70 insertions(+)
create mode 100644 doc/usage/cmd/tftpput.rst
diff --git a/doc/usage/cmd
Calling tftpput with less than 2 arguments must lead to a failure.
If tftpput is called with two arguments, these are the address and
the size of the file to be transferred.
Signed-off-by: Heinrich Schuchardt
---
cmd/net.c | 50 +-
1 file changed,
Add cat command to print file content to standard out
Reviewed-by: Simon Glass
Signed-off-by: Roger Knecht
---
v6:
- Fix pylint error "Undefined variable CalledProcessError"
- Fix htmldoc error "cat.rst: document isn't included in any toctree"
v5:
- Removed "default n" from Kconfig
- Rename
Hi Simon,
On September 2, 2022 10:00:18 PM GMT+02:00, Simon Glass
wrote:
>Hi Quentin,
>
>On Thu, 1 Sept 2022 at 08:44, Quentin Schulz wrote:
>>
>> From: Quentin Schulz
>>
>> The binary is looked on the system by the suffix of the packer class.
>> This means binman was looking for btool_gzip on
Hi Kever,
On September 3, 2022 5:59:26 AM GMT+02:00, Kever Yang
wrote:
>Hi Quentin,
>
>I got below error for SoCs other than rk3399, eg. rk3308, rk3568, rk3328 and
>etc.
>
>+binman: Device tree 'u-boot.dtb' does not have a 'binman' node
>+make[1]: *** [Makefile:1113: all] Error 1
>+make: *** [M
In Designware I2C Uboot driver, the HCNT calculation in Fast plus mode(1MHZ
clock transfer rate) seems to be incorrect with default values present in
the driver.
In function, dw_i2c_calc_timing(), hcnt is being calculated using below
formula:-
"hcnt = min_thigh_cnt - fall_cnt - 7 - spk_cnt;"
Wit
On Saturday, September 3rd, 2022 at 01:54, Tom Rini wrote:
> On Sun, Aug 21, 2022 at 02:54:13PM +, Roger Knecht wrote:
>
> > Add cat command to print file content to standard out
> >
> > Reviewed-by: Simon Glass s...@chromium.org
> > Signed-off-by: Roger Knecht rkne...@pm.me
>
>
> Two prob
On Wed, 2022-08-31 at 20:27 -0600, Simon Glass wrote:
> «Внимание! Данное письмо от внешнего адресата!»
>
> Hi Viacheslav,
>
> On Tue, 30 Aug 2022 at 07:00, Viacheslav Mitrofanov
> wrote:
> > This patch set adds basic IPv6 support to U-boot.
> > It is based on Chris's Packham patches
> > (https:
Hi Tony,
On 03.09.22 11:44, Tony Dinh wrote:
Hi Stefan,
On Thu, Sep 1, 2022 at 11:25 PM Stefan Roese wrote:
Add timer_get_boot_us() to support boards, that have CONFIG_BOOTSTAGE
enabled, like pogo_v4.
Signed-off-by: Stefan Roese
---
v2:
- Change timer_get_boot_us() to use the timer_early f
Dear Tom,
The following changes since commit 67fe8cc0016756f3479288b3f67d59a517e512d5:
Merge tag 'efi-2022-10-rc4' of
https://source.denx.de/u-boot/custodians/u-boot-efi (2022-09-02 09:09:47
-0400)
are available in the Git repository at:
https://source.denx.de/u-boot/custodians/u-boot-e
Hi Stefan,
On Thu, Sep 1, 2022 at 11:25 PM Stefan Roese wrote:
>
> Add timer_get_boot_us() to support boards, that have CONFIG_BOOTSTAGE
> enabled, like pogo_v4.
>
> Signed-off-by: Stefan Roese
> ---
> v2:
> - Change timer_get_boot_us() to use the timer_early functions
> - Remove #if CONFIG_IS_E
On 9/3/22 11:22, Heinrich Schuchardt wrote:
Hello Bin,
with QEMU 7.0:
-rw-rw-r-- 1 user user 33554432 Oct 23 2021 arm64.img
-rw-rw-r-- 1 user user 3758096384 Mar 23 23:42 riscv64.img
qemu-system-aarch64 -machine virt -cpu cortex-a72 -nographic \
-bios denx/u-boot.bin \
-device nvme,id=nvme1
Hello Bin,
with QEMU 7.0:
-rw-rw-r-- 1 user user 33554432 Oct 23 2021 arm64.img
-rw-rw-r-- 1 user user 3758096384 Mar 23 23:42 riscv64.img
qemu-system-aarch64 -machine virt -cpu cortex-a72 -nographic \
-bios denx/u-boot.bin \
-device nvme,id=nvme1,serial=9ff81223 \
-device nvme-ns,bus=nvme1,
Late versions of OP-TEE support a pseudo bus. TAs that behave as
hardware blocks (e.g TPM, RNG etc) present themselves on a bus which we can
scan. Unfortunately U-Boot doesn't support that yet. It's worth noting
that we already have a workaround for RNG. The details are in
commit 70812bb83da6 ("
On 2022/9/3 11:59, Kever Yang wrote:
Hi Quentin,
I got below error for SoCs other than rk3399, eg. rk3308, rk3568,
rk3328 and etc.
This patch set do not have this error, it happens in older patch set.
Thanks,
- Kever
+binman: Device tree 'u-boot.dtb' does not have a 'binman' node
+mak
58 matches
Mail list logo