On 6/29/22 03:02, Paul Barbieri wrote:
From 7a7dd7f16352fc916279cca05a3fa617f8bbef64 Mon Sep 17 00:00:00 2001
From: Paul Barbieri
Date: Tue, 28 Jun 2022 20:24:33 -0400
Subject: [PATCH] EFI: Fix ReadBlocks API reading incorrect sector for
UCLASS_PARTITION devices
The requested partition disk
Hi Paul,
On Tue, Jun 28, 2022 at 09:02:47PM -0400, Paul Barbieri wrote:
> From 7a7dd7f16352fc916279cca05a3fa617f8bbef64 Mon Sep 17 00:00:00 2001
> From: Paul Barbieri
> Date: Tue, 28 Jun 2022 20:24:33 -0400
> Subject: [PATCH] EFI: Fix ReadBlocks API reading incorrect sector for
>
Hi Sughosh,
Thanks for your patch.
On 2022/5/16 14:12, Sughosh Ganu wrote:
hi Peter,
On Sat, 14 May 2022 at 13:44, Peter Robinson wrote:
On Fri, May 13, 2022 at 7:50 AM Sughosh Ganu wrote:
Add support for updating the idbloader and u-boot images through the
UEFI capsule update
On 2022/6/9 23:23, Jerome Forissier wrote:
Commit 5c606ca35c42 ("rockchip: rk3399: enable spl-fifo-mode for sdmmc")
mentions that the RK3399 SoC can't do DMA between SDMMC and SRAM.
According to the TRM "7.3.2 Embedded SRAM access path" [1], only the
8KB SRAM at 0xff3b (INTMEM1) is in this
On 2022/6/12 22:25, Peter Robinson wrote:
Sync the pinebook pro to upstream 5.18, in particular this brings
brings in a fix so the DP is disabled so Linux will actually boot.
Signed-off-by: Peter Robinson
Reviewed-by: Kever Yang
Thanks,
- Kever
---
On 2022/6/12 21:52, Peter Robinson wrote:
The Rockpro64 has some GPIO leds so let's enable them so the
user gets some output in early boot.
Signed-off-by: Peter Robinson
Reviewed-by: Kever Yang
Thanks,
- Kever
---
configs/rockpro64-rk3399_defconfig | 2 ++
1 file changed, 2
On 2022/6/12 21:47, Peter Robinson wrote:
Set a default offset for environment so it doesn't write it to
unexpected locations, drop unneeded mtd config option.
Signed-off-by: Peter Robinson
Reviewed-by: Kever Yang
Thanks,
- Kever
---
configs/pinebook-pro-rk3399_defconfig | 2 +-
1
On 2022/6/28 22:17, Tom Rini wrote:
On Tue, Jun 28, 2022 at 03:28:00PM +0800, Qu Wenruo wrote:
[BACKGROUND]
Unlike FUSE/Kernel which always pass aligned read range, U-boot fs code
just pass the request range to underlying fses.
Under most case, this works fine, as U-boot only really needs
Hi Marek
no, not yet.
I will add i2c otp aes sha pinctrl usb spi mmc feature to
poleg_evb_defconfig in the last commit.
about the usb patch if you have any suggestion or need modify please
let me know.
On Tue, Jun 28, 2022 at 5:39 PM Marek Vasut wrote:
>
> On 6/28/22 05:49, Jim Liu wrote:
>
Hi Sean,
> From: Sean Anderson
> Sent: Tuesday, June 28, 2022 12:57 PM
>
> Hi Chai,
>
> On 6/28/22 12:23 AM, Joel Stanley wrote:
> > Hi Chai Wei,
> >
> > On Wed, 1 Jun 2022 at 08:21, Chia-Wei Wang
> wrote:
> >>
> >> The commit b583348ca8c8 ("image: fit: Align hash output buffers")
> >> places
Hi Joel,
> From: Joel Stanley
> Sent: Tuesday, June 28, 2022 12:24 PM
>
> Hi Chai Wei,
>
> On Wed, 1 Jun 2022 at 08:21, Chia-Wei Wang
> wrote:
> >
> > The commit b583348ca8c8 ("image: fit: Align hash output buffers")
> > places the hash output buffer at the .bss section. However, AST2600 by
>
On Mon, Jun 27, 2022 at 12:20:03PM +0200, Miquel Raynal wrote:
> A crafted squashfs image could embed a huge number of empty metadata
> blocks in order to make the amount of malloc()'d memory overflow and be
> much smaller than expected. Because of this flaw, any random code
> positioned at the
On Sun, Jun 26, 2022 at 12:05:18PM +0200, Dario Binacchi wrote:
> Passing the mtdparts environment variable to the Linux kernel is
> required to properly mount the UBI rootfs.
>
> Co-developed-by: Michael Trimarchi
> Signed-off-by: Michael Trimarchi
> Signed-off-by: Dario Binacchi
Applied to
On Sun, Jun 26, 2022 at 12:05:17PM +0200, Dario Binacchi wrote:
> The Linux kernel device tree already specifies the device to be used for
> boot console output with a stdout-path property under /chosen.
>
> Co-developed-by: Michael Trimarchi
> Signed-off-by: Michael Trimarchi
> Signed-off-by:
On Sun, Jun 26, 2022 at 12:05:16PM +0200, Dario Binacchi wrote:
> imx8mn_bsh_smm_s2 uses ubifs rootfs, UBI commands are required to flash
> it.
>
> Co-developed-by: Michael Trimarchi
> Signed-off-by: Michael Trimarchi
> Signed-off-by: Dario Binacchi
Applied to u-boot/master, thanks!
--
Tom
On Sun, Jun 26, 2022 at 12:05:15PM +0200, Dario Binacchi wrote:
> It allows to boot from NAND.
>
> Co-developed-by: Michael Trimarchi
> Signed-off-by: Michael Trimarchi
> Signed-off-by: Dario Binacchi
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Fri, Jun 10, 2022 at 02:50:25PM +, nicolas.iooss.led...@proton.me wrote:
> From: Nicolas Iooss
>
> When running "i2c md 0 0 8100", the function do_i2c_md parses the
> length into an unsigned int variable named length. The value is then
> moved to a signed variable:
>
> int
Hi Weijie,
On Tue, Apr 12, 2022 at 01:40:00AM +, Weijie Gao (高惟杰) wrote:
> Hi Daniel,
>
> I've also noticed this error message.
> It seems that some struct variables containing all zero data of the pinctrl
> driver are not set to const, which causes these variables to be put into .bss
>
ISP1760/61/63 are a family of usb controllers, here the main
goal is to support the ISP1763 hcd part found in the MPS3 FPGA
board form Arm. This is based on the kernel driver and ported
to u-boot.
Signed-off-by: Rui Miguel Silva
---
Makefile|1 +
Hi,
after using the u-boot (v2022.01) bootloader built with rpi_4_32b_defconfig on
a buildroot 2022.05 custom system, I can no longer input on the serial console
connected to an FTDI adapter wired to Pins 8/10 of the RPi4 GPIO pin header.
Here's what I did:
* Replaced kernel=zImage by
Hi Marek,
On Tue, Jun 28, 2022 at 09:05:43PM +0200, Marek Vasut wrote:
> On 6/28/22 19:42, Rui Miguel Silva wrote:
> > MPS3 board have a ISP1763 usb controller, enable it to be used
> > for mass storage access for example. Enable the usb command
> > also and for the FVP support for mass storage
On 6/28/22 22:02, Fabio Estevam wrote:
On 28/06/2022 11:06, Heiko Thiery wrote:
The regulator driver uses the DVS registers PCA9450_REG_BUCKxOUT_DVS0 to
set the voltage for the buck regulators 1, 2 and 3. This has no effect
as the
PRESET_EN bit is set by default and therefore the preset
On 28/06/2022 11:06, Heiko Thiery wrote:
The regulator driver uses the DVS registers PCA9450_REG_BUCKxOUT_DVS0
to
set the voltage for the buck regulators 1, 2 and 3. This has no effect
as the
PRESET_EN bit is set by default and therefore the preset values are
used
instead, which are set to
On 28/06/2022 11:06, Heiko Thiery wrote:
By default the PCA9450 doesn't handle the assertion of the WDOG_B
signal, but this is required to guarantee that things like software
resets triggered by the watchdog work reliably.
This is a port of the same changes in the Linux kernel:
f7684f5a048f
ns/u-boot-sunxi (2022-06-26 21:06:08
> -0400)
>
> are available in the Git repository at:
>
> https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git
> tags/u-boot-imx-20220628
>
> for you to fetch changes up to b5023254b88a67fcbca913e212e3401dea521fc9:
>
> kont
On Tuesday 28 June 2022 15:08:57 Tom Rini wrote:
> On Tue, Jun 28, 2022 at 08:58:48PM +0200, Pali Rohár wrote:
> > On Tuesday 28 June 2022 14:53:26 Tom Rini wrote:
> > > On Tue, Jun 28, 2022 at 08:41:44PM +0200, Pali Rohár wrote:
> > > > On Tuesday 28 June 2022 14:39:11 Tom Rini wrote:
> > > > >
On Tue, Jun 28, 2022 at 08:58:48PM +0200, Pali Rohár wrote:
> On Tuesday 28 June 2022 14:53:26 Tom Rini wrote:
> > On Tue, Jun 28, 2022 at 08:41:44PM +0200, Pali Rohár wrote:
> > > On Tuesday 28 June 2022 14:39:11 Tom Rini wrote:
> > > > On Tue, Jun 28, 2022 at 08:34:47PM +0200, Pali Rohár wrote:
On 6/28/22 19:42, Rui Miguel Silva wrote:
MPS3 board have a ISP1763 usb controller, enable it to be used
for mass storage access for example. Enable the usb command
also and for the FVP support for mass storage enable the mmc
command.
This one does not apply to u-boot/master , do you have some
On Tuesday 28 June 2022 14:53:26 Tom Rini wrote:
> On Tue, Jun 28, 2022 at 08:41:44PM +0200, Pali Rohár wrote:
> > On Tuesday 28 June 2022 14:39:11 Tom Rini wrote:
> > > On Tue, Jun 28, 2022 at 08:34:47PM +0200, Pali Rohár wrote:
> > > > On Tuesday 28 June 2022 14:28:52 Tom Rini wrote:
> > > > >
On Tue, Jun 28, 2022 at 08:41:44PM +0200, Pali Rohár wrote:
> On Tuesday 28 June 2022 14:39:11 Tom Rini wrote:
> > On Tue, Jun 28, 2022 at 08:34:47PM +0200, Pali Rohár wrote:
> > > On Tuesday 28 June 2022 14:28:52 Tom Rini wrote:
> > > > On Tue, Jun 28, 2022 at 08:22:38PM +0200, Pali Rohár wrote:
On 6/27/22 12:35 PM, Tom Rini wrote:
Perform a basic migration of the calls in setup_serial_number() to DM so
that we can switch to using DM_I2C on this platform.
Cc: David Lechner
Signed-off-by: Tom Rini
---
Acked-by: David Lechner
On Tuesday 28 June 2022 14:39:11 Tom Rini wrote:
> On Tue, Jun 28, 2022 at 08:34:47PM +0200, Pali Rohár wrote:
> > On Tuesday 28 June 2022 14:28:52 Tom Rini wrote:
> > > On Tue, Jun 28, 2022 at 08:22:38PM +0200, Pali Rohár wrote:
> > > > On Tuesday 28 June 2022 14:17:42 Tom Rini wrote:
> > > > >
On Tue, Jun 28, 2022 at 08:34:47PM +0200, Pali Rohár wrote:
> On Tuesday 28 June 2022 14:28:52 Tom Rini wrote:
> > On Tue, Jun 28, 2022 at 08:22:38PM +0200, Pali Rohár wrote:
> > > On Tuesday 28 June 2022 14:17:42 Tom Rini wrote:
> > > > On Tue, Jun 28, 2022 at 07:53:55PM +0200, Pali Rohár wrote:
On Tuesday 28 June 2022 14:28:52 Tom Rini wrote:
> On Tue, Jun 28, 2022 at 08:22:38PM +0200, Pali Rohár wrote:
> > On Tuesday 28 June 2022 14:17:42 Tom Rini wrote:
> > > On Tue, Jun 28, 2022 at 07:53:55PM +0200, Pali Rohár wrote:
> > >
> > > > Now when CONFIG_SYS_TEXT_BASE has sane value, use it
On Tue, Jun 28, 2022 at 08:22:38PM +0200, Pali Rohár wrote:
> On Tuesday 28 June 2022 14:17:42 Tom Rini wrote:
> > On Tue, Jun 28, 2022 at 07:53:55PM +0200, Pali Rohár wrote:
> >
> > > Now when CONFIG_SYS_TEXT_BASE has sane value, use it for calculation of
> > > other SPL offset values:
On Tuesday 28 June 2022 14:17:42 Tom Rini wrote:
> On Tue, Jun 28, 2022 at 07:53:55PM +0200, Pali Rohár wrote:
>
> > Now when CONFIG_SYS_TEXT_BASE has sane value, use it for calculation of
> > other SPL offset values: CONFIG_SPL_MAX_SIZE, CONFIG_SYS_MMC_U_BOOT_* and
> >
On Tue, Jun 28, 2022 at 07:53:55PM +0200, Pali Rohár wrote:
> Now when CONFIG_SYS_TEXT_BASE has sane value, use it for calculation of
> other SPL offset values: CONFIG_SPL_MAX_SIZE, CONFIG_SYS_MMC_U_BOOT_* and
> CONFIG_SYS_SPI_FLASH_U_BOOT_* macros.
>
> No functional change.
>
> Signed-off-by:
On Thursday 23 June 2022 15:31:14 Pali Rohár wrote:
> On Monday 20 June 2022 12:54:26 Pali Rohár wrote:
> > This allows to concatenate SPL and proper U-Boot without extra alignment.
> >
> > Signed-off-by: Pali Rohár
> > ---
> > Changes in v2:
> > * Rebased on top of the U-Boot next branch,
On Tue, Jun 28, 2022 at 08:07:48PM +0200, Pali Rohár wrote:
> On Thursday 23 June 2022 19:17:55 Pali Rohár wrote:
> > On Saturday 04 June 2022 15:02:38 Pali Rohár wrote:
> > > On Wednesday 18 May 2022 12:53:20 Pali Rohár wrote:
> > > > On Wednesday 11 May 2022 22:59:28 Pali Rohár wrote:
> > > > >
On Thursday 23 June 2022 19:17:55 Pali Rohár wrote:
> On Saturday 04 June 2022 15:02:38 Pali Rohár wrote:
> > On Wednesday 18 May 2022 12:53:20 Pali Rohár wrote:
> > > On Wednesday 11 May 2022 22:59:28 Pali Rohár wrote:
> > > > On Monday 25 April 2022 14:36:14 Pali Rohár wrote:
> > > > > On Monday
Now when CONFIG_SYS_TEXT_BASE has sane value, use it for calculation of
other SPL offset values: CONFIG_SPL_MAX_SIZE, CONFIG_SYS_MMC_U_BOOT_* and
CONFIG_SYS_SPI_FLASH_U_BOOT_* macros.
No functional change.
Signed-off-by: Pali Rohár
---
Changes in v2:
* Rebased on top of the U-Boot next branch,
On Thursday 23 June 2022 18:22:21 Pali Rohár wrote:
> From whole P1/P2 family of RDB boards is TDM-PMC card (PCI Mezzanine Card,
> Freescale PQ-MDS-T1) available only on P1021RDB and P1025RDB boards.
>
> So address mapping for TDM-PMC card on LBC should not be enabled on any
> other P1/P2 RDB
On Tuesday 28 June 2022 10:52:23 Tom Rini wrote:
> On Thu, Jun 16, 2022 at 02:19:44PM +0200, Pali Rohár wrote:
>
> > 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
MPS3 board have a ISP1763 usb controller, enable it to be used
for mass storage access for example. Enable the usb command
also and for the FVP support for mass storage enable the mmc
command.
Signed-off-by: Rui Miguel Silva
---
configs/corstone1000_defconfig | 3 +++
Move urb code from musb only use to a more common scope, so other
drivers in the future can use the handling of urb in usb.
Signed-off-by: Rui Miguel Silva
---
drivers/usb/common/Makefile | 2 +
drivers/usb/common/usb_urb.c | 160 ++
Add support for the usb isp1760 host controller family, which
for example is present in MPS3 FPGA board from Arm (isp1763).
First we move some helper functions and defines to a more
common place to be shared by several urb users. (patch 1/3)
Then add the driver itself, is a ported version of the
Hi Marek,
On Tue, Jun 28, 2022 at 05:44:47PM +0200, Marek Vasut wrote:
> On 6/28/22 16:59, Rui Miguel Silva wrote:
> > Hi,
> > On Mon, Jun 20, 2022 at 01:44:02PM -0400, Tom Rini wrote:
> > > On Mon, Jun 20, 2022 at 05:00:56PM +0100, Rui Miguel Silva wrote:
> > > > Hi Tom, On Tue Jun 14, 2022 at
After more patches code for jumping to _start_cont symbol in flash memory
involved to code with useless mathematical operations. Currently it does:
r3 := CONFIG_SYS_MONITOR_BASE + ABS(_start_cont) - CONFIG_SYS_MONITOR_BASE
jump to r3
Which is equivalent of just:
r3 := ABS(_start_cont)
On 6/28/22 16:59, Rui Miguel Silva wrote:
Hi,
On Mon, Jun 20, 2022 at 01:44:02PM -0400, Tom Rini wrote:
On Mon, Jun 20, 2022 at 05:00:56PM +0100, Rui Miguel Silva wrote:
Hi Tom, On Tue Jun 14, 2022 at 6:45 PM WEST, Rui Miguel Silva
wrote:
Hi *, On Wed, May 25, 2022 at 02:22:48PM +0100, Rui
On Tue, Jun 28, 2022 at 05:08:26PM +0300, Alper Nebi Yasak wrote:
> Hi Tom, Simon, Peng,
>
> On 27/06/2022 06:41, Peng Fan (OSS) wrote:
> > From: Peng Fan
> >
> > By reading binman symbols, we no need hard coded IMEM_LEN/DMEM_LEN after
> > we update the binman dtsi to drop 0x8000/0x4000 length
://gitlab.denx.de/u-boot/custodians/u-boot-imx.git
tags/u-boot-imx-20220628
for you to fetch changes up to b5023254b88a67fcbca913e212e3401dea521fc9:
kontron-sl-mx8mm: Add CAAM support (2022-06-28 15:24:31 +0200)
Fixes for 2022.07
CI: https
Hi,
On Mon, Jun 20, 2022 at 01:44:02PM -0400, Tom Rini wrote:
> On Mon, Jun 20, 2022 at 05:00:56PM +0100, Rui Miguel Silva wrote:
> > Hi Tom, On Tue Jun 14, 2022 at 6:45 PM WEST, Rui Miguel Silva
> > wrote:
> > > Hi *, On Wed, May 25, 2022 at 02:22:48PM +0100, Rui Miguel Silva
> > > wrote:
> > > >
On Tue, Jun 28, 2022 at 01:57:25PM +0930, Joel Stanley wrote:
> The commit 99e2fbcb69f0 ("linker_lists: Rename sections to remove .
> prefix") changed the name of the linker list sections. As the Aspeed SPL
> linker wasn't in the tree yet, it missed the change.
>
> This updates the SPL linker to
On Thu, Jun 16, 2022 at 02:19:44PM +0200, Pali Rohár wrote:
> 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
On Mon, Jun 27, 2022 at 05:28:10PM +0930, Joel Stanley wrote:
> For the u-boot-with-spl.bin target to be useful for the AST2600, set the
> maximum SPL size which also sets the padding length.
>
> The normal way of loading u-boot is as a FIT, so configure u-boot.img as
> the SPL playload.
>
>
On Tue, Jun 28, 2022 at 09:37:56AM -0400, Simon Glass wrote:
> Hi Simon,
>
> On Sun, May 08, 2022 at 04:39:24AM -0600, Simon Glass wrote:
> > At present tag numbers are only allocated for non-core data, meaning that
> > the 'core' data, like priv and plat, are accessed through dedicated
> >
On Tue, Jun 28, 2022 at 03:28:00PM +0800, Qu Wenruo wrote:
> [BACKGROUND]
> Unlike FUSE/Kernel which always pass aligned read range, U-boot fs code
> just pass the request range to underlying fses.
>
> Under most case, this works fine, as U-boot only really needs to read
> the whole file (aka, 0
Hi Tom, Simon, Peng,
On 27/06/2022 06:41, Peng Fan (OSS) wrote:
> From: Peng Fan
>
> By reading binman symbols, we no need hard coded IMEM_LEN/DMEM_LEN after
> we update the binman dtsi to drop 0x8000/0x4000 length for the firmware.
>
> And that could save binary size for many KBs.
>
>
The regulator driver uses the DVS registers PCA9450_REG_BUCKxOUT_DVS0 to
set the voltage for the buck regulators 1, 2 and 3. This has no effect as the
PRESET_EN bit is set by default and therefore the preset values are used
instead, which are set to 850 mV.
This is a port of the same change in
By default the PCA9450 doesn't handle the assertion of the WDOG_B
signal, but this is required to guarantee that things like software
resets triggered by the watchdog work reliably.
This is a port of the same changes in the Linux kernel:
f7684f5a048f ("regulator: pca9450: Enable system reset on
To be able to initialize the PMIC voltages by using the PCA9450 regulator
driver we need to properly disable the BUCK1/2/3 preset behavior.
Also the RESET_CTRL/WDOG_B_CFG behavior can be done by the PC9450 PMIC driver.
With that enabled the PMIC custom configurations done in SPL code for
boards
On Tue, Jun 28, 2022 at 11:01 AM Heinrich Schuchardt
wrote:
> The patch is merged June 19th:
>
> e05bd68ed5fc ("test: work around for EFI terminal size probing")
>
> Why do you ask?
Because I haven't seen an "applied" message in this thread.
I see it in mainline now, thanks.
On 6/28/22 15:52, Fabio Estevam wrote:
Hi Heinrich,
On Fri, Jun 17, 2022 at 1:59 AM Heinrich Schuchardt
wrote:
This causes: https://source.denx.de/u-boot/u-boot/-/jobs/450891#L229
for all instances of sandbox running that test.
This is a only a bug to the test environment:
On Tue, Jun 28, 2022 at 10:55 AM Tom Rini wrote:
> I thought this was worked around for now? The non-testing case should
> be fine again, and tests do need to do additional code to work, which is
> not ideal, but good enough for the moment.
I haven't realized that the patch has been applied.
On Tue, Jun 28, 2022 at 10:52:32AM -0300, Fabio Estevam wrote:
> Hi Heinrich,
>
> On Fri, Jun 17, 2022 at 1:59 AM Heinrich Schuchardt
> wrote:
>
> > > This causes: https://source.denx.de/u-boot/u-boot/-/jobs/450891#L229
> > > for all instances of sandbox running that test.
> > >
> >
> > This is
Hi Heinrich,
On Fri, Jun 17, 2022 at 1:59 AM Heinrich Schuchardt
wrote:
> > This causes: https://source.denx.de/u-boot/u-boot/-/jobs/450891#L229
> > for all instances of sandbox running that test.
> >
>
> This is a only a bug to the test environment:
>
> test/py/u_boot_console_base.py:110:
>
This is not a good name anymore as it does not dump everything. Rename it
to dm_dump_tree() to avoid confusion.
Signed-off-by: Simon Glass
---
cmd/dm.c| 8
drivers/core/dump.c | 2 +-
include/dm/util.h | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
Applied to
On python 3.8.10 (and 3.10), subparsers are not updated with defaults. I
suspect this is related to [1]. Fix this by explicitly updating
subparsers with settings.
[1] https://github.com/python/cpython/issues/89398
Fixes: 3145b63513 ("patman: Update defaults in subparsers")
Signed-off-by: Sean
This command converts pointers to addresses, but the pointers being
converted are in the image's rodata region. For sandbox this means it
is not in DRAM so it does not make sense to do this conversion.
Fix this by showing a simple pointer instead. Drop the unnecessary
@ and hex prefixes.
By default, unittest test summaries only print extended info about tests
that failed or couldn't run due to an error. Use a custom text result
class to print info about more cases: skipped tests, expected failures
and unexpected successes.
Signed-off-by: Alper Nebi Yasak
---
This could be
Put these in alphabetic order, both in the help and in the implementation,
as there are quite a few subcommands now. Tweak the help for 'dm tree' to
better explain what it does.
Signed-off-by: Simon Glass
---
cmd/dm.c | 48
1 file changed, 24
Hi Tom,
This is for the -next branch.
https://source.denx.de/u-boot/custodians/u-boot-dm/-/commit/e87da5704ffa6fc782d93d137fa30a37a5df3566
The following changes since commit ea82ed8c2eaee0a0f7dee31016aaee4ce88e9ea7:
Merge branch '2022-06-27-add-armv8-sha1-sha256-support' into next
We have some nice macros for iterating over devices in device.h, but they
are not used by the driver core. Convert all the users I could find.
Signed-off-by: Sean Anderson
---
drivers/core/device-remove.c | 4 ++--
drivers/core/device.c| 21 ++---
drivers/core/devres.c
On 19/03/2022 03:01, Simon Glass wrote:
> Use the common functions to run tests and report results. Ensure that the
> result code indicates success or failure.
>
> Signed-off-by: Simon Glass
> ---
>
> tools/dtoc/test_fdt.py | 27 ++-
> 1 file changed, 10 insertions(+), 17
Add a comment explaining the design goals of bloblist, to make it easier
for people to understand and comment on the structure.
Signed-off-by: Simon Glass
---
doc/develop/bloblist.rst | 2 ++
include/bloblist.h | 62 ++--
2 files changed, 62
On 3/28/22 6:14 PM, Sean Anderson wrote:
> Because fdt_get_config_str et al. were moved/renamed to
> ofnode_conf_read_str, they now depend on CONFIG_DM as well as
> CONFIG_OF_CONTROL. Add some fallback implementations, preventing a
> linker error when CONFIG_SPL_OF_CONTROL and
This command shows the memory used by driver model along with various
hints as to what it might be if some 'core' tags were moved to use the
tag list instead of a core (i.e. always-there) pointer.
This may help with future work to reduce memory usage.
Signed-off-by: Simon Glass
---
cmd/dm.c
On Tue, Jun 28, 2022 at 11:18:34AM +0200, Pali Rohár wrote:
> On Thursday 23 June 2022 08:34:58 Tom Rini wrote:
> > On Thu, Jun 23, 2022 at 01:29:10PM +0200, Pali Rohár wrote:
> > > On Thursday 16 June 2022 14:19:44 Pali Rohár wrote:
> > > > Currently CONFIG_SPL_TEXT_BASE and CONFIG_SYS_TEXT_BASE
Hi Simon,
On Sun, May 08, 2022 at 04:39:24AM -0600, Simon Glass wrote:
> At present tag numbers are only allocated for non-core data, meaning that
> the 'core' data, like priv and plat, are accessed through dedicated
> functions.
>
> For debugging and consistency it is convenient to use tags for
Hi Sean,
On Wed, 23 Mar 2022 at 16:24, Sean Anderson wrote:
>
> sandbox_flash_bulk uses priv->read_len to determine if priv->buff contains
> the response data (such as from SCSI_INQUIRY). However, if priv->fd=-1 in
> handle_read, then priv->read_len is not set even though we are going to
>
On Sat, 2 Apr 2022 at 11:06, Alper Nebi Yasak wrote:
>
> When printing a python tool's test results, the entire list of failed
> tests and their tracebacks are reprinted for every failed test. This
> makes the test output quite unreadable. Fix the loop to print failures
> and tracebacks one at a
On Sat, 2 Apr 2022 at 11:06, Alper Nebi Yasak wrote:
>
> It's possible to request a specific test to run when trying to run a
> python tool's tests. If we request a nonexistent test, the unittest
> loaders generate a fake test that reports this as an error. However, we
> get these fake tests even
On Sat, 2 Apr 2022 at 11:06, Alper Nebi Yasak wrote:
>
> While running tests for a python tool, the tests' outputs get printed in
> whatever order they happen to run, without any indication as to which
> output belongs to which test. Unittest supports capturing these outputs
> and printing them
U-Boot's printf() used before setting up U-Boot's serial driver does not
create any output. Use os_printf() for error messages related to loading
the device-tree.
Signed-off-by: Heinrich Schuchardt
---
arch/sandbox/cpu/cpu.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
Applied
The UEFI Self Certification Test (SCT) cannot run on 128 MiB.
Signed-off-by: Heinrich Schuchardt
---
arch/sandbox/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Applied to u-boot-dm, thanks!
Insert an empty line after each uclass independent of whether it has
devices or not.
Signed-off-by: Heinrich Schuchardt
---
drivers/core/dump.c | 2 --
1 file changed, 2 deletions(-)
Applied to u-boot-dm, thanks!
Before setting up the devices U-Boot's printf() function cannot be used
for console output. Provide function os_printf() to print to stderr.
Signed-off-by: Heinrich Schuchardt
---
arch/sandbox/cpu/os.c | 13 +
include/os.h | 7 +++
2 files changed, 20 insertions(+)
* Use spaces not tabs
* Limit lines to 100 spaces
* Remove an unused import
* Sort imports correctly
* Add a module description
Signed-off-by: Heinrich Schuchardt
---
test/py/tests/test_bind.py | 345 +++--
1 file changed, 175 insertions(+), 170 deletions(-)
Add a description and examples for the dm subcommands.
Signed-off-by: Simon Glass
---
doc/usage/cmd/dm.rst | 487 +++
doc/usage/index.rst | 1 +
2 files changed, 488 insertions(+)
create mode 100644 doc/usage/cmd/dm.rst
Applied to u-boot-dm, thanks!
The binman extern symbol declarations in spl.h are missing the VPL
symbols recently added to spl.c, add them like the others.
Signed-off-by: Alper Nebi Yasak
---
(no changes since v1)
include/spl.h | 2 ++
1 file changed, 2 insertions(+)
Applied to u-boot-dm, thanks!
At present this driver uses 'priv' struct to hold 'plat' data, which is
confusing. The contents of the strct don't matter, since only dtoc is
using it. Create a new struct with the correct name.
Signed-off-by: Simon Glass
---
drivers/misc/test_drv.c | 2 +-
include/dm/test.h | 7 +++
Some SPL functions directly use the binman 'u_boot_any' symbols to get
U-Boot's binman image position. These symbols are declared by the
SPL/TPL_BINMAN_SYMBOLS configs, but they are accessed by macros defined
by just CONFIG_BINMAN. So when BINMAN is enabled and BINMAN_SYMBOLS is
disabled, the code
Add a function for collecting the amount of memory used by driver model,
including devices, uclasses and attached data and tags.
This information can provide insights into how to reduce the memory
required by driver model. Future work may look at execution speed also.
Signed-off-by: Simon Glass
Add an option to tell SPL to show memory usage for driver model just
before it boots into the next phase.
Signed-off-by: Simon Glass
---
common/spl/spl.c | 9 +
drivers/core/Kconfig | 10 ++
2 files changed, 19 insertions(+)
Applied to u-boot-dm, thanks!
TPL_BINMAN_SYMBOLS depends on SPL_FRAMEWORK. The code this enables is
compiled by checking CONFIG_$(SPL_TPL_)FRAMEWORK, so it should depend on
TPL_FRAMEWORK instead (which in turn depends on SPL_FRAMEWORK). This was
most likely a typo due to copy-pasting the config's SPL version, fix it.
Enabling CONFIG_BINMAN makes binman run after a build to package any
images specified in the device-tree. It also enables a mechanism for
SPL/TPL to declare and use special linker symbols that refer to other
entries in the same binman image. A similar feature that gets this info
from the
On Sat, 2 Apr 2022 at 11:06, Alper Nebi Yasak wrote:
>
> The python tools' test utilities handle printing test results, but the
> output is quite bare compared to an ordinary unittest run. Delegate
> printing the results to a unittest text runner, which gives us niceties
> like clear separation
On Sun, Jun 12, 2022 at 7:25 PM Heinrich Schuchardt wrote:
>
> Building sandbox_defconfig on ARMv7 with HOST_32BIT=y results in:
>
> drivers/misc/qfw_sandbox.c:51:25: warning:
> cast to pointer from integer of different size [-Wint-to-pointer-cast]
>51 | void *address = (void
The SPL code declares binman symbols for U-Boot phases depending on
CONFIG_IS_ENABLED(BINMAN_UBOOT_SYMBOLS). This config exists for SPL and
TPL, also add a version for VPL.
Signed-off-by: Alper Nebi Yasak
---
Changes in v2:
- Update VPL configs for the new BINMAN_UBOOT_SYMBOLS
The i.MX8M boards use partially specified binman images which have an
SPL entry without a U-Boot entry. This would normally cause an error due
to the 'u_boot_any' binman symbols declared by BINMAN_UBOOT_SYMBOLS
requiring a U-Boot-like entry in the same image as the SPL.
However, a problem in the
1 - 100 of 126 matches
Mail list logo