On 19/12/2020 14:51, Amit Singh Tomar wrote:
> From: Amit Singh Tomar
>
> This commit adds support for MMC controllers found on Actions OWL
> S700 SoC platform.
>
> Signed-off-by: Amit Singh Tomar
> ---
> Changes since previous version
> * Corrected block count to 512.
> * Changed t
On 12/22/20 7:06 PM, Simon Glass wrote:
Hi Sean,
On Tue, 22 Dec 2020 at 16:51, Sean Anderson wrote:
On 12/11/20 11:29 AM, Simon Glass wrote:
Hi Bin,
On Thu, 10 Dec 2020 at 21:37, Bin Meng wrote:
On Fri, Dec 11, 2020 at 12:32 PM Sean Anderson wrote:
On 12/10/20 11:27 PM, Bin Meng wrote
On Wed, Dec 23, 2020 at 3:50 AM Atish Patra wrote:
>
> Latest opensbi uses generic platform for Qemu. Update the build
> instructions.
>
> Signed-off-by: Atish Patra
> ---
> doc/board/emulation/qemu-riscv.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Bin Meng
Hi Simon,
On Sat, Dec 12, 2020 at 12:29 AM Simon Glass wrote:
>
> Hi Bin,
>
> On Thu, 10 Dec 2020 at 21:37, Bin Meng wrote:
> >
> > On Fri, Dec 11, 2020 at 12:32 PM Sean Anderson wrote:
> > >
> > > On 12/10/20 11:27 PM, Bin Meng wrote:
> > > > On Fri, Dec 11, 2020 at 12:08 PM Bin Meng wrote:
>
On 12/23/20 9:27 AM, André Przywara wrote:
> On 22/12/2020 23:28, Jaehoon Chung wrote:
>> On 12/19/20 11:51 PM, Amit Singh Tomar wrote:
>>> From: Amit Singh Tomar
>>>
>>> This patch adds node for ethernet controller found on Action Semi OWL
>>> S700 SoC.
>>
>> Is "ethernet controller" right?
>>
>>
Add support to disable specific ports, it's useful for some
scenarios:
1. usb3 PHY is shared whith PCIe or SATA, the corresponding
usb3 port can be disabled;
2. some usb2 or usb3 ports are not used on special platforms,
they should be disabled to save power.
Signed-off-by: Chunfeng Yun
---
Add optional properies to disable usb2 or usb3 ports, they are used
when provided ports are not used on some special platforms.
Signed-off-by: Chunfeng Yun
---
doc/device-tree-bindings/usb/mediatek,mtk-xhci.txt | 4
1 file changed, 4 insertions(+)
diff --git a/doc/device-tree-bindings/usb/
On Wed, Dec 23, 2020 at 4:58 AM Jaehoon Chung
wrote:
> On 12/19/20 11:51 PM, Amit Singh Tomar wrote:
> > From: Amit Singh Tomar
> >
> > This patch adds node for ethernet controller found on Action Semi OWL
> > S700 SoC.
>
> Is "ethernet controller" right?
>
It gets picked from one of earlier co
On Wed, Dec 23, 2020 at 5:57 AM André Przywara wrote:
>
> On 19/12/2020 14:51, Amit Singh Tomar wrote:
> > From: Amit Singh Tomar
> >
> > This commit adds support for MMC controllers found on Actions OWL
> > S700 SoC platform.
> >
> > Signed-off-by: Amit Singh Tomar
> > ---
> > Changes since pre
This series includes various patches in service of some upcoming
of-platdata enhancements. The new features will support declaring devices
and uclasses at build time (automatically, using dtoc) so as to further
reduce the code-size overhead of driver model.
The main changes in this series are:
- S
At present both SPL and TPL use the same devicetree binary. While there
is logic to run fdtgrep separately on each one, it does not actually
happen.
Add a new TPL rule and use that instead. Make this rule conditional on
there actually being a TPL. Do the same for SPL for consistency.
Note that th
At present the dtoc commmand line is repeated twice in the Makefile. Use a
variable to avoid this, so it is easier to add more conditional arguments.
Signed-off-by: Simon Glass
---
(no changes since v1)
scripts/Makefile.spl | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --g
Rather than putting these in the top-level dts/ directory (which is
intended for U-Boot proper), put them in the correct subdirectory for
SPL (either spl/ or tpl/). This is where other SPL targets are kept,
so this is more consistent.
Signed-off-by: Simon Glass
---
(no changes since v1)
dts/Ma
Use the SPL_NAME variable to simplify the rules. Drop the SPL targets
clean-files since the SPL and TPL dts/ directories are removed by
existing rules. Move the SPL rules into a new spl_dtbs to avoid the
complicated $(if) construct.
Also drop unused pieces from the 'targets' variable.
With this,
At present only U-Boot proper and SPL are scanned to obtain size
information. Add TPL also, to complete the picture.
Signed-off-by: Simon Glass
---
(no changes since v1)
tools/buildman/builderthread.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/buildman/builderth
The spl-test4 node deliberately has an invalid compatible string. This
causes a warning from dtoc and the check it does is not really necessary.
Drop it, to avoid the warning and associated confusion.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/sandbox/dts/sandbox.dtsi| 5 --
Lower case should be used for function names. Update this driver and its
callers accordingly.
Signed-off-by: Simon Glass
Reviewed-by: Andy Shevchenko
---
(no changes since v1)
arch/arm/mach-davinci/da850_lowlevel.c | 2 +-
arch/arm/mach-davinci/spl.c| 4 ++--
arch/arm/m
At present the output from this function is hard to read in SPL, due to
(intended) limitations in SPL's printf() function. Add an SPL version so
it is clearer.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/core/dump.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
Typedefs should not be used in U-Boot and structs should be lower case.
Update the code to use struct ns16550 consistently.
Put a header guard on the file while we are here.
Signed-off-by: Simon Glass
Reviewed-by: Andy Shevchenko
---
(no changes since v1)
arch/arm/mach-davinci/da850_lowleve
This uses up space in the SPL binary but it always starts as zero. Also
some boards cannot support data in TPL (e.g. Intel Apollo Lake).
Use malloc() to allocate this structure instead, by moving the init a
little later, after malloc() is inited. Make this function optional since
it pulls in mallo
This is not needed when of-platdata is in use. Update it.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/core/simple-bus.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/core/simple-bus.c b/drivers/core/simple-bus.c
index c45212a0d3a..7dbcbecd948 1
At present the name 'uclass_driver' is used for the uclass linker list.
This does not follow the convention of using the struct name. Fix it.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/core/lists.c | 4 ++--
drivers/core/root.c | 4 ++--
include/dm/uclass.h | 2 +-
3 files
This code was kept around after of-platdata started supporting parent
devices. That feature seems stable now, so let's drop it.
Signed-off-by: Simon Glass
---
Changes in v2:
- Remove an old comment about this in pinctrl
arch/x86/cpu/apollolake/Kconfig | 1 +
arch/x86/cpu/apollolake/spl.c
This should not normally be needed in drivers, but add accessors for the
few cases that exist.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/core/device.c| 30 +
include/dm/device-internal.h | 84
2 files changed, 114 inse
Add functions so this information is not accessed directly. This will be
needed for of-platdata which stores it in a different place.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/core/uclass.c| 10 ++
include/dm/uclass-internal.h | 14 ++
include/dm/
Use these functions in the core code as much as possible. With this, there
are only two places where each priv/plat pointer is accessed, one for read
and one for write.
Signed-off-by: Simon Glass
---
Changes in v2:
- Add a warning for clk_reqister()
drivers/core/device-remove.c | 8 ++---
dri
These are supposed to be private to driver model, not accessed by any code
outside. Add a trailing underscore to indicate this.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/core/device.c | 24
drivers/core/uclass.c | 4 ++--
include/dm/device.h | 29
Hi,
On Tue, 22 Dec 2020 at 18:25, Bin Meng wrote:
>
> Hi Simon,
>
> On Sat, Dec 12, 2020 at 12:29 AM Simon Glass wrote:
> >
> > Hi Bin,
> >
> > On Thu, 10 Dec 2020 at 21:37, Bin Meng wrote:
> > >
> > > On Fri, Dec 11, 2020 at 12:32 PM Sean Anderson wrote:
> > > >
> > > > On 12/10/20 11:27 PM,
With the subcommands some of the documentation examples are no-longer
correct. Fix all of them, so it is consistent.
Signed-off-by: Simon Glass
---
tools/patman/README | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/tools/patman/README b/tools/patman/README
in
When a tag is used in a patch subject (e.g. "tag: rest of message") and
it cannot be found as an alias, patman currently reports a fatal error,
unless -t is provided, in which case it reports a warning.
Experience suggest that the fatal error is not very useful. Instead,
default to reporting a war
> -Original Message-
> From: Lim, Elly Siew Chin
> Sent: Tuesday, December 22, 2020 12:50 AM
> To: u-boot@lists.denx.de
> Cc: Marek Vasut ; Tan, Ley Foon
> ; See, Chin Liang ;
> Simon Goldschmidt ; Chee, Tien Fong
> ; Westergreen, Dalon
> ; Simon Glass ; Gan,
> Yau Wai ; Lim, Elly Siew
> -Original Message-
> From: Lim, Elly Siew Chin
> Sent: Tuesday, December 22, 2020 12:50 AM
> To: u-boot@lists.denx.de
> Cc: Marek Vasut ; Tan, Ley Foon
> ; See, Chin Liang ;
> Simon Goldschmidt ; Chee, Tien Fong
> ; Westergreen, Dalon
> ; Simon Glass ; Gan,
> Yau Wai ; Lim, Elly Siew
> -Original Message-
> From: Lim, Elly Siew Chin
> Sent: Tuesday, December 22, 2020 12:50 AM
> To: u-boot@lists.denx.de
> Cc: Marek Vasut ; Tan, Ley Foon
> ; See, Chin Liang ;
> Simon Goldschmidt ; Chee, Tien Fong
> ; Westergreen, Dalon
> ; Simon Glass ; Gan,
> Yau Wai ; Ang, Chee Hong
> -Original Message-
> From: Lim, Elly Siew Chin
> Sent: Tuesday, December 22, 2020 12:50 AM
> To: u-boot@lists.denx.de
> Cc: Marek Vasut ; Tan, Ley Foon
> ; See, Chin Liang ;
> Simon Goldschmidt ; Chee, Tien Fong
> ; Westergreen, Dalon
> ; Simon Glass ; Gan,
> Yau Wai ; Ang, Chee Hong
> -Original Message-
> From: Lim, Elly Siew Chin
> Sent: Tuesday, December 22, 2020 12:50 AM
> To: u-boot@lists.denx.de
> Cc: Marek Vasut ; Tan, Ley Foon
> ; See, Chin Liang ;
> Simon Goldschmidt ; Chee, Tien Fong
> ; Westergreen, Dalon
> ; Simon Glass ; Gan,
> Yau Wai ; Lim, Elly Siew
> -Original Message-
> From: Lim, Elly Siew Chin
> Sent: Tuesday, December 22, 2020 12:50 AM
> To: u-boot@lists.denx.de
> Cc: Marek Vasut ; Tan, Ley Foon
> ; See, Chin Liang ;
> Simon Goldschmidt ; Chee, Tien Fong
> ; Westergreen, Dalon
> ; Simon Glass ; Gan,
> Yau Wai ; Lim, Elly Siew
On 12/23/20 11:22 AM, Amit Tomer wrote:
> On Wed, Dec 23, 2020 at 5:57 AM André Przywara wrote:
>>
>> On 19/12/2020 14:51, Amit Singh Tomar wrote:
>>> From: Amit Singh Tomar
>>>
>>> This commit adds support for MMC controllers found on Actions OWL
>>> S700 SoC platform.
>>>
>>> Signed-off-by: Ami
On 12/22/20 10:14 PM, Simon Glass wrote:
When a tag is used in a patch subject (e.g. "tag: rest of message") and
it cannot be found as an alias, patman currently reports a fatal error,
unless -t is provided, in which case it reports a warning.
Experience suggest that the fatal error is not very
Hi Jaehoon
I had already mentioned about making more readable than now.
>
> if (rate <= 100) {
> rdelay = wdelay = OWL_SD_DELAY_LOW_CLK;
> } else if ( ...) {
> rdelay = wdelay = OWL_SD_DELAY_MID_CLK;
> } else if () {
> rdelay = OWL_SD_RDELAY_HIGH;
> wdelay
On 22/12/20 9:32 pm, Pali Rohár wrote:
> On Tuesday 22 December 2020 21:08:45 Lokesh Vutla wrote:
>> On 22/12/20 8:47 pm, Pali Rohár wrote:
>>> On Tuesday 22 December 2020 20:39:11 Lokesh Vutla wrote:
On 22/12/20 8:38 pm, Lokesh Vutla wrote:
>
>
> On 22/12/20 8:36 pm,
Hi Amit,
On 12/23/20 2:59 PM, Amit Tomar wrote:
> Hi Jaehoon
>
> I had already mentioned about making more readable than now.
>
>>
>> if (rate <= 100) {
>> rdelay = wdelay = OWL_SD_DELAY_LOW_CLK;
>> } else if ( ...) {
>> rdelay = wdelay = OWL_SD_DELAY_MID_CLK;
>> } else if (.
On 22/11/20 9:41 pm, Dario Binacchi wrote:
> We can handle the sysc interconnect target module in a generic way for
> many TI SoCs. Initially let's just enable domain clocks before the
> children are probed.
>
> The code is loosely based on the drivers/bus/ti-sysc.c of the Linux
> kernel versio
The capsule update feature is supported on a platform configuration
booting in a non-secure mode, i.e with -machine virt,secure=off option
set. This results in the platform booting u-boot directly without
the presence of trusted firmware(tf-a). Steps that need to be followed
for using this feature
Add options for embedding the public key esl(efi signature list) file
to the platform's dtb. The esl file is then retrieved and used for
authenticating the capsule to be used for updating firmare components
on the platform.
The esl file can now be embedded in the dtb by invoking the following
comm
On the qemu arm platform, the virtio devices are initialised in the
board_init function, which gets called before the initr_pci. With
this sequence, the virtio block devices on the pci bus are not
initialised. Move the initialisation of the virtio devices to
board_late_init which gets called after
RFC 2315 Section 9.3 describes the message digesting process. The
digest calculated depends on whether the authenticated attributes are
present. In case of a scenario where the authenticated attributes are
present, the message digest that gets signed and is part of the pkcs7
message is computed fro
Add support for setting the default values for mtd partitions on the
platform. This would be used for updating the firmware image using
uefi capsule update with the dfu mtd backend driver.
Currently, values have been defined for the qemu arm64 platform, with
default values defined for the mtd part
The fsp_types.h header file contains macros for building signatures of
different widths. These signature macros are architecture agnostic,
and can be used in all places which use signatures in a data
structure. Move and rename the fsp_types.h under the common include
header.
Signed-off-by: Sughosh
The dfu framework uses the dfu_alt_info environment variable to get
information that is needed for performing the firmware update. Add
logic to set the dfu_alt_info for the qemu arm64 platform to reflect
the two mtd partitions created for the u-boot env and the firmware
image. This can be subsequen
When building the capsule using scripts in edk2, a fmp header is
added on top of the binary payload. Add logic to detect presence of
the header. When present, the pointer to the image needs to be
adjusted as per the size of the header to point to the actual binary
payload.
Signed-off-by: Sughosh G
Prior to writing to an mtd device, mtd_erase is called. This call
fails in case the sector being erased is locked. Call mtd_unlock to
unlock the region which is to be erased and later written to. Lock the
region once the write to the region has completed.
Signed-off-by: Sughosh Ganu
---
Changes
The pkcs7 header parsing functionality is pretty generic, and can be
used by other features like capsule authentication. Make the function
an extern, also changing it's name to efi_parse_pkcs7_header
Signed-off-by: Sughosh Ganu
---
Changes since V2: None
include/efi_loader.h | 4 ++
The efi_sigstore_parse_sigdb function reads the uefi authenticated
variable, stored in the signature database format and builds the
signature store structure. Factor out the code for building
the signature store. This can then be used by the capsule
authentication routine to build the signature sto
Add support for authenticating uefi capsules. Most of the signature
verification functionality is shared with the uefi secure boot
feature.
The root certificate containing the public key used for the signature
verification is stored as part of the device tree blob. The root
certificate is stored a
Add support for enabling uefi capsule authentication. This feature is
enabled by setting the environment variable
"capsule_authentication_enabled".
The following configs are needed for enabling uefi capsule update and
capsule authentication features on the platform.
CONFIG_EFI_HAVE_CAPSULE_SUPPOR
Add a efidebug subcommand to initiate a firmware update using the efi
firmware management protocol(fmp) set_image routine.
The firmware update can be initiated through
'efidebug capsule disk-update'
This would locate the efi capsule file on the efi system partition,
and call the platform's set_i
Add documentation highlighting the steps for using the uefi capsule
update feature for updating the u-boot firmware image.
Signed-off-by: Sughosh Ganu
---
Changes since V2:
* Moved the capsule update related documentation for the Qemu
platform to a new file under doc/board/emulation/ directory
All,
> Subject: RE: [PATCH] imx8mp_evk: Increase CONFIG_SYS_MALLOC_F_LEN
I am thinking to remove the CLK CCF support for i.MX8M, and use simple CLK
DM. Do you agree?
Thanks,
Peng.
>
> > Subject: [PATCH] imx8mp_evk: Increase CONFIG_SYS_MALLOC_F_LEN
> >
> > When booting imx8mp-evk the following
On 23/12/20 12:00 am, Dario Binacchi wrote:
> Hi Lokesh,
>
>> Il 22/12/2020 14:52 Lokesh Vutla ha scritto:
>>
>>
>> Hi Dario,
>>
>> On 22/11/20 9:41 pm, Dario Binacchi wrote:
>>>
>>> The series was born from the need to manage the PWM backlight of the
>>> display connected to my beaglebone b
101 - 159 of 159 matches
Mail list logo