Hi Patrick
On 5/20/22 18:38, Patrick Delaunay wrote:
> Replace reference to the correct name STMicroelectronics
>
> Signed-off-by: Patrick Delaunay
> ---
>
> arch/arm/Kconfig | 2 +-
> arch/arm/cpu/armv7/stv0991/lowlevel.S | 2 +-
> arch/arm/mach-sti/Kconfig |
hi Takahiro,
On Thu, 16 Jun 2022 at 06:31, Takahiro Akashi
wrote:
>
> Sughosh,
>
> On Wed, Jun 15, 2022 at 04:19:56PM +0530, Sughosh Ganu wrote:
> > On Wed, 15 Jun 2022 at 10:41, Takahiro Akashi
> > wrote:
> > >
> > > On Thu, Jun 09, 2022 at 05:59:58PM +0530, Sughosh Ganu wrote:
> > > > The Depe
On 15.06.22 20:00, Tom Rini wrote:
Hey all,
As I migrate assorted CONFIG options over to Kconfig, a common problem I
run in to is that between m68k, PowerPC and ARM (both Layerscape and
sometimes i.MX) there are options that fit under more than one
architecture but also don't have a good place t
-imx.git
tags/u-boot-imx-20220616
for you to fetch changes up to 1a558fafbbdff80cb6a7c8e883addec7f02fe8e5:
spi: nxp_fspi: Fix clock imbalance (2022-06-15 11:34:38 +0200)
u-boot-imx-20220616
---
Fixes for 2022.07
Hi Tom,
on -next there is a cleanup for next release. Please pull into your
-next branch:
CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/12312
The following changes since commit a87a6fcd20c0e29fe55bfbb6917c4aa1f1bbce74:
Merge branch '2022-06-10-assorted-platform-updat
Hi Pawel,
> -Original Message-
> From: Paweł Anikiel
> Sent: Thursday, 26 May, 2022 10:37 PM
> To: Vasut, Marek ; simon.k.r.goldschm...@gmail.com;
> Chee, Tien Fong ; michal.si...@xilinx.com
> Cc: u-boot@lists.denx.de; s...@chromium.org; feste...@denx.de;
> ja...@amarulasolutions.com; and
> -Original Message-
> From: Maniyam, Dinesh
> Sent: Tuesday, 31 May, 2022 4:06 PM
> To: u-boot@lists.denx.de
> Cc: Chee, Tien Fong ; Hea, Kok Kiang
> ; Gan, Yau Wai ; Kho,
> Sin Hui ; Lokanathan, Raaj
> ; Maniyam, Dinesh
>
> Subject: [PATCH] arm: dts: socfpga: agilex: Add freeze contro
> -Original Message-
> From: Maniyam, Dinesh
> Sent: Tuesday, 31 May, 2022 4:15 PM
> To: u-boot@lists.denx.de
> Cc: Chee, Tien Fong ; Hea, Kok Kiang
> ; Gan, Yau Wai ; Kho,
> Sin Hui ; Lokanathan, Raaj
> ; Maniyam, Dinesh
>
> Subject: [PATCH] arm: dts: socfpga: stratix10: Add freeze co
> -Original Message-
> From: Maniyam, Dinesh
> Sent: Wednesday, 1 June, 2022 3:55 PM
> To: u-boot@lists.denx.de
> Cc: Vasut, Marek ; Simon Goldschmidt
> ; Chee, Tien Fong
> ; Hea, Kok Kiang ;
> Gan, Yau Wai ; Kho, Sin Hui
> ; Lokanathan, Raaj ;
> Maniyam, Dinesh ; Chee Hong Ang
>
> Sub
> -Original Message-
> From: Maniyam, Dinesh
> Sent: Wednesday, 1 June, 2022 3:57 PM
> To: u-boot@lists.denx.de
> Cc: Vasut, Marek ; Simon Goldschmidt
> ; Chee, Tien Fong
> ; Hea, Kok Kiang ;
> Gan, Yau Wai ; Kho, Sin Hui
> ; Lokanathan, Raaj ;
> Maniyam, Dinesh
> Subject: [PATCH] driv
> -Original Message-
> From: Maniyam, Dinesh
> Sent: Wednesday, 1 June, 2022 6:49 PM
> To: u-boot@lists.denx.de
> Cc: Vasut, Marek ; Simon Goldschmidt
> ; Lim, Elly Siew Chin
> ; Chee, Tien Fong
> ; Hea, Kok Kiang ;
> Gan, Yau Wai ; Kho, Sin Hui
> ; Lokanathan, Raaj ;
> Maniyam, Dinesh
ft_board_setup relies on the board_type() function to optimize which phy
nodes need to be enabled for Linux.
Add calls to setup and release the board-detect GPIOs.
Also fix the switch-case statement to only enable phy address 4 for
Cubox and unknown devices.
Fixes: 741ce308 ("mx6cuboxi: fixup dtb
Hi Stefano,
Thank you for applying this patchset.
This patch had a functional flaw that I was intending to address in v3.
Instead I have now followed up with a separate patch:
[PATCH] mx6cuboxi: fix board detection while patching device-tree phy nodes
Please make sure this one is added too.
sin
Hi all,
I am thinking to extend binman to generate i.MX container
header and IVT header, that means to replace mkimage to generate header.
There is an NXP downstream imx-mkimage that diverge from upstream that
double effort. There are still require quite effort to migrate downstream
imx-mkimage t
Hi all,
Sometimes ago I submitted a patch to fix the support for the DWC3
controller on the imx8mq which, unlike most DWC3 implementation, doesn't
use a top glue node with child DWC3 nodes. Instead it has the DWC3 node
directly on the main bus.
Angus Ainslie then asked why this patch was needed a
N¬Æ§Kó0K"wë,j¸ó7ß^¼÷a8ïEPÁëÎ4÷¢æè¢Ùb²Ûz|]zæè¢Ùb²Ûz|]x zË^½©
¨¥rzË^½©
¨¥r®n-lgÆ(æè¢Ø¦Æ|ir¬m¦âqקÅ׬m¦âqקÅ×¹¸ÞrÔ^<Â)±²Cyö®ÛhHðð
éÛ¢bë¢eÇ«©]£ 塧Cj×íz&éöÓm´ó7ßí4Ó@¨×§´¶§æ
yéÔH*'µéíO*^µìmþZw!j»
在 2022/4/25 20:29, Pali Rohár 写道:
Currently CONFIG_SPL_TEXT_BASE and CONFIG_SYS_TEXT_BASE addresses are
manually increased by 0x1000 due to .bootpg section. This section has size
of 0x1000 bytes and is manually put by linker script before .text section
(and therefore before base address) when
在 2022/4/25 22:12, Pali Rohár 写道:
On some boards upper 4 bits of i2c boot input data (register 0) are
inverted. Information which bits are inverted is stored in register 2.
So invert read input data back according to register 2 prior processing
them. This fixes printing "rom_loc: value" line
在 2022/4/25 22:50, Pali Rohár 写道:
All *boot env commands overrides default boot source location via i2c.
After board reset without power off, BootROM then starts booting U-Boot
from this specified location instead of the default one.
Add new env command defboot which reverts boot location to
On Thursday 16 June 2022 16:57:42 Peng Fan (OSS) wrote:
> 在 2022/4/25 20:29, Pali Rohár 写道:
> > Currently CONFIG_SPL_TEXT_BASE and CONFIG_SYS_TEXT_BASE addresses are
> > manually increased by 0x1000 due to .bootpg section. This section has size
> > of 0x1000 bytes and is manually put by linker scri
Hello.
Thank you for your work, simplifying and generalizing code,
and sorry that I hadn't seen this series before.
I'm new to U-Boot so I'm sorry if I waste your time with silly
questions, but I can't seem to understand some details.
1- Does some info->read implementation ever want its buffer
On 6/13/22 00:13, Sean Anderson wrote:
The synopsis section is a bit messy. As an example, "uimage file name" is
printed in italics, bold, and roman (depending on the line). This cleans
things up and converts the synopsis section to use standard style. The
.SY/.YS macros set up appropriate fomatt
On 6/13/22 00:14, Sean Anderson wrote:
Square brackets are commonly used to denote optional parts of a command.
However, all option arguments are mandatory. Remove these brackets. This
also removes some unnecessary quotation marks, and uses hyphens to connect
words in option arguments.
Signed-of
On 6/13/22 00:14, Sean Anderson wrote:
The options are divided up into several subsections. Use the appropriate
macro. While we're at it, rename the headings to better reflect the
contents of their sections.
Signed-off-by: Sean Anderson
---
Changes in v2:
- Rename first subsection to "General
wrong end address passed to flush_dcache_range.
modified the flush_dache logic for scatter list elements.
Fixes: 1919f58a8f (crypto/fsl: fsl_hash: Fix dcache issue in caam_hash_finish)
Signed-off-by: Gaurav Jain
---
changes in v3:
- fix error: left shift count >= width of
type [-Werror=shift-co
Hi Roger,
On 15/06/22 19:14, Roger Quadros wrote:
Hi Neha,
On 15/06/2022 09:48, Neha Malcom Francis wrote:
tispl.bin is to be packaged (with ATF, OPTEE, DM and A72 SPL) using
binman. The tispl.bin target from the makefile is no longer needed for
J721E.
Signed-off-by: Neha Malcom Francis
---
On 16.06.22 10:44, Josua Mayer wrote:
Hi Stefano,
Thank you for applying this patchset.
This patch had a functional flaw that I was intending to address in v3.
Instead I have now followed up with a separate patch:
[PATCH] mx6cuboxi: fix board detection while patching device-tree phy nodes
Pl
Hi Andrew,
On 15/06/22 21:07, Andrew Davis wrote:
On 6/15/22 1:47 AM, Neha Malcom Francis wrote:
For K3 devices that require a sysfw image, add entry for SYSFW. It can
contain system firmware image that can be packaged into sysfw.itb by
binman.
HS devices do this very differently, even an R
If CONFIG_CC_OPTIMIZE_FOR_DEBUG=y, the host tools should be built with
debug symbols and with reduced optimization.
Signed-off-by: Heinrich Schuchardt
---
Makefile | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Makefile b/Makefile
index 2fa3a3b488..faa01eadd7 100644
--- a/Makefile
+++
On 6/13/22 00:14, Sean Anderson wrote:
This tool seems a bit underloved. Unfortunately, it seems to be missing
support for FIT images. Alas...
Add a man page documenting it. The example is taken from commit a804b5ce2d
("Add dumpimage, a tool to extract data from U-Boot images").
Signed-off-by:
Currently CONFIG_SPL_TEXT_BASE and CONFIG_SYS_TEXT_BASE addresses are
manually increased by 0x1000 due to .bootpg section. This section has size
of 0x1000 bytes and is manually put by linker script before .text section
(and therefore before base address) when CONFIG_SYS_MPC85XX_NO_RESETVEC is
set.
Hi Peng,
On Thu, Jun 16, 2022 at 5:45 AM Peng Fan wrote:
>
> Hi all,
>
> I am thinking to extend binman to generate i.MX container
> header and IVT header, that means to replace mkimage to generate header.
>
> There is an NXP downstream imx-mkimage that diverge from upstream that
> double effort.
Hi Gaurav,
On Thu, Jun 16, 2022 at 7:10 AM Gaurav Jain wrote:
>
> wrong end address passed to flush_dcache_range.
> modified the flush_dache logic for scatter list elements.
>
> Fixes: 1919f58a8f (crypto/fsl: fsl_hash: Fix dcache issue in caam_hash_finish)
> Signed-off-by: Gaurav Jain
> ---
> ch
On some boards upper 4 bits of i2c boot input data (register 0) are
inverted. Information which bits are inverted is stored in register 2.
So invert read input data back according to register 2 prior processing
them. This fixes printing "rom_loc: value" line during booting.
Signed-off-by: Pali Ro
čt 9. 6. 2022 v 14:30 odesílatel Sughosh Ganu napsal:
>
> Add bindings needed for accessing the FWU metadata partitions. These
> include the compatible string which point to the access method and the
> actual device which stores the FWU metadata.
>
> The current patch adds basic bindings needed fo
On 6/16/22 5:45 AM, Heinrich Schuchardt wrote:
On 6/13/22 00:13, Sean Anderson wrote:
The synopsis section is a bit messy. As an example, "uimage file name" is
printed in italics, bold, and roman (depending on the line). This cleans
things up and converts the synopsis section to use standard sty
On 6/16/22 6:00 AM, Heinrich Schuchardt wrote:
On 6/13/22 00:14, Sean Anderson wrote:
Square brackets are commonly used to denote optional parts of a command.
However, all option arguments are mandatory. Remove these brackets. This
also removes some unnecessary quotation marks, and uses hyphens
On 6/16/22 6:08 AM, Heinrich Schuchardt wrote:
On 6/13/22 00:14, Sean Anderson wrote:
The options are divided up into several subsections. Use the appropriate
macro. While we're at it, rename the headings to better reflect the
contents of their sections.
Signed-off-by: Sean Anderson
---
Chang
On 6/16/22 7:50 AM, Heinrich Schuchardt wrote:
On 6/13/22 00:14, Sean Anderson wrote:
This tool seems a bit underloved. Unfortunately, it seems to be missing
support for FIT images. Alas...
Add a man page documenting it. The example is taken from commit a804b5ce2d
("Add dumpimage, a tool to ext
On 6/8/22 18:20, Stefan Herbrechtsmeier wrote:
[CAUTION: External Email]
From: Stefan Herbrechtsmeier
Probe the driver before use to ensure that the global data are valid.
It is not clear what the issue is. And this function is called in SPL or EL3 and
likely multiple times.
Can you ple
On Tue, Jun 14, 2022 at 05:45:30PM +0300, Georgi Vlaev wrote:
> The spl_enable_dcache() function calls dram_init_banksize()
> to get the total memory size. Normally the dram_init_banksize()
> setups the memory banks, while the total size is reported
> by ddr_init(). This worked so far for K3 since
On Tue, Jun 14, 2022 at 05:45:31PM +0300, Georgi Vlaev wrote:
> Mark the memory node with u-boot,dm-spl so we can use it
> from early SPL on both R5 and A53.
>
> Signed-off-by: Georgi Vlaev
Reviewed-by: Tom Rini
--
Tom
signature.asc
Description: PGP signature
On Tue, Jun 14, 2022 at 05:45:32PM +0300, Georgi Vlaev wrote:
> Use the appropriate fdtdec_setup_mem_size_base() call in
> dram_init() and fdtdec_setup_bank_size() in dram_bank_init()
> to pull these values from DT, where they are already available,
> instead of hardcoding them.
>
> Signed-off-by
On Tue, Jun 14, 2022 at 05:45:33PM +0300, Georgi Vlaev wrote:
> Call into k3-ddrss driver to fixup device tree and resize
> the available amount of DDR if ECC is enabled.
>
> A second fixup is required from A53 SPL to take the fixup
> as done from R5 SPL and apply it to DT passed to A53 U-boot,
>
On Tue, Jun 14, 2022 at 05:45:34PM +0300, Georgi Vlaev wrote:
> Add CONFIG_NR_DRAM_BANKS from am62x_evm_a53_defconfig as this is
> needed to calculate the size of DDR that is available.
>
> Signed-off-by: Georgi Vlaev
Reviewed-by: Tom Rini
--
Tom
signature.asc
Description: PGP signature
On Thu, Jun 16, 2022 at 01:04:07AM +0200, Loic Poulain wrote:
> Hi Folks,
>
> Any comments on this series? Anyone else to CC?
I will likely pick this up for next soon, thanks.
--
Tom
signature.asc
Description: PGP signature
On 6/8/22 18:20, Stefan Herbrechtsmeier wrote:
[CAUTION: External Email]
From: Stefan Herbrechtsmeier
Add a board_init_xilinx function to allow foreign vendors to reuse the
xilinx zynqmp board code and add addition code to the board_init
function.
Do you plan to add support for that board
On 6/8/22 18:20, Stefan Herbrechtsmeier wrote:
[CAUTION: External Email]
From: Stefan Herbrechtsmeier
A forward declaration for the serdes_illcalib function.
Signed-off-by: Stefan Herbrechtsmeier
---
tools/zynqmp_psu_init_minimize.sh | 5 +
1 file changed, 5 insertions(+)
diff --
Hi Xavier,
On 6/16/22 5:42 AM, Xavier Drudis Ferran wrote:
> [You don't often get email from xdru...@tinet.cat. Learn why this is
> important at https://aka.ms/LearnAboutSenderIdentification ]
>
> Hello.
>
> Thank you for your work, simplifying and generalizing code,
> and sorry that I hadn't s
On Thu, Jun 16, 2022 at 09:35:25AM +0200, Stefano Babic wrote:
> Hi Tom,
>
> on -next there is a cleanup for next release. Please pull into your -next
> branch:
>
> CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/12312
>
>
> The following changes since commit a87a6fcd20c0e2
Hi Alban,
On 2022-06-16 01:47, Alban Bedel wrote:
Hi all,
Sometimes ago I submitted a patch to fix the support for the DWC3
controller on the imx8mq which, unlike most DWC3 implementation,
doesn't
use a top glue node with child DWC3 nodes. Instead it has the DWC3 node
directly on the main bus
The third parameter of dfu_alt_add(), the string description of alternate,
is build in stm32prog_alt_add() with a unnecessary character ';' at the
end of the string.
This separator was required in the first implementation of
dfu_alt_add() but is no more needed in the current implementation;
this s
On Tue, Jun 14, 2022 at 9:58 AM Tim Harvey wrote:
>
> On Tue, Jun 14, 2022 at 9:18 AM Tom Rini wrote:
> >
> > On Tue, Jun 14, 2022 at 09:14:03AM -0700, Tim Harvey wrote:
> > > On Mon, Jun 13, 2022 at 7:57 PM Tom Rini wrote:
> > > >
> > > > Move the environment text over from being set via
> > >
On Thu, Jun 16, 2022 at 09:51:13AM -0700, Tim Harvey wrote:
> On Tue, Jun 14, 2022 at 9:58 AM Tim Harvey wrote:
> >
> > On Tue, Jun 14, 2022 at 9:18 AM Tom Rini wrote:
> > >
> > > On Tue, Jun 14, 2022 at 09:14:03AM -0700, Tim Harvey wrote:
> > > > On Mon, Jun 13, 2022 at 7:57 PM Tom Rini wrote:
This converts the following to Kconfig:
CONFIG_EXTRA_CLOCK
Signed-off-by: Tom Rini
---
board/sysam/stmark2/Kconfig | 3 +++
include/configs/stmark2.h | 1 -
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/board/sysam/stmark2/Kconfig b/board/sysam/stmark2/Kconfig
index 4abcdb3a
This converts the following to Kconfig:
CONFIG_HETROGENOUS_CLUSTERS
CONFIG_SYS_MAPLE
CONFIG_SYS_CPRI
CONFIG_PPC_CLUSTER_START
CONFIG_DSP_CLUSTER_START
CONFIG_SYS_CPRI_CLK
CONFIG_SYS_ULB_CLK
CONFIG_SYS_ETVPE_CLK
Signed-off-by: Tom Rini
---
arch/powerpc/cpu/mpc85xx/Kconfig
Now that board/freescale/common/Kconfig is safe to be included once,
globally, rename this to arch/Kconfig.nxp to better reflect that it
contains options that are valid on multiple architectures and SoC
families, and not specific to NXP reference platforms either.
Cc: Stefano Babic
Cc: Peng Fan
The way that we use this file currently means that we have to guard it
in every platform Kconfig. But it is also required in all NXP
platforms, including non-reference platforms. Make all options in it
have appropriate dependencies so that we can include it a single time
under arch/Kconfig
Signe
This converts the following to Kconfig:
CONFIG_ESBC_HDR_LS
CONFIG_ESBC_ADDR_64BIT
Signed-off-by: Tom Rini
---
arch/Kconfig.nxp | 9 +
arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 5 +
arch/arm/include/asm/arch-fsl-layerscape/config.h |
This converts the following to Kconfig:
CONFIG_ESDHC_DETECT_QUIRK
Signed-off-by: Tom Rini
---
board/freescale/common/qixis.h| 21 +++
board/freescale/lx2160a/lx2160a.c | 21 ---
configs/ls1088aqds_defconfig | 1 +
c
This converts the following to Kconfig:
CONFIG_KEY_REVOCATION
CONFIG_SYS_FSL_SFP_BE
CONFIG_SYS_FSL_SFP_LE
CONFIG_SYS_FSL_SFP_VER_3_0
CONFIG_SYS_FSL_SFP_VER_3_2
CONFIG_SYS_FSL_SFP_VER_3_4
CONFIG_SYS_FSL_SRK_LE
This partly means making sure to enable SYS_FSL_ERRATUM_A007186 only
This converts the following to Kconfig:
CONFIG_SYS_FSL_SEC_MON
CONFIG_SYS_FSL_SEC_MON_BE
CONFIG_SYS_FSL_SEC_MON_LE
Signed-off-by: Tom Rini
---
arch/Kconfig.nxp | 1 +
arch/arm/include/asm/arch-fsl-layerscape/config.h | 15 ---
arch/arm/inclu
From: Rafał Miłecki
A new DT binding for describing environment data block has been added in
Linux's commit 5db1c2dbc04c ("dt-bindings: nvmem: add U-Boot environment
variables binding"). Once we get a proper Linux NVMEM driver it'll be
possible to use Linux's binary interface for user-space as do
On Wed, 25 May 2022, Lee Jones wrote:
> Good afternoon,
>
>
>
> There appear to be a number of issues with the Rockchip rk3399
On Thu, Jun 16, 2022 at 07:59:40AM +0900, Jaehoon Chung wrote:
> Dear Tom,
>
> Please pull u-boot-pmic master into u-boot master branch.
> If there is a problem, let me know, plz
>
> Best Regards,
> Jaehoon Chung
>
> CI: https://source.denx.de/u-boot/custodians/u-boot-pmic/-/pipelines/12303
>
0400)
>
> are available in the Git repository at:
>
> https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git
> tags/u-boot-imx-20220616
>
> for you to fetch changes up to 1a558fafbbdff80cb6a7c8e883addec7f02fe8e5:
>
> spi: nxp_fspi: Fix clock imbalance (2022-06-15 1
On Thu, Jun 16, 2022 at 07:57:24AM +0900, Jaehoon Chung wrote:
> Dear Tom,
>
> Please pull u-boot-mmc master into u-boot master branch.
> If there is any problem, let me know, plz.
> Sorry for late.
>
> Best Regards,
> Jaehoon Chung
>
> CI: https://source.denx.de/u-boot/custodians/u-boot-mmc/-/
Hi.
First I hope you are fine and the same for your relatives.
During 2021 summer, Sean Anderson wrote a contribution to add a new shell, based
on LIL, to U-Boot [1][2].
While one of the goals of this contribution was to address the fact actual
U-Boot shell, which is based on Busybox hush, is ol
We need to defined a dummy version of this function when compiling with
NO_SDL=1.
Otherwise, we would face compilation error.
Fixes: 250e735c692b ("video: sandbox: Avoid duplicate display windows")
Signed-off-by: Francis Laniel
---
arch/sandbox/include/asm/sdl.h | 5 +
1 file changed, 5 inse
As asked in 9c6bf1715f6a ("test/py: hush_if_test: Add tests to cover octal/hex
values"), this commit translates test_hush_if_test.py to a C test.
Signed-off-by: Francis Laniel
Reviewed-by: Simon Glass
---
test/hush/Makefile | 1 +
test/hush/if.c | 308 +
Introduce a new subcommand to ut: ut hush.
For the moment, this command does nothing, future commits will add tests which
will be run on command call.
Note that CONFIG_HUSH_PARSER must be defined to compile this new subcommand.
Signed-off-by: Francis Laniel
Reviewed-by: Simon Glass
---
include
ce40f44eb336 ("test: hush: Test hush if/else") translated this test to a C test,
so this python file is no more needed.
Signed-off-by: Francis Laniel
Reviewed-by: Simon Glass
---
test/py/tests/test_hush_if_test.py | 184 -
1 file changed, 184 deletions(-)
delete mod
Verifies shell variables are replaced by their values.
Signed-off-by: Francis Laniel
---
test/hush/Makefile | 1 +
test/hush/dollar.c | 167 +
2 files changed, 168 insertions(+)
create mode 100644 test/hush/dollar.c
diff --git a/test/hush/Makefile
Verifies behavior of commands separated by ';', '&&' and '||'.
Signed-off-by: Francis Laniel
Reviewed-by: Simon Glass
---
test/hush/Makefile | 1 +
test/hush/list.c | 79 ++
2 files changed, 80 insertions(+)
create mode 100644 test/hush/list.c
di
The added tests verifies correct behavior of for, while and until loops.
Signed-off-by: Francis Laniel
Reviewed-by: Simon Glass
---
test/hush/Makefile | 1 +
test/hush/loop.c | 64 ++
2 files changed, 65 insertions(+)
create mode 100644 test/hush/
Adds new file cli_hush_2021.c, it is a copy of Busybox hush file as it was of
time to commit 37460f5da.
This commit modifies Busybox hush to not compile some part specific to Busybox
and adds some code needed by U-Boot.
The modifications consists mainly on adding code #if(n)def guards.
For the mom
Enables using, in code, hush 2021 as parser for run_command function family.
It also enables the command run to be used by CLI user of hush 2021.
Signed-off-by: Francis Laniel
---
common/cli.c | 60 --
common/cli_hush_upstream.c | 2 +-
2 files
In Busybox hush, '<' and '>' are used as redirection operators.
For example, cat foo > bar will write content of file foo inside file bar.
In U-Boot, we do not have file system, so we can hardly redirect command output
inside a file.
But, in actual U-Boot hush, these operators ('<' and '>') are us
Modifies the expected result for hush 2021.
Indeed, there were bugs in actual U-Boot hush which were fixed in upstream
Busybox.
As hush 2021 is based on upstream Busybox, these bugs no longer exist.
Signed-off-by: Francis Laniel
---
test/hush/list.c | 69 +
This command can be used to print the current parser with 'parser print'.
It can also be used to set the current parser with 'parser set'.
For the moment, only one value is valid for set: old.
Signed-off-by: Francis Laniel
---
cmd/Makefile | 2 +
cmd/parser.c | 113
This flag is used to indicate we are using the hush parser.
Signed-off-by: Francis Laniel
---
common/cli.c | 2 ++
include/asm-generic/global_data.h | 4
2 files changed, 6 insertions(+)
diff --git a/common/cli.c b/common/cli.c
index a7e3d84b68..ef967f4f9e 100644
--- a
Enables the use of for, while and until loops for command line as
well as with run_command().
Signed-off-by: Francis Laniel
Reviewed-by: Simon Glass
---
common/cli_hush_upstream.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/common/cli_hush_upstream.c b/co
Modifies return code got from while loop as hush 2021 always returns 0 from
while loop.
Signed-off-by: Francis Laniel
---
test/hush/loop.c | 34 ++
1 file changed, 30 insertions(+), 4 deletions(-)
diff --git a/test/hush/loop.c b/test/hush/loop.c
index 519c78ef7e.
If one defines HUSH_2021_PARSER, it is then possible to use 2021 parser with:
=> parser get
old
=> parser set 2021
2021> parser get
2021
Signed-off-by: Francis Laniel
---
cmd/parser.c | 14 -
common/cli.c | 38
include/as
From: Tom Rini
On Fri, Apr 01, 2022 at 01:26:53AM +0200, Francis Laniel wrote:
> Hi.
>
> First I hope you are fine and the same for your relatives.
> I would also like to apologize for the delay between v2 and v3.
>
> During 2021 summer, Sean Anderson wrote a contribution to add a new shell,
>
This commit adds the following hush busybox upstream commits:
21afddefd258 ("hush: fix "error: invalid preprocessing directive ##"")
e53c7dbafc78 ("hush: fix set -n to act immediately, not just after run_list()
")
574b9c446da1 ("hush: fix var_LINENO3.tests failure")
49bcf9f40cff ("hush: speed up ${
Enables variables expansion for hush 2021, both for local and environment
variables.
So the following commands:
foo=bar
echo $foo
setenv bar foo
echo $bar
leads to "bar" and "foo" being printed on console output.
Signed-off-by: Francis Laniel
Reviewed-by: Simon Glass
---
common/cli_hush_2021.c
These boards used set_local_var() to store some variables as local shell.
They then used get_local_var() to retrieve the variables values.
Instead of using local shell variables, they should use environment ones (like a
majority of board).
So, this patch converts using local variables to environme
Adds support for "if then else" construct both for command line interface and
through run_command().
Signed-off-by: Francis Laniel
Reviewed-by: Simon Glass
---
common/cli_hush_upstream.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/common/cli_hush_upstream.c b/
Error messages like "unknown command" will make the CI fails.
So, for the moment, we comment these tests.
Signed-off-by: Francis Laniel
---
test/hush/dollar.c | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/test/hush/dollar.c b/test/hush/dollar.c
in
For the moment, the menu contains only entry: HUSH_OLD_PARSER which is the
default.
The goal is to prepare the field to add a new hush parser which guarantees
actual behavior is still correct.
Signed-off-by: Francis Laniel
---
cmd/Kconfig | 21 +
common/Makefile | 3 ++-
Modifies the command run for hush 2021 when using string comparison operator.
Indeed, '<' and '>' must be escaped to be used as these operators.
Signed-off-by: Francis Laniel
---
test/hush/if.c | 45 +
1 file changed, 45 insertions(+)
diff --git a/tes
Modifies the expected result for hush 2021.
Indeed, there were bugs in actual U-Boot hush which were fixed in upstream
Busybox.
As hush 2021 is based on upstream Busybox, these bugs no longer exist.
Signed-off-by: Francis Laniel
---
test/hush/dollar.c | 79 +++
Signed-off-by: Francis Laniel
---
test/cmd/setexpr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/cmd/setexpr.c b/test/cmd/setexpr.c
index 0dc94f7e61..71c751d766 100644
--- a/test/cmd/setexpr.c
+++ b/test/cmd/setexpr.c
@@ -308,7 +308,7 @@ static int setexpr_test_str(st
run_command() is called internally by the command run and it can also be called
directly from U-Boot code, e.g. to do unit tests.
This commit adds this path to go to hush 2021.
Signed-off-by: Francis Laniel
Reviewed-by: Simon Glass
---
common/cli_hush_upstream.c | 66 +++
On Tue, Jun 14, 2022 at 08:02:03AM +0200, Heinrich Schuchardt wrote:
> From: Heinrich Schuchardt
>
> If CONFIG_VIDEO_DM=n we query the display size from the serial console.
> Especially when using a remote console the response can be so late that
> it interferes with autoboot.
>
> Only query th
Hi Philippe,
On 4/14/22 02:13, Philippe Reynes wrote:
> This serie adds the support of mmc for bcm63158.
> The first commit adds a driver that support sdhci
> on bcm63158. The two next commits add support of
> mmc in the device tree, and the last one enables
> the support of mmc and gpt for the re
Sughosh,
On Thu, Jun 16, 2022 at 12:42:08PM +0530, Sughosh Ganu wrote:
> hi Takahiro,
>
> On Thu, 16 Jun 2022 at 06:31, Takahiro Akashi
> wrote:
> >
> > Sughosh,
> >
> > On Wed, Jun 15, 2022 at 04:19:56PM +0530, Sughosh Ganu wrote:
> > > On Wed, 15 Jun 2022 at 10:41, Takahiro Akashi
> > > wrote
Sughosh,
On Wed, Jun 15, 2022 at 05:40:12PM +0530, Sughosh Ganu wrote:
> On Wed, 15 Jun 2022 at 11:07, Takahiro Akashi
> wrote:
> >
> > On Thu, Jun 09, 2022 at 06:00:10PM +0530, Sughosh Ganu wrote:
> > > Add a python test script for testing the FWU Multi Bank Update
> > > functionality on the san
On 6/17/22 00:50, Tom Rini wrote:
On Tue, Jun 14, 2022 at 08:02:03AM +0200, Heinrich Schuchardt wrote:
From: Heinrich Schuchardt
If CONFIG_VIDEO_DM=n we query the display size from the serial console.
Especially when using a remote console the response can be so late that
it interferes wit
1 - 100 of 102 matches
Mail list logo