Re: [PATCH v4 3/6] tools: Add mkfwumdata tool for FWU metadata image

2023-04-09 Thread Jassi Brar
On Wed, 29 Mar 2023 at 15:02, Simon Glass wrote: > > Hi, > > On Tue, 28 Mar 2023 at 10:16, wrote: > > > > From: Masami Hiramatsu > > > > Add 'mkfwumdata' tool to generate FWU metadata image for the meta-data > > partition to be used in A/B Update imeplementation. > > > > Signed-off-by: Masami Hi

Re: [PATCH v4 6/6] fwu: DeveloperBox: add support for FWU

2023-04-09 Thread Jassi Brar
On Wed, 29 Mar 2023 at 08:02, Michal Simek wrote: > On 3/27/23 23:16, jassisinghb...@gmail.com wrote: . > > + > > +void fwu_plat_get_bootidx(uint *boot_idx) > > +{ > > + int ret; > > + u32 active_idx; > > + u32 *bootidx = boot_idx; > > + > > + ret = fwu_get_active_index(&activ

Re: [PATCH v4 3/6] tools: Add mkfwumdata tool for FWU metadata image

2023-04-09 Thread Jassi Brar
On Thu, 30 Mar 2023 at 01:12, Heinrich Schuchardt wrote: > > Am 27. März 2023 23:16:10 MESZ schrieb jassisinghb...@gmail.com: > >From: Masami Hiramatsu > > > >Add 'mkfwumdata' tool to generate FWU metadata image for the meta-data > >partition to be used in A/B Update imeplementation. > > > >Signe

Re: [PATCH v4 3/6] tools: Add mkfwumdata tool for FWU metadata image

2023-04-09 Thread Jassi Brar
On Wed, 29 Mar 2023 at 07:29, Michal Simek wrote: > On 3/27/23 23:16, jassisinghb...@gmail.com wrote: > > diff --git a/tools/mkfwumdata.c b/tools/mkfwumdata.c > > new file mode 100644 > > index 00..43dabf3b72 > > --- /dev/null > > +++ b/tools/mkfwumdata.c > > @@ -0,0 +1,334 @@ > > +// SPD

Re: [PATCH v4 2/6] FWU: mtd: Add helper functions for accessing FWU metadata

2023-04-09 Thread Jassi Brar
On Wed, 29 Mar 2023 at 06:55, Michal Simek wrote: > On 3/27/23 23:16, jassisinghb...@gmail.com wrote: > > +/** > > + * fwu_gen_alt_info_from_mtd() - Parse dfu_alt_info from metadata in mtd > > + * @buf: Buffer into which the dfu_alt_info is filled > > + * @len: Maximum characters that can be wri

Re: [PATCH v4 1/6] FWU: Add FWU metadata access driver for MTD storage regions

2023-04-09 Thread Jassi Brar
On Wed, 29 Mar 2023 at 07:00, Michal Simek wrote: > On 3/27/23 23:15, jassisinghb...@gmail.com wrote: > > diff --git a/drivers/fwu-mdata/raw_mtd.c b/drivers/fwu-mdata/raw_mtd.c > > new file mode 100644 > > index 00..4b1a10073a > > --- /dev/null > > +++ b/drivers/fwu-mdata/raw_mtd.c > > @@

Re: [PATCH] configs: rk3588: rename defconfig for rock-5b

2023-04-09 Thread Kever Yang
Hi, On 2023/4/8 17:33, FUKAUMI Naoki wrote: it should be rock-5b-rk3588_defconfig. Why it should be rock-5b? Its seems rock pi has many boards and with different name, I thinks rock5b is a reasonable config name because there is no name rule for rock pi boards till now. configs/rockpro64-

Re: [PATCH 5/8] makefile: riscv: Drop useless argument of prelink-riscv

2023-04-09 Thread Rick Chen
> From: U-Boot On Behalf Of Bin Meng > Sent: Thursday, March 30, 2023 12:20 PM > To: u-boot@lists.denx.de > Cc: Heinrich Schuchardt ; Kever Yang > ; Marek Behún ; Pali Rohár > ; Quentin Schulz ; > Simon Glass > Subject: [PATCH 5/8] makefile: riscv: Drop useless argument of prelink-riscv > > Th

Re: [PATCH v8 00/13] bootstd: Convert rockchip and add various fixes and tweaks

2023-04-09 Thread Tom Rini
On Sun, Apr 09, 2023 at 08:18:31AM +1200, Simon Glass wrote: > Hi Tom, > > On Sun, 9 Apr 2023 at 03:14, Tom Rini wrote: > > > > On Sat, Apr 08, 2023 at 12:08:37PM +1200, Simon Glass wrote: > > > Hi Tom, > > > > > > On Sat, 8 Apr 2023 at 09:55, Tom Rini wrote: > > > > > > > > On Sat, Apr 08, 2023

Re: Pull request for efi-2023-07-rc1

2023-04-09 Thread Tom Rini
On Sat, Apr 08, 2023 at 10:36:14PM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit 19d0c64f89ee5a0d5d3077e5d7ec7dafd74a0d45: > > Merge branch 'master_net/phy/prep-cleanup' of > https://source.denx.de/u-boot/custodians/u-boot-sh (2023-04-07 10:51:49 > -0400)

[PATCH] serial: mxs: Add MXS AUART driver

2023-04-09 Thread Marek Vasut
Add trivial driver for the MXS AUART IP. This is the other UART IP present in i.MX23 and i.MX28, used to drive the non-DUART ports. Signed-off-by: Marek Vasut --- Cc: "NXP i.MX U-Boot Team" Cc: Andrejs Cainikovs Cc: Fabio Estevam Cc: Fedor Ross Cc: Jim Liu Cc: Johan Jonker Cc: Marek Vasut

Re: [PULL] u-boot-sh/master_regulator/fixes

2023-04-09 Thread Tom Rini
On Sat, Apr 08, 2023 at 05:28:36PM +0200, Marek Vasut wrote: > The following changes since commit 19d0c64f89ee5a0d5d3077e5d7ec7dafd74a0d45: > > Merge branch 'master_net/phy/prep-cleanup' of > https://source.denx.de/u-boot/custodians/u-boot-sh (2023-04-07 10:51:49 -0400) > > are available in t

Reading file would overwrite reserved memory. Failed to load 'hello_world.bin - imx7d-pico - Uboot 2022.04

2023-04-09 Thread neuber sousa
https://stackoverflow.com/questions/71073386/reading-file-would-overwrite-reserved-memory-failed-to-load-hello-world-bin Hi, I had this issue last year and I solved it via device tree. However, I used Yocto hardknott and uboot 2021.04 and Ubuntu 20.04. Now I use Yocto kirkstone and uboot 202

[PATCH] doc:fix typo in 'mmc write' example

2023-04-09 Thread Alexander Shirokov
In the 'mmc write' command example, it writes 16 blocks (0x10). But the output contains 256 (0x100) blocks. This patch fixes the mismatch. Signed-off-by: Alexander Shirokov --- doc/usage/cmd/mmc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/usage/cmd/mmc.rst b/doc/u

Re: [PATCH v4 02/12] arm: mach-k3: Move J721e SoC detection out of common section

2023-04-09 Thread Christian Gmeiner
> > This belongs in the J721e specific file as it is the only place > this is used. Any board level users should use the SOC driver. > > While here, move the J721e and J7200 SoC IDs out of sys_proto.h > and into hardware.h. Use a macro borrowed from Rockchip and add > the rest of the SoC IDs for co