Hello,
Am Mittwoch, 29. Juni 2022, 15:55:27 CEST schrieb Pali Rohár:
> Hello!
>
> On Wednesday 29 June 2022 15:36:57 Alexander Dahl wrote:
> > Hello Pali,
> >
> > had a look at this patch, and have some questions. See below.
> >
> > Am Dienstag, 31. Mai 2022, 10:32:36 CEST schrieb Pali Rohár:
On 6/27/22 20:31, Andre Przywara wrote:
On Tue, 3 May 2022 22:20:35 +0100
Andre Przywara wrote:
Hi,
As George rightfully pointed out [1], the spi-sunxi driver programs the
speed and mode settings only when the respective functions are called,
but this gets lost over a call to release_bus(
From: Benjamin Bara
Fix SHA512 config name and add missing SHA384 config.
Signed-off-by: Benjamin Bara
---
drivers/crypto/hash/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/crypto/hash/Kconfig b/drivers/crypto/hash/Kconfig
index bf9540eca6..aa355c44be 10
ISP1760/61/63 are a family of usb controllers, here the main
goal is to support the ISP1763 hcd part found in the MPS3 FPGA
board form Arm. This is based on the kernel driver and ported
to u-boot.
Signed-off-by: Rui Miguel Silva
---
Makefile|1 +
drivers/usb/Kconf
From: Teik Heng Chong
All the source code of clk-mem-n5x.c and clk-n5x.c are from Intel,
update the license to use both GPL2.0 and BSD-3 Clause because this
copy of code may used for open source and internal project.
Signed-off-by: Teik Heng Chong
---
drivers/clk/altera/clk-mem-n5x.c | 4 ++--
From 7a7dd7f16352fc916279cca05a3fa617f8bbef64 Mon Sep 17 00:00:00 2001
From: Paul Barbieri
Date: Tue, 28 Jun 2022 20:24:33 -0400
Subject: [PATCH] EFI: Fix ReadBlocks API reading incorrect sector for
UCLASS_PARTITION devices
The requested partition disk sector incorrectly has the partition star
On Wed, Jun 29, 2022 at 05:57:51PM +0200, Michael Trimarchi wrote:
> Both of us are working on Nand subsystem on several architectures and
> we have boards and projects to improve the subsystem in uboot. The idea
> is to garantee quick feedback on patches sent on mailing list and most
> of the tim
Both of us are working on Nand subsystem on several architectures and
we have boards and projects to improve the subsystem in uboot. The idea
is to garantee quick feedback on patches sent on mailing list and most
of the time the possibilities to test them.
Cc: Dario Binacchi
Cc: Tom Rini
Signed-
Since fe8acf556c3 ("imx: HAB: Validate IVT before authenticating image")
the U-Boot HAB implementation is checking whether reserved1 field in IVT
is zero or not. In case the field is not zero, IVT validation fails. Stop
setting IVT reserved1 field to non-zero in mkimage imx8m plugin, otherwise
the
On Mon, Jun 13, 2022 at 10:57:30PM -0400, Tom Rini wrote:
> Largely, the use of CONFIG_EXTRA_ENV_SETTINGS can be migrated directly
> to come from CONFIG_EXTRA_ENV_TEXT. The biggest case that cannot easily
> be migrated is distro_bootcmd support. Rather than block migration on
> this, remove the
On Sun, Jun 12, 2022 at 08:01:58PM -0400, Tom Rini wrote:
> This converts the following to Kconfig:
>CONFIG_ENV_MIN_ENTRIES
>CONFIG_ENV_MAX_ENTRIES
>
> Cc: Michal Simek
> Signed-off-by: Tom Rini
For the series, applied to u-boot/next, thanks!
--
Tom
signature.asc
Description: PGP s
On Fri, Jun 10, 2022 at 10:59:24PM -0400, Tom Rini wrote:
> The only use of CONFIG_XTFPGA was to build all of the in-tree device
> trees. Switch to using CONFIG_XTENSA instead of a non-Kconfig symbol.
>
> Signed-off-by: Tom Rini
For the series, applied to u-boot/next, thanks!
--
Tom
signat
On Wed, Jun 08, 2022 at 08:24:23AM -0400, Tom Rini wrote:
> This converts the following to Kconfig:
>CONFIG_E1000_NO_NVM
>
> Signed-off-by: Tom Rini
For the series, applied to u-boot/next, thanks!
--
Tom
signature.asc
Description: PGP signature
Hello!
On Wednesday 29 June 2022 15:36:57 Alexander Dahl wrote:
> Hello Pali,
>
> had a look at this patch, and have some questions. See below.
>
> Am Dienstag, 31. Mai 2022, 10:32:36 CEST schrieb Pali Rohár:
> > Fix multiple issues in ubifs distroboot code:
> >
> > U-Boot supports attaching o
On Tue, Jun 21, 2022 at 10:05:10PM +0200, Michael Trimarchi wrote:
> From: Andrea Scian
>
> mxs_nand_command() implementation assume that it's working with a
> LP NAND, which is a common case nowadays and thus uses two bytes
> for column address.
>
> However this is wrong for NAND_CMD_READID an
Hello Pali,
had a look at this patch, and have some questions. See below.
Am Dienstag, 31. Mai 2022, 10:32:36 CEST schrieb Pali Rohár:
> Fix multiple issues in ubifs distroboot code:
>
> U-Boot supports attaching only one MTD device as UBI at the time. So
> always call 'ubifsmount ubi0:${bootub
On Wed, Jun 29, 2022 at 09:40:58AM +0800, Qu Wenruo wrote:
>
>
> On 2022/6/28 22:17, Tom Rini wrote:
> > On Tue, Jun 28, 2022 at 03:28:00PM +0800, Qu Wenruo wrote:
> > > [BACKGROUND]
> > > Unlike FUSE/Kernel which always pass aligned read range, U-boot fs code
> > > just pass the request range to
Hi Michael,
On 29/06/2022 03:49, Michael Nazzareno Trimarchi wrote:
It will be nice if you can pick this one too. Fabio can you review it?
The change looks good to me:
Reviewed-by: Fabio Estevam
On 6/27/22 10:52, Ashok Reddy Soma wrote:
Timing macro's are wrong for MMC_HS_52 and MMC_DDR_52. Fix it with
correct values of MMC_TIMING_MMC_HS and MMC_TIMING_MMC_DDR52 respectively.
Signed-off-by: Ashok Reddy Soma
---
drivers/mmc/zynq_sdhci.c | 4 ++--
1 file changed, 2 insertions(+),
Currently ubifs doesn't support unaligned read offset, thanks to the
recent _fs_read() work to handle unaligned read, we only need to
implement ubifs_get_blocksize() to take advantage of it.
Now ubifs can do unaligned read without any problem.
Signed-off-by: Qu Wenruo
---
Unfortunately I can not
I'm not an expert on erofs, but my quick glance didn't expose any
special handling on unaligned range, thus I think the U-boot erofs
driver doesn't really support unaligned read range.
This patch will add erofs_get_blocksize() so erofs can benefit from the
generic unaligned read support.
Cc: Huan
Just add ext4_get_blocksize() and a new assert() in ext4fs_read_file().
Signed-off-by: Qu Wenruo
---
Several cleanup candicate:
1. ext_fs->blksz is never populated, thus it's always 0
We can not easily grab blocksize just like btrfs in this case.
Thus we have to go the same calculation in
Unlike FUSE or kernel, U-boot filesystem code makes the underly fs code
to handle the unaligned read (aka, read range is not aligned to fs block
size).
This makes underlying fs code harder to implement, as they have to handle
unaligned read all by themselves.
This patch will change the behavior,
Just implement fat_get_blocksize() for fat, so that fat_read_file()
always get a block aligned read range.
Unfortunately I'm not experienced enough to cleanup the fat code, thus
further cleanup is appreciated.
Cc: Tom Rini
Signed-off-by: Qu Wenruo
---
fs/fat/fat.c | 13 +
fs/fs.c
[BUG]
When try to read a range beyond file size, btrfs driver will cause
crash/segfault:
=> load host 0 $kernel_addr_r 5k_file 0 0x2000
SEGFAULT
[CAUSE]
In btrfs_read(), if @len is 0, we will truncated it to file end, but if
file end is beyond our file size, this truncation will underflow @len,
[BUG]
When testing with unaligned read, if a specific length is passed in,
btrfs driver will read out nothing:
=> load host 0 $kernel_addr_r 5k_file 0x1000 0
0 bytes read in 0 ms
But if no length is passed in, it works fine, even if we pass a non-zero
length:
=> load host 0 $kernel_addr_r 5k_
That function is only utilized inside fat driver, unexport it.
Signed-off-by: Qu Wenruo
---
fs/fat/fat.c | 4 ++--
include/fat.h | 2 --
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/fs/fat/fat.c b/fs/fat/fat.c
index df9ea2c028fc..dcceccbcee0a 100644
--- a/fs/fat/fat.c
+++ b/fs
[CHANGELOG]
RFC->v1:
- More (manual) testing
Unfortunately, in the latest master (75967970850a), the fs-tests.sh
always seems to hang at preparing the fs image.
Thus still has to do manual testing, tested btrfs, ext4 and fat, with
aligned and unaligned read, also added soft link read, all
Am 23.06.22 um 18:09 schrieb Pali Rohár:
> On Tuesday 31 May 2022 10:32:36 Pali Rohár wrote:
>> Fix multiple issues in ubifs distroboot code:
>>
>> U-Boot supports attaching only one MTD device as UBI at the time. So
>> always call 'ubifsmount ubi0:${bootubivol}' for mounting UBI volume
>> ${bootub
> Since i'm leaving the company with end of june, the maintainership will
> be transferred to Wolfgang Wallner.
Signed-off-by: Wolfgang Wallner
From: Hannes Schmelzer
Sent: Wednesday, June 29, 2022 12:11
To: u-boot@lists.denx.de
Cc: Hannes Schmelzer ; Wolfgang Wallner
Subject: [PATCH] boar
Since i'm leaving the company with end of june, the maintainership will
be transferred to Wolfgang Wallner.
Signed-off-by: Hannes Schmelzer
Seriec-cc: tr...@konsulko.com
Series-version : 2
Series-changes : 2
- fix typo in Wolgangs email-address
---
board/BuR/brppt1/MAINTAINERS | 2 +-
board
Am 27.06.22 um 05:24 schrieb Peng Fan (OSS):
> From: Peng Fan
>
> The CONFIG_SPL_MAX_SIZE could be 0x27000 for i.MX8MM when SPL_TEXT_BASE
> set to 0x7E1000.
>
> Signed-off-by: Peng Fan
> ---
> common/spl/Kconfig| 1 +
> configs/imx8mm-cl-iot-gate-optee_defconfig
Since i'm leaving the company with end of june, the maintainership will
be transferred to Wolfgang Wallner.
Signed-off-by: Hannes Schmelzer
Seriec-cc: tr...@konsulko.com
---
board/BuR/brppt1/MAINTAINERS | 2 +-
board/BuR/brppt2/MAINTAINERS | 2 +-
board/BuR/brsmarc1/MAINTAINERS | 2 +-
boa
MPS3 board have a ISP1763 usb controller, enable it to be used
for mass storage access for example. Enable the usb command
also and for the FVP support for mass storage enable the mmc
command.
Signed-off-by: Rui Miguel Silva
---
configs/corstone1000_defconfig | 3 +++
include/configs/corstone100
Move urb code from musb only use to a more common scope, so other
drivers in the future can use the handling of urb in usb.
Signed-off-by: Rui Miguel Silva
---
drivers/usb/common/Makefile | 3 +
drivers/usb/common/usb_urb.c | 160 ++
drivers/u
Add support for the usb isp1760 host controller family, which
for example is present in MPS3 FPGA board from Arm (isp1763).
First we move some helper functions and defines to a more
common place to be shared by several urb users. (patch 1/3)
Then add the driver itself, is a ported version of the
Hey Marek,
On Wed, Jun 29, 2022 at 11:07:38AM +0200, Marek Vasut wrote:
> On 6/28/22 19:42, Rui Miguel Silva wrote:
> > Move urb code from musb only use to a more common scope, so other
> > drivers in the future can use the handling of urb in usb.
>
> I'm afraid this broke at least one driver, see
On 6/29/22 03:31, Jim Liu wrote:
Hi Marek
Hi,
no, not yet.
I will add i2c otp aes sha pinctrl usb spi mmc feature to
poleg_evb_defconfig in the last commit.
about the usb patch if you have any suggestion or need modify please
let me know.
The usb patch is already in usb/next , thanks.
On 3/4/22 13:47, Michal Simek wrote:
From: T Karthik Reddy
When usb PHY initialization is done, the PHY need to be reset.
The CI is failing on this one:
https://source.denx.de/u-boot/custodians/u-boot-usb/-/jobs/457563
On 6/28/22 19:42, Rui Miguel Silva wrote:
Move urb code from musb only use to a more common scope, so other
drivers in the future can use the handling of urb in usb.
I'm afraid this broke at least one driver, see:
https://source.denx.de/u-boot/custodians/u-boot-usb/-/jobs/457939
Either send a
po 20. 6. 2022 v 15:46 odesílatel Michal Simek napsal:
>
> Using fixed partitions is recommended way how to describe QSPI. Also add
> label for qspi flash memory to be able to reference it in future.
>
> Signed-off-by: Michal Simek
> ---
>
> arch/arm/dts/zynqmp-sm-k26-revA.dts | 163
On 29.06.22 10:35, Gaurav Jain wrote:
Hi Stefano
this patch is fixing dcache issue in fsl_rsa.c
Error reported is in drivers/crypto/fsl/fsl_hash.c
addr = (addr << 32) | sec_in32(&ctx->sg_tbl[i].addr_lo);
reported error is fixed in [v3] crypto/fsl: fsl_hash: Fix crash in flush dcache
http://pat
Hi Stefano
this patch is fixing dcache issue in fsl_rsa.c
Error reported is in drivers/crypto/fsl/fsl_hash.c
addr = (addr << 32) | sec_in32(&ctx->sg_tbl[i].addr_lo);
reported error is fixed in [v3] crypto/fsl: fsl_hash: Fix crash in flush dcache
http://patchwork.ozlabs.org/project/uboot/patch/20
Commit 5c606ca35c42 ("rockchip: rk3399: enable spl-fifo-mode for sdmmc")
mentions that the RK3399 SoC can't do DMA between SDMMC and SRAM.
According to the TRM "7.3.2 Embedded SRAM access path" [1], only the
8KB SRAM at 0xff3b (INTMEM1) is in this situation. The 192KB SRAM
can be accessed by bo
When the load address of a FIT image isn't properly aligned,
spl_load_fit_image() may write past the end of the destination buffer. It
is not an issue in many cases because the memory happens to be writeable
and nothing important is present in the overflow. On RockPi4 however there
is a configurati
The patches in this series address an issue I met when trying to enable
FIT signature verification by SPL on a RockPi4B board.
- The first patch avoids a buffer overflow when writing to INTMEM1 SRAM
- The second one addresses reliability issues I had with back-to-back
MMC reads from the microSD ca
On 6/29/22 05:01, Kever Yang wrote:
>
> On 2022/6/9 23:23, Jerome Forissier wrote:
>> Commit 5c606ca35c42 ("rockchip: rk3399: enable spl-fifo-mode for sdmmc")
>> mentions that the RK3399 SoC can't do DMA between SDMMC and SRAM.
>> According to the TRM "7.3.2 Embedded SRAM access path" [1], only
Hi Gaurav,
On 29.06.22 09:06, Gaurav Jain wrote:
Hi Stefano
This patch is put into state "changes requested".
But it is a different patch in fsl_rsa.
There is no change requested with this patch.
Something went wrong - I have applied this patch to push to 2022.07, but
in CI I get the same e
在 2022/6/22 4:57, Alper Nebi Yasak 写道:
On 13/06/2022 09:13, Peng Fan (OSS) wrote:
From: Peng Fan
Use BINMAN to generate flash.bin
Signed-off-by: Peng Fan
---
Based on
https://patchwork.ozlabs.org/project/uboot/cover/20220611132035.32698-1-peng@oss.nxp.com/
V2:
Typo correct
a
On Tue, 28 Jun 2022 at 14:19, Tom Rini wrote:
>
> On Mon, Jun 27, 2022 at 05:28:10PM +0930, Joel Stanley wrote:
>
> > For the u-boot-with-spl.bin target to be useful for the AST2600, set the
> > maximum SPL size which also sets the padding length.
> >
> > The normal way of loading u-boot is as a F
Besides the two obvious defconfigs, the option was set for all
defconfigs where corresponding header file includes
include/configs/socfpga_common.h
Signed-off-by: Alexander Dahl
---
README | 4
configs/astro_mcf5373l_defconfig| 1 +
configs/mx53cx902
Hei hei,
this is some fallout from migrating some downstream boards with Altera
Cyclone FPGAs to recent U-Boot v2022.04. Not entirely sure about that
FPGA_COUNT variable in patch 3, which seems to be used in source code in
board/astro/mcf5373l/fpga.c only. Maybe that variable can be dropped
enti
Signed-off-by: Alexander Dahl
---
README | 4
configs/astro_mcf5373l_defconfig | 1 +
drivers/fpga/Kconfig | 6 ++
include/configs/astro_mcf5373l.h | 1 -
scripts/config_whitelist.txt | 1 -
5 files changed, 7 insertions(+), 6 deletions(-)
diff
After commit 8cca60a2cbf2 ("Kconfig: Remove some symbols from the
whitelist") downstream builds failed for boards setting this in
include/configs/…
Two FPGA drivers consider this definition.
Signed-off-by: Alexander Dahl
---
README | 3 ---
drivers/fpga/Kconfig | 4
2 files c
Hi Stefano
This patch is put into state "changes requested".
But it is a different patch in fsl_rsa.
There is no change requested with this patch.
Regards
Gaurav Jain
> -Original Message-
> From: Stefano Babic
> Sent: Wednesday, June 15, 2022 6:20 PM
> To: Gaurav Jain ; Fabio Estevam
>
The AST2600 has a Qemu model that allows testing. Create a SPI NOR image
containing the combined SPL and u-boot FIT image.
Reviewed-by: Chia-Wei Wang
Reviewed-by: Cédric Le Goater
Signed-off-by: Joel Stanley
---
.azure-pipelines.yml | 3 +++
.gitlab-ci.yml | 6 ++
2 files changed, 9
The generic arm linker script contains this section:
.bss __rel_dyn_start (OVERLAY) : {
...
}
The (OVERLAY) syntax in the description causes the .bss section to be
included in the NOR area of the image:
$ objdump -t -j .bss spl/u-boot-spl
SYMBOL TABLE:
c61c ld .bss 000
The normal way of loading u-boot is as a FIT, so configure u-boot.img as
the SPL playload.
The u-boot-with-spl.bin target will add padding according to
CONFIG_SPL_MAX_SIZE which defaults to 64KB on the AST2600.
With this the following simple steps can be used to build and boot a
system:
make u
The AST2600 bootrom has a max size of 64KB. This can be overridden if the
system is running the SPL from SPI NOR and not using secure boot.
Signed-off-by: Joel Stanley
---
New in v2
common/spl/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
in
The HACE driver lacks support for all the hash types, causing boot to
fail with the default FIT configuration which uses CRC32.
Additionally the Qemu model or the u-boot driver is unable to correctly
compute the SHA256 hash used in a FIT.
Disable HACE by default while the above issues are worked
Allows loading one u-boot from another. Useful for testing on hardware.
Reviewed-by: Chia-Wei Wang
Reviewed-by: Cédric Le Goater
Signed-off-by: Joel Stanley
---
configs/evb-ast2600_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/evb-ast2600_defconfig b/configs/evb-ast2600
Useful for testing images with the default hash type.
Reviewed-by: Chia-Wei Wang
Reviewed-by: Cédric Le Goater
Signed-off-by: Joel Stanley
---
configs/evb-ast2600_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/evb-ast2600_defconfig b/configs/evb-ast2600_defconfig
index a
The Aspeed AST2600 is modelled in Qemu. This makes some configuration
changes so it can be added to CI.
v2 changes:
The u-boot-test-hooks patches are now merged.
I reworked "ast2600: Configure u-boot-with-spl.bin target" to use the
kconfig SPL_MAX_SIZE. The size is set in the previous patch as a
Hi Stefano
Can you help to review this patch?
Regards
Gaurav Jain
> -Original Message-
> From: Gaurav Jain
> Sent: Monday, April 18, 2022 4:04 PM
> To: Stefano Babic ; u-boot@lists.denx.de
> Cc: Fabio Estevam ; Priyanka Jain
> ; Ye Li ; Horia Geanta
> ; Silvano Di Ninno ; Varun
> Sethi ;
64 matches
Mail list logo