On 01.10.18 09:35, AKASHI Takahiro wrote:
> UEFI SCT doesn't run on the latest u-boot (or Alex's efi-next).
> Among other issues, there are two problems around language handling:
> 1. SCT looks for efi_unicode_collation_protocol with an (old?) guid,
> {0x1d85cd7f, 0xf43d, 0x11d2,
>
On Mon, 1 Oct 2018 10:09:55 +0200
Maxime Ripard wrote:
> On Sun, Sep 30, 2018 at 04:16:36PM +0100, André Przywara wrote:
> > On 9/30/18 12:45 AM, Vagrant Cascadian wrote:
> > > From: Vasily Khoruzhick
> > >
> > > A64 supports automatic delay calibration and Linux driver uses it
> > > instead
Hello,
This series re-adds a driver for the Faraday ftgmac100 controller and
its Aspeed variant as as one can find on the OpenPOWER platforms.
I have choosen to remove and re-add the driver to ease review of the
changes, which are numerous, but we can proceed differently if you
prefer.
It was
On Mon, Oct 01, 2018 at 05:37:58PM +0800, Icenowy Zheng wrote:
> >> dtb-$(CONFIG_MACH_SUN9I) += \
> >>sun9i-a80-optimus.dtb \
> >>sun9i-a80-cubieboard4.dtb \
> >> diff --git a/arch/arm/dts/sun50i-a64-pinebook.dts
> >b/arch/arm/dts/sun50i-a64-pinebook.dts
> >> new file mode 100644
> >>
On Mon, Oct 01, 2018 at 09:48:37AM +0100, Andre Przywara wrote:
> On Mon, 1 Oct 2018 10:09:55 +0200
> Maxime Ripard wrote:
>
> > On Sun, Sep 30, 2018 at 04:16:36PM +0100, André Przywara wrote:
> > > On 9/30/18 12:45 AM, Vagrant Cascadian wrote:
> > > > From: Vasily Khoruzhick
> > > >
> > > >
UEFI SCT doesn't run on the latest u-boot (or Alex's efi-next).
Among other issues, there are two problems around language handling:
1. SCT looks for efi_unicode_collation_protocol with an (old?) guid,
{0x1d85cd7f, 0xf43d, 0x11d2,
0x9a, 0x0c, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d)
2.
Hi,
On Sat, Sep 29, 2018 at 04:45:52PM -0700, Vagrant Cascadian wrote:
> From: Vasily Khoruzhick
>
> Allwinner A64 has a I2C controller, which is in the R_ MMIO zone and has
> two groups of pinmuxes on PL bank, so it's called R_I2C.
>
> Add support for this I2C controller and the pinmux which
This is a large update of the AST2500 SoC DTS file bringing it to the
level of commit 927c2fc2db19 :
Author: Joel Stanley
Date:Sat Jun 2 01:18:53 2018 -0700
ARM: dts: aspeed: Fix hwrng register address
There are some differences on the compatibility property names. scu,
The Faraday ftgmac100 MAC controllers as found on the Aspeed SoCs have
some slight differences in the HW interface (End-Of-Rx/Tx-Ring bits).
Signed-off-by: Cédric Le Goater
---
Changes since v1:
- introduced a udevice_id .data model
- dropped is_aspeed bool
- dropped MDIO interface setting
Signed-off-by: Cédric Le Goater
Reviewed-by: Joel Stanley
Reviewed-by: Simon Glass
---
drivers/clk/aspeed/clk_ast2500.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/aspeed/clk_ast2500.c b/drivers/clk/aspeed/clk_ast2500.c
index 526470051c5d..2182320f607f 100644
---
On Sun, Sep 30, 2018 at 03:24:56PM -0400, Tom Rini wrote:
> On Mon, Sep 17, 2018 at 05:50:00PM +0100, Liviu Dudau wrote:
>
> > The Arm Versatile Express and Juno development boards contain an
> > OSC clock generator that can be accessed through the Versatile
> > Express config bus. The generators
From: Thomas RIENOESSL
Signed-off-by: Thomas RIENOESSL
---
net/nfs.c | 93 ++-
1 file changed, 51 insertions(+), 42 deletions(-)
diff --git a/net/nfs.c b/net/nfs.c
index 81c08de626..d3de9b8c38 100644
--- a/net/nfs.c
+++ b/net/nfs.c
@@ -440,6
From: Thomas RIENOESSL
Prep. work to support nfs v1.
Signed-off-by: Thomas RIENOESSL
---
net/nfs.c | 79 +++
1 file changed, 45 insertions(+), 34 deletions(-)
diff --git a/net/nfs.c b/net/nfs.c
index d6a7f8e827..81c08de626 100644
---
于 2018年10月1日 GMT+08:00 下午4:17:24, Maxime Ripard 写到:
>On Sat, Sep 29, 2018 at 04:45:53PM -0700, Vagrant Cascadian wrote:
>> From: Vasily Khoruzhick
>>
>> Pinebook is a laptop produced by Pine64, with USB-connected keyboard,
>> USB-connected touchpad and an eDP LCD panel connected via a RGB-eDP
On Sun, Sep 30, 2018 at 04:16:36PM +0100, André Przywara wrote:
> On 9/30/18 12:45 AM, Vagrant Cascadian wrote:
> > From: Vasily Khoruzhick
> >
> > A64 supports automatic delay calibration and Linux driver uses it
> > instead of hardcoded delays. Add support for it to u-boot driver.
>
> So
There are too many changes in the following patch fixing support for
the Faraday ftgmac100 controller. To ease the review, remove the whole
file which is not compiled anymore today (no Kconfig option for the
driver).
Signed-off-by: Cédric Le Goater
---
drivers/net/ftgmac100.h | 242
The driver is based on the previous one and adds the same support for
the Faraday ftgmac100 controller with MAC and MDIO bus support for
RGMII/RMII modes.
Driver model support was added as well as some enhancements and fixes.
Signed-off-by: Cédric Le Goater
Reviewed-by: Simon Glass
---
On Sat, Sep 29, 2018 at 4:29 PM Miquel Raynal wrote:
>
> include/mtd.h might be included by files even if CONFIG_DM is not
> enabled. In this case, the call to dev_get_uclass_priv() would trigger
> a build error. Because this helper has no user, let's drop it off.
Why would they use DM include
On Sat, Sep 29, 2018 at 04:45:53PM -0700, Vagrant Cascadian wrote:
> From: Vasily Khoruzhick
>
> Pinebook is a laptop produced by Pine64, with USB-connected keyboard,
> USB-connected touchpad and an eDP LCD panel connected via a RGB-eDP
> bridge from Analogix.
>
> Signed-off-by: Icenowy Zheng
Signed-off-by: Cédric Le Goater
Reviewed-by: Simon Glass
---
arch/arm/dts/ast2500-evb.dts | 23 +++
1 file changed, 23 insertions(+)
diff --git a/arch/arm/dts/ast2500-evb.dts b/arch/arm/dts/ast2500-evb.dts
index 723941ac0bee..ebf44fd707f9 100644
---
The algorithm in the ast2500_calc_clock_config() routine suffers from
integer rounding and the requested rate does not get the appropriate
set of Numerator, Denumerator, Post Divider parameters.
This is the case for the D2-PLL clock used by the MAC controllers in
RGMII mode. The requested rated
From: Thomas RIENOESSL
NFSv1 support added by Christian Gmeiner, Thomas Rienoessl,
September 27, 2018. As of now, NFSv3 is the default choice.
if the server does not support NFSv3, we fall back to
versions 2 or 1.
Signed-off-by: Thomas RIENOESSL
---
net/nfs.c | 42
From: Thomas RIENOESSL
Signed-off-by: Thomas RIENOESSL
---
net/nfs.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/net/nfs.c b/net/nfs.c
index d3de9b8c38..bd6588fe42 100644
--- a/net/nfs.c
+++ b/net/nfs.c
@@ -531,11 +531,9 @@ static int nfs_mount_reply(uchar
Hi Jagan,
Jagan Teki wrote on Mon, 1 Oct 2018
15:23:46 +0530:
> On Sat, Sep 29, 2018 at 4:29 PM Miquel Raynal
> wrote:
> >
> > include/mtd.h might be included by files even if CONFIG_DM is not
> > enabled. In this case, the call to dev_get_uclass_priv() would trigger
> > a build error.
On Mon, Oct 01, 2018 at 07:36:12AM -0400, Tom Rini wrote:
> On Mon, Oct 01, 2018 at 10:20:22AM +0100, Liviu Dudau wrote:
> > On Sun, Sep 30, 2018 at 03:24:56PM -0400, Tom Rini wrote:
> > > On Mon, Sep 17, 2018 at 05:50:00PM +0100, Liviu Dudau wrote:
> > >
> > > > The Arm Versatile Express and
On Monday 01 October 2018 07:10 PM, Miquel Raynal wrote:
Hi Jagan,
Jagan Teki wrote on Mon, 1 Oct 2018
17:08:30 +0530:
On Mon, Oct 1, 2018 at 3:32 PM Miquel Raynal wrote:
Hi Jagan,
Jagan Teki wrote on Mon, 1 Oct 2018
15:23:46 +0530:
On Sat, Sep 29, 2018 at 4:29 PM Miquel Raynal
On Mon, Oct 01, 2018 at 04:16:45PM +0100, Liviu Dudau wrote:
> On Mon, Oct 01, 2018 at 07:36:12AM -0400, Tom Rini wrote:
> > On Mon, Oct 01, 2018 at 10:20:22AM +0100, Liviu Dudau wrote:
> > > On Sun, Sep 30, 2018 at 03:24:56PM -0400, Tom Rini wrote:
> > > > On Mon, Sep 17, 2018 at 05:50:00PM
On 09/26/2018 03:55 PM, Simon Glass wrote:
It is sometimes useful to restart sandbox with some particular flags to
test certain functionality. Add a new method to ConsoleSandbox to handle
diff --git a/test/py/u_boot_console_sandbox.py
b/test/py/u_boot_console_sandbox.py
@@ -22,8 +22,8 @@
On Monday 01 October 2018 07:13 PM, Miquel Raynal wrote:
There should not be a 'nand' command, a 'sf' command and certainly not
a new 'spi-nand' command. Write a 'mtd' command instead to manage all
MTD devices/partitions at once. This should be the preferred way to
access any MTD device.
Hey all,
So it's release day and I've put up v2018.11-rc1. The merge window is
now closed and I've updated git and the tarballs are also up now.
Looking back to v2018.09, I had hoped to include the entire SPI-NAND
series in that release. We're not there quite yet, but I expect a final
PR
On Mon, Oct 01, 2018 at 05:31:53PM +0300, Eugen Hristev wrote:
> Updated the maintainership for the at91 boards.
>
> Signed-off-by: Eugen Hristev
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
___
U-Boot mailing
We should not call eth_rx() before the network interface is initialized.
The services of the simple network protocol should check the state of
the network adapter.
Provide a correctly aligned transmit buffer not depending on
CONFIG_EFI_LOADER_BOUNCE_BUFFER.
Correct the unit test.
Add and
On 09/26/2018 07:42 AM, Simon Glass wrote:
> Hi Marek,
>
> On 21 September 2018 at 16:59, Marek Vasut wrote:
>> The code fails to check if ops is non-NULL before using it's members.
>> Add the missing check and while at it, flip the condition to make it
>> more obvious what is actually
On 09/25/2018 05:26 PM, Bin Meng wrote:
> Hi Marek,
>
> On Sat, Sep 22, 2018 at 7:02 AM Marek Vasut wrote:
>>
>> Add PCI entry without compatible string and with a DT node only with
>> reg = <...> property into the DT. This is needed for the tests to
>> verify whether such a setup creates an
Add get_pin_muxing() allows to display the muxing of
a given pin belonging to a pin-controller
Signed-off-by: Patrice Chotard
---
Changes in v2:
- Replace pinmux_show ops which displayed the complete pin-controller
muxing by get_pin_muxing ops which displays the muxing of one pin
On Sun, Sep 30, 2018 at 01:06:10PM -0700, Simon Glass wrote:
> Hi Tom,
>
> Here are some binman and core driver-model enhancements.
>
> https://travis-ci.org/sglass68/u-boot/builds/435045761
>
> Re signed tags, I did read this link:
>
>
pinmux command allows to :
- list all pin-controllers available on platforms
- select a pin-controller
- display the muxing of all pins of the current pin-controller
or all pin-controllers depending of given options
Signed-off-by: Patrice Chotard
---
Changes in v2:
- In order to make pin
Add get_pin_muxing() ops to obtain the pin muxing description
a given pin index.
Signed-off-by: Patrice Chotard
---
Changes in v2: None
drivers/pinctrl/pinctrl_stm32.c | 77 +
1 file changed, 77 insertions(+)
diff --git
Add get_pin_mux ops support to display the pin muxing
description of the sandbox_pins[]
Signed-off-by: Patrice Chotard
---
Changes in v2: None
drivers/pinctrl/pinctrl-sandbox.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/drivers/pinctrl/pinctrl-sandbox.c
This patch adds gpio get_function ops support.
This function reports the state of a gpio.
Signed-off-by: Christophe Kerello
Reviewed-by: Simon Glass
Signed-off-by: Patrice Chotard
---
Changes in v2: None
drivers/gpio/stm32f7_gpio.c | 20
1 file changed, 20 insertions(+)
Add get_pins_count ops to obtain the number of pins
owns by a pin-controller.
On STM32 SoCs bindings, each pin-controller owns
several gpio banks. Each GPIO bank can own up to 16 pins.
To obtain the total pins count, walk through each sub-nodes
(ie GPIO banks) and sum each GPIO banks pins number.
On Tue, 25 Sep 2018 13:28:14 +0200
Lukasz Majewski wrote:
> Dear All,
>
> > This series aims at bringing improvements to the dwc3_generic driver
> > so that it can be used by most of the platforms using the dwc3
> > controller.
> >
> > I tested this on with DRA7 and AM57x platforms for both
On Mon, Sep 3, 2018 at 5:22 PM Adam Ford wrote:
>
> On Mon, Sep 3, 2018 at 5:21 PM Adam Ford wrote:
> >
> > On Mon, Sep 3, 2018 at 12:30 PM Jagan Teki
> > wrote:
> > >
> > > Davanci spi driver has DM support already, this patch
> > > add support for platdata so-that SPL can use it for
> > >
Of CONFIG_OF_TRANSLATE is enabled, this function still returns
untranslated bogus results. Add the missing translation.
Signed-off-by: Marek Vasut
Cc: Simon Glass
Cc: Tom Rini
---
V2: - Use np directly
- Drop extra of_n_addr_cells
---
drivers/core/ofnode.c | 6 +-
1 file changed, 5
The size should be decoded using of_n_size_cells(), make it so.
Signed-off-by: Marek Vasut
Cc: Simon Glass
Cc: Tom Rini
---
V2: New patch
---
drivers/core/ofnode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c
index
Add get_pin_name ops to obtain a pin name given a
pin index of a specified pin-controller.
Signed-off-by: Patrice Chotard
---
Changes in v2: None
drivers/pinctrl/pinctrl_stm32.c | 47 +
1 file changed, 47 insertions(+)
diff --git
On Mon, Oct 01, 2018 at 10:20:22AM +0100, Liviu Dudau wrote:
> On Sun, Sep 30, 2018 at 03:24:56PM -0400, Tom Rini wrote:
> > On Mon, Sep 17, 2018 at 05:50:00PM +0100, Liviu Dudau wrote:
> >
> > > The Arm Versatile Express and Juno development boards contain an
> > > OSC clock generator that can
Hi Ramon,
> MSM variant of Chipidea must reinitalize the phy
> after controller reset.
> Introduce ci_init_after_reset() weak function that
> can be used to achieve the above init.
>
> Signed-off-by: Ramon Fried
> ---
>
> Changes in v2: None
>
> drivers/usb/gadget/ci_udc.c | 6 ++
> 1
Hi Ramon,
> change writel to writebits32 in ci_pullup() in order
> to keep phy configuration in tact.
>
> Signed-off-by: Ramon Fried
> ---
>
> Changes in v2:
> Patch introduced
>
> drivers/usb/gadget/ci_udc.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git
I shall test this today or tomorrow, but have too many things on my
head, sorry :(
You saying that this will fix reading large files? I haven't
encountered such an error yet, but can try creating a large enough
file. How large should it be?
On Mon, 1 Oct 2018 08:50:11 +0300
Yevgeny Popovych
On Mon, Oct 1, 2018 at 3:32 PM Miquel Raynal wrote:
>
> Hi Jagan,
>
> Jagan Teki wrote on Mon, 1 Oct 2018
> 15:23:46 +0530:
>
> > On Sat, Sep 29, 2018 at 4:29 PM Miquel Raynal
> > wrote:
> > >
> > > include/mtd.h might be included by files even if CONFIG_DM is not
> > > enabled. In this case,
Add pinctrl_get_pin_name() and pinctrl_get_pins_count() methods
to obtain pin's name and pin's muxing given a pin reference.
This will be used by the new pinmux command.
Signed-off-by: Patrice Chotard
---
Changes in v2: None
drivers/pinctrl/pinctrl-uclass.c | 22 ++
Add uclass_foreach_dev_probe() which iterates through
devices of a given uclass. Devices are probed if necessary
and are ready to use.
Signed-off-by: Patrice Chotard
---
Changes in v2: None
include/dm/uclass.h | 16
1 file changed, 16 insertions(+)
diff --git
At present to output a log message you need something like:
log(UCLASS_SPI, LOCL_INFO, "message1");
log(UCLASS_SPI, LOCL_INFO, "message2");
but many files use the same category throughout. Also it is helpful to
shorten the length of log names, providing helpers for common logging
levels.
When debugging sandbox it is sometimes annoying that the memory file is
deleted early on. If sandbox later crashes or we quit (using the
debugger), it is not possible to run it again with the same state since
the memory file is gone.
Remove the old memory file when sandbox exits, instead. Also
It is useful to be able to set the default log level from the command line
when running sandbox. Add a new -L command-line flag for this. The log
level is set using the enum log_level_t in log.h. At present a number must
be specified, e.g. -L7 for debug.
Signed-off-by: Simon Glass
---
This driver was originally written against Chromium OS circa 2012. A few
new features have been added. Enhance the TPM driver to match. This mostly
includes a few new messages and properly modelling whether a particular
'space' is present or not.
Signed-off-by: Simon Glass
---
On 08/22/2018 06:15 PM, ying.zhang22...@nxp.com wrote:
> From: Zhang Ying-22455
>
> * Add mpc8xxx_gpio_plat for for Layerscape SoC
> * Make the mpc8xxx driver capable of handling Layerscape Soc.
>
> Signed-off-by: Zhang Ying-22455
> ---
> arch/arm/include/asm/arch-fsl-layerscape/gpio.h|
Add logging to aid debugging features in these drivers. Also drop some
code in sandbox_spi_xfer() which is not used.
Signed-off-by: Simon Glass
---
drivers/mtd/spi/sandbox.c | 54 +--
drivers/spi/sandbox_spi.c | 38 +++
include/log.h
At present files are not truncated on writing. This is a useful feature.
Add support for this.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/os.c | 2 ++
include/os.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c
index
At present sandbox sets non-blocking I/O as soon as any input is read
from the terminal. However it does not restore the previous state on
exit. Fix this and drop the old os_read_no_block() function.
This means that we always enable blocking I/O in sandbox (if input is a
terminal) whereas
At present sandbox assumes that device-tree control is active, but this
may not be the case in SPL or TPL. Add some conditions to handle this.
Signed-off-by: Simon Glass
---
drivers/serial/sandbox.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/serial/sandbox.c
Now that we don't have to deal with the command-line flag we can simplify
the code for detecting the emulator. Remove the lookup based on the SPI
specification, relying just on the device tree to locate the emulator.
Signed-off-by: Simon Glass
---
arch/sandbox/include/asm/state.h | 1 -
On 08/22/2018 06:15 PM, ying.zhang22...@nxp.com wrote:
> From: Zhang Ying-22455
>
> * Add mpc8xxx_gpio_plat for for Layerscape SoC
> * Make the mpc8xxx driver capable of handling Layerscape Soc.
>
> Signed-off-by: Zhang Ying-22455
> ---
> arch/arm/include/asm/arch-fsl-layerscape/gpio.h|
This series adds TPL support to sandbox and tidies up various other things
along the way:
- Fix for console being left in non-blocking mode on exit
- Add debug UART (just for build coverage)
- Support for serial output without DT (intended for TPL)
- Enhancements to the sandbox TPM driver
-
Add support for the debug UART so that sandbox provides build testing for
this feature.
Signed-off-by: Simon Glass
---
configs/sandbox_defconfig | 2 ++
drivers/serial/Kconfig| 11 +++
drivers/serial/sandbox.c | 17 +
3 files changed, 30 insertions(+)
diff --git
For debugging it is sometimes useful to write out data for inspection
using an external tool. Add a function which can write this data to a
given file.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/os.c | 20
include/os.h | 13 +
2 files changed, 33
At present we support specifying SPI flash devices to use in the device
tree and on the command line. Drop the second option, since it is a pain
to support nicely with driver model, and unnecessary.
Signed-off-by: Simon Glass
---
drivers/mtd/spi/sandbox.c | 122
At present we support booting from SPL to U-Boot proper. Add support for
the previous stage too, so sandbox can be started with TPL.
Signed-off-by: Simon Glass
---
arch/sandbox/cpu/os.c | 29 +++--
1 file changed, 27 insertions(+), 2 deletions(-)
diff --git
Hi Tom,
On 1 October 2018 at 05:54, Tom Rini wrote:
> On Sun, Sep 30, 2018 at 01:06:10PM -0700, Simon Glass wrote:
>
>> Hi Tom,
>>
>> Here are some binman and core driver-model enhancements.
>>
>> https://travis-ci.org/sglass68/u-boot/builds/435045761
>>
>> Re signed tags, I did read this link:
Hi Joe,
When I start sandbox now I see these errors every time. It is possible
to fix this?
$ u-boot -D
...
Warning: host_lo MAC addresses don't match:
Address in ROM is ea:06:97:67:f4:b6
Address in environment is 00:00:11:22:33:44
Warning: host_eth0 MAC addresses don't match:
Address
On 08/22/2018 06:15 PM, ying.zhang22...@nxp.com wrote:
> From: Zhang Ying-22455
>
> Signed-off-by: Zhang Ying-22455
> ---
> arch/arm/dts/fsl-ls1088a-qds.dts | 57
>
> arch/arm/dts/fsl-ls1088a-rdb.dts | 40
>
At present there are many situations where sandbox syncs the display to
the SDL frame buffer. This is a very expensive operation but is only
needed every now and then. Update video_sync() so that we can specify
whether this operation is really needed.
At present this flag is not used on other
On 08/22/2018 06:15 PM, ying.zhang22...@nxp.com wrote:
> From: Zhang Ying-22455
>
> Signed-off-by: Zhang Ying-22455
> ---
> configs/ls1043ardb_SECURE_BOOT_defconfig| 2 ++
> configs/ls1043ardb_defconfig| 2 ++
> configs/ls1043ardb_nand_SECURE_BOOT_defconfig | 2 ++
Use an enum for command values instead of open-coding them. This removes
the need for comments. Also make sure the driver returns proper error
numbers instead of -1.
Signed-off-by: Simon Glass
---
drivers/tpm/tpm_tis_sandbox.c | 20 ++--
include/tpm-v1.h | 14
At present 'make check' leaves some temporary directories around. Part of
this is because we call tools.PrepareOutputDir() twice in some cases,
without calling tools.FinaliseOutputDir() in between.
Fix this.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/elf_test.py | 5
On my Ubuntu 18.04.1 machine two driver-model bus tests have started
failing recently. The problem appears to be that the DATA region of the
executable is protected. This does not seem correct, but perhaps there
is a reason.
To work around it, unprotect the regions in these tests before accessing
This variable is not documented or set up in the module. Fix this.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/patman/tools.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/patman/tools.py b/tools/patman/tools.py
index 1c9bf4e8100..bf099798e65 100644
---
The filenames of the toolchains on kernel.org changes every now and then.
Fix it for the current change, and make the test use a regex so that it
has a better chance of passing with future changes too.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/buildman/test.py | 6 --
1
At present the unicode filtering seems to get confused at times with
this error:
UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position
32: ordinal not in range(128)
It seems to be due to self._nonprint being interpreted as UTF-8. Fix it
by using ordinals instead of
At present the tests run one after the other using a single CPU. This is
not very efficient. Bring in the concurrencytest module and run the tests
concurrently, using one process for each CPU by default. A -P option
allows this to be overridden, which is necessary for code-coverage to
function
We only need to run driver-model tests with this config, since this is the
only thing that is different when CONFIG_OF_LIVE is not defined. Filter
out the other tests to same time.
Signed-off-by: Simon Glass
---
Changes in v2:
- Add new patch to reduce the number of tests run with
Heinrich,
On Fri, Sep 28, 2018 at 01:24:42PM +0900, AKASHI Takahiro wrote:
> Heinrich,
>
> On Fri, Sep 28, 2018 at 04:35:57AM +0200, Heinrich Schuchardt wrote:
> > On 08/09/2018 08:50 AM, AKASHI Takahiro wrote:
> > > Currently, unload function in EFI_LOADED_IMAGE_PROTOCOL is never called
> > >
This series includes a number of small changes designed to make tests run
more smoothly. The overall goal is that 'make check' runs cleanly without
unnecessary output and all temporary files aare cleaned up.
Changes in v2:
- Quote @$ correctly so that quoted arguments can be passed to run_test
-
From: Stephen Warren
After a test has failed, test/py drains the U-Boot console log to ensure
that any relevant output is captured. At this point, we don't care about
detecting any additional errors, since the test is already known to have
failed, and U-Boot will be restarted. To ensure that the
At present the tests are run without any indication of what is running.
For the tests which start with a build this is pretty obvious, but for
tools it is not.
Add a name for each test we run, and print it before starting the test.
Signed-off-by: Simon Glass
---
Changes in v2:
- Quote @$
With Python 2.7.15rc1, ConfigParser.SafeConfigParser has unfortunately
started returning unicode, for unknown reasons. Adjust the code to handle
this by converting everything to unicode. We cannot convert things to
ASCII since email addresses may be encoded with UTF-8.
Signed-off-by: Simon Glass
There are a few test cases which print output. Suppress this so that tests
can run silently in the normal case.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/buildman/test.py | 4 +++-
tools/dtoc/test_dtoc.py | 6 --
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git
Do not leak native_name if out of memory.
This addresses CoverityScan CID 184095.
Reported-by: Tom Rini
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_variable.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/efi_loader/efi_variable.c
Do not leak filename_copy in case of error.
Catch out of memory when calling strdup.
This addresses Coverity Scan CID 184086.
Reported-by: Tom Rini
Signed-off-by: Heinrich Schuchardt
---
fs/fat/fat_write.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git
At present calling Uninit() always called ClearProgress() which outputs
a \r character as well as spaces to remove any progress information on the
line. This can mess up the normal output of binman and other tools. Fix
this by outputing this only when progress information has actually been
The 'result' variable counts the number of failures in running the tests.
Rename it to 'failures' to make this more obvious. Also tidy up a few
comments.
Signed-off-by: Simon Glass
---
Changes in v2: None
test/run | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git
This module is often available in the sandbox_spl build created by
'make check'. Use this as a default path so that just typing 'binman -t'
(without setting PYTHONPATH) will generally run the tests.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/binman.py | 2 ++
At present this test runs binman twice, which means that the temporary
files from the first run do not get cleaned up. Split this into two tests
to fix this problem.
Signed-off-by: Simon Glass
---
Changes in v2: None
tools/binman/ftest.py | 4 +++-
1 file changed, 3 insertions(+), 1
Use 'export' to avoid repeating the path setup for each command.
Signed-off-by: Simon Glass
---
Changes in v2: None
test/run | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/test/run b/test/run
index d77a1c371b4..6b73813f9bc 100755
--- a/test/run
+++
At present we use 'make tests' to run the tests. For many projects
'make check' is more common, so support that as well. Also add some help
to 'make help'.
Signed-off-by: Simon Glass
---
Changes in v2: None
Makefile | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git
When is_dir() is called we have already execute set_blk_dev(fh).
So don't call it again.
This fixes CoverityScan CID 184093.
Reported-by: Tom Rini
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_file.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git
Use a return type that can encompass the return value.
This fixes CoverityScan CID 184090.
Reported-by: Tom Rini
Signed-off-by: Heinrich Schuchardt
---
include/efi_loader.h | 2 +-
lib/efi_loader/efi_console.c | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git
getc() might return an error code. Avoid an incorrect converison to
Unicode.
This addresses CoverityScan CID 184087.
Reported-by: Tom Rini
Signed-off-by: Heinrich Schuchardt
---
lib/charset.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/lib/charset.c
For debug purpose, it's useful to know the pins muxing
to check if a pin is configured as a GPIO or as an alternate
function and to get information about this alternate function
configuration. For this purpose a new command pinmux is implemented.
This series adds:
- Add get_pin_muxing ops to
1 - 100 of 179 matches
Mail list logo