> -Original Message-
> From: Marek Vasut [mailto:ma...@denx.de]
> Sent: 2022年1月29日 1:37
> To: Jaehoon Chung ; u-boot@lists.denx.de
> Cc: sba...@denx.de; Bough Chen ; Igor Opaniuk
> ; Peng Fan
> Subject: Re: [PATCH] Revert "mmc: fsl_esdhc_imx: add wait_dat0() support"
>
> On 1/28/22 08:30
On Fri, 2022-02-04 at 23:25 -0300, Fabio Estevam wrote:
> Hi Marcel,
>
> On Fri, Feb 4, 2022 at 7:17 PM Marcel Ziswiler wrote:
>
> > +#if 0
> > +int board_phys_sdram_size(phys_size_t *bank1_size, phys_size_t *bank2_size)
>
> Please remove this unused function.
Yes, this is left for after basic
On Sun, 2022-02-06 at 10:03 +0100, Stefan Roese wrote:
> On 2/5/22 01:54, Pali Rohár wrote:
> > On Saturday 05 February 2022 01:40:23 Marcel Ziswiler wrote:
> > > On Sat, 2022-02-05 at 01:25 +0100, Pali Rohár wrote:
> > > > On Saturday 05 February 2022 01:01:28 Marcel Ziswiler wrote:
> > > > > Adde
On Sat, 2022-02-05 at 15:54 +0100, Pali Rohár wrote:
> On Saturday 05 February 2022 03:07:00 Marcel Ziswiler wrote:
> > On Sat, 2022-02-05 at 01:54 +0100, Pali Rohár wrote:
> > > On Saturday 05 February 2022 01:40:23 Marcel Ziswiler wrote:
> > > > On Sat, 2022-02-05 at 01:25 +0100, Pali Rohár wrote
Hello Marek
> -Original Message-
> From: Stefano Babic
> Sent: Saturday, February 5, 2022 7:46 PM
> To: Gaurav Jain ; u-boot@lists.denx.de
> Cc: Stefano Babic ; Fabio Estevam ;
> Peng Fan ; Simon Glass ; Priyanka
> Jain ; Ye Li ; Horia Geanta
> ; Ji Luo ; Franck Lenormand
> ; Silvano Di N
On 2/7/22 01:02, Stanley Chu wrote:
This driver enables a periodic timer on NPCM SoCs and
implements the get_count timer ops.
Signed-off-by: Stanley Chu
---
drivers/timer/Kconfig | 6 ++
drivers/timer/Makefile | 1 +
drivers/timer/npcm-timer.c | 111 +
HI Anup,
> From: Anup Patel
> Sent: Sunday, February 06, 2022 4:41 PM
> To: Rick Jian-Zhi Chen(陳建志)
> Cc: Bin Meng ; Atish Patra ;
> Alistair Francis ; Anup Patel
> ; U-Boot Mailing List
> Subject: Re: [PATCH v2 0/4] QEMU spike machine support for U-Boot
>
> Hi Rick,
>
> On Thu, Jan 27, 2022
This driver enables a periodic timer on NPCM SoCs and
implements the get_count timer ops.
Signed-off-by: Stanley Chu
---
drivers/timer/Kconfig | 6 ++
drivers/timer/Makefile | 1 +
drivers/timer/npcm-timer.c | 111 +
3 files changed, 118 insertion
On Sat, Feb 05, 2022 at 10:14:06AM +0100, Heinrich Schuchardt wrote:
> On 2/1/22 02:27, AKASHI Takahiro wrote:
> > Now we can use mkeficapsule command instead of EDK-II's script
> > to create a signed capsule file. So update the instruction for
> > capsule authentication.
> >
> > Signed-off-by: AK
Sync rk3288-veyron DT from Linux version 5.17.
Signed-off-by: Johan Jonker
---
arch/arm/dts/rk3288-veyron-analog-audio.dtsi | 99 +++
.../dts/rk3288-veyron-broadcom-bluetooth.dtsi | 22 +
arch/arm/dts/rk3288-veyron-chromebook.dtsi| 115 ++--
arch/arm/dts/rk3288-veyron-edp.dtsi |
rk3288.dtsi is updated and changed it's reg size,
so fix memory reg value.
Signed-off-by: Johan Jonker
---
arch/arm/dts/rk3288-evb.dtsi | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/rk3288-evb.dtsi b/arch/arm/dts/rk3288-evb.dtsi
index 72da8847..7e9a6f45 10
Sync rk3288 DT boards that have support both in
Linux 5.17 as in U-boot.
Signed-off-by: Johan Jonker
---
arch/arm/dts/rk3288-firefly.dts | 17 +-
arch/arm/dts/rk3288-firefly.dtsi | 163 ++--
arch/arm/dts/rk3288-miqi.dts | 431 -
arch/arm/dts/rk3288-phyco
The rk3288 mipi_dsi node in sync with Linux rk3288.dtsi
has a different label then in use by rk3288-evb.dtsi,
so fix compile and rename label.
Signed-off-by: Johan Jonker
---
arch/arm/dts/rk3288-evb.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/dts/rk3288-evb.
In order to sync rk3288-veyron related DT files
all u-boot properties have to move to rk3288-veyron-u-boot.dtsi
Signed-off-by: Johan Jonker
---
arch/arm/dts/rk3288-veyron-u-boot.dtsi | 42 ++
arch/arm/dts/rk3288-veyron.dtsi| 19
2 files changed, 42 in
Sync rk3288.dtsi from Linux version 5.17 and move
U-boot specific stuff to rk3288-u-boot.dtsi
Signed-off-by: Johan Jonker
---
arch/arm/dts/rk3288-thermal.dtsi | 87 --
arch/arm/dts/rk3288-u-boot.dtsi | 79 +-
arch/arm/dts/rk3288.dtsi | 1521 +++---
3 files ch
The hdmi_audio node doesn't exists in rk3288.dtsi in sync with Linux.
Fix compile by removal of the hdmi_audio node.
Signed-off-by: Johan Jonker
---
arch/arm/dts/rk3288-veyron.dtsi | 4
1 file changed, 4 deletions(-)
diff --git a/arch/arm/dts/rk3288-veyron.dtsi b/arch/arm/dts/rk3288-veyron
In order to sync rk3288.dtsi from Linux it needed to
move all u-boot specific properties in separate dtsi files.
Signed-off-by: Johan Jonker
---
arch/arm/dts/rk3288-evb-u-boot.dtsi | 11 +
arch/arm/dts/rk3288-evb.dts | 11 -
arch/arm/dts/rk3288-firefly-u-boot.
The DT node name pattern in mmc-controller.yaml for mmc
is "^mmc(@.*)?$". The Rockchip mmc nodes have been synced
with Linux, so update the boot_devices constants as well.
Signed-off-by: Johan Jonker
---
arch/arm/mach-rockchip/rk3188/rk3188.c | 4 ++--
arch/arm/mach-rockchip/rk322x/rk322x.c | 4
Sync rk322x.dtsi from Linux version 5.17 and add
a rk322x-u-boot.dtsi file for U-boot specific stuff.
Signed-off-by: Johan Jonker
---
arch/arm/dts/rk322x-u-boot.dtsi | 54 ++
arch/arm/dts/rk322x.dtsi| 879 +---
2 files changed, 746 insertions(+), 187 deletion
In order to update the DT for rk3288
sync the clock dt-binding header.
This is the state as of v5.17 in Linux.
Keep SCLK_MAC_PLL in use for rk3288 clock driver.
Signed-off-by: Johan Jonker
---
include/dt-bindings/clock/rk3288-cru.h | 13 -
1 file changed, 12 insertions(+), 1 deletion
In order to update the DT for rk3288
sync the power domain dt-binding header.
This is the state as of v5.17 in Linux.
Change location to be more in line with other SoCs.
Signed-off-by: Johan Jonker
---
include/dt-bindings/power-domain/rk3288.h | 11
include/dt-bindings/power/rk3288-powe
Sync rk3229-evb.dts from Linux version 5.17 and add
a rk3229-evb-u-boot.dtsi file for U-boot specific stuff.
Signed-off-by: Johan Jonker
---
arch/arm/dts/rk3229-evb-u-boot.dtsi | 28
arch/arm/dts/rk3229-evb.dts | 223
arch/arm/dts/rk3229.dtsi
In order to update the DT for rk3228
sync the clock dt-binding header.
This is the state as of v5.17 in Linux.
Signed-off-by: Johan Jonker
---
include/dt-bindings/clock/rk3228-cru.h | 54 +-
1 file changed, 52 insertions(+), 2 deletions(-)
diff --git a/include/dt-binding
In order to update the DT for rk3228
sync the power domain dt-binding header.
This is the state as of v5.17 in Linux.
Signed-off-by: Johan Jonker
---
include/dt-bindings/power/rk3228-power.h | 21 +
1 file changed, 21 insertions(+)
create mode 100644 include/dt-bindings/powe
On Sat, Feb 05, 2022 at 08:32:37PM +0100, Heinrich Schuchardt wrote:
> On 2/1/22 02:27, AKASHI Takahiro wrote:
> > The existing options, "--fit" and "--raw," are only used to put a proper
> > GUID in a capsule header, where GUID identifies a particular FMP (Firmware
> > Management Protocol) driver
Hi Andrew,
I am curious about the usage scenario.
Is the runtime control required for production release?
As this control acts like a backdoor to bypass the chain-of-trust.
If it is for debugging/development purposes, should we encourage the use of
unsigned images under RD environments?
Beyond th
On Sun, Feb 6, 2022 at 3:59 PM Marek Vasut wrote:
>
> On 2/3/22 22:20, Adam Ford wrote:
> > The imx8mm and imx8mn appear compatible with imx7d-usb
> > flags in the OTG driver. If the dr_mode is defined as
> > host or peripheral, the device appears to operate correctly,
> > however the auto host/p
Support for Apple M1 Pro and Max will allow using a single binary for
all M1 SoCs. The M1 Pro/Max have a different memory layout. The RAM
start address is 0x100__ instead of 0x8__.
Replace the hardcoded memory layout with dynamic initialized
environment variables in board_late_init(
Hi Heinrich,
Thanks for reviewing.
BTW, I actually don't need this feature anymore. I and Takahiro had
misunderstood
what the initiate-reset flag meant. But maybe this flag support itself
will be good to have.
2022年2月5日(土) 15:47 Heinrich Schuchardt :
>
> On 1/25/22 12:31, Masami Hiramatsu wrote:
Hi Pali,
I've also tried the latest kwboot with the Marvell Avanta SoC. AFAICT,
it works fine.
Board: ActionTec MI424WR-I
SoC: 88F6560 A0
Thanks,
Tony
On Sun, Feb 06, 2022 at 10:07:04PM +0100, Janne Grunau wrote:
> Support for Apple M1 Pro and Max will allow using a single binary for
> all M1 SoCs. The M1 Pro/Max have a different memory layout. The RAM
> start address is 0x100__ instead of 0x8__.
> Replace the hardcoded memory la
On 2/3/22 22:20, Adam Ford wrote:
The imx8mm and imx8mn appear compatible with imx7d-usb
flags in the OTG driver. If the dr_mode is defined as
host or peripheral, the device appears to operate correctly,
however the auto host/peripheral detection results in an error.
The solution isn't just add
Binman keeps track of positions of each entry in the final image, but
currently this data is wrong for things included in FIT entries,
especially since a previous patch makes FIT a subclass of Section and
inherit its implementation.
There are three ways to put data into a FIT image. It can be dire
The binman FIT entry type shares some code with the Section entry type.
This shared code is bound to grow, since FIT entries are conceptually a
variation of Section entries.
Make FIT entry type a subclass of Section entry type, simplifying it a
bit and providing us the features that Section implem
Binman can check for missing binary tools and prints warnings if
anything required for an image is missing. The implementation of this
for the Section entry only checks the subentries, presumably because
Section does not use any binary tools itself. However, this means the
check is also skipped for
Binman keeps track of binary tools each entry wants to use. The
implementation of this for the FIT entry only adds "mkimage", but not
the tools that would be used by its subentries.
Register the binary tools that FIT subentries will use in addition to
the one FIT itself uses, and check their exist
Binman tries to expand some entries into parts that make it up, e.g.
'u-boot' into a 'u-boot-expanded' section that contains 'u-boot-nodtb'
and 'u-boot-dtb'. Entries with child entries must call ExpandEntries()
on them to build a correct image, as it's possible that unexpanded child
entries have no
I've managed to build images like in doc/chromium/chainload.rst wtih
binman, but ran into an issue with entry expansion in FIT and worked on
it a bit. I also added SetImagePos() because that documentation asks for
precise placement of u-boot.bin inside the FIT and I felt like doing it
as an easier
On Sun, 6 Feb 2022 19:37:15 +0100
Francis Laniel wrote:
> 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
> Reviewed-by: Simon Glass
> ---
> test/hush/if.c | 4
On Sun, 6 Feb 2022 19:37:17 +0100
Francis Laniel wrote:
> Modifies return code got from while loop as hush 2021 always returns 0 from
> while loop.
>
> Signed-off-by: Francis Laniel
> Reviewed-by: Simon Glass
> ---
> test/hush/loop.c | 20
> 1 file changed, 20 insertions
On 2/6/22 19:36, Francis Laniel wrote:
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 shel
Modifies return code got from while loop as hush 2021 always returns 0 from
while loop.
Signed-off-by: Francis Laniel
Reviewed-by: Simon Glass
---
test/hush/loop.c | 20
1 file changed, 20 insertions(+)
diff --git a/test/hush/loop.c b/test/hush/loop.c
index 519c78ef7e..56a
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 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
Reviewed-by: Simon Glass
---
test/hush/if.c | 43 +++
1 file changed, 43 inserti
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/
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
Reviewed-by: Simon Glass
---
test/hush/dollar.c | 51 +
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
Reviewed-by: Simon Glass
---
test/hush/list.c | 48 +++
Enables using, in code, run_command() while using hush 2021 as parser.
It also enables the command run to be used by CLI user of hush 2021.
Signed-off-by: Francis Laniel
Reviewed-by: Simon Glass
---
common/cli.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --gi
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 +++
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
If one defines HUSH_2021_PARSER, cli_loop() will jump on hush 2021 parser code.
Signed-off-by: Francis Laniel
Reviewed-by: Simon Glass
---
common/cli.c | 14 +++---
include/cli_hush.h | 8
2 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/common/cli.c b/com
To use hush 2021 as U-Boot shell, one should tick "Use hush 2021 parser" under
"Hush flavor to use" choice.
Since this is a choice, you cannot use at the same time old and new flavor of
hush.
Signed-off-by: Francis Laniel
Reviewed-by: Simon Glass
---
cmd/Kconfig | 8
common/Makefil
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
For the moment, the choice 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
Reviewed-by: Simon Glass
---
cmd/Kconfig | 14 ++
comm
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/
Verifies shell variables are replaced by their values.
Signed-off-by: Francis Laniel
---
test/hush/Makefile | 1 +
test/hush/dollar.c | 175 +
2 files changed, 176 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
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 +
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
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
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 old
Le mercredi 12 janvier 2022, 21:03:40 CET Simon Glass a écrit :
> Hi Francis,
>
> On Fri, 31 Dec 2021 at 09:14, Francis Laniel
>
> wrote:
> > 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-Bo
Le mercredi 12 janvier 2022, 21:03:37 CET Simon Glass a écrit :
> Hi Francis,
>
> On Fri, 31 Dec 2021 at 09:14, Francis Laniel
>
> wrote:
> > This commit modifies the expected result for hush 2021.
> > Indeed, there were bugs in actual U-Boot hush which were fixed in upstream
> > Busybox.
> > As
Hi.
First, sorry for the delayed answer and thank you a lot for all your reviews!
Le samedi 8 janvier 2022, 15:53:49 CET Simon Glass a écrit :
> Hi Francis,
>
> On Fri, 31 Dec 2021 at 09:14, Francis Laniel
>
> wrote:
> > This commit ensures shell variables are replaced by their values.
> >
>
On Sat, Feb 5, 2022 at 10:23 AM Adam Ford wrote:
>
> The FlexSPI Configuration Block is a binary blob which contains
> parameters for specific flash devices. This is the blob from
> the stock NXP Yocto Distribution, but individual users could
> place their own blob in their respective board direc
On Sat, Feb 05, 2022 at 10:06:36PM +0100, Heinrich Schuchardt wrote:
> Dear Tom,
>
> I removed the problematic mkeficapsule series now and added a patch to
> get rid of the malloc.h usage.
>
> The following changes since commit 3aaabfe9ff4bbcd11096513b1b28d1fb0a40800f:
>
> Merge branch 'maste
> From: Sean Anderson
> Date: Sat, 5 Feb 2022 23:04:07 -0500
>
> On 2/5/22 6:14 PM, Mark Kettenis wrote:
> > The clock rate for the serial console on Apple M1 systems is 24 MHz
> > instead of 240 Hz.
>
> nit: kHz?
Ah yes. Brain slightly misfired when writing that commit message.
Thanks! I've
The clock rate for the serial console on Apple M1 systems is 24 MHz
instead of 240 kHz.
Signed-off-by: Mark Kettenis
---
ChangeLog:
v2: - Fix typo in comment
configs/apple_m1_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/apple_m1_defconfig b/configs/ap
On 1/27/22 07:11, Anup Patel wrote:
Currently, if MTD NOR is enabled then U-Boot tries to issue flash
commands even when CFI flash DT node is not present. This causes
access fault on RISC-V emulators or ISS which do not emulate CFI
flash. To handle this issue, we implement is_flash_available() fo
On 2/5/22 01:54, Pali Rohár wrote:
On Saturday 05 February 2022 01:40:23 Marcel Ziswiler wrote:
On Sat, 2022-02-05 at 01:25 +0100, Pali Rohár wrote:
On Saturday 05 February 2022 01:01:28 Marcel Ziswiler wrote:
Addendum.
On Sat, 2022-02-05 at 00:43 +0100, Marcel Ziswiler wrote:
[snip]
Ko
Hi Rick,
On Thu, Jan 27, 2022 at 11:41 AM Anup Patel wrote:
>
> We can use same U-Boot binary compiled using qemu-riscv64_smode_defconfig
> on QEMU virt machine and QEMU spike machine. To achieve this, we need HTIF
> console support for U-Boot QEMU RISC-V board hence this series.
>
> To test this
72 matches
Mail list logo