From: Aaron Williams
This Octeon 3 DDR driver is ported from the 2013 Cavium / Marvell U-Boot
repository. It currently supports DDR4 on Octeon 3. It can be later
extended to support also DDR3 and Octeon 2 platforms.
Part 3 includes the DIMM SPD handling code and the Kconfig / Makefile
integratio
This patch adds the board specific configuration (struct) for the
Octeon 3 EBB7304 EVK. This struct is ported from the 2013er Cavium /
Marvell U-Boot repository. Also, the Octeon RAM driver is enabled in
the board defconfig for its usage.
Tested with one and two DIMMs on the EBB7304 EVK (8 & 16 Gi
From: Aaron Williams
This Octeon 3 DDR driver is ported from the 2013 Cavium / Marvell U-Boot
repository. It currently supports DDR4 on Octeon 3. It can be later
extended to support also DDR3 and Octeon 2 platforms.
Part 1 adds the base U-Boot RAM driver, which will be instantiated by
the DT bas
From: Aaron Williams
This header will be used by the DDR driver (lmc). Its ported from the
2013 Cavium / Marvell U-Boot repository.
Signed-off-by: Aaron Williams
Signed-off-by: Stefan Roese
---
Changes in v3:
- Remove "https://spdx.org/licenses"; line
- Remove inclusion of "common.h"
- Remov
This patch adds the DDR4 init code. It is ported from the 2013 Cavium /
Marvell U-Boot version with no functional change. This was done
intentionally, as this code is very large and complex and is known to
work on many boards "as-is". So any functional change might have
introduced (hidden) incomp
From: Aaron Williams
This header is used by the upcoming DDR driver and potentially by other
drivers ported from the 2013 Cavium / Marvell U-Boot repository.
Signed-off-by: Aaron Williams
Signed-off-by: Stefan Roese
---
Changes in v3:
- Remove "https://spdx.org/licenses"; line
- Move multipl
This patch adds the memory controller (LMC) DT node to the Octeon 3 dtsi
file. It also adds the L2C DT node, as this is referenced by the DDR
driver.
Signed-off-by: Stefan Roese
---
(no changes since v1)
arch/mips/dts/mrvl,cn73xx.dtsi | 17 +
1 file changed, 17 insertions(+)
d
This patch adds the initialization call for the Octeon RAM driver to
the Octeon platforms code. So if enabled via Kconfig, the DDR driver
will be called and the RAM will be configured and used. If the RAM
driver is not enabled, the L2 cache is still used as RAM.
Signed-off-by: Stefan Roese
---
From: Chunfeng Yun
Use readx_poll_sleep_timeout() to poll the register status
Change-Id: If05a68baf52c54ab30029279e349be6076f1d0ca
Signed-off-by: Chunfeng Yun
---
drivers/usb/host/xhci.c | 25 +++--
1 file changed, 11 insertions(+), 14 deletions(-)
diff --git a/drivers/usb
From: Chunfeng Yun
Use macros with parameter to fill ep_info2, then some macros
for MASK and SHIFT can be removed
Signed-off-by: Chunfeng Yun
---
drivers/usb/host/xhci-mem.c | 13 -
drivers/usb/host/xhci.c | 3 +--
include/usb/xhci.h | 5 -
3 files changed, 5 ins
From: Chunfeng Yun
Use EP_TYPE(type) macro instead of ((type) << EP_TYPE_SHIFT)
Signed-off-by: Chunfeng Yun
---
drivers/usb/host/xhci-mem.c | 2 +-
drivers/usb/host/xhci.c | 3 +--
include/usb/xhci.h | 1 -
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/usb
From: Chunfeng Yun
Use HCS_MAX_PORTS(p) instead of
((p & HCS_MAX_PORTS_MASK) >> HCS_MAX_PORTS_SHIFT)
Signed-off-by: Chunfeng Yun
---
drivers/usb/host/xhci.c | 3 +--
include/usb/xhci.h | 2 --
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/usb/host/xhci.c b/drivers/
From: Chunfeng Yun
Use TRB_TX_TYPE() instead of (TRB_DATA_OUT/IN << TRB_TX_TYPE_SHIFT)
Signed-off-by: Chunfeng Yun
---
drivers/usb/host/xhci-ring.c | 4 ++--
include/usb/xhci.h | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/host/xhci-ring.c b/driver
From: Chunfeng Yun
Use TRB_INTR_TARGET(x) instead of
(((x) & TRB_INTR_TARGET_MASK) << TRB_INTR_TARGET_SHIFT)
Signed-off-by: Chunfeng Yun
---
drivers/usb/host/xhci-ring.c | 10 --
include/usb/xhci.h | 2 --
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/driver
From: Chunfeng Yun
Use TRB_LEN(x) instead of ((x) & TRB_LEN_MASK)
Signed-off-by: Chunfeng Yun
---
drivers/usb/host/xhci-ring.c | 8
include/usb/xhci.h | 1 -
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-r
From: Chunfeng Yun
xhci versions 1.0 and later report the untransferred data remaining in a
TD a bit differently than older hosts.
We used to have separate functions for these, and needed to check host
version before calling the right function.
Now Mediatek host has an additional quirk on how i
From: Chunfeng Yun
Use TRB_TYPE(p) instead of ((p) << TRB_TYPE_SHIFT)
Signed-off-by: Chunfeng Yun
---
drivers/usb/host/xhci-mem.c | 3 +--
drivers/usb/host/xhci-ring.c | 11 +--
include/usb/xhci.h | 1 -
3 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/driver
From: Chunfeng Yun
Add a member to save xHCI version, it's used some times.
Signed-off-by: Chunfeng Yun
---
drivers/usb/host/xhci-ring.c | 4 ++--
drivers/usb/host/xhci.c | 1 +
include/usb/xhci.h | 1 +
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/
From: Chunfeng Yun
There some vendor quirks for MTK xHCI 0.96 host controller:
1. It defines some extra SW scheduling parameters for HW
to minimize the scheduling effort for synchronous and
interrupt endpoints. The parameters are put into reseved
DWs of slot context and endpoint context.
Hi,
Just tried out v2020.10-rc3 on my T2080RDB and I've got the following
splat. Haven't had a chance to decode it yet (pointers on how to
translate the addresses for powerpc welcome) but I figured I'd get
this out just in case anyone was looking at the T2080RDB.
SPI boot...
Initializingusing
The GPIO bank name for banks J and K are not correct when using the
'gpio' command from the console.
The driver derives the bank name from the device tree instance string by
using the instance value and adding 'A': gpio0@xxaddrxx is Bank A,
gpio1@yyaddryy is Bank B and so on.
On the PIC32, there
GPIO state cannot be changed via the device tree (e.g. with gpio-hog) or
using the 'gpio' command from the console.
The root cause is a discrepancy between the driver and the device tree:
the driver code expects an absolute I/O address in the property,
while the device tree defines the address re
Hi Frank,
Would you please forward this mail to Marek, he doesn't receive email
sent from MediaTek, thanks a lot
Hi Marek,
I always receive eth following massage, it seems the same for my
workmate,
---
Delivery has failed to these recipients or groups:
ma...@denx.de
A problem occurred while
On Fri, 2020-08-07 at 17:32 +0800, Chunfeng Yun wrote:
> The start address of dout, pullen and pullsel ragnes are wrong,
> so fix up them.
>
> Signed-off-by: Chunfeng Yun
> ---
> drivers/pinctrl/mediatek/pinctrl-mt8512.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --g
On Tue, Sep 01, 2020 at 10:01:18PM +, Reuben Dowle wrote:
> This patch allows uboot scripts make choices about where to boot from based
> on
> the active mmc boot partition. This allows having two copies of kernel,
> filesystems etc, and choosing which to boot from based off the active
> b
This patch allows uboot scripts make choices about where to boot from based on
the active mmc boot partition. This allows having two copies of kernel,
filesystems etc, and choosing which to boot from based off the active
bootloader partition.
Signed-off-by: Reuben Dowle
---
cmd/mmc.c | 2 ++
Attempting to place device tree immediately after an image in memory can lead
to mis-aligned data accesses if that image size is not divisible by the
alignment requirements of the architecture.
Data aborts caused by this were observed on a custom Marvel A388 based system,
where the image was a ubo
Anti rollback protection is required when there is a need to retire
previous versions of FIT images due to security flaws in them.
Currently U-Boot Verified boot does not have rollback protection to
protect against known security flaws.
This RFC introduces a proposal to add anti-rollback protectio
Anti rollback protection is required when there is a need to retire
previous versions of FIT images due to security flaws in them.
Currently U-Boot Verified boot does not have rollback protection to
protect against known security flaws.
This change adds anti-rollback protection for FIT images.
Si
Include ast2500-evb.dtb for CONFIG_ASPEED_AST2500 instead of
for all aspeed targets.
ast2400 is based on ARM926EJ-S processor (ARMv5-architecture).
ast2500 is based on ARM1176JZS processor (ARMv6-architecture).
ast2600 is based on Cortex A7 processor (ARMv7-A architecture).
Each of the above SOC i
On 8/24/20 10:44 AM, Pragnesh Patel wrote:
> This series add a support of tracing for RISC-V arch.
>
> This series is also available here [1] for testing.
> Series depends on [2].
>
> [1] https://github.com/pragnesh26992/u-boot/tree/trace
> [2]
> https://patchwork.ozlabs.org/project/uboot/cover/
This enables the necessary config options.
Signed-off-by: Sean Anderson
---
Changes in v3:
- Note dependency on "time: Fix get_ticks being non-monotonic"
- Add a few signed-off-bys which were sent for version 1
board/sipeed/maix/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/boa
The clock subsystem requires that clk_free be called on clocks obtained via
clk_get_*.
Signed-off-by: Sean Anderson
Reviewed-by: Simon Glass
---
(no changes since v1)
drivers/watchdog/designware_wdt.c | 17 -
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/drive
This adds the necessary bindings. Most of them are already there.
Signed-off-by: Sean Anderson
Acked-by: Rick Chen
---
(no changes since v2)
Changes in v2:
- Move watchdog enable to k210.dtsi as it does not depend on anything
board-specific.
arch/riscv/dts/k210.dtsi | 1 -
1 file changed,
The watchdog won't work if the clock isn't enabled.
Fixes: cf89ef8d10f240554541c20b2e1bdcdd58d1d7e6
Signed-off-by: Sean Anderson
Reviewed-by: Simon Glass
---
(no changes since v1)
drivers/watchdog/designware_wdt.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/watchdog/design
The clock subsystem returns clock rates in Hz. We need to divide by 1000 so
the rate is in kHz.
Fixes: cf89ef8d10f240554541c20b2e1bdcdd58d1d7e6
Signed-off-by: Sean Anderson
Reviewed-by: Simon Glass
---
(no changes since v1)
drivers/watchdog/designware_wdt.c | 2 +-
1 file changed, 1 insertion
This series depends on
https://patchwork.ozlabs.org/project/uboot/patch/20200901195548.542737-1-sean...@gmail.com/
Changes in v3:
- Note dependency on "time: Fix get_ticks being non-monotonic"
- Add a few signed-off-bys which were sent for version 1
Changes in v2:
- Fix fls being off-by-one when
This is preferred over #if because the compiler can check syntax even if
the feature is disabled. This cannot be used for CONFIG_CLK because
CONFIG_DW_WDT_CLOCK_KHZ is not defined on all platforms.
Signed-off-by: Sean Anderson
Reviewed-by: Heinrich Schuchardt
---
(no changes since v1)
drivers
log_2_n_round_up is only found in arm. fls performs the same job and is
generic.
Signed-off-by: Sean Anderson
---
(no changes since v2)
Changes in v2:
- Fix fls being off-by-one when compared to log_2_n_round_up
drivers/watchdog/designware_wdt.c | 3 +--
1 file changed, 1 insertion(+), 2 dele
On Tuesday 01 September 2020 09:03:59 Andre Heider wrote:
> From: Konstantin Porotchkin
>
> Add support for additional EspressoBIN board with installed
> eMMC device (U11).
> EspressoBIN boards with eMMC installed should use the DTS named
> armada-3720-espressobin-emmc.
> Update build documentati
On Monday 31 August 2020 11:59:28 Andre Heider wrote:
> On 31/08/2020 10:46, Pali Rohár wrote:
> > On Monday 31 August 2020 10:17:07 Andre Heider wrote:
> > > On 31/08/2020 10:01, Pali Rohár wrote:
> > > > On Monday 31 August 2020 05:34:07 Andre Heider wrote:
> > > > > +/* U11 */
> > > > > +&sdhci1
get_ticks does not always succeed. Sometimes it can be called before the
timer has been initialized. If it does, it returns a negative errno.
This causes the timer to appear non-monotonic, because the value will
become much smaller after the timer is initialized.
No users of get_ticks which I chec
On Tue, Sep 01, 2020 at 10:36:31PM +0800, Bin Meng wrote:
> Hi Tom,
>
> This PR includes the following x86 changes for v2020.10:
>
> - Fix parsing of "mtrr list" command
> - Introduce USE_EARLY_BOARD_INIT option and remove dead codes for most
> x86 boards
>
> Azure results : PASS
> https://dev.
There are drivers to support built in USB controller and PHY-s now, so lets add
the USB nodes to DTSI.
Signed-off-by: Robert Marko
Cc: Luka Perkov
---
arch/arm/dts/qcom-ipq4019.dtsi | 50 ++
1 file changed, 50 insertions(+)
diff --git a/arch/arm/dts/qcom-ipq401
PHY handling functions should depend also on CONFIG_USB_DWC3 aka DM DWC3
version.
Otherwise when using the non DM version with PHY subsystem enabled there will
be a linking error due to missing dwc3_setup_phy and dwc3_shutdown_phy.
Signed-off-by: Robert Marko
Cc: Luka Perkov
---
include/dwc3-
Add a driver to setup the USB PHY-s on Qualcomm IPQ40xx series SoCs.
The driver sets up HS and SS phys.
Signed-off-by: Robert Marko
Cc: Luka Perkov
---
MAINTAINERS| 1 +
drivers/phy/Kconfig| 6 ++
drivers/phy/Makefile | 1 +
drivers/ph
Add driver for Qualcomm DWC3 based dual role xHCI USB controller.
Currently tested on IPQ40xx, but should support other Qualcomm SoC families as
well.
Only host mode is supported.
Signed-off-by: Robert Marko
Cc: Luka Perkov
---
MAINTAINERS | 2 +
.../usb/qc
On Qualcomm IPQ40xx SoC series, GCC clock IP also handles the resets.
So since this will be needed by further drivers, lets add a driver for the
reset controller.
Signed-off-by: Robert Marko
Cc: Luka Perkov
---
MAINTAINERS | 2 +
drivers/reset/Kconfig
Since we have a driver for the reset controller, lets add the necessary node.
Signed-off-by: Robert Marko
Cc: Luka Perkov
---
arch/arm/Kconfig | 1 +
arch/arm/dts/qcom-ipq4019.dtsi | 9 +
2 files changed, 10 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
i
Its common to use dt-bindings instead of hard-coding clocks or resets.
So lets use the imported Linux GCC bindings on IPQ40xx target.
Signed-off-by: Robert Marko
Cc: Luka Perkov
---
arch/arm/dts/qcom-ipq4019.dtsi| 3 ++-
arch/arm/mach-ipq40xx/clock-ipq4019.c | 4 +++-
2 files changed, 5
There is already existing driver for SMEM so lets enable it for IPQ40xx as well.
Signed-off-by: Robert Marko
Cc: Luka Perkov
---
arch/arm/Kconfig | 2 ++
arch/arm/dts/qcom-ipq4019.dtsi | 5 +
drivers/smem/Kconfig | 2 +-
3 files changed, 8 insertions(+), 1 deletion(-
Import Qualcomm IPQ4019 GCC bindings from Linux.
This will enable using bindings instead of raw clock numbers both in the driver
and DTS like Linux does.
Signed-off-by: Robert Marko
Cc: Luka Perkov
---
MAINTAINERS | 1 +
include/dt-bindings/clock/qcom,ipq4019-
This patch series builds on the previously merged basic
Qualcomm IPQ40xx series support.
Signed-off-by: Robert Marko
Cc: Luka Perkov
Robert Marko (9):
dt-bindings: clock: import Qualcomm IPQ4019 bindings
IPQ40xx: clk: Use dt-bindings instead of hardcoding
IPQ40xx: Add SMEM support
reset
Hi Michal,
On Tue, 1 Sep 2020 at 09:15, Michal Simek wrote:
>
> Hi Simon,
>
> On 30. 08. 20 22:37, Simon Glass wrote:
> > Hi Michal,
> >
> > On Wed, 26 Aug 2020 at 08:12, Michal Simek wrote:
> >>
> >> Hi,
> >>
> >> On 25. 08. 20 18:57, Simon Glass wrote:
> >>> Hi Michal,
> >>>
> >>> On Tue, 25 A
On Mon, 31 Aug 2020 at 03:59, Alper Nebi Yasak wrote:
>
> When reading subentries of each image, the FIT entry type directly
> concatenates their contents without padding them according to their
> offset, size, align, align-size, align-end, pad-before, pad-after
> properties.
>
> This patch makes
On Wed, 26 Aug 2020 at 07:13, Michal Simek wrote:
>
> There is prepared function for filing rom_offset. That's why use it instead
> of copying content of it.
>
> Signed-off-by: Michal Simek
> ---
>
> lib/binman.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass
Hi Alper,
On Tue, 1 Sep 2020 at 06:23, Alper Nebi Yasak wrote:
>
> On 01/09/2020 13:36, Simon Glass wrote:
> > Hi Alper,
> >
> > I found that evb-rk3288 fails to build with the final patch from your
> > series. See u-boot-dm/testing for the tree.
>
> I had seen your patch and assumed that nothing
On Wed, 26 Aug 2020 at 07:34, Michal Simek wrote:
>
> Fix typo.
>
> Fixes: 19790632648b ("binman: Support accessing binman tables at run time")
> Signed-off-by: Michal Simek
> ---
>
> include/binman_sym.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Simon Glass
Appli
On Mon, 31 Aug 2020 at 03:59, Alper Nebi Yasak wrote:
>
> Switch to str.startswith for matching like the FIT etype does since the
> current version doesn't ignore 'hash-1', 'hash-2', etc.
>
> Signed-off-by: Alper Nebi Yasak
> ---
>
> Changes in v2:
> - Add test to check that sections ignore hash*
On Mon, 31 Aug 2020 at 03:59, Alper Nebi Yasak wrote:
>
> Other relevant properties (pad-after, offset, size, align, align-size,
> align-end) already work since Pack() sets correct ranges for subentries'
> data (.offset, .size variables), but some padding here is necessary to
> align the data with
Hi Simon,
On 30. 08. 20 22:37, Simon Glass wrote:
> Hi Michal,
>
> On Wed, 26 Aug 2020 at 08:12, Michal Simek wrote:
>>
>> Hi,
>>
>> On 25. 08. 20 18:57, Simon Glass wrote:
>>> Hi Michal,
>>>
>>> On Tue, 25 Aug 2020 at 09:13, Michal Simek wrote:
Hi Simon,
On 25. 08. 20 17:04
On 9/1/20 7:23 AM, Heinrich Schuchardt wrote:
> On 01.09.20 13:14, Sean Anderson wrote:
>> On 9/1/20 6:51 AM, Heinrich Schuchardt wrote:
>>> When resetting the sipeed_maix_bitm_defconfig without the patch I see a
>>> crash:
>>>
>>> => reset
>>> resetting ...
>>> Unhandled exception: Illegal instruc
Hi Tom,
This PR includes the following x86 changes for v2020.10:
- Fix parsing of "mtrr list" command
- Introduce USE_EARLY_BOARD_INIT option and remove dead codes for most
x86 boards
Azure results : PASS
https://dev.azure.com/bmeng/GitHub/_build/results?buildId=290&view=results
The following c
Hi All,
I need some ideas regarding Boot Over Ehternet. I have been following the u
boot document as well.
I am attempting BoE from a Linux Server to a cluster of Raspberry Pis.
i.e we have a Ubuntu (linux) Server with Raspbian image, the desired result is
to somehow ''Mount'' the image, so th
Michael Walle-2 wrote
> On all newer Layerscape SoCs, the crypto module is just partially
> disabled on non-E parts. Thus it doesn't make sense to completely remove
> the node. Linux will figure out what is there and what is not.
>
> Just remove it for older SoCs, where the module is indeed comple
Am Dienstag, den 01.09.2020, 15:09 +0200 schrieb Mauro Condarelli:
> Hi Daniel,
> Hi Stefan,
> comments inline below.
>
> Many Thanks
> Mauro
>
> On 9/1/20 1:41 AM, Daniel Schwierzeck wrote:
> > Am Montag, den 31.08.2020, 23:53 +0200 schrieb Mauro Condarelli:
> > > Thanks Daniel.
> > >
> > > On
Hi Mauro,
On 01.09.20 15:09, Mauro Condarelli wrote:
Now problem is "Unable to allocate 209398 bytes for LZMA"
Full trace below.
I assume I should enlarge
#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)
since GARDENA has:
#define CONFIG_SYS_MALLOC_LEN (16 * 1024 * 1024)
but I
Hi Daniel,
Hi Stefan,
comments inline below.
Many Thanks
Mauro
On 9/1/20 1:41 AM, Daniel Schwierzeck wrote:
> Am Montag, den 31.08.2020, 23:53 +0200 schrieb Mauro Condarelli:
>> Thanks Daniel.
>>
>> On 8/31/20 10:36 PM, Daniel Schwierzeck wrote:
>>> Hi Mauro,
>>>
>>> Am Montag, den 31.08.2020, 21
Hi Sam,
On Tue, Sep 01, 2020 at 01:31:46PM +0300, Sam Protsenko wrote:
> Hi Gary,
>
> On Thu, 27 Aug 2020 at 11:51, Gary Bisson
> wrote:
> >
> > The size returned by 'getvar partition-size' should be in bytes, not in
> > blocks as fastboot uses that value to generate empty partition when
> > run
On 8/30/20 9:42 PM, Lukasz Majewski wrote:
> Dear Marek,
Hi,
> Please find a set of DFU/Gadget related fixes:
>
> The following changes since commit
> 9f04a634ef331b4fc6b3e677f276156192a413c7:
>
> Merge branch '2020-08-27-misc-fixes' (2020-08-28 08:51:37 -0400)
>
> are available in the Git r
On 01/09/2020 13:36, Simon Glass wrote:
> Hi Alper,
>
> I found that evb-rk3288 fails to build with the final patch from your
> series. See u-boot-dm/testing for the tree.
I had seen your patch and assumed that nothing was already using the
allow-missing functionality in its FITs (since you're ad
On 01.09.20 13:14, Sean Anderson wrote:
> On 9/1/20 6:51 AM, Heinrich Schuchardt wrote:
>> On 8/18/20 11:00 AM, Heinrich Schuchardt wrote:
>>> On 11.08.20 12:32, Sean Anderson wrote:
On 8/11/20 3:50 AM, Heinrich Schuchardt wrote:
> On 11.08.20 08:20, Rick Chen wrote:
>> Hi Heinrich
>>>
Add a special help message pointing to the relevant README.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/arm/dts/sunxi-u-boot.dtsi | 1 +
tools/binman/missing-blob-help | 4
2 files changed, 5 insertions(+)
diff --git a/arch/arm/dts/sunxi-u-boot.dtsi b/arch/arm/dts/sunxi-u-b
When an external blob is missing it can be quite confusing for the user.
Add a way to provide a help message that is shown.
Signed-off-by: Simon Glass
---
Changes in v3:
- Add a way to show help messages for missing blobs
tools/binman/README| 6 ++
tools/binman/control
Add a new entry argument to the fit entry which allows selection of the
default configuration to use. This is the 'default' property in the
'configurations' node.
Update the Makefile to pass in the value of DEVICE_TREE or
CONFIG_DEFAULT_DEVICE_TREE to provide this information.
Signed-off-by: Simo
In some cases it is useful to generate a FIT which has a number of DTB
images, selectable by configuration. Add support for this in binman,
using a simple iterator and string substitution.
Signed-off-by: Simon Glass
---
Changes in v3:
- Rebase on top of earlier binman series
Changes in v2:
- Ad
This file is no-longer used. Drop it.
Signed-off-by: Simon Glass
---
(no changes since v1)
board/sunxi/mksunxi_fit_atf.sh | 87 --
1 file changed, 87 deletions(-)
delete mode 100755 board/sunxi/mksunxi_fit_atf.sh
diff --git a/board/sunxi/mksunxi_fit_atf.sh b/b
At present 64-bit sunxi boards use the Makefile to create a FIT, using
USE_SPL_FIT_GENERATOR. This is deprecated.
Update sunxi to use binman instead.
Signed-off-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Add a 'fit-fdt-list' property
- Fix 'board' typo in commit message
Kconf
Add an entry for ARM Trusted Firmware's 'BL31' payload, which is the
device's main firmware. Typically this is U-Boot.
Signed-off-by: Simon Glass
---
Changes in v3:
- Rebase on top of earlier binman series
Changes in v2:
- Add the URL of ARM Trusted Firmware and mention of U-Boot docs
- Fix cop
At present we have an Entry_blob_ext which implement a blob which holds an
external binary. We need to support other entry types that hold external
binaries, e.g. Entry_blob_named_by_arg. Move the support into the base
Entry class to allow this.
Signed-off-by: Simon Glass
---
(no changes since v
At present binman warns about missing external blobs only when the
BUILD_ROM is defined. Enable this behaviour always, since many boards
are starting to use these (e.g. ARM Trusted Firmware's BL31).
Signed-off-by: Simon Glass
---
(no changes since v2)
Changes in v2:
- Add new patch to support m
On 9/1/20 6:51 AM, Heinrich Schuchardt wrote:
> On 8/18/20 11:00 AM, Heinrich Schuchardt wrote:
>> On 11.08.20 12:32, Sean Anderson wrote:
>>> On 8/11/20 3:50 AM, Heinrich Schuchardt wrote:
On 11.08.20 08:20, Rick Chen wrote:
> Hi Heinrich
>
>> From: Heinrich Schuchardt [mailto:xyp
Tidy up a few test functions which lack argument comments. Rename one that
has the same name as a different test.
Also fix up the comment for PrepareImagesAndDtbs().
Signed-off-by: Simon Glass
---
(no changes since v1)
tools/binman/control.py | 5 +
tools/binman/ftest.py | 22 +
At present the Python sequential-write interface can produce an error when
it calls fdt_finish(), since this needs to add a terminating tag to the
end of the struct section.
Fix this by automatically expanding the buffer if needed.
Signed-off-by: Simon Glass
---
(no changes since v1)
scripts/
If an entry argument is needed by an entry but the entry argument is not
present, then a strange error can occur when trying to read the file.
Fix this by allowing arguments to be required. Select this option for the
cros-ec-rw entry. If a filename is provided in the node, allow that to be
used.
This series allows binman to generate FITs that include multiple DTB
images and the configuration to use them.
It is then possible to remove the sunxi FIT generator script, so this
series handles that also.
With this, sunxi is fully converted to use binman.
Note: This series is available at u-bo
Hi,
On Fri, 28 Aug 2020 10:44:55 +
Trommel, Kees (Contractor) kees.trommel.contrac...@draeger.com wrote:
> Hi Agust,
>
> The latest version of the U-Boot does not support conversion from
> 24BPP BMP to a 16BPP 565RGB encoded frame buffer. It uses always
> 555RGB encoding (see function video_
Hello all,
I am using u-boot on a STM32MP1 EV1 board. Until recently, the NAND
DFU backend was used to flash UBI images to the board. I used the
DFU_NAND_TRIMFFS option to ensure that the UBI image was correctly
flashed to NAND.
Recently, ST has switched from the NAND DFU backend to the MTD DFU
b
Hello all,
I am using u-boot on a STM32MP1 EV1 board. Until recently, the NAND
DFU backend was used to flash UBI images to the board. I used the
DFU_NAND_TRIMFFS option to ensure that the UBI image was correctly
flashed to NAND.
Recently, ST has switched from the NAND DFU backend to the MTD DFU
b
Signed-off-by: John Robertson
---
arch/mips/dts/pic32mzda.dtsi | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/mips/dts/pic32mzda.dtsi b/arch/mips/dts/pic32mzda.dtsi
index 4c8b7a9a0b..8aff9eb812 100644
--- a/arch/mips/dts/pic32mzda.dtsi
+++ b/arch/mips/dts/pic32mzda.dtsi
Hi Gary,
On Thu, 27 Aug 2020 at 11:51, Gary Bisson
wrote:
>
> The size returned by 'getvar partition-size' should be in bytes, not in
> blocks as fastboot uses that value to generate empty partition when
> running format [1].
>
> Note that the function was already returning the proper size in byt
On 8/18/20 11:00 AM, Heinrich Schuchardt wrote:
On 11.08.20 12:32, Sean Anderson wrote:
On 8/11/20 3:50 AM, Heinrich Schuchardt wrote:
On 11.08.20 08:20, Rick Chen wrote:
Hi Heinrich
From: Heinrich Schuchardt [mailto:xypron.g...@gmx.de]
Sent: Tuesday, August 11, 2020 11:57 AM
To: Rick Jian-Z
Hi Alper,
On Tue, 1 Sep 2020 at 04:35, Simon Glass wrote:
>
> At present if a FIT references a missing external blob, binman reports an
> error, even if the image is supposed to allow this.
>
> Propagate this setting down to the child sections of the FIT, so that the
> behaviour is consistent.
>
At present if a FIT references a missing external blob, binman reports an
error, even if the image is supposed to allow this.
Propagate this setting down to the child sections of the FIT, so that the
behaviour is consistent.
This is a fix-up patch to:
binman: Build FIT image subentries with t
We may need to add a clock-frequency binding like for the K210.
Signed-off-by: Sean Anderson
---
This patch builds but has NOT been tested.
Changes in v3:
- Rebase
Changes in v2:
- Fix SiFive CLINT not getting tick-rate from rtcclk
arch/riscv/dts/fu540-c000-u-boot.dtsi | 8 ++--
Another "virtual" clock (in the sense that it isn't configurable). This
could possibly be done as a clock in the device tree, but I think this is a
bit cleaner.
Signed-off-by: Sean Anderson
---
checkpatch still complains about this one, but I don't see any reason to
break it up even further. It d
AFAIK because the K210 clock driver does not come up until after
relocation, the clint will always use the clock-frequency parameter.
Ideally, it should update itself after relocation to take into account the
actual CPU frequency.
The interrupt controller property is removed from the clint binding
This converts the clint driver from the riscv-specific interface to be a
DM-based UCLASS_TIMER driver. We also need to re-add the initialization for
IPI back into the SPL code. This was previously implicitly done when the
timer was initialized. In addition, the SiFive DDR driver previously
implicit
This merges the PLIC initialization code from two functions into one.
Signed-off-by: Sean Anderson
---
This patch builds but has NOT been tested.
(no changes since v1)
arch/riscv/lib/andes_plic.c | 58 -
1 file changed, 25 insertions(+), 33 deletions(-)
dif
The riscv-timer driver currently serves as a shim for several riscv timer
drivers. This is not too desirable because it bypasses the usual timer
selection via the driver model. There is no easy way to specify an
alternate timing driver, or have the tick rate depend on the cpu's
configured frequency
1 - 100 of 141 matches
Mail list logo