If parameter -F is given but FIT support is missing, a NULL pointer might
dereferenced (Coverity CID 350249).
If incorrect parameters are given, provide a message and show usage.
Signed-off-by: Heinrich Schuchardt
---
tools/mkimage.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
Hi Chris,
On Tue, Mar 01 2022, Chris Packham wrote:
> Commit 369e532691e0 ("ddr: marvell: a38x: allow board specific ODT
> configuration") added the odt_config member to struct
> mv_ddr_topology_map ahead of the clk_enable and ck_delay members. This
> means that any boards that configured either
Hey just checking if you know about this set.
This patch adds the ability to detect the BROM's boot source,
as well as the ability to boot from SPI.
Jesse Taube (3):
mach-sunxi: Add boot device detection for SUNIV/F1C100s
mach-sunxi: Add SPL SPI boot for SUNIV
mach-sunxi: Enable SPI
Simon,
On Mon, Feb 28, 2022 at 12:08:31PM -0700, Simon Glass wrote:
> Add this dependency to avoid a build error if FIT_SIGNATURE is not
> enabled.
I doubt it.
With qemu_arm64_defconfig & ASYMMETRIC_KEY_TYPE & !FIT_SIGNATURE,
I don't see any build error on 2022.04-rc2.
-Takahiro Akashi
>
Fix documentation path in deprecated warning message about device
driver.
Signed-off-by: Johannes Krottmayer
---
tools/buildman/test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/buildman/test.py b/tools/buildman/test.py
index 714bb3e4f9..27287438ee 100644
---
Fix documentation path in warning message about deprecated device driver.
Signed-off-by: Johannes Krottmayer
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index e6fc80aa6f..0af5065624 100644
--- a/Makefile
+++ b/Makefile
@@ -1080,7
Fix doc path in warning messages.
Okay?
Johannes Krottmayer (2):
Makefile: Fix doc path in warning message
tools: buildman: Fix doc path in warning message
Makefile | 4 ++--
tools/buildman/test.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
--
2.34.1
Hi Alex,
On Mon, Feb 21, 2022 at 05:42:41PM +0100, Alexandre Ghiti wrote:
> On Sat, Feb 19, 2022 at 9:52 AM Leo Liang wrote:
> >
> > Hi Alex,
> > On Thu, Feb 17, 2022 at 11:28:46AM +0100, Alexandre Ghiti wrote:
> > > Hi Leo,
> > >
> > > On Thu, Feb 17, 2022 at 10:25 AM Leo Liang wrote:
> > > >
>
Good Evening,
I successfully tested your v2 patch series to create a bootable sdcard
image out of the box for rockpro64-rk3399.
Unfortunately, rk356x and rk3399-spi modes are broken, due to the
inability to pass multiple images to mkimage at the same time.
rk3399-spi mode is already supported
Sync rk3288 DT boards that have support both in
Linux 5.17 as in U-boot.
Signed-off-by: Johan Jonker
---
Changed V2:
update
change led labels
---
arch/arm/dts/rk3288-firefly-u-boot.dtsi | 4 +-
arch/arm/dts/rk3288-firefly.dts | 17 +-
arch/arm/dts/rk3288-firefly.dtsi|
Sync rk3288-veyron DT from Linux version 5.17.
Signed-off-by: Johan Jonker
---
Changed V2:
update
add label spi_flash veyron
---
arch/arm/dts/rk3288-veyron-analog-audio.dtsi | 99 +++
.../dts/rk3288-veyron-broadcom-bluetooth.dtsi | 22 +
arch/arm/dts/rk3288-veyron-chromebook.dtsi|
Sync rk3288.dtsi from Linux version 5.17.
Signed-off-by: Johan Jonker
---
Changed V2:
rename mipi_dsi0 label
move io_domains
remove hdmi_audio veyron node
change memory@0 reg size
---
arch/arm/dts/rk3288-evb.dtsi |7 +-
arch/arm/dts/rk3288-firefly.dtsi |3 +-
The DT node name pattern in mmc-controller.yaml for mmc
is "^mmc(@.*)?$". The Rockchip mmc nodes have been synced
with Linux, so update the boot_devices constants as well.
Signed-off-by: Johan Jonker
Reviewed-by: Simon Glass
---
arch/arm/mach-rockchip/rk3188/rk3188.c | 4 ++--
In order to sync rk3288.dtsi from Linux it needed to
move all u-boot specific properties in separate dtsi files.
Signed-off-by: Johan Jonker
---
Changed V2:
combine U-boot specific changes
add bus_intmem label
use current led node name
---
arch/arm/dts/rk3288-evb-u-boot.dtsi |
Sync rk322x.dtsi from Linux version 5.17.
Signed-off-by: Johan Jonker
---
Changed V2:
update
rename usb20_otg label
---
arch/arm/dts/rk3229-evb.dts | 2 +-
arch/arm/dts/rk322x.dtsi| 846 +---
2 files changed, 695 insertions(+), 153 deletions(-)
diff
Sync rk3229-evb.dts from Linux version 5.17.
Signed-off-by: Johan Jonker
---
arch/arm/dts/rk3229-evb.dts | 212 +---
arch/arm/dts/rk3229.dtsi| 52 +
2 files changed, 249 insertions(+), 15 deletions(-)
create mode 100644 arch/arm/dts/rk3229.dtsi
In order to update the DT for rk3288
sync the clock dt-binding header.
This is the state as of v5.17 in Linux.
Keep SCLK_MAC_PLL in use for rk3288 clock driver.
Signed-off-by: Johan Jonker
Reviewed-by: Simon Glass
---
include/dt-bindings/clock/rk3288-cru.h | 13 -
1 file changed,
In order to update the DT for rk3288
sync the power domain dt-binding header.
This is the state as of v5.17 in Linux.
Change location to be more in line with other SoCs.
Signed-off-by: Johan Jonker
---
Changed V2:
changed include rk3288.dtsi
---
arch/arm/dts/rk3288.dtsi | 2
In order to sync rk322x.dtsi from Linux, move all
U-boot specific properties in separate dtsi files.
Signed-off-by: Johan Jonker
---
arch/arm/dts/rk3229-evb-u-boot.dtsi | 28 +++
arch/arm/dts/rk3229-evb.dts | 17 -
arch/arm/dts/rk322x-u-boot.dtsi | 54
In order to update the DT for rk3228
sync the clock dt-binding header.
This is the state as of v5.17 in Linux.
Signed-off-by: Johan Jonker
Reviewed-by: Simon Glass
---
include/dt-bindings/clock/rk3228-cru.h | 54 +-
1 file changed, 52 insertions(+), 2 deletions(-)
diff
In order to update the DT for rk3228
sync the power domain dt-binding header.
This is the state as of v5.17 in Linux.
Signed-off-by: Johan Jonker
Reviewed-by: Simon Glass
---
include/dt-bindings/power/rk3228-power.h | 21 +
1 file changed, 21 insertions(+)
create mode
Commit 369e532691e0 ("ddr: marvell: a38x: allow board specific ODT
configuration") added the odt_config member to struct
mv_ddr_topology_map ahead of the clk_enable and ck_delay members. This
means that any boards that configured either of clk_enable or ck_delay
needed to have their board topology
It is useful to read information about the current TPM state, where
supported, e.g. for debugging purposes when verified boot fails.
Add support for this to the TPM interface as well as Cr50. Add a simple
sandbox test.
Signed-off-by: Simon Glass
---
cmd/tpm-common.c | 20
Add a vendor-specific TPM2 command for this and implement it for Cr50.
Signed-off-by: Simon Glass
---
drivers/tpm/cr50_i2c.c | 117 +
include/tpm-v2.h | 54 +++
lib/tpm-v2.c | 24 +
3 files changed, 195
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 device reboots it may not write the data.
Add definitions for the rest of the Cr50 commands while we are here.
Signed-off-by:
At present the emulator assumes that the TPM is inited in the same phase
where it is used. But in fact SPL may init the TPM, so we don't want to
complain when U-Boot proper later uses it. Remove this check.
It might be best to save this information into the device state for the
TPM, so that we
The offset here is incorrect. Fix it.
Signed-off-by: Simon Glass
---
lib/tpm-v1.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/tpm-v1.c b/lib/tpm-v1.c
index 22a769c587..d0e3ab1b21 100644
--- a/lib/tpm-v1.c
+++ b/lib/tpm-v1.c
@@ -456,12 +456,13 @@ u32
The message format is incorrect. Fix it.
Signed-off-by: Simon Glass
---
lib/tpm-v2.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/lib/tpm-v2.c b/lib/tpm-v2.c
index 6058f2e1e4..fe99b9c863 100644
--- a/lib/tpm-v2.c
+++ b/lib/tpm-v2.c
@@ -89,14 +89,14 @@
This feature is used for measured boot. It is not currently supported in
the TPM drivers, but add it to the API so that code which expects it can
signal its request.
Signed-off-by: Simon Glass
---
cmd/tpm-v1.c | 3 ++-
cmd/tpm_test.c| 5 +++--
include/tpm_api.h | 8 +---
These functions should really be available outside the TPM code, so that
other callers can find out which version the TPM is. Rename them to have
a tpm_ prefix() and add them to the header file.
Signed-off-by: Simon Glass
---
include/tpm_api.h | 10 ++
lib/tpm_api.c | 92
This series contains some minor enhancements for the TPM code to make it
work with Chromium OS verified boot.
Simon Glass (8):
tpm: Export the TPM-version functions
tpm: Require a digest source when extending the PCR
tpm: Correct the permissions command in TPMv1
tpm: Correct the
Hey all,
It's release day and so here's v2022.04-rc3. With the release itself
nearing a month away, I'm opening the -next branch as well with this
release. At this point, if there's platform specific changes, or other
bug fixes / changes you had submitted and hoped would be in this
release, but
Ensure there is a valid reset-gpio defined before using it.
Fixes: f9852acdce02 ("phy: nop-phy: Fix enabling reset")
Cc: Adam Ford
Signed-off-by: Tim Harvey
---
drivers/phy/nop-phy.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/drivers/phy/nop-phy.c
On Tue, 1 Mar 2022, at 08:42, Alex G. wrote:
> On 2/27/22 19:29, Andrew Jeffery wrote:
>>
>>
>> On Tue, 15 Feb 2022, at 13:55, Andrew Jeffery wrote:
>>> On Tue, 15 Feb 2022, at 13:42, Dhananjay Phadke wrote:
On 2/14/2022 3:13 PM, Patrick Williams wrote:
> On Mon, Feb 14, 2022 at
This board has its own config header file. Correct it.
Signed-off-by: Simon Glass
---
board/coreboot/coreboot/MAINTAINERS | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/coreboot/coreboot/MAINTAINERS
b/board/coreboot/coreboot/MAINTAINERS
index
This enum is currently anonymous. Add a name so it can be used in the
code.
Signed-off-by: Simon Glass
---
arch/x86/include/asm/intel_gnvs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/include/asm/intel_gnvs.h
b/arch/x86/include/asm/intel_gnvs.h
index
There is seldom a need to refresh at 100Hz and it uses a lot of CPU.
Reduce the rate to 10Hz which seems to be adequate.
Signed-off-by: Simon Glass
---
drivers/video/video-uclass.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/video-uclass.c
Use the new sandbox_find_next_phase() function, which does what is needed
here.
Signed-off-by: Simon Glass
---
test/image/spl_load.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/test/image/spl_load.c b/test/image/spl_load.c
index e7cabf5680..df389e26f9 100644
---
Some files cannot be written but read-only access is still useful for
tests. Add a fallback to read-only access when needed.
This is useful in CI when opening a large data file provided by docker,
where read/write access would result in copying the file, thus needing
a lot of extra disk space.
This defines a function declared in handoff.h so add the header.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/spl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/sandbox/cpu/spl.c b/arch/sandbox/cpu/spl.c
index 650bdb0a70..3f107b8acb 100644
--- a/arch/sandbox/cpu/spl.c
+++
If state is not being written, but RAM is, we should still show a message,
so it is clear that this is happening.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/state.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/sandbox/cpu/state.c b/arch/sandbox/cpu/state.c
This series contains some minor tweaks and fixes to sandbox-related code.
Simon Glass (5):
sandbox: Show a message when writing out the ram buffer
sandbox: Add the handoff header for spl
sandbox: Open host file for read-only access if needed
sandbox: Slow down the LCD sync rate
On 2/27/22 19:29, Andrew Jeffery wrote:
On Tue, 15 Feb 2022, at 13:55, Andrew Jeffery wrote:
On Tue, 15 Feb 2022, at 13:42, Dhananjay Phadke wrote:
On 2/14/2022 3:13 PM, Patrick Williams wrote:
On Mon, Feb 14, 2022 at 11:14:53AM -0800, Dhananjay Phadke wrote:
There's a key-requirement
On Mon, Feb 21, 2022 at 02:26:05PM +0100, Felix Brack wrote:
> To make sure we get a working console as soon as possible in the SPL the
> UART pins require to be configured earlier. This is especially
> true for the pins of UART3, since the PDU001 board uses this UART for
> the console by
On Sun, Feb 20, 2022 at 11:47:01PM +0100, Linus Walleij wrote:
> This patch scans the cmdline from the Samsung SBL (second stage
> bootloader) and stores the parameters board_id=N and lcdtype=N
> in order to augment the DTB for different board and LCD types.
>
> We then add a custom
On Sat, Feb 19, 2022 at 02:05:19PM +0100, Janne Grunau wrote:
> Support for Apple M1 Pro and Max will allow using a single binary for
> all M1 SoCs. The M1 Pro/Max have a different memory layout. The RAM
> start address is 0x100__ instead of 0x8__.
> Replace the hardcoded memory
On Tue, Feb 15, 2022 at 03:27:23PM +0100, Felix Brack wrote:
> The changes from commit 0dba45864b2a ("arm: Init the debug UART")
> prevent the early debug UART from being initialized correctly.
> To fix this we not just configure the pin multiplexer but add setting up
> early clocks.
>
>
On Sun, Feb 13, 2022 at 01:09:46AM +0100, Pali Rohár wrote:
> Currently -l option for mkimage and dumpimage ignores option -T and always
> tries to autodetect image type.
>
> With this change it is possible to tell mkimage and dumpimage to parse
> image file as specific type (and not random
On Thu, Feb 10, 2022 at 11:13:36PM +0100, Romain Naour wrote:
> Currently, any u-boot bootloader for ti armv7 platforms using
> DEFAULT_FIT_TI_ARGS to boot with a fitimage (boot_fit = 1)
> doesn't boot when built with Yocto Poky (openembedded-core).
>
> ## Loading kernel from FIT Image at
Hi Stefano
Any plan to get those boards in?
On Thu, Feb 17, 2022 at 3:35 PM Ariel D'Alessandro
wrote:
>
> Introduce BSH SystemMaster (SMM) S2 board family, which consists of:
> iMX8MN SMM S2 and iMX8MN SMM S2 PRO boards.
>
> This patchset also adds support for NXP TJA11xx Ethernet PHYs.
>
>
Add a CONFIG_SPL_DEVRES option
Signed-off-by: Angus Ainslie
---
Changes since v1:
Instead of gaurding the source add an SPL_DEVRES option
drivers/core/Kconfig | 13 +
drivers/core/Makefile | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git
On Monday 28 February 2022 15:59:37 Marek Behún wrote:
> From: Marek Behún
>
> Commit 5534fb4f4833 ("arm64: a37xx: pinctrl: Correct PWM pins
> definitions") introduced bogus definitions os PWM pins: all 4 pins have
> index 11, instead of having indexes 11, 12, 13, 14.
>
> Fix this.
>
>
Greetings,
I'm wondering if it is proper in U-Boot for phy_connect_dev() to
always call phy_reset() which generates a soft reset via BMCR_RESET.
For some (or most?) PHY's this resets specific PHY config such as
RGMII delays and LED configuration that may have been configured by
firmware running
Improve some of the comments in these files, which don't follow the
correct style.
Signed-off-by: Simon Glass
---
include/dm/uclass-internal.h | 18 +-
include/dm/uclass.h | 13 ++---
2 files changed, 15 insertions(+), 16 deletions(-)
diff --git
This file uses struct driver, so declare it at the top in case the
header-inclusion order is not as expected.
Signed-off-by: Simon Glass
---
include/dm/device-internal.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/dm/device-internal.h b/include/dm/device-internal.h
index
Add some functions which support iteration before probing. Also add tests
for the functions.
Signed-off-by: Simon Glass
---
drivers/block/blk-uclass.c | 24
include/blk.h | 45 +++
test/dm/blk.c | 111 +
3
This is normally defined in stdint.h but is not used in U-Boot. When
libraries (such as Chromium OS vboot) are built against U-Boot they may
expect this value to be available. Add it to avoid build errors in this
case.
Signed-off-by: Simon Glass
---
include/stdint.h | 7 +++
1 file
Add this dependency to avoid a build error if FIT_SIGNATURE is not
enabled.
Signed-off-by: Simon Glass
---
lib/crypto/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/crypto/Kconfig b/lib/crypto/Kconfig
index 6369bafac0..5c6e964862 100644
--- a/lib/crypto/Kconfig
+++
If this value is not provided it causes a hang in the build. Add a default
value to avoid this.
Signed-off-by: Simon Glass
---
common/spl/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 9418d37b2e..b59215fe4f 100644
---
These filesystems may have different settings for SPL and TPL. Use the
correct Makefile variable to handle this.
Signed-off-by: Simon Glass
---
disk/Makefile | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/disk/Makefile b/disk/Makefile
index
When SPI flash is used in SPL there is no console, so ctrlc() cannot be
called. Add a condition to fix this.
Signed-off-by: Simon Glass
---
drivers/mtd/spi/spi-nor-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/spi-nor-core.c
Add definitions for a payload or 'self', which is like an unpacked ELF
file.
Signed-off-by: Simon Glass
---
include/cbfs.h | 43 +++
1 file changed, 43 insertions(+)
diff --git a/include/cbfs.h b/include/cbfs.h
index 7449873b49..38efb1d2b0 100644
---
Add the missing 'Return' information.
Signed-off-by: Simon Glass
---
include/cros_ec.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/cros_ec.h b/include/cros_ec.h
index 2a7728622c..94c988a7d6 100644
--- a/include/cros_ec.h
+++ b/include/cros_ec.h
@@ -648,6 +648,7 @@ int
This should use a const pointer for the input stream. Fix this and also
add a proper comment.
Signed-off-by: Simon Glass
---
lib/lzma/LzmaTools.c | 4 ++--
lib/lzma/LzmaTools.h | 17 +++--
2 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/lib/lzma/LzmaTools.c
We don't use an appended tree for sandbox and the required symbols are
not present. Add a condition to avoid a build error.
Signed-off-by: Simon Glass
---
lib/fdtdec.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index 086f0c732a..0c0ec034ec 100644
---
This may have different settings for SPL and TPL. Correct the condition.
Signed-off-by: Simon Glass
---
lib/fdtdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index 87aa677a4a..086f0c732a 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@
If the buffer is empty and not allocated, then abuf_realloc() tries to
copy invalid data. This happens because an incorrect change to use
memdup() was added after the original code was written.
Signed-off-by: Simon Glass
---
lib/abuf.c | 4 +++-
test/lib/abuf.c | 29
At present the header file defines this function in SPL but the file may
not actually be built. This causes a build error if the option is enabled.
Fix the condition in the header file.
Signed-off-by: Simon Glass
---
include/errno.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
At present the default .buildman file written by buildman does not specify
a default toolchain. Add an 'other' line so this works correctly and
sandbox builds run as expected.
Signed-off-by: Simon Glass
---
tools/buildman/bsettings.py | 1 +
1 file changed, 1 insertion(+)
diff --git
The conversion to bintools broke the invocation of the utility, since
the arguments are not correct. Fix it.
Signed-off-by: Simon Glass
---
tools/binman/btool/futility.py | 4 ++--
tools/binman/etype/vblock.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
The name of this function changed at the same time as this file was added.
Fix the naming.
Signed-off-by: Simon Glass
---
tools/buildman/cfgutil.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/buildman/cfgutil.py b/tools/buildman/cfgutil.py
index
This series collects together various misc patches that were needed when
building mainline U-Boot against Chromium OS verified boot. Most of them
fix minor bugs.
Simon Glass (18):
buildman: Update default config to build for sandbox
buildman: Fix up cfgutil
binman: Correct Chromium OS
On 2/26/22 1:36 PM, Simon Glass wrote:
> Hi Sean,
>
> On Mon, 7 Feb 2022 at 16:42, Sean Anderson wrote:
>>
>> This adds support for "nvmem cells" as seen in Linux. The nvmem device
>> class in Linux is used for various assorted ROMs and EEPROMs. In this
>> sense, it is similar to UCLASS_MISC,
Change if condition to cover SPL flow. SPL needs to have
CONFIG_SPL_POWER_DOMAIN enabled to be able to bind
CONFIG_ZYNQMP_POWER_DOMAIN driver.
Signed-off-by: Michal Simek
---
drivers/firmware/firmware-zynqmp.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git
From: Jan Kiszka
This allows to prefill fdt and config nodes with hash and signature
subnodes. It's just important to place the child nodes last so that
hashes do not come before the data - would be disliked by mkimage.
Signed-off-by: Jan Kiszka
---
Rebased over "binman: rockchip: Migrate
Hi Marc,
Thanks a lot for your comments!
> -Original Message-
> From: Marc Zyngier
> Sent: 2022年2月26日 19:10
> To: Z.Q. Hou
> Cc: u-boot@lists.denx.de; s...@chromium.org;
> bharat.go...@broadcom.com; Priyanka Jain ;
> mich...@walle.cc
> Subject: Re: [PATCH] arch: arm: recode the
On 2/28/22 16:18, Wolfgang Grandegger wrote:
Hi,
[...]
diff --git a/arch/arm/mach-socfpga/board.c
b/arch/arm/mach-socfpga/board.c
index 7267163222..a2eed73fe9 100644
--- a/arch/arm/mach-socfpga/board.c
+++ b/arch/arm/mach-socfpga/board.c
@@ -83,6 +83,14 @@ int board_usb_init(int index, enum
Hi Masami,
On Mon, 28 Feb 2022 at 07:47, Masami Hiramatsu
wrote:
>
> Hi Simon,
>
> 2022年2月28日(月) 22:56 Simon Glass :
> >
> > Hi,
> >
> > On Mon, 28 Feb 2022 at 06:48, Tom Rini wrote:
> > >
> > > On Sun, Feb 27, 2022 at 02:45:36PM -0700, Simon Glass wrote:
> > > > Hi Tom,
> > > >
> > > > On Sun,
Hi Masami,
On Mon, 28 Feb 2022 at 07:40, Masami Hiramatsu
wrote:
>
> Hi Simon,
>
> 2022年2月28日(月) 6:45 Simon Glass :
>
> >
> > Hi Tom,
> >
> > On Sun, 27 Feb 2022 at 13:58, Tom Rini wrote:
> > >
> > > On Sun, Feb 27, 2022 at 12:11:01PM -0700, Simon Glass wrote:
> > > > Hi Tom,
> > > >
> > > > On
From: Marek Behún
Commit 5534fb4f4833 ("arm64: a37xx: pinctrl: Correct PWM pins
definitions") introduced bogus definitions os PWM pins: all 4 pins have
index 11, instead of having indexes 11, 12, 13, 14.
Fix this.
Signed-off-by: Marek Behún
---
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 6
From: Sai Krishna Potthuri
Add "resets" property to sdhci nodes.
resets property is used to reset the SD host controller when
dynamic configuration support is enabled.
Signed-off-by: Sai Krishna Potthuri
Signed-off-by: Michal Simek
---
arch/arm/dts/zynqmp.dtsi | 2 ++
1 file changed, 2
On 2/28/22 15:13, Wolfgang Grandegger wrote:
The command "ums 0 mmc 0" does not work because the USB port is still
in reset. Releasing it in board_usb_init() fixes the problem. This issue
has been observed and fixed on the Aries MCVEVP board.
Signed-off-by: Wolfgang Grandegger
---
Hi Simon,
2022年2月28日(月) 22:56 Simon Glass :
>
> Hi,
>
> On Mon, 28 Feb 2022 at 06:48, Tom Rini wrote:
> >
> > On Sun, Feb 27, 2022 at 02:45:36PM -0700, Simon Glass wrote:
> > > Hi Tom,
> > >
> > > On Sun, 27 Feb 2022 at 13:58, Tom Rini wrote:
> > > >
> > > > On Sun, Feb 27, 2022 at 12:11:01PM
Hi Simon,
2022年2月28日(月) 6:45 Simon Glass :
>
> Hi Tom,
>
> On Sun, 27 Feb 2022 at 13:58, Tom Rini wrote:
> >
> > On Sun, Feb 27, 2022 at 12:11:01PM -0700, Simon Glass wrote:
> > > Hi Tom,
> > >
> > > On Sun, 27 Feb 2022 at 11:14, Tom Rini wrote:
> > > >
> > > > On Sun, Feb 27, 2022 at
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
Add support for U-Boot's Verifying Program Loader phase.
Signed-off-by: Simon Glass
---
Changes in v7:
- Renumber the tests
- Update for the patman library rename
Changes in v6:
- Fix the missing SPDX tag on test/204...
tools/binman/etype/u_boot_vpl.py | 42
Add VPL versions of commonly used Kconfig options.
Signed-off-by: Simon Glass
---
Changes in v7:
- Add a few more options
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
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
We don't use an appended tree for sandbox and the required symbols are
not present. Add a condition to avoid a build error.
Signed-off-by: Simon Glass
---
Changes in v7:
- Add new patch to avoid looking for an appended device tree
lib/fdtdec.c | 3 +++
1 file changed, 3 insertions(+)
diff
These filesystems may have different settings for SPL and TPL. Use the
correct Makefile variable to handle this.
Signed-off-by: Simon Glass
---
Changes in v7:
- Add new patch to correct the conditions for SPL
disk/Makefile | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff
If this value is not provided it causes a hang in the build. Add a default
value to avoid this.
Signed-off-by: Simon Glass
---
Changes in v7:
- Add new patch with a default for TPL_TEXT_BASE
common/spl/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/spl/Kconfig
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 9d026cc8ac..f8c5fc2041 100644
--- a/Makefile
+++
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
This may have different settings for SPL and TPL. Correct the condition.
Signed-off-by: Simon Glass
---
Changes in v7:
- Add new patch to correct condition for SEPARATE_BSS
lib/fdtdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index
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
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
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
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 4d6f394bed..1059b2fb9c 100644
---
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 =>
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
1 - 100 of 127 matches
Mail list logo