Hey guys,
Looking at https://travis-ci.org/trini/u-boot/jobs/534037240 this is the
only board that doesn't build (having switched ARM to gcc-8.3 from
Arm/Linaro) and the error is pretty odd. Do you have any idea what's
going on? Thanks!
--
Tom
signature.asc
Description: PGP signature
___
KeyToggleState is a pointer according to UEFI spec 2.8.
Adjust the function definition.
Signed-off-by: Heinrich Schuchardt
---
include/efi_api.h| 2 +-
lib/efi_loader/efi_console.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/efi_api.h b/include
Hi Chris,
On Wed, 15 May 2019 at 01:54, Chris Packham wrote:
>
> On Wed, May 15, 2019 at 9:54 AM Simon Glass wrote:
> >
> > This script attempts to create a git commit which removes a single board.
> > It is quite fallible and everything it does needs checking. But it can
> > help speed up the p
This script attempts to create a git commit which removes a single board.
It is quite fallible and everything it does needs checking. But it can
help speed up the process.
Signed-off-by: Simon Glass
---
Changes in v3:
- Move this into its own separate patch
- Fix typos
tools/rmboard.py | 150 +
Hi Tom,
On Sat, 18 May 2019 at 06:13, Tom Rini wrote:
>
> Hey guys,
>
> Looking at https://travis-ci.org/trini/u-boot/jobs/534037240 this is the
> only board that doesn't build (having switched ARM to gcc-8.3 from
> Arm/Linaro) and the error is pretty odd. Do you have any idea what's
> going on?
On Tue, 7 May 2019 at 02:49, Christoph Muellner
wrote:
>
> A previous commit changed the USB3 node names, which breaks compilation
> of the gru DTS files.
>
> This patch addresses this issue by fixing the referenced node names.
>
> Signed-off-by: Christoph Muellner
> ---
>
> arch/arm/dts/rk3399-
On Tue, 7 May 2019 at 02:58, Christoph Muellner
wrote:
>
> This patch adds the missing GRF bit definitions for UART3 on the RK3399.
>
> Signed-off-by: Christoph Muellner
> ---
>
> arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 4
> 1 file changed, 4 insertions(+)
>
Reviewed-by: Simon Gl
On Tue, 7 May 2019 at 02:58, Christoph Muellner
wrote:
>
> This patch adds the rate for UART1 and UART3 the same way
> as already implemented for UART0 and UART2.
>
> This is required for boards, which have their console output
> on these UARTs.
>
> Signed-off-by: Christoph Muellner
> ---
>
> dr
On Tue, 7 May 2019 at 02:58, Christoph Muellner
wrote:
>
> The RK3399 SPL does not use a pinctrl driver to setup the UART pins.
> Instead it works based on config macros, which set the base address
> of the actual UART block.
>
> Currently the RK3399 SPL support UART0 and UART2.
> This patch adds
Hi Andreas,
On Mon, 6 May 2019 at 22:49, Andreas Dannenberg wrote:
>
> Hi Simon,
>
> On Mon, May 06, 2019 at 09:51:56PM -0600, Simon Glass wrote:
> > Hi Andreas,
> >
> > On Fri, 3 May 2019 at 14:25, Andreas Dannenberg wrote:
> > >
> > > Simon,
> > >
> > > On Sat, Mar 30, 2019 at 09:18:08PM +0100
On Tue, 7 May 2019 at 02:42, Christoph Muellner
wrote:
>
> This commit reduces the SPL size by fixing typos in the removed property
> string list, switching to the tiny versions of printf/memset and
> disabling SPL_DOS/EFI_PARTITION support.
>
> Signed-off-by: Christoph Muellner
> ---
>
> config
kHi Lukasz,
On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote:
>
> This patch series brings the files from Linux kernel to provide clocks support
> as it is used on the Linux kernel with common clock framework [CCF] setup.
>
> This series also fixes several problems with current clocks and prov
On Wed, 8 May 2019 at 00:35, Matwey V. Kornilov
wrote:
>
> From: Kever Yang
>
> rk3328 spl is locate at dram, so do not have strict size limit,
> suppose to enable storage media controller driver, load ATF and
> U-Boot, then boot into ATF.
>
> Signed-off-by: Kever Yang
> [cherry picked from
> h
On Mon, 13 May 2019 at 06:17, Urja Rannikko wrote:
>
> Based on snooping around the linux kernel rk8xx driver.
> Tested on an ASUS C201.
>
> Signed-off-by: Urja Rannikko
> ---
> drivers/power/pmic/Kconfig | 1 +
> drivers/power/pmic/rk8xx.c | 62 +++---
> include
Hi Lukasz,
On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote:
>
> This commit adds the clk_get_by_id() function, which is responsible
> for getting the udevice with matching clk->id. Such approach allows
> re-usage of inherit DM list relationship for the same class (UCLASS_CLK).
> As a result -
On Thu, 9 May 2019 at 14:12, Simon Goldschmidt
wrote:
>
> Convert 'altera_uart_ofdata_to_platdata' to use 'dev_read_u32_default'
> instead of 'fdtdec_get_int' and get rid of DECLARE_GLOBAL_DATA_PTR.
>
> Signed-off-by: Simon Goldschmidt
> ---
>
> drivers/serial/altera_uart.c | 5 +
> 1 file c
On Tue, 7 May 2019 at 11:26, Andreas Dannenberg wrote:
>
> Enable all the relevant configs that enables support for loading
> sysfw via MMC.
>
> Signed-off-by: Andreas Dannenberg
> ---
> configs/am65x_hs_evm_r5_defconfig | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
Reviewed-by:
On Tue, 7 May 2019 at 02:37, Christoph Muellner
wrote:
>
> Puma SoMs have a 4 MB SPI NOR flash.
> Therefore we can move the environment to the end of the flash
> (4 MiB - 16 kiB) in order to not overlap with SPL.
>
> Reported-by: Jakob Unterwurzacher
> Signed-off-by: Christoph Muellner
> ---
>
>
Hi Lukasz,
On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote:
>
> This commit adds the clk_get_parent_rate() function, which is responsible
> for getting the rate of parent clock.
> Unfortunately, u-boot's DM support for getting parent is different
> (the parent relationship is in udevice) than
On Mon, 13 May 2019 at 08:30, Jean-Jacques Hiblot wrote:
>
> This uclass is intended for devices that do not need any features from the
> uclass, including binding children.
> This will typically be used by devices that are used to bind child devices
> but do not use dm_scan_fdt_dev() to do it. Th
Hi Christoph,
On Tue, 7 May 2019 at 03:05, Christoph Muellner
wrote:
>
> Currently addr_aligned() performs an alignment and a length check
> to validate the DMA address. However, some machines have stricter
> restrictions of DMA-able addresses.
>
> This patch adds a call to mach_addr_is_dmaable()
On Wed, 8 May 2019 at 00:35, Matwey V. Kornilov
wrote:
>
> From: Kever Yang
>
> Enable SPL support and some related option in Kconfig.
>
> Signed-off-by: Kever Yang
> [cherry picked from
> https://github.com/rockchip-linux/u-boot/commit/430b01462bf3f24aaf7920ae2587a6943c39ab5d
> with minor mod
On Thu, 16 May 2019 at 15:48, Urja Rannikko wrote:
>
> It seems that SYSRESET_POWER_OFF was added recently, and all previous code
> used SYSRESET_POWER for poweroff. SYSRESET_POWER is supposed to be a
> PMIC-level power cycle, not a poweroff.
SYSRESET_POWER means to do a power reset (removing and
On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote:
>
> This commit adds the clk_get_parent() function, which is responsible
> for getting the parent's struct clock pointer.
>
> U-boot's DM support for getting parent is different (the parent
> relationship is in udevice) than the one in common cl
Hi Matwey,
On Wed, 8 May 2019 at 00:35, Matwey V. Kornilov
wrote:
>
> From: Kever Yang
>
> Enable SPL_FRAMEWORK and SPL related base addr and size.
Where are you enabling SPL_FRAMEWORK?
>
> Signed-off-by: Kever Yang
> [cherry picked from
> https://github.com/rockchip-linux/u-boot/commit/cb2
On Tue, 14 May 2019 at 02:33, Christian Gmeiner
wrote:
>
> Also get rid of ahci_setup_port(..).
>
> Signed-off-by: Christian Gmeiner
> ---
> drivers/ata/ahci.c | 12
> include/ahci.h | 2 --
> 2 files changed, 14 deletions(-)
>
Reviewed-by: Simon Glass
___
Hi Christoph,
On Tue, 7 May 2019 at 03:11, Christoph Muellner
wrote:
>
> This patch cleans up make_fit_atf.py in the following way:
>
> * Fix all issues reported by pylint
> * Move copyright notice from file-to-generate to script
> * Fix of-by-one bugs in loadables property
> * Remove commented-o
Hi Lukasz,
On Thu, 25 Apr 2019 at 04:30, Lukasz Majewski wrote:
>
> This patch series brings the files from Linux kernel to provide clocks support
> as it is used on the Linux kernel with common clock framework [CCF] setup.
>
> This series also fixes several problems with current clocks and provi
On Tue, 7 May 2019 at 03:09, Christoph Muellner
wrote:
>
> Since the DMA-engine of the RK3399 cannot directly copy the
> ATF SRAM/PMUSRAM memory sections to their destination, we need
> to use bounce-buffers. This results in allocation of a huge amount
> of heap memory, which can't be reused (beca
On Mon, 13 May 2019 at 07:25, Urja Rannikko wrote:
>
> Fixes the microSD slot on the ASUS C201.
>
> Signed-off-by: Urja Rannikko
> ---
> v2: use #if CONFIG_IS_ENABLED(DM_REGULATOR)
> v3: Move ret variable inside the if block (only used there)
> ---
> drivers/mmc/dw_mmc.c | 16
>
On Mon, 13 May 2019 at 08:30, Jean-Jacques Hiblot wrote:
>
> dwc3-generic has been broken since MISC uclass has been modified to scan DT
> sub-nodes after bind.
> Fixing it by a using the no-op uclass.
>
> Signed-off-by: Jean-Jacques Hiblot
> ---
>
> Changes in v2: None
>
> drivers/usb/dwc3/dwc3
Hi Peng,
On Tue, 7 May 2019 at 06:52, Peng Fan wrote:
>
> i.MX8 only support AHAB secure boot with Container format image,
> we could not use FIT to support secure boot, so introduce container
Why not FIT?
> support to let SPL could load container images.
What is a container image? Can you ple
Hi Christoph,
On Tue, 7 May 2019 at 09:59, Christoph Muellner
wrote:
>
> From: Christoph Müllner
>
> Some machines have limited DMA engines, which cannot deal
> with arbitrary addresses. This patch introduces a function
> to model these restrictions on a machine level.
>
> Signed-off-by: Christo
On Thu, 9 May 2019 at 14:12, Simon Goldschmidt
wrote:
>
> The dw-apb timer does not use 'gd', so remove its declaration.
>
> Signed-off-by: Simon Goldschmidt
> ---
>
> drivers/timer/dw-apb-timer.c | 2 --
> 1 file changed, 2 deletions(-)
Reviewed-by: Simon Glass
___
Staticize 'spl_dram_init' and 'i2c_pad_info1' to fix the
following sparse warnings:
board/freescale/imx8mq_evk/spl.c:30:6: warning: symbol 'spl_dram_init' was not
declared. Should it be static?
board/freescale/imx8mq_evk/spl.c:41:22: warning: symbol 'i2c_pad_info1' was not
declared. Should it be
Hi Patrick,
On Mon, 11 Feb 2019 at 07:34, Patrick DELAUNAY wrote:
>
> Hi Marek,
>
> > From: Marek Vasut
> > Sent: lundi 11 février 2019 12:58
> >
> > On 2/11/19 12:56 PM, Patrick DELAUNAY wrote:
> > > Hi Marek and Simon
> > >
> > >> From: Patrick DELAUNAY
> > >> Sent: vendredi 8 février 2019 13:
Hi Andy,
Instead of this could you:
- move ATF?
- change the SPL load address so it is not in the way (since TPL can
load to any address)
- (in extremis) create a function which does a memmove() and a jump,
copy it somewhere and run it (I think x86 does this)
Regards,
Simon
On Thu, 16 May 2019
Check the parameters against NULL.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_console.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/lib/efi_loader/efi_console.c b/lib/efi_loader/efi_console.c
index 909fd5c29e..b2cb18e6d6 100644
--- a/lib/efi_loader/efi_console.c
+++ b
Hi Lukasz,
On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote:
>
> This commit provides sandbox unit test for clk_get_parent_rate() method.
>
> For testing the default test clocks setup had to be adjusted to emulate
> structure similar to clocks in the Common Clock Framework [CCF]
> (for iMX dev
Hi Eugeniu,
On Fri, 17 May 2019 at 08:46, Eugeniu Rosca wrote:
>
> 'Bootloader Control Block' (BCB) is a well established term/acronym in
> the Android namespace which refers to a location in a dedicated raw
> (i.e. FS-unaware) flash (e.g. eMMC) partition, usually called "misc",
> which is used a
On Wed, 15 May 2019 at 09:52, Bin Meng wrote:
>
> NVMe was turned on in qemu-x86 but somehow we missed it for 64-bit.
>
> Signed-off-by: Bin Meng
> ---
>
> configs/qemu-x86_64_defconfig | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Simon Glass
___
This series collects together a lot of fixes for sandbox (mostly) that
were discovered in the last release. Most of them are minor.
Simon Glass (17):
spl: misc: Allow misc drivers in SPL and TPL
Add an empty stdint.h file
sandbox: Sync up sandbox64.dts with main DT
sandbox: Create a commo
In some cases it is necessary to read the keyboard in early phases of
U-Boot. The cros_ec keyboard is kept in the misc directory. Update the
config to allow this.
Signed-off-by: Simon Glass
---
drivers/misc/Kconfig | 72 +++
drivers/misc/Makefile | 8 ++
At present 'sf probe' does not work since it cannot find SPI bus 0. Add
an alias to correct this, now that we no-longer have the --spi_sf option.
Signed-off-by: Simon Glass
---
arch/sandbox/dts/sandbox.dts | 3 ++-
arch/sandbox/dts/sandbox64.dts | 3 ++-
2 files changed, 4 insertions(+), 2 de
At present this returns but it seems better to just exit sandbox
immediately.
Signed-off-by: Simon Glass
reset
---
arch/sandbox/cpu/state.c| 1 +
drivers/sysreset/sysreset_sandbox.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/sandbox/cpu/state.c b/arch/sandbox/cpu/s
At present sandbox and sandbox64 have duplicated nodes. This is hard to
maintain since changes in one need to be manually added to the other.
Create a common file to solve this problem.
Signed-off-by: Simon Glass
---
arch/sandbox/dts/sandbox.dts | 333 +--
arch/sa
When cross-compiling, sometimes sdl-config must come from a different path
from the default. Add a way to override it, by adding SDL_CONFIG to the
environment before building U-Boot.
Signed-off-by: Simon Glass
---
arch/sandbox/config.mk | 5 +++--
board/sandbox/README.sandbox | 7 +++
Various nodes have been added and adjusted with sandbox. Move these
changes over to sandbox64.dts to keep these in sync.
Signed-off-by: Simon Glass
---
arch/sandbox/dts/sandbox64.dts | 67 ++
1 file changed, 67 insertions(+)
diff --git a/arch/sandbox/dts/sandbox
Some libraries build by U-Boot may include stdint.h. This is not used by
U-Boot itself and causes conflicts with the types defined in
linux/types.h. To work around this, add an empty file with this name so
that it will be used in preference to the compiler version.
Signed-off-by: Simon Glass
---
U-Boot sandbox can run with valgrind to check memory allocations. Add
documentation on how to do this.
Signed-off-by: Simon Glass
---
board/sandbox/README.sandbox | 14 ++
1 file changed, 14 insertions(+)
diff --git a/board/sandbox/README.sandbox b/board/sandbox/README.sandbox
inde
It doesn't make a lot of sense to hang on sandbox when hang() is called,
since the only way out is Ctrl-C. In fact, Ctrl-C does not work if the
terminal is in raw mode, which it will be if the command-line has not been
reached yet. In that case, Ctrl-Z / kill -9 must be used, which is not
very frie
Add a memory node which indicates the size of sandbox memory.
Signed-off-by: Simon Glass
---
arch/sandbox/dts/sandbox.dts | 6 ++
arch/sandbox/dts/sandbox64.dts | 6 ++
include/configs/sandbox.h | 4
3 files changed, 16 insertions(+)
diff --git a/arch/sandbox/dts/sandbox.dt
This function is used for both SPL and TPL. Add a comment to that effect.
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 106a78ac1c1..4f415c71d63 100644
--- a/arch/sandbox/cpu/spl.c
If bootstage is enabled in TPL it lacks a record count and so does not
build. Fix this by adding a new Kconfig option.
Signed-off-by: Simon Glass
---
common/Kconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/common/Kconfig b/common/Kconfig
index 1a1951f874e..cd0934fff9a 100644
-
This struct is not defined in this header file. Add a forward declaration
so that it can be included in any context.
Signed-off-by: Simon Glass
---
arch/x86/include/asm/coreboot_tables.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/include/asm/coreboot_tables.h
b/arch/x86/inc
Generally block devices are not enabled in TPL, but in case they are,
add a Kconfig option for the block cache. This allows the setting (default
off) to be found with CONFIG_IS_ENABLED().
Signed-off-by: Simon Glass
---
drivers/block/Kconfig | 7 +++
1 file changed, 7 insertions(+)
diff --g
In general we should avoid calling malloc() and free() repeatedly in
U-Boot lest we turn it into tianocore. In SPL this can make SPI flash
unusable since free() is often a nop and allocation space is limited.
In any case, these seems no need for malloc() since the number of bytes
is very small, pe
We normally want to load U-Boot from SPL, but if a board wants to do
something else, it is currently not possible since the standard loader
has the top priority. Lower it to allow other SPL_LOAD_IMAGE_METHOD()
declarations to override it.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/spl.c |
Since the SPI nor conversion, 'sf probe' does not work on sandbox. Fix
this by using the expected compatible string in the flash node.
Signed-off-by: Simon Glass
Fixes: cd35365762 (mtd: sf_probe: remove spi-flash compatible)
---
arch/sandbox/dts/sandbox.dtsi | 2 +-
drivers/spi/Kconfig
Hi Simon,
> Hi Lukasz,
>
> On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote:
> >
> > This commit adds the clk_get_by_id() function, which is responsible
> > for getting the udevice with matching clk->id. Such approach allows
> > re-usage of inherit DM list relationship for the same class
> >
Hi Simon,
> Hi Lukasz,
>
> On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote:
> >
> > This commit adds the clk_get_parent_rate() function, which is
> > responsible for getting the rate of parent clock.
> > Unfortunately, u-boot's DM support for getting parent is different
> > (the parent relat
Hi Simon,
> kHi Lukasz,
>
> On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote:
> >
> > This patch series brings the files from Linux kernel to provide
> > clocks support as it is used on the Linux kernel with common clock
> > framework [CCF] setup.
> >
> > This series also fixes several proble
On Sat, 18 May 2019 10:08:36 -0600
Simon Glass wrote:
> On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote:
> >
> > This commit adds the clk_get_parent() function, which is responsible
> > for getting the parent's struct clock pointer.
> >
> > U-boot's DM support for getting parent is different
Hi Simon,
This is not the newest patch set version of CCF (v3 vs. v4), but the
comments/issues apply.
> Hi Lukasz,
>
> On Thu, 25 Apr 2019 at 04:30, Lukasz Majewski wrote:
> >
> > This patch series brings the files from Linux kernel to provide
> > clocks support as it is used on the Linux kerne
Hi Lukasz,
On Sat, 18 May 2019 at 14:49, Lukasz Majewski wrote:
>
> Hi Simon,
>
> > kHi Lukasz,
> >
> > On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote:
> > >
> > > This patch series brings the files from Linux kernel to provide
> > > clocks support as it is used on the Linux kernel with com
Hi Lukasz,
On Sat, 18 May 2019 at 14:52, Lukasz Majewski wrote:
>
> On Sat, 18 May 2019 10:08:36 -0600
> Simon Glass wrote:
>
> > On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote:
> > >
> > > This commit adds the clk_get_parent() function, which is responsible
> > > for getting the parent's
Hi Lukasz,
On Sat, 18 May 2019 at 15:28, Lukasz Majewski wrote:
>
> Hi Simon,
>
> This is not the newest patch set version of CCF (v3 vs. v4), but the
> comments/issues apply.
>
> > Hi Lukasz,
> >
> > On Thu, 25 Apr 2019 at 04:30, Lukasz Majewski wrote:
> > >
> > > This patch series brings the f
Add driver for the Renesas RCar PCIe controller present on Gen3 SoCs.
The PCIe on Gen3 is used both to connect external PCIe peripherals.
Signed-off-by: Marek Vasut
Cc: Bin Meng
Cc: Nobuhiro Iwamatsu
---
drivers/pci/Kconfig | 8 +
drivers/pci/Makefile | 1 +
drivers/pci/pc
Synchronize R-Car Gen3 defconfigs to remove duplicate pinctrl entries.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
configs/r8a7795_salvator-x_defconfig | 3 ---
configs/r8a7795_ulcb_defconfig| 3 ---
configs/r8a77965_salvator-x_defconfig | 3 ---
configs/r8a77965_ulcb_defconfi
Enable PCIe driver on R-Car Gen3 Salvator-X boards.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
configs/r8a7795_salvator-x_defconfig | 4
configs/r8a77965_salvator-x_defconfig | 4
configs/r8a7796_salvator-x_defconfig | 4
3 files changed, 12 insertions(+)
diff --git
Build an SPL which can be started via SCIF download mode on R-Car Gen3
and allows loading and executing U-Boot uImage with the next stage code.
This is also useful for starting e.g. ATF BL2, which inits the hardware
and returns to the U-Boot SPL, which can then load e.g. U-Boot proper.
The H3, M3-
Hi Tom,
On Sun, May 19, 2019 at 12:07 AM Simon Glass wrote:
>
> Hi Tom,
>
> On Sat, 18 May 2019 at 06:13, Tom Rini wrote:
> >
> > Hey guys,
> >
> > Looking at https://travis-ci.org/trini/u-boot/jobs/534037240 this is the
> > only board that doesn't build (having switched ARM to gcc-8.3 from
> >
72 matches
Mail list logo