On Sat, Sep 18, 2021 at 8:47 PM Vladimir Oltean wrote:
>
> Currently the init_phy function may overwrite the priv->interface
> property, since it calls tsec_get_interface which tries to determine it
> dynamically based on default register values in ECNTRL.
>
> Let's do that only if phy-connection-
On Sat, Sep 18, 2021 at 8:47 PM Vladimir Oltean wrote:
>
> The two should be equivalent, but at the moment some platforms
> (ls1021a-tsn.dts) use phy-mode only, which is not parsed.
>
> Signed-off-by: Vladimir Oltean
> ---
> drivers/net/tsec.c | 2 ++
> 1 file changed, 2 insertions(+)
>
Reviewe
On Fri, Sep 10, 2021 at 7:35 PM Bin Meng wrote:
>
> On Fri, Sep 10, 2021 at 3:59 PM Andy Shevchenko
> wrote:
> >
> > eMMC is non-removable on Intel Edison board. Fix the DTS accordingly.
> >
> > Signed-off-by: Andy Shevchenko
> > ---
> > arch/x86/dts/edison.dts | 1 +
> > 1 file changed, 1 inse
On Sun, Sep 12, 2021 at 2:27 AM Andy Shevchenko
wrote:
>
> On Intel Tangier the SDHCI #2 provides SD card connection.
> Add GPIO card detection for it.
>
> Fixes: 39665beed6f7 ("x86: tangier: Enable ACPI support for Intel Tangier")
> BugLink: https://github.com/edison-fw/meta-intel-edison/issues/1
JetHub devices uses its own boot sequence with "rescue" button.
Add custom config header file that corrects boot order.
Signed-off-by: Vyacheslav Bocharov
---
include/configs/jethub.h | 40
1 file changed, 40 insertions(+)
create mode 100644 include/conf
Add support for new home automation devices manufactured by JetHome.
Patches prepared for use with the "ARM: meson: Sync Amlogic DT from Linux 5.14"
patch series by Neil Armstrong
JetHome Jethub D1 (http://jethome.ru/jethub-d1) is a home automation controller
with the following features:
- DIN R
Fix doc/board/amlogic/index.rst:
- Add S905W to S905X column.
- Add JetHub devices to the corresponding columns.
- Fix tabs to spaces for table alignment
Add doc/board/amlogic files:
- jethub-j100.rst
- jethub-j80.rst
Signed-off-by: Vyacheslav Bocharov
---
doc/board/amlogic/index.rst | 12
Add support for new home automation devices.
JetHome Jethub D1 (http://jethome.ru/jethub-d1) is a home automation controller
with the following features:
- DIN Rail Mounting case
- Amlogic A113X (ARM Cortex-A53) quad-core up to 1.5GHz
- no video out
- 512Mb/1GB DDR3
- 8/16GB eMMC flash
- 1 x USB
Hi Marek,
On Thu, Sep 16, 2021 at 10:08 PM Bin Meng wrote:
>
> On Thu, Sep 16, 2021 at 10:00 PM Mark Kettenis wrote:
> >
> > This adds support for the DWC_sub31 controllers such as those
> > found on Apple's M1 SoC. This version of the controller
> > seems to work fine with the existing driver.
Hi,
Le 19/09/2021 à 10:18, Vyacheslav Bocharov a écrit :
> JetHub devices uses its own boot sequence with "rescue" button.
> Add custom config header file that corrects boot order.
>
> Signed-off-by: Vyacheslav Bocharov
> ---
> include/configs/jethub.h | 40 +
Hi,
Le 19/09/2021 à 10:18, Vyacheslav Bocharov a écrit :
> Add support for new home automation devices.
>
> JetHome Jethub D1 (http://jethome.ru/jethub-d1) is a home automation
> controller with the following features:
> - DIN Rail Mounting case
> - Amlogic A113X (ARM Cortex-A53) quad-core up to
Hi,
Le 19/09/2021 à 10:18, Vyacheslav Bocharov a écrit :
> Fix doc/board/amlogic/index.rst:
> - Add S905W to S905X column.
> - Add JetHub devices to the corresponding columns.
> - Fix tabs to spaces for table alignment
>
> Add doc/board/amlogic files:
> - jethub-j100.rst
> - jethub-j80.rst
>
> S
Remove Double free issue from calc_img_key_hash() and
calc_esbchdr_esbc_hash() function.
Verified the secure boot changes using lx2162aqds board.
Signed-off-by: Kshitiz Varshney
---
board/freescale/common/fsl_validate.c | 28 ++-
drivers/crypto/fsl/fsl_hash.c | 14
JetHub devices uses its own boot sequence with "rescue" button
Signed-off-by: Vyacheslav Bocharov
---
include/configs/jethub.h | 40
1 file changed, 40 insertions(+)
create mode 100644 include/configs/jethub.h
diff --git a/include/configs/jethub.h b/inc
Add support for new home automation devices manufactured by JetHome.
Patches prepared for use with the "ARM: meson: Sync Amlogic DT from Linux 5.14"
patch series by Neil Armstrong
JetHome Jethub D1 (http://jethome.ru/jethub-d1) is a home automation controller
with the following features:
- DIN R
Add support for new home automation devices.
JetHome Jethub D1 (http://jethome.ru/jethub-d1) is a home automation controller
with the following features:
- DIN Rail Mounting case
- Amlogic A113X (ARM Cortex-A53) quad-core up to 1.5GHz
- no video out
- 512Mb/1GB DDR3
- 8/16GB eMMC flash
- 1 x USB
Fix doc/board/amlogic/index.rst:
- Add S905W to S905X column.
- Add JetHub devices to the corresponding columns.
- Fix tabs to spaces for table alignment
Add doc/board/amlogic files:
- jethub-j100.rst
- jethub-j80.rst
Signed-off-by: Vyacheslav Bocharov
Reviewed-by: Neil Armstrong
---
doc/board
On Sat, Sep 18, 2021 at 05:34:38AM -0600, Simon Glass wrote:
> Hi Tom,
>
> This is a revert of the EFI patches as mentioned on the mailing list.
> I believe this is the best way forward and avoids the current, flawed
> approach from getting into an official release and making it difficult
> to ba
This is a complicated set of #defines and it is painful to convert to a
text file. We can (once pending patches are applied) provide the same
functionality with bootmethod. Drop this for sandbox to allow conversion
to a text-file environment.
Signed-off-by: Simon Glass
---
(no changes since v1)
In many cases environment variables need access to the U-Boot CONFIG
variables to select different options. Enable this so that the environment
scripts can be as useful as the ones currently in the board config files.
Also support += to allow variables to be appended to. This is needed when
using
One barrier to completing the 7-year-long Kconfig migration is that
the default environment is implemented using ad-hoc CONFIG options.
At present U-Boot environment variables, and thus scripts, are defined
by CONFIG_EXTRA_ENV_SETTINGS.
It is not really feasible to move the environment to Kconfig
At present U-Boot environment variables, and thus scripts, are defined
by CONFIG_EXTRA_ENV_SETTINGS. It is painful to add large amounts of text
to this file and dealing with quoting and newlines is harder than it
should be. It would be better if we could just type the script into a
text file and ha
Use a text file for the environment instead of the #define settings.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Add new patch to use a text-based environment for sandbox
board/sandbox/env/sandbox.env | 25 +
include/configs/sandbox.h | 29
Move this from the README to rST format.
Drop i2cfast since it is obviously obsolete and breaks the formatting.
Signed-off-by: Simon Glass
---
Changes in v4:
- Add new patch to move environment documentation to rST
README| 328
doc/usage/en
> From: Bin Meng
> Date: Sun, 19 Sep 2021 09:04:56 +0800
Hi Bin,
Thanks for taking a look.
> Hi Mark,
>
> On Sat, Sep 18, 2021 at 9:55 PM Mark Kettenis wrote:
> >
> > Add support for Apple's M1 SoC that is used in "Apple Silicon"
> > Macs. This builds a basic U-Boot that can be used as a pay
> From: Bin Meng
> Date: Sun, 19 Sep 2021 09:11:06 +0800
>
> Hi Mark,
>
> On Sat, Sep 18, 2021 at 9:55 PM Mark Kettenis wrote:
> >
> > Apple M1 SoCs include an S5L UART which is a variant of the S5P
> > UART. Add support for this variant and enable it by default
> > on Apple SoCs.
> >
> > Sign
> From: Bin Meng
> Date: Sun, 19 Sep 2021 09:17:07 +0800
>
> Hi Mark,
>
> On Sun, Sep 19, 2021 at 9:04 AM Bin Meng wrote:
> >
> > Hi Mark,
> >
> > On Sat, Sep 18, 2021 at 9:55 PM Mark Kettenis wrote:
> > >
> > > Add support for Apple's M1 SoC that is used in "Apple Silicon"
> > > Macs. This b
Tests are supposed to be independent. With driver model tests, the
environment is reset before each test, which ensures that.
With Python tests there is no reset of the board between tests, since we
want to run all the tests as quickly as possible and without needing the
external scripts running c
Update the tests to use separate working directories, so we can run them
in parallel. It also makes it possible to see the individual output files
after the tests have completed.
Signed-off-by: Simon Glass
---
(no changes since v1)
test/py/tests/test_vboot.py | 29 -
The -z tests don't really need to be part of the main set. Separate them
out so we can drop the test setup/cleans functions and thus run all tests
in parallel.
Signed-off-by: Simon Glass
---
(no changes since v1)
test/py/tests/test_hush_if_test.py | 20 ++--
1 file changed, 6 i
Add documentation for this so people can try it out. At present it does
not fully work.
Signed-off-by: Simon Glass
---
Changes in v2:
- Add documentation for how to run parallel tests
doc/develop/py_testing.rst | 30 ++
1 file changed, 30 insertions(+)
diff --git a
These tests currently run in a particular sequence, with some of them
depending on the actions of earlier tests.
Add a check for sandbox and reset to a known state at the start of each
test, so that all tests can run in parallel.
Signed-off-by: Simon Glass
---
(no changes since v1)
test/py/te
This little series adds documentation and a few other tidy-ups to the
'sf' command.
It also provides a way to access memory-mapped SPI via the command line.
Changes in v4:
- Split out the 'const' change into a separate patch
- Show the 'sf probe' output in the examples
Changes in v3:
- Add confi
This text should never change during execution, so it makes sense to
use a const char * so that it can be declared as const in the code.
Update struct cmd_tbl with a const char * pointer for 'help'.
We cannot make usage const because of the bmode command, used on mx53ppd
for example.
Signed-off-b
This is not updated at runtime so should be marked const. Update the code
accordingly.
Signed-off-by: Simon Glass
---
(no changes since v1)
cmd/sf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/sf.c b/cmd/sf.c
index eac27ed2d77..15361a4bddf 100644
--- a/cmd/sf.c
+++
Update this code to use IS_ENABLED() instead.
Signed-off-by: Simon Glass
Reviewed-by: Pratyush Yadav
---
(no changes since v1)
cmd/sf.c | 30 +-
1 file changed, 13 insertions(+), 17 deletions(-)
diff --git a/cmd/sf.c b/cmd/sf.c
index 15361a4bddf..72246d912fe 1006
Add a new 'sf mmap' function to show the address of a SPI offset, if the
hardware supports it. This is useful on x86 systems.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Add configuration and return value also
arch/Kconfig | 2 ++
cmd/Kconfig | 8 ++
c
This command is fairly complicated so documentation is useful.
Unfortunately I an not sure how the MTD side of things works and cannot
find information about that.
Signed-off-by: Simon Glass
Acked-by: Pratyush Yadav
---
Changes in v4:
- Split out the 'const' change into a separate patch
- Show
This series includes a documentation update to clarify how U-Boot makes
use of devicetree and its requirements when working with other firmware
projects.
Once agreed it should provide more clarity in this area, which seems to
have devolved into a confusing mire recently.
My goal here is to sort o
The devicetree binding files are in their own directory and use a simple
text format. Add a link for the binding for the /config node, since it
is otherwise hard to find.
Suggested-by: Heinrich Schuchardt
Signed-off-by: Simon Glass
---
Changes in v4:
- Add a patch to refer to the /config bindin
At present some of the ideas and techniques behind devicetree in U-Boot
are assumed, implied or unsaid. Add some documentation to cover how
devicetree is build, how it can be modified and the rules about using
the various CONFIG_OF_... options.
Signed-off-by: Simon Glass
Reviewed-by: Marcel Ziswi
Hi Simon
The DT use is connected to the issues we said we will invest time.
So in the same spirit that we are reverting EFI patch, I would appreciate
you defer this patch series after the forthcoming discussions.
Cheers
FF
Le dim. 19 sept. 2021 à 23:51, Simon Glass a écrit :
> At present some
Hi François,
On Sun, 19 Sept 2021 at 16:16, François Ozog
wrote:
> Hi Simon
>
> The DT use is connected to the issues we said we will invest time.
> So in the same spirit that we are reverting EFI patch, I would appreciate
> you defer this patch series after the forthcoming discussions.
>
That'
On 9/19/21 10:40 AM, Bin Meng wrote:
Hi Marek,
On Thu, Sep 16, 2021 at 10:08 PM Bin Meng wrote:
On Thu, Sep 16, 2021 at 10:00 PM Mark Kettenis wrote:
This adds support for the DWC_sub31 controllers such as those
found on Apple's M1 SoC. This version of the controller
seems to work fine wi
Is it possible to get this in 2020.10? Meng's patch breaks boards which use
this watchdog.
--Sean
On 9/11/21 3:11 PM, Sean Anderson wrote:
reset_*_bulk expects a real pointer.
Fixes: 4f7abafe1c ("driver: watchdog: reset watchdog in designware_wdt_stop()
function")
Signed-off-by: Sean Anderso
Move this documentation over to .rst format.
Signed-off-by: Simon Glass
---
(no changes since v1)
doc/develop/index.rst | 1 +
doc/{README.SPL => develop/spl.rst} | 36 +++--
2 files changed, 20 insertions(+), 17 deletions(-)
rename doc/{README.SPL => de
U-Boot provides a verified-boot feature based around FIT, but there is
no standard way of implementing it for a board. At present the various
required pieces must be built up separately, to produce a working
implementation. In particular, there is no built-in support for selecting
A/B boot or recov
Add a bit more information about how to use SPL.
Signed-off-by: Simon Glass
---
(no changes since v1)
doc/develop/spl.rst | 34 ++
1 file changed, 34 insertions(+)
diff --git a/doc/develop/spl.rst b/doc/develop/spl.rst
index c7d08d22bf2..0fb1e1d9784 100644
---
We can in principle add tests to any SPL build, e.g. TPL or VPL. Update
the build rules to handle this.
Signed-off-by: Simon Glass
---
(no changes since v1)
Makefile | 2 +-
scripts/Makefile.spl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makef
The current logic checks several options to decide whether SPL/TPL need
the U-Boot devicetree to be built. In fact we can check OF_CONTROL, which
is enabled in all cases that matter.
Signed-off-by: Simon Glass
---
(no changes since v1)
Makefile | 7 ++-
1 file changed, 2 insertions(+), 5 d
This feature is not used in SPL at present. Update the Makefile to avoid
it being built.
Signed-off-by: Simon Glass
---
(no changes since v4)
Changes in v4:
- Add new patch to avoid building avb in SPL
common/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/
This feature is not available in SPL unless common/ and lib/ are built.
Update the Kconfig to avoid build errors.
Signed-off-by: Simon Glass
---
(no changes since v4)
Changes in v4:
- Add new patch to correct bloblist Kconfig dependencies
common/Kconfig | 4 ++--
1 file changed, 2 insertions(
Add support for VPL, a new phase of U-Boot. This runs after TPL. It is
responsible for selecting which SPL binary to run, based on a
verified-boot process.
Signed-off-by: Simon Glass
---
(no changes since v4)
Changes in v4:
- Update spl_phase_prefix() for VPL
- Tidy up some of the Makefile rule
These should follow the same pattern as SPL, for consistency. Fix them.
Signed-off-by: Simon Glass
---
(no changes since v1)
Makefile | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index ff5b9c3a68e..fefa75ef64b 100644
--- a/Makefile
+++ b/Makefi
Add an initial VPL build for sandbox. This includes the flow:
TPL (with of-platdata) -> VPL -> SPL -> U-Boot
To run it:
./tpl/u-boot-tpl -D
The -D is needed to get the default device tree, which includes the serial
console info.
Add a Makefile check for OF_HOSTFILE which is the option th
Add support for U-Boot's Verifying Program Loader phase.
Signed-off-by: Simon Glass
---
Changes in v6:
- Fix the missing SPDX tag on test/204...
tools/binman/etype/u_boot_vpl.py | 42
tools/binman/etype/u_boot_vpl_bss_pad.py | 44 +
tools/binman/etype/u_boot_vpl_
Add VPL versions of commonly used Kconfig options.
Signed-off-by: Simon Glass
---
(no changes since v5)
Changes in v5:
- Rebase this patch on mainline (for GPIO and MISC Kconfig renames)
Changes in v4:
- Add options for blk, core, misc and tpl also
- Add VPL_SIZE_LIMIT
Kconfig
Hi Mark,
On Sat, 18 Sept 2021 at 07:55, Mark Kettenis wrote:
>
> Add support for Apple's M1 SoC that is used in "Apple Silicon"
> Macs. This builds a basic U-Boot that can be used as a payload
> for the m1n1 boot loader being developed by the Asahi Linux
> project.
>
> Signed-off-by: Mark Ketten
Hi Mark,
On Sat, 18 Sept 2021 at 07:55, Mark Kettenis wrote:
>
> Apple M1 SoCs include an S5L UART which is a variant of the S5P
> UART. Add support for this variant and enable it by default
> on Apple SoCs.
>
> Signed-off-by: Mark Kettenis
> ---
> arch/arm/include/asm/arch-m1/clk.h | 11
Hi Mark,
On Sat, 18 Sept 2021 at 07:55, Mark Kettenis wrote:
>
> The DART is an IOMMU that is used on Apple's M1 SoC. This driver
> supports the DART in bypass mode as well as in a mode where it
> creates a 1:1 mapping of a subset of RAM as not all DARTs support
> bypass mode. The USB3 ports in
On Sat, 18 Sept 2021 at 07:56, Mark Kettenis wrote:
>
> Add preliminary device trees for the Apple M1 mini (2020) and
> Apple M1 Macbook Pro 13" (2020). Device tree bindings for
> the Apple M1 SoC are still being formalized and these device
> trees will be synchronized with the Linux kernel as ne
On Sat, 18 Sept 2021 at 07:56, Mark Kettenis wrote:
>
> Provide preliminary instructions on how to get U-Boot to run on
> Apple Silicon Macs.
>
> Signed-off-by: Mark Kettenis
> ---
> doc/board/apple/index.rst | 9 +++
> doc/board/apple/m1.rst| 56 +++
Hi Tom,
On Sat, 18 Sept 2021 at 10:31, Simon Glass wrote:
>
> Hi Tom,
>
> On Sat, 18 Sept 2021 at 07:16, Tom Rini wrote:
> >
> > On Sat, Sep 18, 2021 at 03:34:54AM -0600, Simon Glass wrote:
> > > Hi Tom,
> > >
> > > On Thu, 16 Sept 2021 at 12:40, Tom Rini wrote:
> > > >
> > > > On Wed, Aug 18,
On 15.09.21 15:01, Simon Guinot wrote:
Since Albert Aribaud is not maintaining anymore the LaCie Ethernet Disk
mini V2 board, then I am taking over.
Signed-off-by: Simon Guinot
Reviewed-by: Stefan Roese
Thanks,
Stefan
---
board/LaCie/edminiv2/MAINTAINERS | 2 +-
1 file changed, 1 inser
On 20.09.21 01:07, Sean Anderson wrote:
Is it possible to get this in 2020.10?
Let me check, if I can find my time machine somewhere. ;)
But yes, v2021.10 should be possible. I'm just back from vacation and
will look into the new patches very soon.
Thanks,
Stefan
Meng's patch breaks boards w
On 11.09.21 21:11, Sean Anderson wrote:
reset_*_bulk expects a real pointer.
Fixes: 4f7abafe1c ("driver: watchdog: reset watchdog in designware_wdt_stop()
function")
Signed-off-by: Sean Anderson
Reviewed-by: Stefan Roese
Thanks,
Stefan
---
drivers/watchdog/designware_wdt.c | 10 +-
Added Bin to cc.
On 10.09.21 13:33, Pali Rohár wrote:
Lower 4 bits of PCI_MEMORY_BASE and PCI_MEMORY_LIMIT registers are reserved
and should be zero. So do not set them to non-zero value.
Lower 4 bits of PCI_PREF_MEMORY_BASE and PCI_PREF_MEMORY_LIMIT registers
contain information if 64-bit memo
On Mon, Sep 20, 2021 at 6:44 AM Marek Vasut wrote:
>
> On 9/19/21 10:40 AM, Bin Meng wrote:
> > Hi Marek,
> >
> > On Thu, Sep 16, 2021 at 10:08 PM Bin Meng wrote:
> >>
> >> On Thu, Sep 16, 2021 at 10:00 PM Mark Kettenis
> >> wrote:
> >>>
> >>> This adds support for the DWC_sub31 controllers suc
Hi,
On 19/09/2021 17:52, Vyacheslav Bocharov wrote:
> Add support for new home automation devices.
While applying I had a few warnings:
>
> JetHome Jethub D1 (http://jethome.ru/jethub-d1) is a home automation
> controller with the following features:
> - DIN Rail Mounting case
> - Amlogic A113
Hi,
On 19/09/2021 17:52, Vyacheslav Bocharov wrote:
> Fix doc/board/amlogic/index.rst:
> - Add S905W to S905X column.
> - Add JetHub devices to the corresponding columns.
> - Fix tabs to spaces for table alignment
>
> Add doc/board/amlogic files:
> - jethub-j100.rst
> - jethub-j80.rst
>
> Signed
70 matches
Mail list logo