Imported from linux kernel v5.0.
Signed-off-by: AKASHI Takahiro
---
include/crypto/internal/rsa.h | 62 +++
lib/crypto/Makefile | 10 -
lib/crypto/rsa_helper.c | 81 +++
lib/crypto/rsapubkey.asn1 | 4 ++
4 files
Imported from linux kernel v5.0.
Signed-off-by: AKASHI Takahiro
---
lib/Kconfig | 1 +
lib/Makefile | 1 +
lib/crypto/Kconfig| 10 +
lib/crypto/Makefile | 17 +
lib/crypto/x509.asn1 | 60
lib/crypto/x509_akid.asn1
Imported from linux kernel v5.0.
Signed-off-by: AKASHI Takahiro
---
include/crypto/pkcs7.h| 51 +++
lib/crypto/Kconfig| 9 +
lib/crypto/Makefile | 11 +
lib/crypto/pkcs7.asn1 | 135
lib/crypto/pkcs7_parser.c | 690 ++
Imported from linux kernel v5.0.
Signed-off-by: AKASHI Takahiro
---
include/crypto/public_key.h| 89 +
include/keys/asymmetric-type.h | 92 +
lib/crypto/Kconfig | 19 +
lib/crypto/Makefile| 10 +
lib/crypto/asymmetric_type.c | 655
Signed-off-by: AKASHI Takahiro
---
include/crypto/public_key.h | 2 +-
lib/crypto/Makefile | 2 +-
lib/crypto/public_key_local.c | 69 +++
3 files changed, 71 insertions(+), 2 deletions(-)
create mode 100644 lib/crypto/public_key_local.c
diff --git
Imported from linux kernel v5.0.
Signed-off-by: AKASHI Takahiro
---
lib/Kconfig| 6 +
lib/Makefile | 1 +
lib/asn1_decoder.c | 520 +
3 files changed, 527 insertions(+)
create mode 100644 lib/asn1_decoder.c
diff --git a/lib/Kconfig
Imported from linux kernel v5.0.
Signed-off-by: AKASHI Takahiro
---
include/linux/oid_registry.h | 103 +
lib/Kconfig | 5 +
lib/Makefile | 16 +++
lib/build_OID_registry | 207 +++
lib/oid_registry.c
This rule will be used to build x509 and pkcs7 parsers.
Signed-off-by: AKASHI Takahiro
---
scripts/Makefile.build | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index f7a041296d3d..9357d310e50b 100644
---
Imported from linux kernel v5.0.
This host command will be used to create a ASN1 parser, for example,
for pkcs7 or x509.
Signed-off-by: AKASHI Takahiro
---
cmd/Kconfig |3 +
include/linux/asn1.h | 69 ++
include/linux/asn1_ber_bytecode.h | 93 ++
Asn1 parsers of x509 certificates and pkcs7 messages are required
to implement image authentication and variable authentication as
part of UEFI secure boot feature.
As we discussed before in the thread[1], most people insisted that
we should re-use corresponding source code from Linux repository
Correct a function name in comments.
Signed-off-by: AKASHI Takahiro
---
cmd/nvedit_efi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/nvedit_efi.c b/cmd/nvedit_efi.c
index a9ecb3ee4dc3..4532124c33d0 100644
--- a/cmd/nvedit_efi.c
+++ b/cmd/nvedit_efi.c
@@ -381,7 +381,7
With this patch, when setting UEFI variable with "env set -e" command,
we will be able to
- specify vendor guid with "-guid guid",
- specify variable attributes, BOOTSERVICE_ACCESS, RUNTIME_ACCESS,
TIME_BASED_AUTHENTICATED_WRITE_ACCESS respectively with
"-bs", "-rt" and "-at",
- append a
If EFI_VARIABLE_APPEND_WRITE is specified in attributes at
efi_set_variable(), specified data will be appended to the variable's
original value. Attributes other than APPEND_WRITE should not be
modified.
With this patch, APPEND_WRITE test in 'variables' selftest will pass.
Signed-off-by: AKASHI
This issue can be seen on 32bit operation when one of E820_RAM type
entries is greater than 4GB memory space.
The efi_alloc() finds a free memory in the conventional memory which
is greater than 4GB. But, it does type cast to 32bit address space
and eventually returns invalid address.
Hello Patrick,
Am 02.09.2019 um 17:35 schrieb Patrick DELAUNAY:
Hi Heiko,
From: Heiko Schocher
Sent: lundi 2 septembre 2019 16:03
Hello Patrick,
I am just testing U-Boot Environment flags and they do not work anymore with
current mainline U-Boot ... I should have made some tbot test for
Hi Lukasz,
Sorry for my late response. Please see my comments inline.
> -Original Message-
> From: Lukasz Majewski
> Sent: Friday, August 23, 2019 4:45 PM
> To: Y.b. Lu
> Cc: u-boot@lists.denx.de; Peng Fan
> Subject: Re: [U-Boot] [PATCH 2/3] mmc: fsl_esdhc: clean up code
>
> On Mon,
On 2019/8/24 上午1:29, Matwey V. Kornilov wrote:
Makefile now produces ready-to-deploy idbloader.img file.
u-boot has support for TPL at rk3399 platform for all boards,
so there is not reason to refer binary loaders.
Signed-off-by: Matwey V. Kornilov
---
doc/README.rockchip | 6 --
1
> Subject: [PATCH] imx: apalis_imx6: select MX6Q via Kconfig
>
> Toradex Apalis iMX6 modules are available in the iMX6D and iMX6Q variants,
> which are quite similar and already managed via only one dtb in u-boot
> (imx6-apalis.dtb). Select MX6Q via Kconfig by default in order to
> automatically
> Subject: [PATCH] apalis_imx6: allocate specific region of memory to OP-TEE
>
> OP-TEE uses the memory region defined by the maximum DRAM address
> minus CONFIG_OPTEE_TZDRAM_SIZE, so subtract
> CONFIG_OPTEE_TZDRAM_SIZE from the available DRAM size to avoid
> conflicts.
>
> Signed-off-by:
> Subject: [PATCH] apalis_imx6: add board_fit_config_name_match to support
> FIT in SPL
>
> Only one dtb is currently supported, so match with imx6-apalis.
>
> Signed-off-by: Ricardo Salveti
> ---
> board/toradex/apalis_imx6/apalis_imx6.c | 10 ++
> 1 file changed, 10 insertions(+)
>
Hi Matwey,
Could you merge patch 2/3/5 into one patch? I think they are the
one update for
the same reason, no need to split into 3 patches.
Thanks,
- Kever
On 2019/8/24 上午1:29, Matwey V. Kornilov wrote:
Makefile now produces ready-to-deploy idbloader.img file.
Signed-off-by: Matwey
> Subject: [PATCH] spl: imx: only use HAB if spl fit signature is not enabled
>
> There is no need to use HAB for FIT signature validation when
> SPL_FIT_SIGNATURE is also enabled, as that will be validated via the normal
> U-Boot signed FIT image flow.
>
> This allows having SPL validated by
> Subject: [PATCH] apalis_imx6: fix broken fsl_esdhc_imx conversion
>
> Commit e37ac717d796 ("Convert to use fsl_esdhc_imx for i.MX platforms")
> converted FSL_ESDHC to FSL_ESDHC_IMX, but the config check for
> apalis_imx6 wasn't updated accordantly.
>
> Signed-off-by: Ricardo Salveti
> ---
>
Hi Matwey,
On 2019/8/24 上午1:29, Matwey V. Kornilov wrote:
Many Rockchip platforms require the same u-boot deploy procedure
when TPL and SPL both enabled.
The following examples are taken from doc/README.rockchip
and board/theobroma-systems/lion_rk3368/README:
RK3288:
./tools/mkimage -n
Hi Tom,
Please pull some riscv updates:
- Skip unavailable hart in the get_count().
- fu540 set serial env from otp.
- fu540 add mmc0 as a boot target device.
- Update fix_rela_dyn and add absolute reloc addend.
- Andestech PLIC driver will skip unavailable hart.
- Support Andestech V5L2 cache
Hi Jun,
> Subject: Re: [PATCH 0/3] Support distro boot in pico-imx7d BL33 case
>
> Jun Nie 于2019年8月8日周四 下午12:04写道:
> >
> > Jun Nie 于2019年7月16日周二 下午3:43写道:
> > >
> > > Support distro boot in pico-imx7d BL33 case with changing the
> > > enviroment variables. While the other two patches are for
> Subject: Re: [PATCH v3] imx: support i.MX8QM ROM 7720 a1 board
>
> On 02/09/19, Peng Fan wrote:
> > > Subject: [PATCH v3] imx: support i.MX8QM ROM 7720 a1 board
> > >
> > > +echo "ATF_LOAD_ADDR=$ATF_LOAD_ADDR" >&2 echo
> > > +"BL33_LOAD_ADDR=$BL33_LOAD_ADDR" >&2
> > > +
> >
> > This is no
On Mon, Sep 02, 2019 at 01:19:06PM +0200, Heinrich Schuchardt wrote:
> On 9/2/19 12:30 PM, Matthias Brugger wrote:
> >+Alex, Lukas, Heinrich, Bin and Simon
> >
> >On 31/07/2019 10:16, Jun Nie wrote:
> >>Matthias Brugger 于2019年7月31日周三 下午4:05写道:
> >>>
> >>>
> >>>
> >>>On 11/07/2019 05:55, Jun Nie
On Tue, Sep 3, 2019 at 6:05 AM Heinrich Schuchardt wrote:
>
> With GCC 9.2.1 net/nfs.c leads to multiple errors of type
> address-of-packed-member.
>
> net/nfs.c: In function ‘rpc_req’:
> net/nfs.c:199:18: error: taking address of packed member of
> ‘struct rpc_t’ may result in an unaligned
On Tue, Sep 3, 2019 at 5:55 AM Heinrich Schuchardt wrote:
>
> rpc_pkt.u.call.data is an array of uint32_t. There is no need to convert
> it to uint32_t *.
>
> memcpy() expects void * as it 1st and 2nd argument. There is no point in
> converting pointers to char * before passing them to memcpy().
Only one dtb is currently supported, so match with imx6-apalis.
Signed-off-by: Ricardo Salveti
---
board/toradex/apalis_imx6/apalis_imx6.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/board/toradex/apalis_imx6/apalis_imx6.c
b/board/toradex/apalis_imx6/apalis_imx6.c
index
OP-TEE uses the memory region defined by the maximum DRAM address minus
CONFIG_OPTEE_TZDRAM_SIZE, so subtract CONFIG_OPTEE_TZDRAM_SIZE from the
available DRAM size to avoid conflicts.
Signed-off-by: Ricardo Salveti
---
board/toradex/apalis_imx6/apalis_imx6.c | 5 +
1 file changed, 5
Toradex Apalis iMX6 modules are available in the iMX6D and iMX6Q
variants, which are quite similar and already managed via only one
dtb in u-boot (imx6-apalis.dtb). Select MX6Q via Kconfig by default in
order to automatically enable the HAS_CAAM and MX6_SMP features.
Signed-off-by: Ricardo
There is no need to use HAB for FIT signature validation when
SPL_FIT_SIGNATURE is also enabled, as that will be validated via the
normal U-Boot signed FIT image flow.
This allows having SPL validated by HAB and the payloads to follow
being validated with FIT signatures only.
Signed-off-by:
Commit e37ac717d796 ("Convert to use fsl_esdhc_imx for i.MX platforms")
converted FSL_ESDHC to FSL_ESDHC_IMX, but the config check for
apalis_imx6 wasn't updated accordantly.
Signed-off-by: Ricardo Salveti
---
board/toradex/apalis_imx6/apalis_imx6.c | 4 ++--
1 file changed, 2 insertions(+), 2
With GCC 9.2.1 net/nfs.c leads to multiple errors of type
address-of-packed-member.
net/nfs.c: In function ‘rpc_req’:
net/nfs.c:199:18: error: taking address of packed member of
‘struct rpc_t’ may result in an unaligned pointer value
[-Werror=address-of-packed-member]
199 | p = (uint32_t
rpc_pkt.u.call.data is an array of uint32_t. There is no need to convert
it to uint32_t *.
memcpy() expects void * as it 1st and 2nd argument. There is no point in
converting pointers to char * before passing them to memcpy().
In ntohl(data[1]) != 0 calling ntohl() is superfluous. If the value
Hello Joe,
GCC 9.2.1 (of Debian Bullseye) produces the warnings below when building
pine64-lts_defconfig. Is it really necessary to define struct rpc_t as
packed? The structure is composed out of uint32_t only. So shouldn't it
be naturally packed without the attribute?
net/nfs.c: In function
Hi Suneel,
On 27/08/2019 02:59, Chandrakala Chavva wrote:
> Tim,
>
> It was scheduled to post the patches on August 15th, it got delayed as Suneel
> got sick, he will post in 2 weeks.
>
Hope you are fine again. Do you have an update about the patches?
Best regards,
Matthias
> Chandra
>
Hi,
I am currently looking into variable flags in order to make some
variables read-only for secure boot.
The idea is that the u-boot binary is signed, while the environment
file/partition is not. So the built-in default environment of u-boot can
be trusted, while the external environment
On Mon, Sep 02, 2019 at 12:24:42PM +, Alexey Brodkin wrote:
> Hi Kever,
>
> > -Original Message-
> > From: Kever Yang
> > Sent: Monday, September 2, 2019 11:05 AM
> > To: Alexey Brodkin
> > Cc: tr...@konsulko.com; eugeniy.palt...@synopsys.com; Simon Glass
> > ; Peng Fan
> > ;
Hi Tom,
On Fri, Aug 30, 2019 at 3:14 PM Tom Rini wrote:
> Are there more i.mx platforms that are not setting BOARD_SIZE_LIMIT
> today? I assume there are, sadly. Can you audit and catch the rest of
Yes, only a very few i.MX boards set BOARD_SIZE_LIMIT currently.
> these likely problems, and
Hi Heiko,
> From: Heiko Schocher
> Sent: lundi 2 septembre 2019 16:03
>
> Hello Patrick,
>
> I am just testing U-Boot Environment flags and they do not work anymore with
> current mainline U-Boot ... I should have made some tbot test for it, but did
> not
> found yet time for it ...
>
>
On Mon, Sep 2, 2019 at 10:34 PM Michal Simek wrote:
>
> From: T Karthik Reddy
>
> This patch adds functions dev_read_u64_default & dev_read_u64
> to read unsigned 64-bit values from devicetree.
>
> Signed-off-by: T Karthik Reddy
> Signed-off-by: Michal Simek
> ---
>
> Changes in v2:
> - Moved
From: T Karthik Reddy
The sdhci capabilities registers can be incorrect. The
sdhci-caps-mask and sdhci-caps dt properties specify which bits of
the registers are incorrect and what their values should be. This
patch makes the sdhci driver use those properties to correct the caps.
Also use
From: T Karthik Reddy
This patch adds functions dev_read_u64_default & dev_read_u64
to read unsigned 64-bit values from devicetree.
Signed-off-by: T Karthik Reddy
Signed-off-by: Michal Simek
---
Changes in v2:
- Moved newly added 64-bit funtion definations & prototypes below
32-bit
Hi,
This patch series adds support for reading 64-bit dt properties & add
support sdhci dt caps & caps mask.
Thanks,
Michal
Changes in v2:
- Moved newly added 64-bit funtion definations & prototypes below
32-bit functions.
T Karthik Reddy (2):
dm: core: Add functions to read 64-bit dt
On Thu, Aug 29, 2019 at 07:08:59PM +0530, suni...@techveda.org wrote:
> From: Suniel Mahesh
>
> Enable CONFIG_DM_USB to remove compile warning for
> am43xx based targets:
>
> = WARNING ==
> This board does not use CONFIG_DM_USB. Please update
> the board
On Wed, Aug 28, 2019 at 11:00:46AM +, Rasmus Villemoes wrote:
> I wanted this to be compatible with mkenvimage, including the ability
> to embed newlines in variables by escaping them. But I failed to check
> that it works more than once.
>
> Fixes: f3d8f7dd73a (Allow providing default
On Thu, Aug 29, 2019 at 02:07:11PM +0200, Marek Vasut wrote:
> The following changes since commit 1e60ccd94318fb86610e1e28512b2aaac5f4b069:
>
> Merge branch '2019-08-20-master-imports' (2019-08-20 21:40:12 -0400)
>
> are available in the Git repository at:
>
>
On Tue, Aug 27, 2019 at 03:32:20PM +0800, Weijie Gao wrote:
> This patch enables CONFIG_BLOCK_CACHE for mt7623n_bpir2.
>
> Signed-off-by: Weijie Gao
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
___
U-Boot
On Tue, Aug 27, 2019 at 11:54:31AM -0600, Stephen Warren wrote:
> From: Stephen Warren
>
> The current code in reserve_noncached() has two issues:
>
> 1) The first update of gd->start_addr_sp always rounds down to a section
> start. However, the equivalent calculation in
On Tue, Aug 27, 2019 at 01:27:56PM +0530, suni...@techveda.org wrote:
> From: Suniel Mahesh
>
> TI AM65x platforms (evm and HS) generate an SPL image
> 'tispl.bin*' and there is no rule for cleanup.
> Added entry for cleanup in clean target.
>
> Signed-off-by: Suniel Mahesh
Applied to
On Tue, Aug 27, 2019 at 03:32:18PM +0800, Weijie Gao wrote:
> This reverts commit 0ebe112d09b48230ba4be833cd3504b06997d9a4.
>
> Most block devices have only one hwpart. Multiple hwparts only found used
> by eMMC devices in u-boot. The mmc driver do blk_dselect_hwpart() at the
> beginning of
On Tue, Aug 27, 2019 at 11:56:49AM +0100, Ryan Harkin wrote:
> This reverts commit fc04b923541d984b1544056fd3bfa8129d4e5aac where the
> FVP DRAM configuration was added.
>
> Signed-off-by: Ryan Harkin
> Acked-by: Sudeep Holla
Applied to u-boot/master, thanks!
--
Tom
signature.asc
On Thu, Aug 22, 2019 at 09:58:26PM +0200, Heinrich Schuchardt wrote:
> char num[1];
> sprintf(num, "%d", i);
>
> leads to a buffer overrun.
>
> Simplify the overly complex coding.
>
> Signed-off-by: Heinrich Schuchardt
> Reviewed-by: Bin Meng
> Acked-by: Heiko Schocher
Applied to
On Tue, Aug 27, 2019 at 03:32:19PM +0800, Weijie Gao wrote:
> eMMC device has multiple hw partitions both address from zero. However the
> mmc driver lacks block cache invalidation for switch hwpart. This causes a
> problem that data of current hw partition is cached before switching to
> another
Hello Patrick,
I am just testing U-Boot Environment flags and they do not work anymore with
current mainline U-Boot ... I should have made some tbot test for it,
but did not found yet time for it ...
Here log with current mainline:
=> printenv heiko
heiko=changed
=> env flags
Available
From: Suniel Mahesh
Enable driver model for SPI and SPI_FLASH to remove the following
compile warning on CM-FX6 SOM:
= WARNING ==
This board does not use CONFIG_DM_SPI_FLASH. Please update
the board to use CONFIG_SPI_FLASH before the v2019.07 release.
On 02/09/2019 14:45, Andreas Färber wrote:
> Hi Neil,
>
> Am 02.09.19 um 14:10 schrieb Neil Armstrong:
>> On 02/09/2019 14:03, Andreas Färber wrote:
>>> Am 02.09.19 um 12:03 schrieb Neil Armstrong:
On 02/09/2019 04:28, Andreas Färber wrote:
> In Linux meson-g12-common.dtsi was introduced
Hi Neil,
Am 02.09.19 um 14:10 schrieb Neil Armstrong:
> On 02/09/2019 14:03, Andreas Färber wrote:
>> Am 02.09.19 um 12:03 schrieb Neil Armstrong:
>>> On 02/09/2019 04:28, Andreas Färber wrote:
In Linux meson-g12-common.dtsi was introduced as well as new g12b nodes
and headers, as
Values imported from Linux driver, but in correct numeric order.
Khadas VIM3 prints: Amlogic Meson G12B (A311D) Revision 29:b (10:2)
Cc: Christian Hewitt
Signed-off-by: Andreas Färber
---
v2: New
arch/arm/mach-meson/board-info.c | 1 +
1 file changed, 1 insertion(+)
diff --git
Derived from odroid-n2_defconfig and README.odroid-n2.
Reviewed-by: Neil Armstrong
Signed-off-by: Andreas Färber
---
v1 -> v2:
* Fixed branch name in README
board/amlogic/w400/MAINTAINERS| 1 +
board/amlogic/w400/README.khadas-vim3 | 132 ++
Write SoC instead of Soc. The Linux driver is not affected.
Fixes: f41d723b9f ("ARM: meson: display Amlogic SoC Information")
Signed-off-by: Julien Masson
Signed-off-by: Andreas Färber
---
v2: New
arch/arm/mach-meson/board-info.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
In Linux meson-g12-common.dtsi was introduced as well as new g12b nodes
and headers, as dependencies of new meson-g12b-a311d-khadas-vim3.dts.
Copied from next-20190830.
Signed-off-by: Andreas Färber
---
v1 -> v2:
* Mention linux-next tag for DT/header import (Neil)
arch/arm/dts/Makefile
Hi Neil,
This mini-series adds initial support for Amlogic A311D based Khadas VIM3.
v2 fixes an oversight and adds some cleanups.
Regards,
Andreas
v1 -> v2:
* Fixed branch name in README
* Mention linux-next tag for DT/header import (Neil)
* Avoid "Unknown" SoC output for A311D, fixing a typo
Hi Kever,
> -Original Message-
> From: Kever Yang
> Sent: Monday, September 2, 2019 11:05 AM
> To: Alexey Brodkin
> Cc: tr...@konsulko.com; eugeniy.palt...@synopsys.com; Simon Glass
> ; Peng Fan
> ; u-boot@lists.denx.de
> Subject: Re: [PATCH] mmc: dw_mmc: fix timeout calculate method
>
Even though EM SDP is FPGA-based board and different FPGA
images (known as .bit-files) are awailable for the board still
there's a common subset of options we may rely on for all configs.
These are:
* Normalizer
* Swap instructions
* Simple multiplier
* Barrel-shifter
* Floating-point unit
Hi,
> -Original Message-
> From: Alexey Brodkin
> Sent: Monday, September 2, 2019 12:43 PM
> To: u-boot@lists.denx.de
> Cc: uboot-snps-...@synopsys.com; linux-snps-...@lists.infradead.org; Alexey
> Brodkin
> ; Kever Yang
> Subject: [PATCH] arc: libgcc: Import __udivdi3 & __udivmoddi4
Hi Andreas
On 02/09/2019 14:03, Andreas Färber wrote:
> Hi Neil,
>
> Am 02.09.19 um 12:03 schrieb Neil Armstrong:
>> On 02/09/2019 04:28, Andreas Färber wrote:
>>> In Linux meson-g12-common.dtsi was introduced as well as new g12b nodes
>>> and headers, as dependencies of new
Hi Neil,
Am 02.09.19 um 12:03 schrieb Neil Armstrong:
> On 02/09/2019 04:28, Andreas Färber wrote:
>> In Linux meson-g12-common.dtsi was introduced as well as new g12b nodes
>> and headers, as dependencies of new meson-g12b-a311d-khadas-vim3.dts.
>
> Can you precise the Linux commit ID you
The da8xx GPIO driver is available with DM_GPIO support. This
patch enables the CMD_GPIO, CMD_DM, and DM_GPIO and DA8XX_GPIO.
Signed-off-by: Adam Ford
---
V2: Fix GPIO redefinition warning by making the max number of GPIOS's be
consistent
diff --git
The single pinctrl supports the da8xx, so this patch enables
pinctrl in U-Boot.
Signed-off-by: Adam Ford
---
V2: No change
diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
index c74d78b547..266f2c251c 100644
--- a/configs/omapl138_lcdk_defconfig
+++
The USB was just recently enabled, so it is unlikely anyone is
using it in SPL, so this patch removes it from SPL to further
reduce the SPL code size.
Signed-off-by: Adam Ford
---
V2: No Change
diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
index
The header it littered with #ifdefs and #defines and that appear
to be legacy associations to the older da850-evm and in some cases
obsolete with either Kconfig or DM migrations. This patch removes
these legacy references.
Signed-off-by: Adam Ford
---
V2: No Change
diff --git
Hi Vignesh,
>
> Hi Sherry,
>
> [...]
> >> AFAIK, U-Boot does not support runtime switching of USB port to host
> >> from device and vice versa. This is the case for existing driver like
> DWC3/MUSB etc.
> >>
> >> Ideally we would need a role switch driver that unbinds and rebinds
> >> host vs
On 9/2/19 12:30 PM, Matthias Brugger wrote:
+Alex, Lukas, Heinrich, Bin and Simon
On 31/07/2019 10:16, Jun Nie wrote:
Matthias Brugger 于2019年7月31日周三 下午4:05写道:
On 11/07/2019 05:55, Jun Nie wrote:
Enable verified boot from FIT image with select configs
and specify boot script image node in
On 02/09/19, Peng Fan wrote:
> > Subject: [PATCH v3] imx: support i.MX8QM ROM 7720 a1 board
> >
> > +echo "ATF_LOAD_ADDR=$ATF_LOAD_ADDR" >&2 echo
> > +"BL33_LOAD_ADDR=$BL33_LOAD_ADDR" >&2
> > +
>
> This is no needed.
>
ok I`ll remove it
> > +config SYS_VENDOR
> > + default "freescale"
>
>
Hi Kever,
On Mon, Sep 2, 2019 at 11:01 AM Kever Yang wrote:
>
> There is not always have uuid in disk_partition_t, we can only get from
> partitions info when PARTITION_UUIDS is available.
>
> Signed-off-by: Kever Yang
> ---
>
> common/avb_verify.c | 4
> 1 file changed, 4 insertions(+)
>
+Alex, Lukas, Heinrich, Bin and Simon
On 31/07/2019 10:16, Jun Nie wrote:
> Matthias Brugger 于2019年7月31日周三 下午4:05写道:
>>
>>
>>
>> On 11/07/2019 05:55, Jun Nie wrote:
>>> Enable verified boot from FIT image with select configs
>>> and specify boot script image node in FIT image, the FIT
>>> image
lpuart0 is the uart used by SPL and U-Boot proper, and DM_SERIAL
is enabled. Since uclass power domain is also enabled, to make
lpuart work properly, need add u-boot,dm-spl for lpuart power domain
and its parent.
Signed-off-by: Peng Fan
---
arch/arm/dts/fsl-imx8qxp-mek-u-boot.dtsi | 8
From: Ye Li
When power on some sources in Video system, current timeout 10ms is
too short and returns before SCU response. So increase the timeout
to 1s.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/misc/imx8/scu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
The current i.MX8 power domain driver is based on i.MX vendor
power domain tree which will retire later.
The Linux upstream use a single pd node for power domain driver,
and U-Boot will adopt that. When U-Boot i.MX8 dts synced with
Linux Kernel upstream and related driver ready, the legacy
driver
clk and pinctrl will be get(probed) during each device probe,
we don't need to probe them in scu driver. Only need to bind the sub-nodes
(clk and iomuxc) of MU node with their drivers.
So drop the code to probe the clk/pinctrl, and this patch will make it
easy to add more subnodes.
The power domain tree is not accepted by Linux Kernel upstream.
only a single pd node is used currently, as following:
pd: imx8qx-pd {
compatible = "fsl,imx8qm-scu-pd", "fsl,scu-pd";
#power-domain-cells = <1>;
};
So
lpuart0 is the uart used by SPL and U-Boot proper, and DM_SERIAL
is enabled. Since uclass power domain is also enabled, to make
lpuart work properly, need add u-boot,dm-spl for lpuart power domain
and its parent.
Signed-off-by: Peng Fan
---
arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi | 8
with u-boot,dm-spl added for imx8qm-pm node, and SPL_SIMPLE_BUS enabled,
the bind and probe code in board file could be removed.
Also we need to enlarge SYS_MALLOC_F_LEN to avoid calloc fail.
Signed-off-by: Peng Fan
---
arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi | 5 +
When device has multiple power domains, power_domain_get could
not able to support that. So let's iterate each power domain
and enable it.
Signed-off-by: Peng Fan
---
drivers/core/device.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/drivers/core/device.c
On 02/09/2019 05:02, Andreas Färber wrote:
> Am 02.09.19 um 04:28 schrieb Andreas Färber:
>> diff --git a/board/amlogic/w400/README.khadas-vim3
>> b/board/amlogic/w400/README.khadas-vim3
>> new file mode 100644
>> index 00..39b2b06000
>> --- /dev/null
>> +++
Hi Andreas,
On 02/09/2019 04:28, Andreas Färber wrote:
> In Linux meson-g12-common.dtsi was introduced as well as new g12b nodes
> and headers, as dependencies of new meson-g12b-a311d-khadas-vim3.dts.
Can you precise the Linux commit ID you sync'ed from ?
The best would be to sync from the v2
As reported by Kever here [1] we were unable to compile 64-bit division
code due to missing definition of __udivdi3().
Import its implementation and __udivmoddi4() as its direct dependency
from today's libgcc [2].
[1] https://patchwork.ozlabs.org/patch/1146845/
[2]
Hello Tom,
one late pull request for u-boot-i2c as I missed Pengs patch...
The following changes since commit 877294b56a52f1cb60bbfa7e4722fcc33451f7b2:
Merge tag 'efi-2019-10-rc4' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi (2019-08-29
07:26:42 -0400)
are available in the Git
On Thu, Aug 29, 2019 at 10:10 PM Bin Meng wrote:
>
> In spi_get_bus_and_cs() only bus number is checked before accessing
> slaves. We should check cs number as well.
>
> Signed-off-by: Bin Meng
> ---
>
> drivers/spi/spi-uclass.c | 6 ++
> 1 file changed, 6 insertions(+)
>
Ping?
On Thu, Aug 29, 2019 at 10:10 PM Bin Meng wrote:
>
> If an SPI controller driver does not implement ops->cs_info, that
> probably means any chip select number could be valid, hence let's
> return 0 for spi_cs_info().
>
> Signed-off-by: Bin Meng
> ---
>
> drivers/spi/spi-uclass.c | 7 +++
>
Hello Peng,
Am 27.08.2019 um 11:55 schrieb Peng Fan:
Hi Heiko,
Subject: [PATCH v2] i2c: mxc: add CONFIG_CLK support
Would you pick up this patch?
Thanks,
Peng.
When CONFIG_CLK enabled, use CLK UCLASS for clk related settings.
Signed-off-by: Peng Fan
---
V2:
use clk_get_rate when
On 2019/8/27 上午2:20, Jagan Teki wrote:
Add cpu information for rockchip soc.
This would help to print the SoC family number, with
associated temparature, clock and reason for reset etc.
Signed-off-by: Jagan Teki
Reviewed-by: Kever Yang
Thanks,
- Kever
---
Jun Nie 于2019年7月11日周四 上午11:56写道:
>
> Enable verified boot from FIT image with select configs
> and specify boot script image node in FIT image, the FIT
> image is verified before it is run.
>
> Code that reusing dtb in firmware is disabled, so that
> the dtb with pubic key packed in u-boot.bin
Some environment variables are relevant for networking. For these
U_BOOT_ENV_CALLBACKs have been defined. When the corresponding environment
variable is updated the callback updates the state of the network
sub-system.
In the UEFI subsystem we can use the network even if CONFIG_CMD_NET is not
Jun Nie 于2019年8月8日周四 下午12:04写道:
>
> Jun Nie 于2019年7月16日周二 下午3:43写道:
> >
> > Support distro boot in pico-imx7d BL33 case with changing the enviroment
> > variables. While the other two patches are for polishing clock code and
> > for feature enablement.
> >
> > Jun Nie (3):
> > pico-imx7d: add
Hi Alexey,
On 2019/8/30 下午9:28, Alexey Brodkin wrote:
Hi Kever,
[snip]
I think this tree does not including this patch, Peng drop it because of
this issue,
so you need to apply this patch in your branch to reproduce the problem.
I have send out V2 patch for this fix with only using 32bit
1 - 100 of 104 matches
Mail list logo