st 23. 2. 2022 v 15:23 odesílatel Michal Simek napsal:
>
> From: Ashok Reddy Soma
>
> Add pinctrl driver for Xilinx ZynqMP SOC. This driver is compatible with
> linux device tree parameters for configuring pinmux and pinconf.
>
> Signed-off-by: Ashok Reddy Soma
> Signed-off-by: Michal Simek
> -
st 23. 2. 2022 v 15:23 odesílatel Michal Simek napsal:
>
> From: Ashok Reddy Soma
>
> Xilinx ZynqMP SOC can set 6 parameters for its pins. pinmux status
> command will print the status of these parameters for each pin. But
> current print buffer length is only 40 characters long, increase it
> to
st 23. 2. 2022 v 15:13 odesílatel Michal Simek napsal:
>
> Hi,
>
> we found 3 issues recently with this driver which needs to be fixed.
>
> Thanks,
> Michal
>
>
> Ashok Reddy Soma (3):
> mmc: zynq_sdhci: Fix timeout issue
> mmc: zynq_sdhci: Change granularity of timeout to 1us
> mmc: zynq_sd
After double checking some i2c addresses are not correct. It is visible
from i2c dump
ZynqMP> i2c bus
Bus 3: i2c@ff02
74: i2c-mux@74, offset len 1, flags 0
Bus 5: i2c@ff02->i2c-mux@74->i2c@0
Bus 6: i2c@ff02->i2c-mux@74->i2c@2
Bus 7: i2c@ff02->i2c-mux@74->i2c@1
Bus 8: i2c@ff
st 23. 2. 2022 v 15:01 odesílatel Michal Simek napsal:
>
> Hi,
>
> the first 3 patches are fixes in current fru implementation to make sure
> that code is not working with incorrect data or not waste time.
> The last patch adds decoder for xilinx multirecord which stores MAC
> addresses for DUT.
>
st 23. 2. 2022 v 15:01 odesílatel Michal Simek napsal:
>
> From: T Karthik Reddy
>
> This reverts commit dfbe492edef421de09617dc26805fc428440924e.
> Analog bus control register should be programmed in SPL only. This commit
> 3414712ba8a ("arm64: zynqmp: Writing correct value to ANALOG_BUS") is
>
st 23. 2. 2022 v 15:02 odesílatel Michal Simek napsal:
>
> From: Ashok Reddy Soma
>
> Based on discussion at
> https://lore.kernel.org/r/20200318125003.ga2727...@kroah.com we got
> recommendation to use explicit values for all enums.
>
> So, add explicit values to all pinctrl related enums for re
ehci-zynq.c is assigned to Zynq and ZynqMP that's why remove one.
Signed-off-by: Michal Simek
---
MAINTAINERS | 1 -
1 file changed, 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index bfddb66abc73..915316a86e95 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -658,7 +658,6 @@ F: drivers/
There is one issue with Heinrich xypron.g...@gmx.de
record which should be specifically grouped with his name.
Signed-off-by: Michal Simek
---
.mailmap | 1 +
1 file changed, 1 insertion(+)
diff --git a/.mailmap b/.mailmap
index 36fc1164a2ba..1f88ea953cec 100644
--- a/.mailmap
+++ b/.mailmap
Hi Simon,
On Fri, Mar 04, 2022 at 08:43:00AM -0700, Simon Glass wrote:
> Add a way to create and dispatch events without needing to allocate
> memory. Also add a way to 'spy' on events, thus allowing 'hooks' to be
> created.
>
> Use a linker list for static events, which we can use to replace fun
On 3/4/22 23:59, Adam Ford wrote:
ci_udc_ops and ci_ep_ops do not change their operations.
Mark them as const.
Signed-off-by: Adam Ford
diff --git a/drivers/usb/gadget/ci_udc.c b/drivers/usb/gadget/ci_udc.c
index 542684c1c3..d9a89a17b2 100644
--- a/drivers/usb/gadget/ci_udc.c
+++ b/drivers/usb
On 3/1/22 17:10, Michal Simek wrote:
> Remove private xpm_configobject[] and use zynqmp_pmufw_node() which
> provides the same functionality.
> Also add debug messages for easier debugging.
>
> Fixes: e0283cbdfd49 ("power: zynqmp: Add power domain driver for ZynqMP")
> Signed-off-by: Michal Simek
On 2/26/22 12:37, Marek Vasut wrote:
> Add DT compatible string for PCA9450C PMIC. This is a variant of the
> PCA9450 PMIC with 6 A dual-phase buck regulator and 3 A buck regulator,
> and is software-wise compatible with the PCA9450B. This variant of the
> PCA9450 is designed for use as companion P
On 2/22/22 17:03, Lukasz Majewski wrote:
> The tps65217 PMIC driver is used with am335x SoC based designs.
>
> It is used in the SPL (MLO) as well, so the DM conversion only is
> for u-boot proper.
>
> This driver only allows simple reading/writing/dumping of the content
> of its registers and re
On 2/22/22 17:03, Lukasz Majewski wrote:
> Up till now the CONFIG_POWER_TPS65217 has been defined in several header
> files for am335x SoC.
>
> This patch renames it to CONFIG_PMIC_TPS65217, which better reflects the
> role of this IC circuit.
>
> Signed-off-by: Lukasz Majewski
Reviewed-by: Jae
The Globalscale Technologies Sheevaplug board has the network chip
Marvell 88E1116R. Use uclass mvgbe and the compatible driver M88E1310
driver to bring up Ethernet.
- Currently, CONFIG_RESET_PHY_R symbol is used in
arch/arm/mach-kirkwood/include/mach/config.h for all Kirkwood
boards with mv883111
Hi Pali,
I have an observation, which is not related to this patch. But about
the kwboot options changes in general, I hope it is OK to mention it
here.
Before the changes you've made to solve the problem with the -b
option, I can do this:
kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.kwb
But now,
Hello Stefano,
> -Original Message-
> From: U-Boot On Behalf Of Stefano Babic
> Sent: Thursday, March 3, 2022 4:30 PM
> To: Gaurav Jain ; Stefano Babic ; u-
> b...@lists.denx.de; Marek Vasut
> Cc: Fabio Estevam ; Peng Fan ; Simon
> Glass
> ; Priyanka Jain ; Ye Li
> ;
> Horia Geanta ; J
Hi Pali,
On Sun, 6 Mar 2022 at 08:25, Pali Rohár wrote:
>
> On Sunday 06 March 2022 07:42:03 Simon Glass wrote:
> > Yes let's go with that.
>
> Done, I sent final version of the patch.
>
> > > > > > > > Second thing is that CONFIG_VIDEO_LOGO is broken and does not
> > > > > > > > work even it
>
Hi Pali,
On Sun, 6 Mar 2022 at 08:09, Pali Rohár wrote:
>
> Mechanically convert video_hw_init() function to UCLASS_VIDEO probe
> callback and replace CONFIG_CFB_CONSOLE by CONFIG_DM_VIDEO.
>
> As framebuffer base address is setup by the bootloader which loads U-Boot,
> set it into plat->base. A
On Sun, Mar 06, 2022 at 12:38:40AM +, Andre Przywara wrote:
> Hi Tom,
>
> please pull the master branch from u-boot-sunxi, containing some fixes
> for 2022.04, for the newly merged F1C100 SoC:
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Sunday 06 March 2022 07:42:03 Simon Glass wrote:
> Yes let's go with that.
Done, I sent final version of the patch.
> > > > > > > Second thing is that CONFIG_VIDEO_LOGO is broken and does not
> > > > > > > work even it
> > > > > > > is enabled in config file. I do not know why too.
> > > > >
Mechanically convert video_hw_init() function to UCLASS_VIDEO probe
callback and replace CONFIG_CFB_CONSOLE by CONFIG_DM_VIDEO.
As framebuffer base address is setup by the bootloader which loads U-Boot,
set it into plat->base. And do not allocate framebuffer in video_post_bind
function when base a
On Sat, Mar 5, 2022 at 10:08 PM Simon Glass wrote:
>
> Hi Peter,
Good Morning,
>
> On Fri, 4 Mar 2022 at 12:56, Peter Geis wrote:
> >
> > mkimage has the ability to process two files at the same time.
> > This is necessary for rk356x support as both TPL and SPL need to be
> > hashed individuall
Hi Pali,
On Sun, 6 Mar 2022 at 07:17, Pali Rohár wrote:
>
> On Sunday 06 March 2022 05:51:34 Simon Glass wrote:
> > Hi Pali,
> >
> > On Sun, 6 Mar 2022 at 04:51, Pali Rohár wrote:
> > >
> > > PING?
> > >
> > > On Thursday 17 February 2022 13:20:43 Pali Rohár wrote:
> > > > On Thursday 17 Februar
在 2022-03-05星期六的 21:33 +,Andre Przywara写道:
> On Sat, 5 Mar 2022 00:06:01 +0800
> Icenowy Zheng wrote:
>
> Hi Icenowy,
>
> > Currently CONFIG_UART0_PORT_F will forbid the build of sunxi-mmc
> > driver,
> > which leads calls to it in board/sunxi/board.c a undefined
> > reference.
> >
> > Gua
On Sunday 06 March 2022 05:51:34 Simon Glass wrote:
> Hi Pali,
>
> On Sun, 6 Mar 2022 at 04:51, Pali Rohár wrote:
> >
> > PING?
> >
> > On Thursday 17 February 2022 13:20:43 Pali Rohár wrote:
> > > On Thursday 17 February 2022 09:53:39 Anatolij Gustschin wrote:
> > > > Hi Pali,
> > > >
> > > > On
On Sun, Mar 06, 2022 at 12:50:24PM +0100, Pali Rohár wrote:
> On Friday 21 January 2022 16:21:33 Tom Rini wrote:
> > On Fri, Jan 14, 2022 at 06:34:43PM +0100, Pali Rohár wrote:
> >
> > > If image backend provides verify_header callback then call it after
> > > writing
> > > image to disk. This en
Hi Michael,
On Sun, 6 Mar 2022 at 04:03, Michael Walle wrote:
>
> Hi Simon,
>
> Am 2022-03-06 04:08, schrieb Simon Glass:
> > On Thu, 20 Jan 2022 at 11:16, Simon Glass wrote:
> >> On Thu, 20 Jan 2022 at 01:38, Michael Walle wrote:
> >> > Am 2022-01-19 15:56, schrieb Simon Glass:
> >> > > On Wed
On Sun, 6 Mar 2022 13:39:07 +0100
Pali Rohár wrote:
> Call kwboot_open_tty() which baudrate value which was specified at the
with
> command line by option -B. This function returns error if baudrate is not
> supported by selected tty device.
>
> Initial baudrate for ima
On Sun, 6 Mar 2022 13:38:30 +0100
Pali Rohár wrote:
> Custom baudrate different than 115200 may be specified only when kwboot is
> not going to send boot/debug message pattern or when it is going to send
> boot message pattern with image file (in which case baudrate change happens
> after sendin
Add a 'bootmeth' command to handle listing and ordering of boot methods.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Move bootmeth ordering into the uclass
cmd/Kconfig| 11 +
cmd/Makefile | 1 +
cmd/bootmeth.c | 113 ++
Some boot methods don't act on a single bootdev but instead do their own
thing. An example is EFI bootmgr which scan various devices using its own
logic. Add a bootdev to handle this.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Add a log category
boot/Makefile
Add a bootmeth driver which handles distro boot from a network device, so
we can boot a bootflow using this commonly used mechanism.
In effect, this provides the same functionality as the 'pxe' command
and shares the same code. But the interface into it is via a bootmeth.
For now this requires th
Use the uclass name to get the device type for a block device.
Signed-off-by: Simon Glass
---
Changes in v4:
- Use new sphynx Return style
drivers/block/blk-uclass.c | 7 +++
include/blk.h | 8
2 files changed, 15 insertions(+)
diff --git a/drivers/block/blk-uclass.c
Add documentation for this feature, including the commands and full
devicetree bindings.
Signed-off-by: Simon Glass
---
Changes in v4:
- Update docs for typos that have been fixed
Changes in v3:
- Update docs for "bootmeths" and "boot_targets" env vars
MAINTAINERS |
Add a set of combined tests for the bootdev, bootflow and bootmeth
commands, along with associated functionality.
Expand the sandbox console-recording limit so that these can work.
These tests rely on a filesystem script which is not yet added to the
Python tests. It is included here as a shell s
Add a bootdev driver for MMC. It mostly just calls the bootdev helper
function.
Add a function to obtain the block device for an MMC controller.
Fix up the comment for mmc_get_blk_desc() while we are here.
Signed-off-by: Simon Glass
---
Changes in v4:
- Use new Return style in function comment
Add a bootmeth driver which handles EFI boot, using EFI_LOADER.
In effect, this provides the same functionality as the 'bootefi' command
and shares the same code. But the interface into it is via a bootmeth,
so it does not require any special scripts, etc.
For now this requires the 'bootefi' comm
Hi Pali,
On Sun, 6 Mar 2022 at 04:51, Pali Rohár wrote:
>
> PING?
>
> On Thursday 17 February 2022 13:20:43 Pali Rohár wrote:
> > On Thursday 17 February 2022 09:53:39 Anatolij Gustschin wrote:
> > > Hi Pali,
> > >
> > > On Wed, 16 Feb 2022 21:42:19 +0100
> > > Pali Rohár p...@kernel.org wrote:
>
Add a bootmeth driver for sandbox, used for testing.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Add a log category
boot/Kconfig| 7 +
boot/Makefile | 1 +
boot/bootmeth_sandbox.c | 69 +
3 files cha
We need to create a disk image with a partition table and a DOS-format
filesystem containing a few files. Provide a fallback binary for CI since
it does not seem able to detect the loopback partitions.
Add this to a dm_init test so that it happens when needed.
Signed-off-by: Simon Glass
---
(no
Add a bootdev driver for USB host. It can use the distro boot mechanism to
locate a file, or any other available bootmeth.
Signed-off-by: Simon Glass
---
(no changes since v1)
common/usb_storage.c | 12 +++
drivers/usb/host/Makefile | 4 +++
drivers/usb/host/usb_bootdev.c |
It is helpful to be able to try out bootstd on sandbox, using host files.
This is easier than using a block device, which must have a filesystem,
partition table, etc.
Add a new driver which provides this feature. For now it is not used in
tests, but it is likely to be useful.
Add notes in the de
Add a bootdev driver for Ethernet. It can use the PXE boot mechanism to
locate a file, added later.
Signed-off-by: Simon Glass
---
(no changes since v1)
MAINTAINERS | 1 +
net/Kconfig | 9 +
net/Makefile | 1 +
net/eth-uclass.c | 8
net/eth_bootdev.c | 101 ++
A bootmeth is a method of locating an operating system. For now, just
add the uclass itself. Drivers for particular bootmeths are added later.
If no bootmeths devices are included in the devicetree, create them
automatically. This avoids the need for boilerplate in the devicetree
files.
Signed-of
Add support for bootflows, including maintaining a list of them and
iterating to find them.
Signed-off-by: Simon Glass
---
Changes in v4:
- Show the bootmeth name when booting
- Use new Return style in function comments
Changes in v3:
- Explain why it is OK to use "?" as an unknown bootflow sta
Add a 'bootdev' command to handle listing and selection of bootdevs.
Disable standard boot for a few boards which otherwise run out of space.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Use separate Kconfig options for each command
MAINTAINERS
A 'bootdev' is a device which can be used to boot an operating system.
It is a child of the media device (e.g. MMC) which handles reading files
from that device, such as a bootflow file.
Add a uclass for bootdev and the various helpers needed to make it
work. Also add a binding file, empty for now
The 'bootstd' device provides the central information about U-Boot
standard boot.
Add a uclass for bootstd and the various helpers needed to make it
work. Also add a binding file.
Signed-off-by: Simon Glass
---
Changes in v4:
- NULL-terminate the default prefix list
- Use new Return style in fu
A bootflow encapsulates the process used to boot an operating system.
It typically has a control file (such as extlinux.conf) and information
about which 'bootdev' it came from.
Add the header file for this first, since it is needed by all other
files.
Signed-off-by: Simon Glass
---
Changes in
When sandbox is used with hostfs we won't have a block device, but still
must set up the filesystem type before any filesystem operation, such as
loading a file. Add a function to handle this.
Signed-off-by: Simon Glass
---
Changes in v4:
- Add new patch with a function to set the filesystem typ
The bootflow tests need to use an MMC with an associated backing file
containing a filesystem. Update the fastboot tests to cope with this.
Signed-off-by: Simon Glass
---
(no changes since v1)
test/dm/fastboot.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/dm/fa
Update the blk test to stop USB first, in case another test has started
it.
Signed-off-by: Simon Glass
---
(no changes since v1)
test/dm/blk.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/test/dm/blk.c b/test/dm/blk.c
index deccf05289..b5957a20fb 100644
--- a/test/dm/blk.c
+++ b/t
It seems that namelen is more common in U-Boot. Rename this function to
fit in better. Also fix a bug where it breaks the operation of
uclass_get_by_name() and add a test.
Signed-off-by: Simon Glass
Reported-by: Patrick Delaunay
Reported-by: Tim Harvey
---
Changes in v4:
- Correct bug in this
In some cases two devices are related and the only way to tell is to
check that the names partially patch. Add a way to check this without
needing to create a new string for the comparison.
Fix the comment for device_find_child_by_namelen() while we are here.
Signed-off-by: Simon Glass
---
Chan
At present this has a minor bug in that it reads the byte before the
start of the string, if it is empty. Also it doesn't handle a
non-numeric prefix which is only one character long.
Fix these bugs with a reworked implementation. Add a test for the second
case. The first one is hard to test.
Sig
At present it is not possible to find out which part of the string is the
number part and which is before it. Add a new variant which provides this
feature, so we can separate the two in the caller.
Signed-off-by: Simon Glass
---
Changes in v4:
- Use new Return style in function comments
Change
Tweak a few comments to kep sphinx happy, in case we want to include this
file one day.
Also fix the 'exxamine' typo.
Patch-notes:
This uses:
sed -i 's/@param \(\S*\)\s*/@\1: /' include/vsprintf.h
to convert the @param to the new format.
Signed-off-by: Simon Glass
---
Changes in v4:
- Add
This function currently has no tests. Add some.
Signed-off-by: Simon Glass
---
Changes in v4:
- Use new Return style in function comments
include/vsprintf.h | 4 ++--
test/str_ut.c | 19 +++
2 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/include/vsprintf.
A few string tests were added to the print module by mistake. Move them.
Signed-off-by: Simon Glass
---
Changes in v4:
- Correct the commit tag
test/print_ut.c | 40
test/str_ut.c | 40
2 files changed, 40 inse
The bootflow feature provide a built-in way for U-Boot to automatically
boot an Operating System without custom scripting and other customisation.
This is called 'standard boot' since it provides a standard way for
U-Boot to boot a distro, without scripting.
It introduces the following concepts:
Call kwboot_open_tty() which baudrate value which was specified at the
command line by option -B. This function returns error if baudrate is not
supported by selected tty device.
Initial baudrate for image transfer is always 115200, so call
kwboot_tty_change_baudrate() with value 115200 immediatel
Custom baudrate different than 115200 may be specified only when kwboot is
not going to send boot/debug message pattern or when it is going to send
boot message pattern with image file (in which case baudrate change happens
after sending kwbimage header). BootROM detects boot/debug message pattern
PING?
On Thursday 17 February 2022 13:20:43 Pali Rohár wrote:
> On Thursday 17 February 2022 09:53:39 Anatolij Gustschin wrote:
> > Hi Pali,
> >
> > On Wed, 16 Feb 2022 21:42:19 +0100
> > Pali Rohár p...@kernel.org wrote:
> >
> > > ---
> > > I had to comment "return -ENOSPC;" in video-uclass.c b
On Friday 21 January 2022 16:21:33 Tom Rini wrote:
> On Fri, Jan 14, 2022 at 06:34:43PM +0100, Pali Rohár wrote:
>
> > If image backend provides verify_header callback then call it after writing
> > image to disk. This ensures that written image is correct.
> >
> > Signed-off-by: Pali Rohár
> >
Hi Simon,
Am 2022-03-06 04:08, schrieb Simon Glass:
On Thu, 20 Jan 2022 at 11:16, Simon Glass wrote:
On Thu, 20 Jan 2022 at 01:38, Michael Walle wrote:
> Am 2022-01-19 15:56, schrieb Simon Glass:
> > On Wed, 19 Jan 2022 at 01:09, Michael Walle wrote:
> >>
> >>
> >> > The bootflow feature pro
67 matches
Mail list logo